/* ============================================================
   LAYOUT — nav, hero, secciones, grids
   ============================================================ */

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  transition: background var(--dur-normal) var(--ease-out),
              padding var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: var(--space-3) 0;
  border-bottom-color: var(--divider);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-logo);
  font-size: 1.1rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.nav__logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.nav__logo-text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.nav__links {
  display: none;
  gap: var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.nav__links a {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-normal) var(--ease-out);
}

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

.nav__links a:hover::after {
  width: 100%;
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--space-16);
  padding-bottom: var(--space-10);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.1);
  transform: scale(1.08);
  transition: transform 12s ease;
}

.hero.is-ready .hero__bg img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.95) 80%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__title-line {
  display: block;
}

.hero__script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
  font-weight: 500;
  margin-top: var(--space-3);
  font-style: italic;
}

.hero__sub {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: var(--space-8);
  line-height: var(--lh-relaxed);
}

.hero__sub strong { font-weight: 600; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-family: var(--font-heading);
  letter-spacing: var(--ls-wide);
  background: rgba(212, 165, 116, 0.05);
  backdrop-filter: blur(6px);
}

.hero__pill strong { color: var(--gold); font-weight: 600; }

.hero__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 1; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- PROOF BAR ---------- */
.proof {
  padding: var(--space-8) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .proof__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.proof__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.proof__star { font-size: 0.8em; }

.proof__label {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-secondary);
}

/* ---------- SECCIÓN HEAD ---------- */
.section__head {
  max-width: 720px;
  margin-bottom: var(--space-10);
}

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

.section__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.section__sub {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

/* ---------- SERVICES GRID ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

.services__cta {
  margin-top: var(--space-10);
  text-align: center;
}

/* ---------- CASE ---------- */
.case__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .case__wrap {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-12);
  }
}

.case__split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  aspect-ratio: 4 / 5;
}

.case__half {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.case__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__half figcaption {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  padding: 6px 14px;
  background: rgba(10,10,10,0.85);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  font-weight: 600;
}

.case__copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}

.case__copy p {
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: var(--lh-relaxed);
}

.case__list {
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.case__list li {
  color: var(--white-muted);
  font-size: var(--fs-md);
}

.case__list li::before {
  color: var(--gold);
  margin-right: var(--space-2);
}

/* ---------- PROMO ---------- */
.promo {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1004 100%);
  position: relative;
  overflow: hidden;
}

.promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.promo__wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-10) var(--space-5);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-xl);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
}

.promo__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: var(--coral-soft);
  color: var(--coral);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.promo__tag-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

.promo__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: var(--space-5);
  line-height: var(--lh-tight);
}

.promo__label {
  display: block;
  color: var(--white-muted);
  font-size: 0.5em;
  font-family: var(--font-heading);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.promo__price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.promo__currency {
  font-size: 0.5em;
  color: var(--gold);
  font-weight: 400;
}

.promo__amount {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}

.promo__mxn {
  font-size: 0.35em;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  letter-spacing: var(--ls-wider);
}

.promo__text {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  max-width: 520px;
  margin: 0 auto var(--space-6);
  line-height: var(--lh-relaxed);
}

.promo__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* ---------- TEAM ---------- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .team__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-12);
  }
}

.team__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__img-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  padding: var(--space-3) var(--space-5);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.team__img-badge .script {
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1;
}

.team__img-badge strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
}

.team__copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: var(--space-3) 0 var(--space-5);
  line-height: 1.1;
}

.team__copy h2 .script {
  font-size: 0.7em;
  display: block;
  font-style: italic;
}

.team__copy p {
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.team__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  margin-bottom: var(--space-6);
}

.team__stats dt {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
}

.team__stats dd {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--white);
  font-weight: 500;
}

.team__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--white);
  padding-left: var(--space-5);
  border-left: 2px solid var(--gold);
  line-height: var(--lh-snug);
}

.team__quote .script {
  font-size: 2em;
  color: var(--gold);
  line-height: 0;
  vertical-align: -0.2em;
}

/* ---------- PROTOCOL ---------- */
.protocol__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .protocol__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .protocol__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.protocol__step {
  padding: var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}

.protocol__step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.protocol__num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-3);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.protocol__step h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

.protocol__step p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.protocol__card {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(10,10,10,0.4) 100%);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-xl);
  display: grid;
  gap: var(--space-5);
  text-align: center;
}

.protocol__card-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.protocol__card-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.protocol__card-amount {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.protocol__card-pays {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.protocol__card-pays strong { color: var(--gold); }

/* ---------- GALLERY ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(0deg, rgba(10,10,10,0.92) 0%, transparent 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  transform: translateY(100%);
  transition: transform var(--dur-normal) var(--ease-out);
}

.gallery__item:hover figcaption {
  transform: translateY(0);
}

/* ---------- LOCATION ---------- */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .location__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}

.location__info h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: var(--space-3) 0 var(--space-6);
  line-height: 1.05;
}

.location__info h2 .script {
  font-size: 0.6em;
  display: block;
  color: var(--gold);
  font-style: italic;
}

.location__block {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--divider);
}

.location__block:last-of-type {
  border-bottom: 1px solid var(--divider);
  margin-bottom: var(--space-6);
}

.location__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--gold);
  margin-bottom: var(--space-1);
}

.location__block p {
  color: var(--white-muted);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

.location__block a:hover { color: var(--gold); }

.location__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.location__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location__visual-tag {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.95);
  color: var(--bg-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding: var(--space-20) 0;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  max-width: 780px;
}

.final-cta__script {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  display: block;
  margin-bottom: var(--space-2);
  font-style: italic;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.final-cta__sub {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
}

.final-cta__hint {
  display: block;
  margin-top: var(--space-5);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-family: var(--font-heading);
  letter-spacing: var(--ls-wide);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  padding: var(--space-10) 0 var(--space-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.footer__tag {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.footer__tag .script {
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--gold);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__col li a,
.footer__col li {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}
.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  letter-spacing: var(--ls-wide);
}

.footer__wm {
  font-style: italic;
  opacity: 0.6;
}
