:root {
  --ink: #07111f;
  --muted: #556070;
  --navy: #173963;
  --navy-dark: #0d2748;
  --gold: #ffd20a;
  --gold-dark: #e4b900;
  --line: #e8edf3;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
  --radius: 8px;
  --wa: #25d366;
  --wa-dark: #128c7e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-bottom: 96px;
  color: var(--ink);
  background: #eef3f9;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 20px 50% auto auto;
  z-index: 20;
  display: flex;
  width: min(1400px, calc(100vw - 32px));
  transform: translateX(50%);
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 10px;
  column-gap: 16px;
  border: 1px solid rgba(228, 185, 0, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px 10px 18px;
  box-shadow: 0 12px 35px rgba(7, 17, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  flex-shrink: 0;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  color: var(--ink);
}

.brand-logo {
  display: block;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  max-width: 9rem;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.header-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.header-email {
  max-width: none;
  color: #2d3b4a;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: normal;
}

.header-email:hover {
  color: var(--navy);
}

.button-whatsapp {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--wa), #1ebe5a);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.button-whatsapp:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(10px, 1vw, 16px);
  color: #394457;
  font-size: 0.91rem;
}

.nav-links a:hover,
.inline-cta:hover {
  color: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  color: var(--white);
  box-shadow: 0 12px 20px rgba(23, 57, 99, 0.22), 0 10px 25px rgba(255, 210, 10, 0.22);
}

.button-gold {
  background: var(--gold);
  color: #1b1600;
  box-shadow: 0 12px 20px rgba(228, 185, 0, 0.2);
}

.button-light {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  filter: saturate(0.88);
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, rgba(7, 17, 31, 0.35) 0%, transparent 55%),
    linear-gradient(90deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.78) 50%, rgba(7, 17, 31, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.4), rgba(7, 17, 31, 0.68));
}

.hero-content {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: clamp(58px, 10vh, 96px) 0 clamp(8px, 5vh, 32px);
  color: var(--white);
}

