/* ==========================================================================
   Landing — estilos específicos
   ========================================================================== */

/* Las anclas no quedan tapadas por el nav fijo. */
main [id] { scroll-margin-top: 96px; }
#inicio { scroll-margin-top: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; padding: 20px 40px;
  background: rgba(16,15,14,0); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background 0.6s, border-color 0.6s;
}
.nav.is-scrolled { background: rgba(16,15,14,0.86); border-bottom-color: var(--line); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
  white-space: nowrap; transition: color 0.4s;
}
.nav-link:hover { color: var(--ivory); }
.burger {
  display: none; background: none; border: none; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center;   /* caja de 44px: área de toque cómoda */
  width: 44px; height: 44px; margin-right: -9px;
  cursor: pointer; padding: 0; position: relative; z-index: 121;
}
.burger span { width: 26px; height: 1px; background: var(--ivory); display: block; transition: transform 0.4s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 119; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu[hidden] { display: none; }
.menu a:not(.menu-cta) { font-family: var(--serif); font-size: 32px; padding: 10px 0; }
.menu-cta {
  margin-top: 26px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 34px; background: var(--gold); color: var(--ink);
}
.menu-cta:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 100vh;
  padding-top: 78px; position: relative;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 70px 64px 80px; position: relative; z-index: 3;
}
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: block; animation: v2Blink 2.4s ease-in-out infinite; }
.kicker-text { font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.hero-name {
  font-family: var(--serif); font-size: clamp(64px, 9vw, 148px); line-height: 0.86;
  margin: 0 0 34px; font-weight: 400; letter-spacing: -0.03em;
}
.hero-rule { width: 68px; height: 1px; background: rgba(181,154,112,0.7); margin-bottom: 32px; }
.hero-sub {
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 27px); line-height: 1.45;
  color: var(--lead); margin: 0 0 26px; max-width: 470px;
}
.hero-seo { font-size: 14.5px; line-height: 1.85; color: #918A81; margin: 0 0 42px; max-width: 420px; font-weight: 300; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-loc {
  display: flex; align-items: center; gap: 12px; margin-top: 46px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.hero-loc::before { content: ''; width: 28px; height: 1px; background: #4A453F; display: block; flex: none; }
.hero-media { position: relative; overflow: hidden; }
.hero-parallax { position: absolute; inset: -6% 0 -6% 0; will-change: transform; }
.hero-parallax .slot img { object-position: center 20%; }
.hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #100F0E 0%, rgba(16,15,14,0.4) 22%, transparent 55%);
}
.hero-vert {
  position: absolute; right: 30px; top: 40px;
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(244,241,236,0.65); writing-mode: vertical-rl;
}
.scroll-cue {
  position: absolute; left: 64px; bottom: 34px; display: flex; align-items: center; gap: 14px; z-index: 4;
  font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
.cue { display: block; width: 1px; height: 46px; background: var(--gold); animation: v2ScrollCue 2.6s cubic-bezier(0.6,0,0.4,1) infinite; }

/* ---------- Marquesina ---------- */
.marquee {
  border-top: 1px solid rgba(244,241,236,0.1); border-bottom: 1px solid rgba(244,241,236,0.1);
  overflow: hidden; padding: 26px 0;
}
.marquee-track { display: flex; width: max-content; animation: v2Marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 46px; padding-right: 46px; white-space: nowrap; }
.marquee-item span:first-child { font-family: var(--serif); font-size: 19px; letter-spacing: 0.14em; color: var(--muted); }
.marquee-item span:last-child { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: block; }

/* ---------- Secciones ---------- */
.sec-about { padding-top: 150px; padding-bottom: 150px; }
.sec-services { padding-top: 40px; padding-bottom: 150px; }
.sec-rates, .sec-brands, .sec-process { padding-top: 0; padding-bottom: 150px; }
.about-photo {
  margin-top: 46px; max-width: 340px; aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--surface);
}
.attrs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 40px; margin-top: 38px; }
.attr { border-top: 1px solid rgba(181,154,112,0.45); padding-top: 22px; }
.attr h3 { font-family: var(--serif); font-size: 19px; font-weight: 400; margin: 0 0 12px; }
.attr p { font-size: 13.5px; line-height: 1.75; color: var(--muted); margin: 0; font-weight: 300; }
.svc-note { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 30px 0 28px; font-weight: 300; max-width: 330px; }

