/* ============================================================
   MI CASA HOY — Stylesheet v2 (Modern)
   Colors: #2e5540 (verde), #e19f3e (ámbar), #f0ede4 (crema)
   Fonts: Rubik (headings), Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* --- Variables --- */
:root {
  --green:        #2e5540;
  --green-dark:   #1a3326;
  --green-light:  #3d6b52;
  --green-muted:  #4a6355;
  --green-vivid:  #357a55;
  --amber:        #e19f3e;
  --amber-light:  #f0b84a;
  --amber-dark:   #c4872a;
  --cream:        #f2efe6;
  --cream-dark:   #e6e2d6;
  --cream-mid:    #eae6dc;
  --white:        #ffffff;
  --text-dark:    #141f18;
  --text-mid:     #445a4e;
  --text-light:   #7a9485;

  --font-heading: 'Rubik', Verdana, sans-serif;
  --font-body:    'Inter', Verdana, Geneva, sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-xs:    0 1px 4px rgba(20, 31, 24, 0.06);
  --shadow:       0 4px 24px rgba(20, 31, 24, 0.10);
  --shadow-lg:    0 12px 48px rgba(20, 31, 24, 0.16);
  --shadow-xl:    0 24px 80px rgba(20, 31, 24, 0.22);

  --glass:        rgba(255,255,255,0.07);
  --glass-mid:    rgba(255,255,255,0.12);
  --glass-light:  rgba(255,255,255,0.22);
  --glass-border: rgba(255,255,255,0.16);

  --transition:        0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-w:        1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* --- Base --- */
body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { line-height: 1.75; }

.text-amber  { color: var(--amber); }
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Section Base --- */
.section { padding: 104px 0; }
.section--sm { padding: 72px 0; }
.section--dark { background-color: var(--green-dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--green { background: linear-gradient(160deg, #234230 0%, var(--green) 60%, #2a4e3e 100%); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--cream { background-color: var(--cream); }
.section--white { background-color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: 72px;
}
.section__header p {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
.section--dark .section__header p,
.section--green .section__header p { color: rgba(255,255,255,0.7); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.section__label::before,
.section__label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  flex-shrink: 0;
}

/* En headers centrados: label como bloque centrado, líneas ocultas */
.section__header .section__label {
  display: block;
  text-align: center;
  margin-bottom: 14px;
}
.section__header .section__label::before,
.section__header .section__label::after { display: none; }

/* Section header h2 with accent line */
.section__header h2 {
  position: relative;
  display: inline-block;
}
.section__header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  border-radius: 3px;
  margin: 16px auto 0;
  transition: width 0.5s ease;
}
.section__header h2:hover::after { width: 80px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.navbar--transparent { background: transparent; }
.navbar--solid {
  background: rgba(242, 239, 230, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(46,85,64,0.08), 0 8px 32px rgba(20,31,24,0.08);
  padding: 12px 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar__logo svg { height: 50px; width: auto; transition: transform var(--transition-bounce); }
.navbar__logo:hover svg { transform: scale(1.04); }
.navbar__logo img { height: 50px; width: auto; transition: opacity var(--transition); }
/* Logo swap según fondo del navbar */
.navbar__logo .logo--light { display: none; }
.navbar__logo .logo--dark  { display: block; }
.navbar--transparent .logo--dark  { display: none; }
.navbar--transparent .logo--light { display: block; }

/* Logo sobre fondo verde: letras en gris claro */
.navbar--transparent .logo-primary { fill: #c8d4cf; stroke: #c8d4cf; }
.navbar--transparent .logo-subtitle { fill: #a0b4ac; }

.navbar__nav { display: flex; align-items: center; gap: 2px; }
.navbar__nav a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.navbar--transparent .navbar__nav a { color: rgba(255,255,255,0.9); }

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.navbar__nav a:hover::after,
.navbar__nav a.active::after { transform: scaleX(1); }

.navbar__nav a:hover { color: var(--amber); background: rgba(225,159,62,0.06); }
.navbar--transparent .navbar__nav a:hover { background: rgba(255,255,255,0.08); color: var(--amber); }
.navbar__nav a.active { color: var(--amber); }

.navbar__cta {
  background: linear-gradient(135deg, var(--amber-light), var(--amber)) !important;
  color: var(--green-dark) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  transition: all var(--transition) !important;
  box-shadow: 0 4px 16px rgba(225,159,62,0.3) !important;
  position: relative;
  overflow: hidden;
}
.navbar__cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.navbar__cta:hover::before { left: 100%; }
.navbar__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(225,159,62,0.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar--transparent .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,239,230,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  padding: 14px 0;
  border-bottom: 1px solid rgba(46,85,64,0.08);
  transition: color var(--transition), padding-left var(--transition);
  letter-spacing: -0.02em;
}
.mobile-nav a:hover { color: var(--amber); padding-left: 8px; }
.mobile-nav .nav-cta {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--green-dark) !important;
  padding: 16px 32px;
  border-radius: 50px;
  text-align: center;
  font-size: 1.1rem;
  border: none;
  letter-spacing: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 60%, var(--amber-dark) 100%);
  color: var(--green-dark);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(225,159,62,0.35);
  border: none;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(225,159,62,0.45);
}
.btn--secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--secondary:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-3px);
  border-color: var(--white);
}
.btn--outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
  border-radius: 50px;
}
.btn--outline-green:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,85,64,0.25);
}
.btn--green {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(46,85,64,0.25);
  border: none;
}
.btn--green:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(46,85,64,0.35);
}
.btn--sm { padding: 9px 22px; font-size: 0.85rem; }
.btn--lg { padding: 18px 44px; font-size: 1.05rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--green-dark);
}

/* Subtle animated noise grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  z-index: 3;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero.jpeg');
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero__bg.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(22, 45, 33, 0.90) 0%,
      rgba(30, 59, 44, 0.72) 45%,
      rgba(30, 59, 44, 0.35) 100%
    );
  z-index: 1;
}

/* Extra ambient glow bottom */
.hero__overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(22,45,33,0.6), transparent);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
  max-width: 700px;
}