.hero-content--centered {
  max-width: min(780px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* Línea fina bajo el logo (estructura del zip / mayor excelsior) */
.hero-brand::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 0.9rem 0 0;
  background: rgba(255, 210, 10, 0.45);
}

.hero-kicker {
  margin: 0 auto 8px;
  color: rgba(255, 210, 10, 0.88);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-brand .hero-logo {
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(3.9rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

/* Main hero headline — higher contrast for conversion */
.hero .hero-headline {
  max-width: 44rem;
  margin: 0 auto 0.65rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--white);
}

/* logo-hero.png: letras en blanco; acentos vía build-logo-hero.py */
.hero-logo {
  display: block;
  width: 100%;
  max-width: min(400px, 80vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.42)) drop-shadow(0 4px 28px rgba(255, 210, 10, 0.08));
  animation: heroLogoFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

.hero p.hero-subtitle,
.hero .hero-subtitle {
  max-width: 32rem;
  margin: 0 auto 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.6;
  font-weight: 500;
}

.hero-bullets {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  gap: 6px 16px !important;
  max-width: 700px !important;
  margin-top: 1rem !important;
}

.hero-bullets li {
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12.5px !important;
  padding-left: 1.1rem;
  position: relative;
}

.hero-bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #D4B86A;
  font-size: 11px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.5vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-actions,
.center-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-content--centered .hero-actions {
  justify-content: center;
  margin-top: 0.15rem;
}

.section,
.offer-band,
.quote-section,
.site-footer {
  background: var(--white);
}

.section-inner {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.intro-band {
  border-bottom: 1px solid var(--line);
}

.split,
.offer-layout,
.local-layout,
.quote-layout,
.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}

.intro-copy p,
.section-heading p,
.section-lead,
.offer-layout p,
.local-layout p,
.quote-layout p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.inline-cta {
  display: inline-flex;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.pain-section,
.how-section,
.local-section,
.scope-section {
  background: var(--soft);
}

.pain-grid,
.service-grid,
.steps,
.pricing-grid,
.scope-grid {
  display: grid;
  gap: 18px;
}

.scope-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.scope-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px 22px 26px;
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.05);
}

.scope-card h3 {
  margin-bottom: 14px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.scope-list {
  margin: 0;
  padding: 0 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.scope-list li {
  margin-bottom: 0.45rem;
}

.scope-footnote {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  font-style: italic;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-card,
.service-card,
.step-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.05);
}

.pain-card p,
.service-card p,
.step-card p,
.price-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.offer-band {
  background: var(--gold);
  padding: clamp(54px, 8vw, 82px) 0;
}

.offer-band .eyebrow {
  color: #6c5500;
}

.offer-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.offer-layout p {
  max-width: 740px;
  color: #3b3104;
}

.offer-layout .button {
  justify-self: end;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid--five {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 1100px) {
  .service-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold-dark);
  font-weight: 900;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: steps;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.center-cta {
  justify-content: center;
  margin-top: 34px;
}

/* Legacy: old pricing cards — kept for any reuse */
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-pillar-grid {
  display: grid;
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-pillar-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(7, 17, 31, 0.06);
}

.plan-pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.plan-pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.plans-cta-line {
  margin: 1.75rem 0 0;
  text-align: center;
}

.local-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-list span,
.quote-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 14px;
  color: #344054;
  font-weight: 750;
}

.quote-section {
  padding: clamp(80px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.quote-layout {
  align-items: start;
}

.quote-intro p {
  margin-top: 0;
}

.quote-trust {
  margin-top: 16px;
  color: #3d4a5c !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.quote-email {
  margin-top: 1rem;
  color: rgba(7, 17, 31, 0.72);
}

.quote-email a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.quote-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quote-form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.quote-form label,
.quote-form .form-field {
  display: grid;
  gap: 8px;
  color: #2d3748;
  font-weight: 800;
  font-size: 0.95rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8e0ea;
  border-radius: 7px;
  background: #fbfdff;
  padding: 15px 15px;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.quote-form select optgroup {
  font-weight: 800;
  color: #2d3b4a;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(23, 57, 99, 0.11);
}

.quote-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  font-size: 1.05rem;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.78;
}

.form-disclaimer {
  margin: 0;
  padding: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 600;
}

.quote-form-assurances {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quote-form-assurances li {
  position: relative;
  margin-bottom: 0.4rem;
  padding-left: 0.15rem;
}

.quote-form-assurances li::before {
  content: "✔";
  position: absolute;
  left: -1.1rem;
  top: 0.05em;
  color: #1e7a4a;
  font-size: 0.85em;
  font-weight: 900;
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  color: var(--navy);
  font-weight: 750;
  font-size: 0.98rem;
  line-height: 1.45;
}

.form-message.is-error {
  color: #b91c1c;
}

.form-message.is-success {
  color: #0f5c3a;
  font-weight: 800;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.footer-layout {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 12px;
}

.footer-contact a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 6px;
  padding: 6px 12px;
  background: linear-gradient(180deg, var(--wa), #1fa855);
  color: var(--white) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  width: min(calc(100vw - 28px), 232px);
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #25d366, var(--wa-dark));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.38);
  transition: transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.45);
  color: var(--white);
}

.whatsapp-float-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.whatsapp-float-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: left;
  letter-spacing: 0;
}

@media (max-width: 400px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: min(calc(100vw - 24px), 226px);
    gap: 8px;
    padding: 10px 14px 10px 10px;
    font-size: 0.88rem;
  }

  .whatsapp-float-icon {
    width: 38px;
    height: 38px;
  }

  .whatsapp-float-label {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    inset: 12px 50% auto auto;
  }

  .nav-links {
    display: none;
  }

  .header-email {
    max-width: 180px;
    font-size: 0.76rem;
  }

  .button-whatsapp {
    font-size: 0.82rem;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: clamp(64px, 12vh, 86px) 0 clamp(8px, 5vh, 24px);
  }

  .plan-pillar-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .split,
  .offer-layout,
  .local-layout,
  .quote-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .offer-layout .button,
  .footer-layout .button {
    justify-self: start;
  }

  .pain-grid,
  .service-grid,
  .steps,
  .scope-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    left: 10px;
    right: 10px;
    width: auto;
    transform: none;
    padding: 8px 8px 8px 12px;
    gap: 8px;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    max-height: 38px;
  }

  .header-email {
    max-width: 11rem;
    font-size: 0.72rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: min(100svh, 900px);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.76) 60%, rgba(7, 17, 31, 0.54) 100%),
      linear-gradient(90deg, rgba(7, 17, 31, 0.7), rgba(7, 17, 31, 0.32));
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 44px 16px 0px;
  }

  .hero .hero-headline,
  p.hero-subtitle {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero .hero-headline {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }

  .hero p.hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero-logo {
    max-width: min(220px, 58vw);
  }

  .hero-bullets {
    font-size: 0.84rem;
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .hero-actions .button,
  .center-cta .button {
    width: 100%;
  }

  .pain-grid,
  .service-grid,
  .steps,
  .scope-grid,
  .pricing-grid,
  .plan-pillar-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .section {
    padding: 68px 0;
  }

  .quote-form {
    padding: 20px 16px;
  }
}
/* ============================================================
   MAYOR EXCELSIOR — Hero Fix Exacto
   Pega esto al MUY FINAL de styles.css (después de todo lo demás)
   Usa las clases reales del proyecto: hero-logo, hero-headline,
   hero-brand, etc.
   ============================================================ */

/* ── 1. HERO: pantalla completa ── */
.hero {
  min-height: 100svh !important;
}

/* ── 2. LOGO: más grande, sin limitación del atributo width/height ── */
.hero-logo {
  width: 100% !important;
  max-width: min(520px, 88vw) !important;   /* era 400px → ahora 520px */
  height: auto !important;
  filter:
    drop-shadow(0 0 60px rgba(255, 210, 10, 0.12))
    drop-shadow(0 12px 40px rgba(0, 0, 0, 0.5));
  animation: heroLogoFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* ── 3. Línea dorada más visible ── */
.hero-brand::after {
  width: 56px !important;
  background: rgba(255, 210, 10, 0.6) !important;
  margin-top: 1.4rem !important;
}

/* ── 4. Menos espacio entre logo y kicker ── */
.hero-brand {
  margin-bottom: 1.2rem !important;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ── 5. H1 más grande y con más presencia ── */
.hero .hero-headline {
  font-size: clamp(2rem, 4.2vw, 3rem) !important;   /* era clamp(1.6rem, 3.4vw, 2.4rem) */
  margin-bottom: 1rem !important;
  letter-spacing: -0.03em !important;
}

/* ── 6. Subtítulo más legible ── */
.hero p.hero-subtitle,
.hero .hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 400 !important;
  max-width: 34rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1.8rem !important;
}

/* ── 7. MÓVIL ── */
@media (max-width: 680px) {

  .hero {
    min-height: 100svh !important;
  }

  /* Logo protagonista en móvil */
  .hero-logo {
    max-width: min(300px, 78vw) !important;   /* era 220px → ahora 300px */
  }

  /* Más espacio arriba para el nav */
  .hero-content {
    padding: 56px 20px 8px !important;
  }

  /* H1 */
  .hero .hero-headline {
    font-size: clamp(1.85rem, 8vw, 2.3rem) !important;
    line-height: 1.1 !important;
  }

  /* Subtítulo */
  .hero p.hero-subtitle,
  .hero .hero-subtitle {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    margin-bottom: 1.4rem !important;
  }

  /* CTAs apilados */
  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-actions .button {
    width: 100% !important;
    max-width: 300px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* WhatsApp más discreto */
  .hero-actions .button-whatsapp {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    color: rgba(255,255,255,0.75) !important;
    box-shadow: none !important;
  }

  /* Bullets más compactos */
  .hero-bullets {
    margin-top: 0.5rem !important;
    gap: 6px !important;
  }

  .hero-bullets li {
    font-size: 13px !important;
  }
}

/* ── 9. Pantallas muy pequeñas ── */
@media (max-width: 380px) {
  .hero-logo {
    max-width: min(240px, 76vw) !important;
  }

  .hero .hero-headline {
    font-size: 1.65rem !important;
  }
}

/* ============================================================
   MAYOR EXCELSIOR — Estilos Sección Comercial
   Pega esto al final de styles.css
   ============================================================ */

.commercial-section {
  background: var(--ink, #0a0f1a);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Línea decorativa superior */
.commercial-section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,184,106,0.3), transparent);
}

.commercial-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Header ── */
.commercial-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.commercial-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,184,106,0.85);
  margin-bottom: 0.75rem;
}

.commercial-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.commercial-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Space cards ── */
.commercial-spaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.commercial-space-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}

.commercial-space-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,184,106,0.25);
}

