/* ═══════════════════════════════════════════════
   MAGA KITCHEN — style.css
   Paleta: #800020 · #000000 · #ffffff
   Tipografías: Playfair Display (títulos) · DM Sans (cuerpo)
═══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red:    #800020;
  --black:  #000000;
  --white:  #ffffff;
  --cream:  #f9f5f0;
  --light:  #f0ebe3;
  --muted:  #6b6560;
  --border: #d8d0c6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f0eb;
  color: #111;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--black);
  font-size: 13px;
  letter-spacing: .3px;
  transition: color .2s;
}

.nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 22px;
  border: none;
  cursor: pointer;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: opacity .2s;
  white-space: nowrap;
  font-family: DM Sans;
}

.nav-cta:hover { opacity: .88; }

/* Hamburger móvil */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all .25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #0a0a0a;
  padding: 24px 28px 28px;
  border-top: 1px solid #1a1a1a;
  position: fixed;
  top: var(--nav-h, 64px);
  left: 0;
  right: 0;
  z-index: 199;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  max-height: calc(100vh - var(--nav-h, 64px));
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: rgba(255,255,255,.70);
  font-size: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #1a1a1a;
  transition: color .2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--white); }

.nav-mobile .nav-mobile-cta {
  margin-top: 20px;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-bottom: none;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
}

.hero-left {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(128,0,32,.3);
  padding: 7px 14px;
  width: fit-content;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1.1;
  color: var(--black);
  max-width: 440px;
}

.hero-h1 em { color: var(--red); font-style: italic; }

.hero-sub {
  font-size: 15px;
  color: rgba(0,0,0,.55);
  max-width: 380px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.badge { display: flex; flex-direction: column; gap: 2px; }

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--black);
  line-height: 1;
}

.badge-lbl {
  font-size: 11px;
  color: var(--black);
  letter-spacing: .4px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.10);
  padding: 16px 20px;
}

.hero-overlay p {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.hero-overlay strong {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--white);
  font-weight: 400;
}

/* ══════════════════════════════════════════════
   BOTONES
══════════════════════════════════════════════ */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .4px;
  transition: opacity .2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover { opacity: .88; }

.btn-outline {
  background: transparent;
  color: var(--black);
  padding: 14px 28px;
  border: 1px solid rgba(0,0,0,.25);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .4px;
  transition: border-color .2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover { border-color: rgba(0,0,0,.55); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: .4px;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  transition: opacity .2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-white:hover { opacity: .90; }

.btn-border-white {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border: 1.5px solid rgba(255,255,255,.45);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  transition: border-color .2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-border-white:hover { border-color: rgba(255,255,255,.80); }

/* ══════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════ */
.trust {
  background: var(--white);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}

.trust-item svg { color: var(--red); flex-shrink: 0; }
.trust-sep { width: 1px; height: 28px; background: var(--border); }

/* ══════════════════════════════════════════════
   SECCIONES BASE
══════════════════════════════════════════════ */
.section { padding: 80px 40px; }

.section-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 10px;
}

.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ══════════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════════ */
.services { background: var(--cream); }
.services-header { text-align: center; margin-bottom: 40px; }
.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--white);
  padding: 32px 24px;
  cursor: pointer;
  transition: background .2s;
  display: block;
  color: inherit;
}

.service-card:hover { background: #fff8f8; }

.service-card-img {
  height: 160px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.04); }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--black);
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--red);
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 500;
}

.service-link svg { transition: transform .2s; }
.service-card:hover .service-link svg { transform: translateX(3px); }

/* ══════════════════════════════════════════════
   PROCESO
══════════════════════════════════════════════ */
.howit { background: var(--white); padding: 80px 40px; border-top: 1px solid var(--border); }
.howit-header { text-align: center; margin-bottom: 48px; }
.howit-header .section-h2 { color: var(--black); }
.howit-header .section-sub { color: var(--muted); margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.step {
  background: var(--cream);
  padding: 36px 28px;
  border: 1px solid var(--border);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: var(--red);
  opacity: .25;
  line-height: 1;
  margin-bottom: 20px;
}

.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   POR QUÉ MAGA
══════════════════════════════════════════════ */
.why {
  background: var(--white);
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-img {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-height: 500px;
}

.why-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: var(--white);
  padding: 14px 20px;
}

.why-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  display: block;
  font-weight: 400;
}

.why-badge span {
  font-size: 11px;
  opacity: .8;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--white);
}

.why-points { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }

.why-icon {
  width: 40px;
  height: 40px;
  background: rgba(128,0,32,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg { color: var(--red); }

.why-point h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 3px;
}

.why-point p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   PROYECTOS
══════════════════════════════════════════════ */
.projects { background: var(--cream); }

.proj-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.proj-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
  padding: 7px 18px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  letter-spacing: .3px;
  color: #555;
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.proj-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--light);
}

.proj-item.large { grid-row: span 2; }

.proj-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
  min-height: 220px;
}

.proj-item.large img { min-height: 440px; }
.proj-item:hover img { transform: scale(1.04); }

.proj-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  padding: 28px 16px 16px;
  opacity: 0;
  transition: opacity .22s;
}

.proj-item:hover .proj-overlay { opacity: 1; }

.proj-overlay h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 3px;
}

.proj-overlay p {
  font-size: 11px;
  color: rgba(255,255,255,.60);
}

.proj-cta { text-align: center; margin-top: 32px; }

/* ══════════════════════════════════════════════
   MARCAS
══════════════════════════════════════════════ */
.brands {
  background: var(--white);
  padding: 48px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 24px;
}

.brands-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brand-sep { width: 1px; height: 32px; background: var(--border); }

.brand-pill { display: flex; flex-direction: column; align-items: center; gap: 3px; }

.brand-pill strong {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  letter-spacing: .4px;
}

.brand-pill small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ══════════════════════════════════════════════
   COBERTURA
══════════════════════════════════════════════ */
.coverage {
  background: var(--cream);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.coverage-left p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 4px;
}

.coverage-left h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--black);
}

.coverage-zones { display: flex; gap: 8px; flex-wrap: wrap; }

.zone-tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 12px;
  color: #444;
}

/* ══════════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════════ */
.testimonials { background: var(--light); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.testi-card {
  background: var(--white);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { color: #c8a200; }

.testi-text {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 18px;
}

.testi-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}

.testi-location {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq {
  background: var(--white);
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.faq-cta-box {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--light);
  border-left: 3px solid var(--red);
}

.faq-cta-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-cta-box strong {
  color: var(--black);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  cursor: pointer;
}

.faq-q {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(128,0,32,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 13px;
  font-weight: 300;
  transition: transform .2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, margin-top .3s;
}

.faq-item.open .faq-a { max-height: 200px; margin-top: 10px; }

/* ══════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════ */
.cta-section {
  background: var(--red);
  padding: 80px 40px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--black);
  padding: 56px 40px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
  color: rgba(255,255,255,.50);
}

.footer-hermana {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.38);
  border-left: 2px solid var(--red);
  padding-left: 10px;
}

.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.48);
  margin-bottom: 9px;
  transition: color .2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  color: rgba(255,255,255,.35);
  font-size: 12px;
  transition: color .2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,.70); }