/* Animated entrance for hero elements */
.hero__label,
.hero h1,
.hero__subtitle,
.hero__actions {
  opacity: 0;
  transform: translateY(28px);
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__label   { animation-delay: 0.15s; }
.hero h1       { animation-delay: 0.30s; }
.hero__subtitle{ animation-delay: 0.45s; }
.hero__actions { animation-delay: 0.60s; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(225,159,62,0.14);
  border: 1px solid rgba(225,159,62,0.35);
  backdrop-filter: blur(8px);
  color: var(--amber-light);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero__label::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--amber); }
  50% { opacity: 0.5; box-shadow: 0 0 2px var(--amber); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--amber-light), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero__subtitle {
  color: rgba(255,255,255,0.80);
  font-size: 1.12rem;
  margin-bottom: 44px;
  max-width: 500px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, #1f3e2e 0%, #27503e 50%, #1e3b2c 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,159,62,0.4), transparent);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 20px 24px;
  position: relative;
}
.stat::after {
  content: '';
  position: absolute;
  top: 20%; right: 0; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
}
.stat:last-child::after { display: none; }
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  font-family: var(--font-heading);
  font-weight: 500;
}

/* ============================================================
   MODEL CARDS
   ============================================================ */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.model-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(46,85,64,0.06);
}
.model-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.model-card__image {
  height: 248px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--green-light) 0%, var(--green-dark) 100%);
}
.model-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.model-card:hover .model-card__image img { transform: scale(1.08); }
.model-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-block;
  width: auto;
  height: auto;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(225,159,62,0.4);
}
.model-card__body { padding: 32px; }
.model-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.model-card__meta span {
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-weight: 600;
}
.model-card__meta span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
}
.model-card h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.model-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
  margin-bottom: 26px;
  line-height: 1.7;
}
.model-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--cream-dark);
}
.model-card__price {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about__content .section__label { margin-bottom: 16px; }
.about__content h2 { margin-bottom: 24px; }
.about__content p { color: var(--text-mid); margin-bottom: 16px; font-size: 0.97rem; }
.about__quote {
  border-left: 3px solid var(--amber);
  padding: 20px 24px;
  background: linear-gradient(to right, rgba(225,159,62,0.06), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.about__quote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  font-style: italic;
  margin: 0;
  line-height: 1.55;
}
.about__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about__image-placeholder {
  width: 100%;
  height: 480px;
  background: linear-gradient(160deg, var(--green-vivid) 0%, var(--green) 40%, var(--green-dark) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--green-dark);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  box-shadow: 0 8px 32px rgba(225,159,62,0.4);
}
.about__badge strong { display: block; font-size: 1.8rem; font-weight: 900; letter-spacing: -0.03em; }
.about__badge span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: background var(--transition), transform var(--transition-bounce), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.benefit-card:hover {
  background: var(--glass-mid);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.benefit-card__icon {
  width: 58px;
  height: 58px;
  background: rgba(225,159,62,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background var(--transition), transform var(--transition-bounce);
  border: 1px solid rgba(225,159,62,0.2);
}
.benefit-card:hover .benefit-card__icon {
  background: rgba(225,159,62,0.22);
  transform: scale(1.1) rotate(-3deg);
}
.benefit-card__icon svg { width: 26px; height: 26px; stroke: var(--amber); fill: none; }
.benefit-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.2rem; }
.benefit-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   SHOWROOM
   ============================================================ */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.showroom-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(46,85,64,0.06);
}
.showroom-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-light), var(--amber));
}
.showroom-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.showroom-card__city {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.showroom-card h3 { color: var(--text-dark); margin-bottom: 18px; font-size: 1.35rem; }
.showroom-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.showroom-card__info a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-mid);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.showroom-card__info a:hover { color: var(--green); }
.showroom-card__info svg {
  width: 17px; height: 17px;
  stroke: var(--amber); fill: none;
  flex-shrink: 0; margin-top: 3px;
}
.showroom-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(46,85,64,0.05);
}
.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
}
.news-card__image {
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  position: relative;
}
.news-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover .news-card__image img { transform: scale(1.07); }
.news-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.news-card__category {
  background: rgba(225,159,62,0.10);
  color: var(--amber-dark);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-card__date {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}
.news-card h3 { font-size: 1.08rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 20px; flex: 1; line-height: 1.7; }
.news-card .btn { align-self: flex-start; margin-top: auto; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 50%, var(--amber-dark) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%; left: -15%;
  width: 700px; height: 700px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -70%; right: -10%;
  width: 600px; height: 600px;
  background: rgba(46,85,64,0.08);
  border-radius: 50%;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--green-dark); margin-bottom: 16px; }