.commercial-space-card.featured {
  border-color: rgba(212,184,106,0.2);
  background: rgba(212,184,106,0.04);
}

.commercial-space-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(212,184,106,0.15);
  color: rgba(212,184,106,0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(212,184,106,0.25);
}

.commercial-space-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.commercial-space-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.commercial-space-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ── What's included ── */
.commercial-includes {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.commercial-includes-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.75rem;
  text-align: center;
}

.commercial-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2rem;
}

.commercial-include-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.ci-check {
  color: #D4B86A;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Pricing & scheduling ── */
.commercial-pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.commercial-pricing-card {
  background: rgba(212,184,106,0.06);
  border: 1px solid rgba(212,184,106,0.18);
  border-radius: 20px;
  padding: 2rem;
}

.commercial-pricing-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #D4B86A;
  margin-bottom: 0.75rem;
}

.commercial-pricing-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.commercial-pricing-note {
  font-size: 13px !important;
  color: rgba(255,255,255,0.4) !important;
  font-style: italic;
}

/* ── CTA ── */
.commercial-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.commercial-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.commercial-cta .button {
  min-width: 220px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .commercial-spaces {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .commercial-includes-grid {
    grid-template-columns: 1fr;
  }

  .commercial-pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .commercial-section {
    padding: 4rem 1.5rem;
  }

  .commercial-includes {
    padding: 1.75rem 1.25rem;
  }

  .commercial-cta .button {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================================
   MAYOR EXCELSIOR — Estilos Sección Residencial
   Pega esto al final de styles.css
   ============================================================ */

.residential-section {
  background: #080d18;
  padding: 6rem 2rem;
  position: relative;
}

.residential-section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,184,106,0.3), transparent);
}

.residential-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Header ── */
.residential-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.residential-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,184,106,0.85);
  margin-bottom: 0.75rem;
}

.residential-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.residential-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Cards grid ── */
.residential-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

/* ── Individual card ── */
.res-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.25s;
}

.res-card:hover {
  border-color: rgba(212,184,106,0.2);
}

.res-card--featured {
  border-color: rgba(212,184,106,0.3);
  background: rgba(212,184,106,0.05);
}

.res-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #D4B86A;
  color: #0a0f1a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Card header ── */
.res-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.res-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.res-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.res-card-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}

/* ── List ── */
.res-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.res-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

.res-check {
  color: #D4B86A;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
}

.res-note {
  color: rgba(212,184,106,0.5) !important;
  font-size: 11px !important;
}

.res-note-full {
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  line-height: 1.5;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}

/* ── Add-ons ── */
.res-card-addons {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.res-addons-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212,184,106,0.7);
  margin-bottom: 0.6rem;
}

.res-addons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.res-addons-list span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 3px 10px;
}

/* ── CTA ── */
.res-card-cta {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(212,184,106,0.35);
  color: #D4B86A;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.res-card--featured .res-card-cta {
  background: #D4B86A;
  color: #0a0f1a;
  border-color: #D4B86A;
}

.res-card-cta:hover {
  background: #D4B86A;
  color: #0a0f1a;
  border-color: #D4B86A;
}

/* ── Disclaimer ── */
.residential-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .residential-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 680px) {
  .residential-section {
    padding: 4rem 1.5rem;
  }
}

/* ============================================================
   MAYOR EXCELSIOR — Our Story CSS
   Pega esto al final de styles.css
   ============================================================ */

