/* =============================================================
   0. Fuentes (alojadas en el propio servidor, sin Google)
   ============================================================= */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --black: #0b0b0b;
  --ink: #161514;
  --white: #ffffff;
  --cream: #f6f3ec;
  --sand: #ebe5d8;
  --gold: #c4b383;
  --gold-deep: #9c8a58;
  --muted: #6e695f;
  --muted-light: #b9b3a6;
  --line: rgba(22, 21, 20, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 12vw, 160px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
em { font-style: italic; color: var(--gold); }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--gold); color: var(--black); z-index: 999; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--muted); }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 1.6rem; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 2rem;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn-sm { min-height: 42px; padding: 0 1.3rem; font-size: 11px; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gold); color: var(--black); }

.crown { color: var(--gold); }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand .crown { width: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-weight: 400; font-size: 20px; letter-spacing: .14em; }
.brand-text small { font-size: 8px; letter-spacing: .26em; margin-top: 4px; }

/* ----- Nav ----- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white);
  transition: background .5s var(--ease-out), padding .5s var(--ease-out);
  padding-block: 22px;
}
.nav.is-solid { background: rgba(11,11,11,.94); backdrop-filter: blur(10px); padding-block: 12px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: none; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.nav-toggle span:not(.sr-only) { width: 28px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; gap: 1.6rem;
  position: fixed; inset: 0; z-index: -1; padding: 120px var(--gutter) 40px;
  background: var(--black); font-family: var(--serif); font-size: 2rem;
}
.nav.is-open .nav-links .btn { font-family: var(--sans); align-self: flex-start; margin-top: 1rem; }

/* ----- Form ----- */
.form { background: var(--white); color: var(--ink); padding: clamp(28px, 4vw, 48px); }
.form h3 { margin-bottom: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; flex: 1; }
.field-row { display: flex; flex-direction: column; gap: 0 1rem; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: .7rem 0; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-deep); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 13px; color: var(--muted); margin: .6rem 0 1.6rem; }
.check input { margin-top: 4px; accent-color: var(--gold-deep); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form .btn-ghost { border-color: var(--line); color: var(--ink); }
.form .btn-ghost:hover { background: var(--black); color: var(--white); }
.form .btn-gold:hover { background: var(--black); color: var(--white); }

/* =============================================================
   6. Sections
   ============================================================= */
.section { padding-block: var(--section); }

/* ----- Hero ----- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 14s var(--ease-out) both; }
.hero-shade { background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.35) 35%, rgba(11,11,11,.88) 100%); }
.hero-content { position: relative; padding-block: 140px 110px; }
.hero-crown { width: 72px; color: var(--gold); margin-bottom: 1.6rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); margin-bottom: 1.6rem; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 500; letter-spacing: .02em; margin-bottom: .8rem; }
.hero-sub { max-width: 560px; color: rgba(255,255,255,.78); font-weight: 300; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 54px; background: rgba(255,255,255,.25); overflow: hidden; display: none; }
.hero-scroll span { position: absolute; inset: 0; background: var(--gold); animation: scrollLine 2.4s var(--ease-out) infinite; }

/* ----- About ----- */
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-text p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.1rem; max-width: 560px; }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ----- Philosophy ----- */
.philosophy { background: var(--black); color: var(--white); }
.philosophy blockquote { font-family: var(--serif); font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.2; max-width: 900px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.values { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.values li { padding: 2rem 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 56px 1fr; gap: .3rem 1rem; }
.values .num { grid-row: span 2; font-size: 12px; letter-spacing: .2em; color: var(--gold); padding-top: .5rem; }
.values h3 { font-size: 1.7rem; }
.values p { color: var(--muted-light); font-size: 15px; }

/* ----- Services ----- */
.section-head { max-width: 720px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-head p:not(.eyebrow) { color: var(--muted); }
.service { display: grid; gap: 2rem; margin-bottom: clamp(4rem, 8vw, 7rem); align-items: center; }
.service-media { overflow: hidden; }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service:hover .service-media img { transform: scale(1.04); }
.service-num { font-size: 12px; letter-spacing: .24em; color: var(--gold-deep); display: block; margin-bottom: .8rem; }
.service h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.6rem; }
.service ul { border-top: 1px solid var(--line); margin-bottom: 2rem; }
.service li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.service li strong { display: block; color: var(--ink); font-weight: 500; font-size: 15px; margin-bottom: .2rem; }
.service-media-duo { position: relative; overflow: visible; }
.service-media-duo > img:first-child { aspect-ratio: 4 / 5; object-position: 50% 60%; }
.service-media-duo .inset { display: none; }
.service-text { position: relative; background: var(--black); color: var(--white); padding: clamp(36px, 6vw, 80px); overflow: hidden; margin-bottom: 0; }
.service-text ul { border-color: var(--line-light); max-width: 640px; }
.service-text li { border-color: var(--line-light); color: var(--muted-light); }
.service-text li strong { color: var(--white); }
.service-text .service-num { color: var(--gold); }
.service-crown { position: absolute; right: -40px; bottom: -20px; width: min(420px, 60%); color: var(--gold); opacity: .09; pointer-events: none; }

/* ----- Bespoke ----- */
.bespoke { background: var(--sand); text-align: center; }
.bespoke-inner { max-width: 820px; }
.bespoke .eyebrow { justify-content: center; }
.bespoke .eyebrow::before { display: none; }
.bespoke p:not(.eyebrow) { color: var(--muted); margin-bottom: 2.4rem; }

/* ----- Why ----- */
.why { background: var(--ink); color: var(--white); }
.why-grid { display: grid; gap: 3.5rem; align-items: center; }
.why-text > p:not(.eyebrow) { color: var(--muted-light); max-width: 540px; margin-bottom: 2.6rem; }
.pillars { display: grid; gap: 1.8rem; }
.pillars li { padding-left: 1.4rem; border-left: 1px solid var(--gold); }
.pillars h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.pillars p { color: var(--muted-light); font-size: 14px; }
.why-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why-gallery img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
.why-gallery img:last-child { margin-top: 3rem; }

/* ----- Audience ----- */
.audience-grid { display: grid; gap: 3rem; }
.audience-list { border-top: 1px solid var(--line); counter-reset: a; }
.audience-list li { counter-increment: a; padding: 1.3rem 0 1.3rem 3rem; border-bottom: 1px solid var(--line); position: relative; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.audience-list li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 1.65rem; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold-deep); }

/* ----- Mission / vision ----- */
.mv { background: var(--white); padding-block: clamp(64px, 9vw, 120px); }
.mv-grid { display: grid; gap: 3rem; }
.mv-text { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; }

/* ----- Contact ----- */
.contact { background: var(--black); color: var(--white); }
.contact-grid { display: grid; gap: 3.5rem; align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted-light); margin-bottom: 2.4rem; }
.contact-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-light); }
.contact-list dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: .25rem; }
.contact-list dd { font-size: 15px; word-break: break-word; }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-list a:hover { border-color: var(--gold); }