/* ══════════════════════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 13px 20px 13px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: .2px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, opacity .3s;
  white-space: nowrap;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  color: var(--white);
}

.wa-float svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* Ocultar cuando llega al footer */
.wa-float.wa-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-desktop-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 0 24px; }
  .nav-mobile { top: var(--nav-h, 64px); }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 56px 28px 40px; }
  .hero-h1 { font-size: 36px; max-width: 100%; }
  .hero-right { display: none; }

  .trust { padding: 16px 24px; justify-content: flex-start; }
  .trust-sep { display: none; }

  .section  { padding: 56px 24px; }
  .howit    { padding: 56px 24px; }
  .cta-section { padding: 56px 24px; }
  .brands   { padding: 40px 24px; }
  .coverage { padding: 28px 24px; }
  .faq      { padding: 56px 24px; }
  .why      { padding: 56px 24px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps         { grid-template-columns: 1fr 1fr; }
  .why           { grid-template-columns: 1fr; gap: 40px; }
  .why-img       { min-height: 360px; }
  .why-img img   { min-height: 360px; }
  .testi-grid    { grid-template-columns: 1fr; }
  .faq           { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brands-list   { gap: 28px; }
  .brand-sep     { display: none; }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .proj-item.large { grid-row: span 1; }
  .proj-item.large img { min-height: 280px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤600px
═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .nav { height: 56px; padding: 0 20px; }
  .nav-logo img { height: 28px; }
  .nav-mobile { top: var(--nav-h, 56px); max-height: calc(100vh - var(--nav-h, 56px)); }

  .hero-left { padding: 44px 20px 36px; gap: 18px; }
  .hero-h1   { font-size: 30px; }
  .hero-sub  { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .btn-primary,
  .btn-outline { width: 100%; text-align: center; padding: 15px; }
  .hero-badges { gap: 18px; }
  .badge-num   { font-size: 22px; }

  .trust { flex-direction: column; align-items: flex-start; gap: 12px; }

  .section      { padding: 48px 20px; }
  .section-h2   { font-size: 28px; }
  .howit        { padding: 48px 20px; }
  .howit-header .section-h2 { font-size: 28px; }
  .cta-section  { padding: 48px 20px; }
  .cta-section h2 { font-size: 30px; }
  .brands       { padding: 36px 20px; }
  .coverage     { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .faq          { padding: 48px 20px; grid-template-columns: 1fr; }
  .why          { padding: 48px 20px; grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .steps         { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .proj-item.large { grid-row: span 1; }
  .proj-item img,
  .proj-item.large img { min-height: 240px; }
  .proj-overlay  { opacity: 1; }

  .why-img     { min-height: 280px; }
  .why-img img { min-height: 280px; }

  .testi-grid  { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer       { padding: 44px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .brands-list { flex-direction: column; align-items: center; gap: 20px; }
  .cta-btns    { flex-direction: column; gap: 10px; }
  .btn-white,
  .btn-border-white { width: 100%; }

  .proj-filters  { gap: 6px; }
  .filter-btn    { padding: 6px 12px; font-size: 11px; }
}

/* ══════════════════════════════════════════════
   LANG SWITCHER — global (usado en todas las páginas)
   Las reglas detalladas están en nosotros.css
   Aquí solo el mínimo para que no rompa en otras páginas
══════════════════════════════════════════════ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-sep {
  color: rgba(0,0,0,.2);
  font-size: 12px;
  padding: 0 2px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 8px;
  transition: background .2s;
  color: rgba(0,0,0,.4);
  font-family: 'DM Sans', sans-serif;
}

.lang-btn:hover { background: rgba(0,0,0,.06); color: var(--black); }
.lang-btn.lang-active { color: var(--black); background: rgba(0,0,0,.06); }
.lang-flag { font-size: 15px; line-height: 1; }
.lang-code { font-size: 11px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }

/* Mobile: ocultar nav-right, mostrar nav-right-mobile */
@media (max-width: 900px) {
  .nav-right { display: none; }
  .nav-right-mobile { display: flex; }
  .lang-switcher-mobile .lang-sep { display: none; }
  .lang-switcher-mobile .lang-code { display: none; }
  .lang-switcher-mobile .lang-btn { padding: 4px 6px; }
}

/* ══════════════════════════════════════════════
   BANNER GRUPO + MARCAS (index & nosotros)
══════════════════════════════════════════════ */

/* ── Banner grupo ── */
.grupo-banner {
  background: #0d0d0d;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.grupo-banner-text {
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
  line-height: 1.7;
}

.grupo-banner-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
  font-weight: 400;
}

.grupo-banner .btn-white {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  padding: 11px 24px;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}

.grupo-banner .btn-white:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.grupo-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

/* Forzar logos a blanco — sin importar su color original */
.grupo-logos img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .25s;
}

.grupo-logos img:hover { opacity: .9; }

.grupo-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Sección marcas ── */
.marcas-section {
  background: var(--cream);
  padding: 80px 40px;
}

.marcas-header {
  margin-bottom: 52px;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

.marca-card {
  background: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.marca-card:hover { background: #fff8f8; }

.marca-card-featured {
  border-top: 2px solid var(--red);
}

/* Fondo oscuro para que los logos blancos sean visibles */
.marca-logo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: #1a1a1a;
  transition: background .2s;
}

.marca-card:hover .marca-logo { background: #111; }

.marca-logo img {
  max-height: 80px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  /* Logos blancos sobre fondo oscuro — sin filtro */
  opacity: .75;
  transition: opacity .3s;
}

.marca-card:hover .marca-logo img {
  opacity: 1;
}

.marca-body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.marca-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 500;
}

.marca-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.68;
  flex: 1;
  margin-bottom: 14px;
}

.marca-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0;
}

.marca-tags span {
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--red);
  border: 1px solid rgba(128,0,32,.22);
  padding: 3px 9px;
}

.marca-nota {
  font-size: 12px !important;
  color: var(--red) !important;
  font-weight: 500;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex: 0 !important;
}

/* ── Responsive tablet ≤900px ── */
@media (max-width: 900px) {
  .grupo-banner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px;
  }
  .grupo-logos { justify-content: flex-start; }
  .marcas-section { padding: 56px 24px; }
  .marcas-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive mobile ≤600px ── */
@media (max-width: 600px) {
  .grupo-banner { padding: 40px 20px; gap: 28px; }
  .grupo-banner-h2 { font-size: 26px; }
  .marcas-section { padding: 48px 20px; }
  .marcas-grid { grid-template-columns: 1fr; }
  .marca-logo { height: 100px; }
}