.story-section {
  background: var(--ink, #0a0f1a);
  padding: 6rem 2rem;
  position: relative;
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,184,106,0.3), transparent);
}

.story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

/* ── Text column ── */
.story-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,184,106,0.85);
  margin-bottom: 0.75rem;
}

.story-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.story-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #D4B86A;
  margin-bottom: 0.75rem;
}

.story-body {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.story-body strong {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.story-body em {
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.story-divider {
  width: 40px;
  height: 1px;
  background: rgba(212,184,106,0.35);
  margin: 1.75rem 0;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-list li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.62);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.story-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #D4B86A;
  font-size: 13px;
}

.story-closing {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.story-closing strong {
  color: #fff;
}

.story-signature {
  font-size: 14px;
  color: rgba(212,184,106,0.7);
  font-style: italic;
  margin-bottom: 2rem;
}

.story-cta {
  display: inline-block;
  background: #D4B86A;
  color: #0a0f1a;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(212,184,106,0.25);
}

.story-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ── Values column ── */
.story-visual {
  position: sticky;
  top: 100px;
}

.story-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 2rem;
}

.story-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.story-value-icon {
  color: #D4B86A;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.story-value strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.story-value p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-visual {
    position: static;
  }
}

@media (max-width: 680px) {
  .story-section {
    padding: 4rem 1.5rem;
  }
}

.res-base-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 0;
}

.res-frequency {
  text-align: center;
  margin-bottom: 1.5rem;
}

.res-frequency-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.res-frequency-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.res-frequency-tags span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 5px 14px;
}

/* ============================================================
   Gallery (galeria.css)
   ============================================================ */

.gallery-section {
  background: #0a0f1a;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 184, 106, 0.3), transparent);
}

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 184, 106, 0.85);
  margin: 0 0 0.75rem;
}

.gallery-section .gallery-header h2,
#gallery-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.gallery-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.gallery-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.gallery-item--compare {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
}

.gallery-item--compare .gallery-ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  container-type: inline-size;
  container-name: gallery-ba;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-item--compare .ba-after {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gallery-item--compare .ba-after::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(180deg, transparent 60%, rgba(7, 17, 31, 0.08));
  pointer-events: none;
}

.gallery-item--compare .ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.03) brightness(1.06);
  transition: none;
}

.gallery-item--compare .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.gallery-item--compare .ba-before::before,
.gallery-item--compare .ba-before::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-item--compare .ba-before::before {
  z-index: 2;
  background:
    radial-gradient(circle at 14% 76%, rgba(54, 42, 30, 0.34) 0 7%, transparent 8%),
    radial-gradient(circle at 74% 28%, rgba(73, 61, 46, 0.22) 0 8%, transparent 9%),
    radial-gradient(circle at 42% 46%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 67%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    repeating-linear-gradient(105deg, transparent 0 18px, rgba(255, 255, 255, 0.07) 19px 20px),
    linear-gradient(180deg, rgba(7, 17, 31, 0.1), rgba(7, 17, 31, 0.36));
  mix-blend-mode: multiply;
  opacity: 0.72;
}

.gallery-item--compare .ba-before::after {
  z-index: 3;
  background:
    radial-gradient(ellipse at 26% 82%, rgba(0, 0, 0, 0.24) 0 10%, transparent 12%),
    radial-gradient(ellipse at 82% 78%, rgba(0, 0, 0, 0.18) 0 8%, transparent 10%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 42%);
  opacity: 0.55;
}

.gallery-item--compare .ba-before img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100cqw;
  max-width: none;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.62) contrast(0.86) brightness(0.58) blur(0.2px);
  transition: none;
}

.gallery-ba--kitchen .ba-before::before {
  background:
    radial-gradient(ellipse at 26% 78%, rgba(116, 81, 40, 0.4) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 42%, rgba(74, 54, 34, 0.28) 0 7%, transparent 8%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.06) 23px 24px),
    linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.38));
}

.gallery-ba--bathroom .ba-before::before {
  background:
    radial-gradient(circle at 66% 30%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 39%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 48%, rgba(255, 255, 255, 0.2) 0 2px, transparent 3px),
    repeating-linear-gradient(115deg, transparent 0 16px, rgba(255, 255, 255, 0.08) 17px 18px),
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.38));
}

.gallery-ba--office .ba-before::after,
.gallery-ba--lobby .ba-before::after,
.gallery-ba--meeting .ba-before::after {
  background:
    radial-gradient(ellipse at 35% 82%, rgba(0, 0, 0, 0.28) 0 13%, transparent 15%),
    radial-gradient(ellipse at 68% 73%, rgba(0, 0, 0, 0.2) 0 9%, transparent 11%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.06) 19px 20px);
  opacity: 0.62;
}

.ba-label {
  position: absolute;
  top: 12px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.ba-label-before {
  left: 12px;
  background: rgba(7, 17, 31, 0.66);
}

.ba-label-after {
  right: 12px;
  background: rgba(37, 211, 102, 0.9);
}

.gallery-item--compare .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  z-index: 3;
  cursor: ew-resize;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.95) 15%,
    rgba(255, 255, 255, 0.95) 85%,
    rgba(255, 255, 255, 0.2)
  );
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 18px rgba(0, 0, 0, 0.35);
}

.gallery-item--compare .ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(212, 184, 106, 0.35);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.gallery-compare-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .gallery-slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery-section {
    padding: 4rem 1.5rem;
  }

  .gallery-slider-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-subsection {
  margin-bottom: 3.5rem;
}