/* ---------- Tarifas ---------- */
.rates-h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.06; max-width: 800px; margin: 0 auto 24px; }
.rates-intro { text-align: center; max-width: 520px; margin: 0 auto 76px; }
.rates { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); }
.rate { display: flex; flex-direction: column; padding: 44px 36px 40px; background: var(--ink); }
.rate.featured { background: var(--surface-feat); box-shadow: inset 0 0 0 1px rgba(181,154,112,0.4); }
.rate-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.rate-num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.featured .rate-num { color: var(--gold); }
.rate-badge {
  font-size: 8.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(181,154,112,0.55); padding: 5px 11px; white-space: nowrap;
}
.rate h3 {
  font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); font-weight: 400;
  margin: 0 0 14px; line-height: 1.18; letter-spacing: -0.01em;
}
.rate-detail { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0 0 42px; font-weight: 300; flex: 1; text-wrap: pretty; }
.rate-price { border-top: 1px solid var(--line); padding-top: 24px; }
.rate-price strong {
  display: block; font-weight: 400; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px);
  color: var(--ivory); letter-spacing: -0.01em; line-height: 1.15;
}
.featured .rate-price strong { color: var(--gold); }
.rate-price span { display: block; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 9px; }
.rates-foot { display: grid; grid-template-columns: 1fr 0.9fr; gap: 70px; align-items: start; margin-top: 90px; }
.rates-foot h3 {
  font-family: var(--serif); font-size: clamp(23px, 2.2vw, 32px); font-weight: 400;
  margin: 0 0 20px; line-height: 1.16; letter-spacing: -0.01em; max-width: 460px;
}
.rates-foot .lede { max-width: 470px; margin-bottom: 32px; }
.rates-legal {
  font-size: 12.5px; line-height: 1.9; color: var(--muted); margin: 0; font-weight: 300;
  border-left: 1px solid var(--line); padding-left: 26px; text-wrap: pretty;
}

/* ---------- Portafolio coverflow ---------- */
.sec-portfolio { padding: 0 0 40px; }
.pf-head { padding-bottom: 10px; text-align: center; }
.pf-h2 { font-size: clamp(34px, 4.4vw, 62px); margin: 0 0 20px; }
.pf-head .lede { max-width: 500px; margin: 0 auto; line-height: 1.8; }
.pf-head .filters { margin-top: 44px; }
.cf-wrap { position: relative; }
.coverflow {
  display: flex; gap: 44px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
  padding: 76px calc(50% - 128px) 96px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.coverflow::-webkit-scrollbar { display: none; }
.cf-card {
  flex: 0 0 256px; aspect-ratio: 9/16; position: relative; overflow: hidden; scroll-snap-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55); will-change: transform;
  transition: box-shadow 0.9s;
}
.cf-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,15,14,0.4) 0%, transparent 32%, transparent 48%, rgba(16,15,14,0.95) 100%);
}
.cf-card .play { top: 36%; }
.cf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 20px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; }
.cf-cap::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); margin-bottom: 11px; }
.cf-brand { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 5px; color: var(--ivory); }
.cf-role { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.cf-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(244,241,236,0.22); background: rgba(16,15,14,0.6); cursor: pointer;
  font-size: 17px; color: var(--ivory); z-index: 110; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s, color 0.4s;
}
.cf-arrow:hover { border-color: var(--gold); color: var(--gold); }
.cf-prev { left: 22px; }
.cf-next { right: 22px; }
.cf-hint { text-align: center; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ---------- Galería ---------- */
.sec-gallery { padding-top: 140px; padding-bottom: 140px; }
.gallery-h2 { font-size: clamp(32px, 4vw, 56px); margin: 0 0 64px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); grid-auto-rows: 152px; gap: 16px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; background: var(--surface); }
.tile .slot { transition: transform 1.4s var(--ease), filter 1.1s; }
.tile:hover .slot { transform: scale(1.06); filter: saturate(1.06); }
.tile-cap {
  position: absolute; bottom: 14px; left: 16px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory); text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.7s var(--ease);
}
.tile:hover .tile-cap { opacity: 1; transform: none; }
.c3 { grid-column: span 3; } .c2 { grid-column: span 2; } .r2 { grid-row: span 2; }

/* ---------- Marcas / Proceso ---------- */
.step { display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 34px 0; }
.step .v2-row-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: #6E6862; }
.step-title { display: block; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); font-weight: 400; margin: 0 0 10px; }
.step-text { display: block; font-size: 13.5px; line-height: 1.8; color: var(--muted); font-weight: 300; max-width: 520px; }

