/*------------------------------------------------------------------
  Custom Brand Colors
  
  Primary (Accent):    #e9542c (Naranja)
  Light Background:    #f3faee (Verde claro/crema)
  Secondary:           #b2d9da (Azul/verde agua)
  Medium:              #527a9a (Azul medio)
  Dark:                #243555 (Azul oscuro/navy)
-------------------------------------------------------------------*/

:root {
  --brand-primary: #e9542c;
  --brand-light: #f3faee;
  --brand-secondary: #b2d9da;
  --brand-medium: #527a9a;
  --brand-dark: #243555;
}

/* Body & General */
body {
  color: var(--brand-dark);
  background-color: var(--brand-light);
}

a {
  color: var(--brand-dark);
}

a:hover, a:active, a:focus {
  color: var(--brand-primary);
}

/* Logo Size Fix */
.navigation .brand img {
  max-height: 45px !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer .brand img,
footer .brand img {
  max-height: 50px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Navigation */
.navigation.show-background {
  background-color: rgba(36, 53, 85, 0.95);
}

.navigation.show-background:hover {
  background-color: rgba(36, 53, 85, 0.98);
}

.navigation .right .navigation-links li a:after {
  background-color: var(--brand-primary);
}

.navigation .nav-btn:before {
  background-color: var(--brand-dark);
}

.navigation .nav-btn figure {
  background-color: #fff;
}

/* Hero Section */
.hero-section:after {
  background-color: rgba(36, 53, 85, 0.6);
}

/* Buttons Primary */
.btn.btn-primary {
  background-color: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:active:hover,
.btn.btn-primary:focus {
  background-color: #d44a25;
  border-color: #d44a25;
}

.btn.btn-primary.btn-framed {
  color: var(--brand-primary);
  background-color: transparent;
}

.btn.btn-primary.btn-framed:hover,
.btn.btn-primary.btn-framed:active,
.btn.btn-primary.btn-framed:focus {
  background-color: rgba(233, 84, 44, 0.1);
}

.btn.btn-primary.btn-framed.btn-light-frame {
  border-color: rgba(233, 84, 44, 0.4);
}

/* Buttons Default */
.btn.btn-default {
  background-color: var(--brand-secondary);
  color: var(--brand-dark);
  border-color: var(--brand-secondary);
}

.btn.btn-default:hover,
.btn.btn-default:active,
.btn.btn-default:focus {
  background-color: #9fcecf;
}

/* Dark Backgrounds */
.background-is-dark {
  background-color: var(--brand-dark);
}

.background-wrapper .background-color.background-color-black {
  background-color: var(--brand-dark);
}

.page-wrapper:before {
  background-color: var(--brand-dark);
}

body.has-loading-screen .page-wrapper:after {
  background-color: var(--brand-dark);
}

/* Stages */
.stage .icon {
  background-color: var(--brand-primary);
  color: #fff;
}

.stage.completed .icon {
  background-color: var(--brand-secondary);
  color: var(--brand-dark);
}

.stage.in-progress .icon {
  background-color: var(--brand-primary);
}

/* Pricing */
.pricing-boxes .price-box .values figure.available {
  color: var(--brand-primary);
}

.pricing-boxes .price-box.promoted .promotion-title span {
  background-color: var(--brand-primary);
}

/* Framed elements */
.framed {
  border-color: rgba(36, 53, 85, 0.1);
}

.background-is-dark .framed {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Footer */
#page-footer.background-is-dark:after {
  background: linear-gradient(to bottom, transparent 0%, var(--brand-dark) 100%);
}

/* Form elements */
form .status .status-icon.valid {
  background-color: var(--brand-secondary);
}

form .status .status-icon.invalid {
  background-color: var(--brand-primary);
}

/* Owl Dots */
.owl-dots .owl-dot span {
  background-color: var(--brand-dark);
}

/* Gallery overlay */
.gallery .gallery-item:after {
  background-color: var(--brand-dark);
}

/* Check marks */
ul.check-marks li:before {
  color: var(--brand-primary);
}

/* ====================================
   HERO MENDEL STYLE
   ==================================== */

.hero-mendel-style {
  background: linear-gradient(135deg, #1a3a5c 0%, #243555 50%, #1a3a5c 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-mendel-style::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(82,122,154,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-row {
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.hero-text-col {
  position: relative;
  z-index: 10;
  padding-right: 40px;
}

.hero-title-main {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin-bottom: 25px !important;
  text-align: left !important;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--brand-primary) !important;
  color: #fff !important;
  padding: 16px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  background: #d14a26 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(233,84,44,0.3);
}

.btn-hero-secondary {
  background: transparent !important;
  color: #fff !important;
  padding: 16px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  transition: all 0.3s ease !important;
}

.btn-hero-secondary:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Mockups Container */
.hero-mockup-col {
  position: relative;
  z-index: 5;
}

.hero-mockups-container {
  position: relative;
  height: 480px;
}

/* Base styles for all mockups */
.hero-mockup {
  position: absolute;
  border-radius: 10px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Imagen principal (grande, centro-izquierda) */
.hero-mockup-main {
  width: 85%;
  top: 40px;
  left: -5%;
  z-index: 3;
  transform: perspective(1200px) rotateY(-3deg);
}

.hero-mockup-main:hover {
  transform: perspective(1200px) rotateY(0deg) scale(1.02);
  z-index: 10;
}

/* Imagen secundaria (arriba derecha) */
.hero-mockup-secondary {
  width: 52%;
  top: -10px;
  right: -8%;
  z-index: 2;
  transform: perspective(1200px) rotateY(-5deg);
}

.hero-mockup-secondary:hover {
  transform: perspective(1200px) rotateY(-2deg) scale(1.05);
  z-index: 10;
}

/* Imagen terciaria (abajo derecha, superpuesta) */
.hero-mockup-tertiary {
  width: 48%;
  top: 300px;
  right: -5%;
  z-index: 4;
  transform: perspective(1200px) rotateY(-5deg);
}

.hero-mockup-tertiary:hover {
  transform: perspective(1200px) rotateY(-2deg) scale(1.05);
  z-index: 10;
}

/* Hero Responsive */
@media (max-width: 991px) {
  .hero-mendel-style {
    padding: 100px 0 40px;
  }

  .hero-row {
    flex-direction: column;
    text-align: center;
  }

  .hero-text-col {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .hero-title-main {
    font-size: 36px !important;
    text-align: center !important;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-mockups-container {
    min-height: 350px;
  }

  .hero-mockup-main {
    width: 70%;
    left: 5%;
  }

  .hero-mockup-secondary {
    width: 45%;
    right: 0;
  }

  .hero-mockup-tertiary {
    width: 40%;
    right: 5%;
  }
}

@media (max-width: 767px) {
  .hero-title-main {
    font-size: 28px !important;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  .hero-mockups-container {
    min-height: 280px;
  }

  .hero-mockup {
    transform: none !important;
  }

  .hero-mockup-main {
    width: 80%;
    left: 0;
    position: relative;
  }

  .hero-mockup-secondary,
  .hero-mockup-tertiary {
    display: none;
  }
}