.gallery-sub-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 184, 106, 0.7);
  margin-bottom: 1.25rem;
  padding-left: 4px;
}

/* ============================================================
   MAYOR EXCELSIOR — FAQ CSS
   Pega esto al final de styles.css
   ============================================================ */

.faq-section {
  background: #0a0f1a;
  padding: 6rem 2rem;
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,184,106,0.3), transparent);
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Header ── */
.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,184,106,0.85);
  margin-bottom: 0.75rem;
}

.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.faq-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Group ── */
.faq-group {
  margin-bottom: 3rem;
}

.faq-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #D4B86A;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,184,106,0.2);
}

.faq-group-icon {
  font-size: 18px;
}

/* ── Items ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(212,184,106,0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #D4B86A;
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-question {
  color: #fff;
}

.faq-answer {
  padding: 0 1.25rem 1.1rem;
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 0.9rem;
}

/* ── CTA ── */
.faq-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.faq-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .faq-section {
    padding: 4rem 1.5rem;
  }

  .faq-question {
    font-size: 14px;
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    padding-top: 0.75rem;
  }
}

.faq-tabs {
  width: 100%;
}

.faq-tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  justify-content: center;
}

.faq-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-tab-btn.active {
  background: #d4b86a;
  border-color: #d4b86a;
  color: #0a0f1a;
  font-weight: 600;
}

.faq-tab-btn:hover:not(.active) {
  border-color: rgba(212, 184, 106, 0.35);
  color: rgba(255, 255, 255, 0.8);
}

.faq-tab-content {
  display: none;
}

.faq-tab-content.active {
  display: block;
}

/* --- footer.css (updated footer) --- */

.me-footer {
  background: linear-gradient(180deg, #0d2748 0%, #060d18 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(48px, 8vw, 72px) 16px clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(228, 185, 0, 0.22);
}

.me-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.me-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 40px);
  padding-top: 8px;
}

.me-footer-brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .me-footer-grid {
    grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr 0.75fr;
    align-items: start;
  }

  .me-footer-brand {
    grid-column: auto;
  }
}