.cta-banner p { color: rgba(30,59,44,0.75); font-size: 1.05rem; margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2ecc71, #25D366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.2);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #131e17 0%, #1a2e22 60%, #1e3326 100%);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,159,62,0.3), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer__brand .logo-footer { margin-bottom: 20px; display: block; }
.footer__brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 280px; }
.footer__brand .social-links { display: flex; gap: 10px; margin-top: 24px; }
.footer__brand .social-links a {
  width: 38px; height: 38px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition-bounce);
}
.footer__brand .social-links a:hover {
  background: var(--amber);
  transform: translateY(-3px);
  border-color: var(--amber);
}
.footer__brand .social-links svg { width: 17px; height: 17px; fill: white; }
.footer__brand .social-links svg[stroke="currentColor"] { fill: none; stroke: white; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer__col ul li a:hover { color: var(--amber); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.footer__contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--amber); fill: none;
  flex-shrink: 0; margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.32); }
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--amber); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, #1e3b2c 0%, var(--green) 60%, #264838 100%);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,159,62,0.2), transparent);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 560px; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.page-hero .breadcrumb a { color: var(--amber); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.25); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--text-mid); margin-bottom: 36px; }
.contact-info__items { display: flex; flex-direction: column; gap: 22px; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info__item-icon {
  width: 46px; height: 46px;
  background: rgba(225,159,62,0.08);
  border-radius: 12px;
  border: 1px solid rgba(225,159,62,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition-bounce);
}
.contact-info__item:hover .contact-info__item-icon {
  background: rgba(225,159,62,0.14);
  transform: scale(1.08);
}
.contact-info__item-icon svg { width: 20px; height: 20px; stroke: var(--amber); fill: none; }
.contact-info__item h4 { font-size: 0.88rem; color: var(--text-dark); margin-bottom: 2px; }
.contact-info__item p { color: var(--text-mid); font-size: 0.88rem; margin: 0; }

.contact-form {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(46,85,64,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46,85,64,0.08);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 12px; text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success__icon {
  width: 72px; height: 72px;
  background: rgba(46,85,64,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success__icon svg { width: 36px; height: 36px; stroke: var(--green); fill: none; }
.form-success h3 { color: var(--text-dark); margin-bottom: 8px; }
.form-success p { color: var(--text-mid); }

/* ============================================================
   FINANCING PAGE
   ============================================================ */
.financing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.financing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(46,85,64,0.06);
}
.financing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green));
}
.financing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.financing-card.featured::before { background: linear-gradient(90deg, var(--amber-light), var(--amber)); }
.financing-card.featured { background: linear-gradient(160deg, #234230 0%, var(--green) 100%); color: white; }
.financing-card.featured h3 { color: white; }
.financing-card.featured p { color: rgba(255,255,255,0.72); }
.financing-card__icon {
  width: 52px; height: 52px;
  background: rgba(46,85,64,0.07);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(46,85,64,0.1);
}
.financing-card.featured .financing-card__icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.1); }
.financing-card__icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; }
.financing-card.featured .financing-card__icon svg { stroke: var(--amber); }
.financing-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.financing-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 20px; }