/* ----- Footer ----- */
.footer { background: var(--black); color: var(--muted-light); border-top: 1px solid var(--line-light); padding-block: 56px; }
.footer-inner { display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: .9rem; color: var(--white); }
.footer-brand .crown { width: 56px; }
.footer-brand .brand-text { align-items: center; }
.footer-claim { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-legal a:hover { color: var(--white); }
.footer-copy { font-size: 12px; }

/* ----- WhatsApp flotante ----- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); color: var(--gold); border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.wa-float svg { width: 26px; }
.wa-float:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }

/* ----- Bienvenida ----- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: var(--gutter);
  background: var(--black); color: var(--white); text-align: center;
  animation: splashOut .9s var(--ease-out) 2.6s forwards;
}
.splash-inner { display: flex; flex-direction: column; align-items: center; }
.splash-crown { width: clamp(84px, 14vw, 120px); color: var(--gold); margin-bottom: 1.4rem; }
.splash-crown path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: crownDraw 1.3s var(--ease-out) .15s forwards; }
.splash-brand {
  font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 300; letter-spacing: .18em; line-height: 1;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; animation: fadeUp 1s var(--ease-out) .7s forwards;
}
.splash-brand small { font-size: 10px; font-weight: 400; letter-spacing: .4em; margin-top: .7rem; }
.splash-rule { width: 0; height: 1px; background: var(--gold); margin: 2rem 0 1.8rem; animation: ruleGrow 1s var(--ease-out) 1.1s forwards; }
.splash-phrase {
  font-family: var(--serif); font-size: clamp(1.6rem, 4.2vw, 2.6rem); line-height: 1.2;
  opacity: 0; animation: fadeUp 1.1s var(--ease-out) 1.3s forwards;
}
html.splash-done .splash { display: none; }
@keyframes crownDraw { to { stroke-dashoffset: 0; } }
@keyframes ruleGrow { to { width: 64px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .field-row { flex-direction: row; }
  .values { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .values li { grid-template-columns: 1fr; padding: 2rem 1.4rem 0 0; border-bottom: 0; border-top: 1px solid var(--line-light); }
  .values .num { grid-row: auto; padding-top: 0; margin-bottom: 1.4rem; }
  .values h3 { margin-bottom: .6rem; }
  .mv-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .hero-scroll { display: block; }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
  .nav-links a:not(.btn) { position: relative; padding-block: .4rem; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 6rem; }
  .service { grid-template-columns: 1.15fr 1fr; gap: 5rem; }
  .service-flip .service-media { order: 2; }
  .service-media-duo { padding-right: 18%; }
  .service-media-duo .inset {
    display: block; position: absolute; right: 0; bottom: -2.5rem; width: 38%;
    aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--cream);
  }
  .service-text { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .audience-grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); }
  .footer-inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .footer-brand { flex-direction: row; }
  .footer-brand .crown { width: 44px; }
  .footer-brand .brand-text { align-items: flex-start; }
  .footer-claim { justify-self: center; }
  .footer-copy { grid-column: 1 / -1; justify-self: center; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .hero-scroll span { animation: none; }
}