.me-footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.me-footer-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.me-footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.me-footer-name {
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.me-footer-domain {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.me-footer-tagline {
  margin: 16px 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.me-footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.me-footer-contact a {
  font-weight: 750;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-decoration-color: #e4b900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.me-footer-contact a:hover {
  color: #fff;
}

.me-footer-wa {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 6px 14px;
  background: linear-gradient(180deg, #25d366, #1fa855);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.me-footer-cta {
  margin-top: 16px;
  align-self: flex-start;
}

.me-footer-heading {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.me-footer-nav {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.me-footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.me-footer-nav a:hover {
  color: #e4b900;
}

.me-footer-blurb {
  margin: 16px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.me-footer-bottom {
  margin-top: clamp(36px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.me-footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

@keyframes heroLogoFloat {
  0% {
    transform: translateY(0px) rotateY(0deg) rotateX(2deg);
    filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.42)) drop-shadow(0 4px 28px rgba(255, 210, 10, 0.08))
      drop-shadow(0 0 0px rgba(255, 210, 10, 0));
  }
  25% {
    transform: translateY(-8px) rotateY(4deg) rotateX(3deg);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 8px 32px rgba(255, 210, 10, 0.15))
      drop-shadow(0 0 30px rgba(255, 210, 10, 0.08));
  }
  50% {
    transform: translateY(-12px) rotateY(0deg) rotateX(4deg);
    filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.55)) drop-shadow(0 10px 36px rgba(255, 210, 10, 0.2))
      drop-shadow(0 0 50px rgba(255, 210, 10, 0.12));
  }
  75% {
    transform: translateY(-8px) rotateY(-4deg) rotateX(3deg);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 8px 32px rgba(255, 210, 10, 0.15))
      drop-shadow(0 0 30px rgba(255, 210, 10, 0.08));
  }
  100% {
    transform: translateY(0px) rotateY(0deg) rotateX(2deg);
    filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.42)) drop-shadow(0 4px 28px rgba(255, 210, 10, 0.08))
      drop-shadow(0 0 0px rgba(255, 210, 10, 0));
  }
}

.lang-toggle {
  min-height: 38px;
  background: #fff8d7;
  border: 1px solid rgba(23, 57, 99, 0.22);
  color: var(--ink);
  padding: 0 14px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(7, 17, 31, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: var(--gold);
  border-color: rgba(23, 57, 99, 0.32);
  color: #1b1600;
  transform: translateY(-1px);
}

.lang-toggle.es-active {
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  border-color: rgba(255, 210, 10, 0.62);
  color: var(--gold);
}

.nav-links a,
.header-actions .button,
.header-email {
  white-space: nowrap;
}

/* Conversion-focused hero: copy on the left, actions on the right. */
.hero-content.hero-content--centered {
  width: min(1160px, calc(100vw - 32px)) !important;
  max-width: min(1160px, calc(100vw - 32px)) !important;
  text-align: left !important;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.68fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  width: 100%;
  margin-top: clamp(18px, 3vh, 34px);
}

.hero-copy-col {
  min-width: 0;
}

.hero-copy-col .hero-kicker,
.hero-copy-col .hero-headline,
.hero-copy-col .hero-subtitle {
  text-align: left !important;
}

.hero-copy-col .hero-kicker {
  margin: 0 0 12px !important;
}

.hero-copy-col .hero-headline {
  max-width: 43rem !important;
  margin: 0 0 16px !important;
  letter-spacing: 0 !important;
}

.hero-copy-col .hero-subtitle {
  max-width: 40rem !important;
  margin: 0 !important;
}

.hero-cta-col {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.54);
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-cta-col .hero-actions {
  width: 100% !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
}

.hero-cta-col .hero-actions .button {
  width: 100% !important;
  max-width: none !important;
  min-height: 50px;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal;
}

.hero-cta-col .hero-bullets {
  display: grid !important;
  width: 100%;
  max-width: none !important;
  margin: 18px 0 0 !important;
  gap: 10px !important;
  justify-content: stretch !important;
}

.hero-cta-col .hero-bullets li {
  width: 100%;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem !important;
  line-height: 1.4;
  white-space: normal;
}

/* Make the "before" side read as visibly dirty and disorganized. */
.gallery-item--compare .ba-before .ba-floor-dirt,
.gallery-item--compare .ba-before .ba-clutter {
  position: absolute;
  pointer-events: none;
}

.gallery-item--compare .ba-before .ba-floor-dirt {
  left: 4%;
  right: 5%;
  bottom: 3%;
  z-index: 4;
  height: 32%;
  background:
    radial-gradient(ellipse at 18% 70%, rgba(42, 29, 17, 0.72) 0 13%, transparent 15%),
    radial-gradient(ellipse at 50% 78%, rgba(48, 38, 26, 0.64) 0 16%, transparent 18%),
    radial-gradient(ellipse at 78% 58%, rgba(35, 25, 15, 0.48) 0 10%, transparent 12%),
    repeating-radial-gradient(circle at 35% 45%, rgba(77, 55, 32, 0.36) 0 1px, transparent 2px 8px);
  filter: blur(0.4px);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.gallery-item--compare .ba-before .ba-clutter {
  z-index: 5;
  width: 52px;
  height: 24px;
  border: 1px solid rgba(92, 70, 44, 0.32);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(250, 244, 226, 0.95), rgba(184, 166, 127, 0.78));
  box-shadow:
    0 9px 12px rgba(0, 0, 0, 0.26),
    18px 9px 0 -7px rgba(72, 54, 34, 0.72),
    -12px 15px 0 -8px rgba(212, 184, 106, 0.65);
  opacity: 0.95;
}

.gallery-item--compare .ba-before .ba-clutter::after {
  content: "";
  position: absolute;
  inset: 7px 8px auto;
  height: 2px;
  background: rgba(71, 54, 36, 0.28);
  box-shadow: 0 5px 0 rgba(71, 54, 36, 0.2);
}

.gallery-ba--kitchen .ba-clutter-1 { left: 10%; bottom: 13%; transform: rotate(-13deg); }
.gallery-ba--kitchen .ba-clutter-2 { left: 50%; bottom: 22%; width: 42px; transform: rotate(10deg); }
.gallery-ba--kitchen .ba-clutter-3 { left: 26%; bottom: 34%; width: 34px; height: 18px; transform: rotate(22deg); }

.gallery-ba--bedroom .ba-clutter-1 { left: 13%; bottom: 16%; width: 62px; height: 28px; transform: rotate(9deg); }
.gallery-ba--bedroom .ba-clutter-2 { left: 56%; bottom: 28%; width: 48px; transform: rotate(-18deg); }
.gallery-ba--bedroom .ba-clutter-3 { left: 31%; bottom: 8%; width: 38px; height: 18px; transform: rotate(24deg); }

.gallery-ba--bathroom .ba-clutter-1 { left: 14%; bottom: 12%; width: 38px; height: 18px; transform: rotate(-8deg); }
.gallery-ba--bathroom .ba-clutter-2 { left: 58%; bottom: 21%; width: 34px; height: 16px; transform: rotate(15deg); }
.gallery-ba--bathroom .ba-clutter-3 { left: 35%; bottom: 32%; width: 30px; height: 14px; transform: rotate(-22deg); }

.gallery-ba--office .ba-clutter-1,
.gallery-ba--meeting .ba-clutter-1 { left: 10%; bottom: 12%; transform: rotate(-10deg); }
.gallery-ba--office .ba-clutter-2,
.gallery-ba--meeting .ba-clutter-2 { left: 55%; bottom: 21%; transform: rotate(13deg); }
.gallery-ba--office .ba-clutter-3,
.gallery-ba--meeting .ba-clutter-3 { left: 33%; bottom: 5%; width: 42px; transform: rotate(25deg); }

.gallery-ba--lobby .ba-clutter-1 { left: 12%; bottom: 14%; width: 44px; transform: rotate(11deg); }
.gallery-ba--lobby .ba-clutter-2 { left: 58%; bottom: 24%; width: 50px; transform: rotate(-17deg); }
.gallery-ba--lobby .ba-clutter-3 { left: 32%; bottom: 6%; width: 36px; height: 18px; transform: rotate(20deg); }

.gallery-item--compare .ba-handle {
  z-index: 8;
}

.ba-label {
  z-index: 9;
}

@media (max-width: 1320px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-content.hero-content--centered,
  .hero-copy-col .hero-kicker,
  .hero-copy-col .hero-headline,
  .hero-copy-col .hero-subtitle {
    text-align: center !important;
  }

  .hero-copy-col .hero-kicker,
  .hero-copy-col .hero-headline,
  .hero-copy-col .hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-cta-col {
    width: min(430px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .hero-content.hero-content--centered {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-main-grid {
    margin-top: 18px;
  }

  .hero-cta-col {
    padding: 16px;
  }

  .hero-cta-col .hero-actions .button {
    max-width: none !important;
  }

  .hero-cta-col .hero-bullets li {
    font-size: 0.86rem !important;
  }

  .gallery-item--compare .ba-before .ba-clutter {
    width: 42px;
    height: 20px;
  }
}

/* In-page gallery: compact thumbnails; full size in lightbox (click the photo). */
.gallery-section .gallery-item--compare .gallery-ba,
.gallery-section .gallery-item--still .gallery-com-still {
  aspect-ratio: auto;
  height: 200px;
  max-height: 200px;
  cursor: pointer;
}

.gallery-section .gallery-item--compare .ba-handle {
  cursor: ew-resize;
}

@media (max-width: 600px) {
  .gallery-section .gallery-item--compare .gallery-ba,
  .gallery-section .gallery-item--still .gallery-com-still {
    height: 150px;
    max-height: 150px;
  }
}

/* Smaller logo on thumbnails; lightbox uses larger .gallery-lightbox-img-wrap::after. */
.gallery-section .gallery-ba--real .ba-after::before,
.gallery-section .gallery-ba--real .ba-before::before {
  width: 72px !important;
  height: 45px !important;
  inset: auto 8px 8px auto !important;
}

.gallery-section .gallery-item--still .gallery-com-still::after {
  width: 72px;
  height: 45px;
  inset: auto 8px 8px auto;
}

/* Real residential gallery photos with logo watermark and enlarge view. */
.gallery-slider-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 1.35rem !important;
}

.gallery-item--compare {
  align-items: stretch;
}

.gallery-ba--real .ba-after,
.gallery-ba--real .ba-before {
  isolation: isolate;
}

.gallery-ba--real .ba-after img,
.gallery-ba--real .ba-before img {
  filter: none !important;
}

.gallery-ba--real .ba-before::after,
.gallery-ba--real .ba-before .ba-floor-dirt,
.gallery-ba--real .ba-before .ba-clutter {
  display: none !important;
}

.gallery-ba--real .ba-after::before,
.gallery-ba--real .ba-before::before {
  content: "" !important;
  position: absolute !important;
  inset: auto 12px 12px auto !important;
  z-index: 6 !important;
  width: 145px !important;
  height: 90px !important;
  border: 0;
  border-radius: 0;
  background: transparent url("logo.png?v=10") center / contain no-repeat !important;
  box-shadow: none;
  mix-blend-mode: normal !important;
  opacity: 0.72 !important;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.gallery-ba--real .ba-after::after {
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 36%),
    linear-gradient(180deg, transparent 58%, rgba(7, 17, 31, 0.08));
}

/* Keyboard focus: figures open lightbox on Enter/Space. */
.gallery-section figure[data-lightbox-before]:focus-visible {
  outline: 2px solid rgba(212, 184, 106, 0.88);
  outline-offset: 3px;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(12px);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-panel {
  width: min(1180px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #07111f;
  color: #ffffff;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gallery-lightbox-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-lightbox-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.15;
}

.gallery-lightbox-close {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

.gallery-lightbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-lightbox-figure {
  margin: 0;
}

.gallery-lightbox-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(68vh, 640px);
  overflow: visible;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

/* Shrink-wrapped box matches the real image area so the watermark isn't on letterboxed margins. */
.gallery-lightbox-img-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: min(68vh, 640px);
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-lightbox-img-wrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 640px);
  object-fit: contain;
}

.gallery-lightbox-img-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 200px;
  height: 122px;
  border: 0;
  border-radius: 0;
  background: transparent url("logo.png?v=10") center / contain no-repeat;
  box-shadow: none;
  opacity: 0.76;
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.gallery-lightbox-figure figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  text-align: center;
}

@media (max-width: 760px) {
  .gallery-slider-grid,
  .gallery-lightbox-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-lightbox {
    padding: 10px;
  }

  .gallery-lightbox-panel {
    max-height: calc(100vh - 20px);
    padding: 16px;
  }

  .gallery-lightbox-header {
    flex-direction: column;
    gap: 12px;
  }

  .gallery-lightbox-close {
    width: 100%;
  }

  .gallery-lightbox-photo {
    min-height: 55vh;
  }

  .gallery-lightbox-img-wrap,
  .gallery-lightbox-img-wrap img {
    max-height: 55vh;
  }
}

/* ============================================================
   MAYOR EXCELSIOR — Calculadora de Precios CSS
   Pega esto al final de styles.css
   ============================================================ */

.calc-section {
  background: #080d18;
  padding: 6rem 2rem;
  position: relative;
}

.calc-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 184, 106, 0.3), transparent);
}

.calc-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Header ── */
.calc-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 184, 106, 0.85);
  margin-bottom: 0.75rem;
}