/* ============================================================
   MODEL DETAIL (modelos.html)
   ============================================================ */
.model-detail { padding: 80px 0; border-bottom: 1px solid var(--cream-dark); }
.model-detail:last-of-type { border-bottom: none; }
.model-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.model-detail__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.model-detail__image img {
  width: 100%; height: 440px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.model-detail__image:hover img { transform: scale(1.04); }
.model-detail__badge-img {
  position: absolute;
  height: max-content;
  bottom: 20px; left: 20px;
  display: inline-block;
  width: max-content;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(225,159,62,0.4);
}
.model-detail__content .section__label { margin-bottom: 10px; }
.model-detail__content h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.model-detail__content p { color: var(--text-mid); margin-bottom: 32px; font-size: 0.97rem; }

.model-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.spec-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--cream-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.spec-item:hover { border-color: var(--amber); box-shadow: 0 4px 12px rgba(225,159,62,0.12); }
.spec-item__label { font-size: 0.72rem; color: var(--text-light); font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.spec-item__value { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--text-dark); letter-spacing: -0.02em; }

.model-features { margin-bottom: 32px; }
.model-features h4 { margin-bottom: 14px; color: var(--text-dark); }
.model-features ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.model-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.model-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.model-detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   MULTIMEDIA
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  margin-bottom: 72px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--green-light);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(18,35,24,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-item__overlay { background: rgba(18,35,24,0.4); }
.gallery-item__overlay svg {
  width: 48px; height: 48px;
  stroke: white; fill: none;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition-bounce);
  transform: scale(0.8);
}
.gallery-item:hover .gallery-item__overlay svg { opacity: 1; transform: scale(1); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(1) { transition-delay: 0.00s; }
.fade-up:nth-child(2) { transition-delay: 0.10s; }
.fade-up:nth-child(3) { transition-delay: 0.20s; }
.fade-up:nth-child(4) { transition-delay: 0.30s; }
.fade-up:nth-child(5) { transition-delay: 0.40s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image img, .about__image-placeholder { height: 360px; }
  .about__image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .model-detail__grid { grid-template-columns: 1fr; gap: 40px; }
  .model-specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .navbar__nav { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 3.5rem); }
  .hero__content { padding: 120px 0 80px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stat::after { display: none; }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:last-child { border-bottom: none; }
  .models-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .financing-options { grid-template-columns: 1fr; }
  .model-features ul { grid-template-columns: 1fr; }
  .section__header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .page-hero { padding: 120px 0 60px; }
  .showroom-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .model-specs { grid-template-columns: repeat(2, 1fr); }
  .section__header h2::after { display: none; }
}