/* ---------- CTA amplio ---------- */
.cta-wide { position: relative; min-height: 78vh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: #171614; }
.cta-media { position: relative; min-height: 300px; }
.cta-media-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,15,14,0.45) 0%, rgba(16,15,14,0.2) 45%, rgba(23,22,20,0) 100%);
}
.cta-copy { position: relative; max-width: 680px; margin: 0 auto; padding: 56px 32px 104px; text-align: center; }
.cta-copy .h2 { font-size: clamp(32px, 4.4vw, 60px); margin: 0 0 26px; line-height: 1.06; }
.cta-copy p { font-size: 15.5px; line-height: 1.85; color: var(--body); margin: 0 0 44px; font-weight: 300; }
.cta-copy .btn { padding: 18px 38px; }
.cta-copy .btn-outline { border-color: rgba(244,241,236,0.4); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Formulario ---------- */
.sec-contact { padding-top: 150px; padding-bottom: 150px; }
.contact-inner { max-width: 940px; margin: 0 auto; }
.contact-h2 { font-size: clamp(32px, 4.2vw, 58px); margin: 0 0 16px; }
.contact-intro { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 68px; font-weight: 300; }
.form { display: flex; flex-direction: column; gap: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.field {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.field.wide { grid-column: 1 / -1; }
.field .opt { color: var(--muted); letter-spacing: 0.1em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 2px; border: none; border-bottom: 1px solid rgba(244,241,236,0.2);
  border-radius: 0; background: transparent; font-size: 14.5px; color: var(--ivory); outline: none;
  transition: border-color 0.45s; letter-spacing: normal; text-transform: none;
}
.field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--ink); color: var(--ivory); }
.field input[type="date"] { color-scheme: dark; }
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.form-submit {
  margin-top: 14px; padding: 21px 0; background: var(--ivory); color: var(--ink); border: none;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; cursor: pointer;
  transition: background 0.5s;
}
.form-submit:hover { background: var(--gold); }
.thanks { text-align: center; padding: 70px 20px; }
.thanks[hidden] { display: none; }
.thanks-icon {
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 34px; font-size: 22px; color: var(--gold);
}
.thanks h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); font-weight: 400; margin: 0 0 18px; letter-spacing: -0.02em; }
.thanks p { font-size: 15px; color: var(--muted); max-width: 490px; margin: 0 auto 32px; font-weight: 300; line-height: 1.8; }
.thanks p.small { font-size: 12.5px; max-width: 430px; margin: 0 auto; }
.thanks a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { padding-left: 26px; padding-right: 26px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { grid-template-columns: minmax(0,1fr); padding-top: 96px; min-height: 0; }
  .hero-media { order: -1; height: 62vw; max-height: 460px; }
  .hero-copy { padding: 40px 26px 64px; }
  .hero-name { font-size: clamp(58px, 17vw, 120px); }
  .scroll-cue { display: none; }
  .about-photo { max-width: 380px; }
  .cta-media { height: 46vw; max-height: 380px; }
  .rates { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rates-foot { grid-template-columns: minmax(0,1fr); gap: 44px; }
}
@media (max-width: 900px) {
  .attrs { grid-template-columns: minmax(0,1fr); }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 180px; }
  .tiles > * { grid-column: span 1; grid-row: span 1; }
  .tiles > *:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 720px) {
  .nav { padding-left: 22px; padding-right: 22px; }
  .rates { grid-template-columns: minmax(0,1fr); }
  .rate { padding: 34px 26px 32px; }
  .hero { padding-top: 84px; }
  .hero-media { height: 88vw; max-height: 400px; }
  .hero-parallax .slot img { object-position: center 15%; }
  .hero-copy { padding: 34px 22px 56px; }
  .hero-ctas .btn { flex: 1 1 100%; text-align: center; padding: 18px 24px; }
  .tiles { grid-auto-rows: 150px; gap: 12px; }
  .sec-about, .sec-services, .sec-rates, .sec-brands, .sec-contact, .sec-gallery, .sec-process { padding-bottom: 96px; }
  .sec-about, .sec-gallery { padding-top: 96px; }
  .sec-services, .sec-rates, .sec-brands, .sec-process, .sec-contact { padding-top: 0; }
  .about-photo { margin-top: 30px; max-width: 300px; }
}