.calc-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.calc-subtitle {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Card ── */
.calc-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Groups ── */
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-sqft-display {
  font-size: 14px;
  font-weight: 700;
  color: #d4b86a;
}

/* ── Option buttons ── */
.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-opt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-opt:hover {
  border-color: rgba(212, 184, 106, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.calc-opt.active {
  background: rgba(212, 184, 106, 0.12);
  border-color: rgba(212, 184, 106, 0.5);
  color: #d4b86a;
  font-weight: 600;
}

/* ── Slider ── */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4b86a;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 184, 106, 0.4);
  transition: transform 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4b86a;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(212, 184, 106, 0.4);
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

/* ── Result ── */
.calc-result {
  background: rgba(212, 184, 106, 0.06);
  border: 1px solid rgba(212, 184, 106, 0.25);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
}

.calc-result-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 184, 106, 0.65);
  margin-bottom: 0.5rem;
}

.calc-result-price {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: #d4b86a;
  line-height: 1;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.calc-result-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 1.25rem;
  font-style: italic;
}

.calc-result-cta {
  display: inline-block;
  background: #d4b86a;
  color: #0a0f1a;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  box-shadow: 0 4px 20px rgba(212, 184, 106, 0.25);
}

.calc-result-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .calc-section {
    padding: 4rem 1.5rem;
  }

  .calc-card {
    padding: 1.75rem 1.25rem;
  }

  .calc-opt {
    font-size: 12.5px;
    padding: 8px 14px;
  }

  .calc-result-price {
    font-size: 2rem;
  }
}

/* ============================================================
   MAYOR EXCELSIOR — Lead Gate CSS
   Pega esto al final de styles.css
   ============================================================ */

.leadgate-section {
  background: #0a0f1a;
  padding: 6rem 2rem;
  position: relative;
}

.leadgate-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 184, 106, 0.3), transparent);
}

.leadgate-inner {
  max-width: 620px;
  margin: 0 auto;
}

/* ── Header ── */
.leadgate-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.leadgate-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 184, 106, 0.85);
  margin-bottom: 0.75rem;
}

.leadgate-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.leadgate-subtitle {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Card ── */
.leadgate-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
}

/* ── Benefits ── */
.leadgate-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.leadgate-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

.leadgate-benefit span {
  font-size: 16px;
  flex-shrink: 0;
}

.leadgate-benefit p {
  margin: 0;
}

/* ── Form ── */
.leadgate-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.leadgate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leadgate-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.leadgate-field:last-child {
  grid-column: 1 / -1;
}

.leadgate-field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.leadgate-field input,
.leadgate-field select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.leadgate-field input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.leadgate-field input:focus,
.leadgate-field select:focus {
  border-color: rgba(212, 184, 106, 0.4);
}

.leadgate-field select option {
  background: #0a0f1a;
  color: #fff;
}

/* ── Submit ── */
.leadgate-submit {
  background: #d4b86a;
  border: none;
  color: #0a0f1a;
  padding: 15px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
  box-shadow: 0 4px 24px rgba(212, 184, 106, 0.25);
  width: 100%;
}

.leadgate-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.leadgate-disclaimer {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* ── Success state ── */
.leadgate-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1rem 0;
}

.leadgate-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 184, 106, 0.15);
  border: 2px solid #d4b86a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #d4b86a;
  margin: 0 auto;
}

.leadgate-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.leadgate-success p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto;
}

.leadgate-whatsapp {
  display: inline-block;
  font-size: 13.5px;
  color: #25d366;
  text-decoration: none;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  transition: background 0.2s;
}

.leadgate-whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
}

/* ── Responsive ── */
@media (max-width: 580px) {
  .leadgate-fields {
    grid-template-columns: 1fr;
  }

  .leadgate-field:last-child {
    grid-column: 1;
  }

  .leadgate-card {
    padding: 1.75rem 1.25rem;
  }
}

.gallery-section {
  background: #ffffff !important;
}

.gallery-eyebrow {
  color: rgba(212, 184, 106, 0.9) !important;
}

.gallery-title {
  color: #1a1a2e !important;
}

.gallery-subtitle {
  color: #666 !important;
}

.gallery-sub-label {
  color: rgba(212, 184, 106, 0.8) !important;
}

.ba-card {
  background: #f5f5f5 !important;
  border: 1px solid #e8e8e8 !important;
}

.ba-caption {
  color: #555 !important;
}

.ba-label-before {
  color: #999 !important;
}

.gallery-com-intro {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #666 !important;
  max-width: 40rem;
  margin: 0 auto 1.35rem;
  text-align: center;
}

.gallery-com-extra {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #666 !important;
  max-width: 40rem;
  margin: 0.5rem auto 1.15rem;
  text-align: center;
}

.gallery-com-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 57, 99, 0.75);
  text-align: center;
  margin: 1.75rem 0 1rem;
}

/* Single before + single after: side by side to save vertical space. */
.gallery-com-pairrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.35rem;
  max-width: min(920px, 100%);
  margin: 0 auto;
  align-items: start;
}

.gallery-com-pairrow-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.gallery-com-pairrow .gallery-com-section-label {
  margin: 0 0 0.35rem;
}

@media (max-width: 640px) {
  .gallery-com-pairrow {
    grid-template-columns: 1fr;
  }
}
.gallery-item.gallery-item--still {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
}

.gallery-item--still .gallery-com-still {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-item--still .gallery-com-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item--still:hover .gallery-com-still img {
  transform: scale(1.04);
}

.gallery-item--still .gallery-com-still::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px auto;
  z-index: 6;
  width: 145px;
  height: 90px;
  background: transparent url("logo.png?v=10") center / contain no-repeat;
  box-shadow: none;
  opacity: 0.72;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.gallery-lightbox-grid--single {
  grid-template-columns: 1fr !important;
  max-width: 720px;
  margin: 0 auto;
}
