/* =============================================================
   0. Local fonts
   ============================================================= */
@font-face {
  font-family: "Baskerville";
  src: url("assets/fonts/baskerville-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baskerville";
  src: url("assets/fonts/baskerville-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Baskerville";
  src: url("assets/fonts/baskerville-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baskerville";
  src: url("assets/fonts/baskerville-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f7f2e8;
  --bg-2:      #efe4d1;
  --paper:     #ffffff;
  --ink:       #201c17;
  --ink-soft:  #34302a;
  --ink-mute:  #756a5c;
  --accent:    #b23a2a;
  --accent-2:  #8f2c1f;
  --moss:      #4a5d3a;
  --line:      rgba(32,28,23,0.12);
  --line-soft: rgba(32,28,23,0.08);

  --footer-bg:   #1d2317;
  --footer-ink:  #ede6d4;
  --footer-mute: #a8a08c;
  --footer-line: rgba(237,230,212,0.14);

  --serif: "Baskerville", "Georgia", serif;
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { 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; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
}
em { font-style: italic; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.kanji { font-weight: 400; color: var(--ink-mute); font-size: 0.6em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn span { transition: transform .3s var(--ease-out); }
.btn:hover span { transform: translateX(3px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(178,58,42,0.55);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), gap .3s var(--ease-out);
}
.link-arrow:hover { border-color: var(--accent); gap: .65rem; }

/* Reveal-on-scroll (defensive: split-guard not needed, no split-text used) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Nav
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(32,28,23,.03);
  transition: height .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.is-scrolled {
  height: 72px;
  box-shadow: 0 8px 24px -16px rgba(32,28,23,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: .88rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  padding-block: .3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right .3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--accent); }
.nav-lang {
  display: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-mute);
}
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-burger span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-links.is-open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: .5rem 1.5rem 1.25rem;
}
.nav-links.is-open a { width: 100%; padding-block: .7rem; }

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: clamp(480px, 72svh, 760px);
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,12,8,.68) 0%, rgba(15,12,8,.4) 42%, rgba(15,12,8,.32) 65%, rgba(15,12,8,.42) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 2.1rem 2.75rem;
  /* keeps the same 1240px container + left inset as the nav, so the
     text block lines up with the logo instead of centering on its own */
}
.hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 600;
  max-width: 19ch;
  margin-bottom: 1.1rem;
}
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero .btn { transition-delay: .05s; }

/* =============================================================
   6. Pillars
   ============================================================= */
.pillars { background: var(--paper); padding-block: 4rem; }
.pillars-grid {
  display: grid;
  gap: 2.5rem;
  text-align: center;
}
.pillar { padding-inline: 1rem; }
.pillar-icon {
  width: 51px; height: 51px;
  margin-inline: auto;
  margin-bottom: 1.1rem;
  color: var(--accent);
}
.pillar h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pillar p { color: var(--ink-mute); font-size: .92rem; max-width: 30ch; margin-inline: auto; }

/* =============================================================
   7. Kizuna Local
   ============================================================= */
.kizuna-local { padding-block: 5rem; }
.kl-grid {
  display: grid;
  gap: 1.75rem;
}
.kl-feature {
  position: relative;
  border-radius: 20px;
  overflow: clip;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}
.kl-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.kl-feature-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,10,7,.55) 0%, rgba(12,10,7,.05) 55%);
}
.kl-feature-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  color: #fff;
}
.kl-feature .eyebrow { color: #f0c4b3; }
.kl-feature-content h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin-bottom: .5rem;
}
.kl-italic {
  font-family: var(--serif);
  font-style: italic;
  color: #e8c8a0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.kl-text {
  color: rgba(255,255,255,.85);
  max-width: 46ch;
  margin-bottom: 1.6rem;
}
.kl-play {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.5rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.kl-play-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  font-size: .68rem;
  padding-left: 2px;
  transition: background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.kl-play:hover .kl-play-icon { background: rgba(255,255,255,.18); transform: scale(1.08); }

.kl-list {
  background: var(--bg-2);
  border-radius: 20px;
  padding: 2.25rem;
}
.kl-list h3 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.vivencias { display: flex; flex-direction: column; gap: 1.35rem; }
.vivencia {
  display: grid;
  grid-template-columns: 44px 1fr 132px;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-soft);
}
.vivencia:last-child { border-bottom: 0; padding-bottom: 0; }
.vivencia-icon { width: 42px; height: 42px; color: var(--accent); flex-shrink: 0; }
.vivencia-text h4 { font-size: .98rem; margin-bottom: .2rem; }
.vivencia-text p { font-size: .85rem; color: var(--ink-mute); }
.vivencia-thumb {
  width: 132px; height: 84px;
  border-radius: 12px;
  object-fit: cover;
}

/* =============================================================
   8. Destinos
   ============================================================= */
.destinos { padding-block: 5rem; text-align: center; background: var(--paper); }
.destinos-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .75rem;
}
.destinos-kicker span { width: 32px; height: 1px; background: var(--line); }
.destinos-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 2.75rem; }
.destinos-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  overflow-y: visible;
  gap: 1.1rem;
  padding-block: .5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.destinos-grid::-webkit-scrollbar { height: 6px; }
.destinos-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.destino {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 130px;
}
.destino img {
  width: 130px; height: 130px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: .8rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.destino:hover img { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 30px -16px rgba(32,28,23,.35); }
.destino span { font-size: .88rem; font-weight: 500; }

/* =============================================================
   9. Filosofía
   ============================================================= */
.filosofia { padding-block: 5rem; background: var(--bg-2); }
.filosofia-grid {
  display: grid;
  gap: 2.5rem;
}
.filosofia-intro h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .9rem; }
.filosofia-intro p { color: var(--ink-mute); margin-bottom: 1.25rem; max-width: 32ch; }

.valor {
  padding-block-start: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.valor-icon { width: 44px; height: 44px; color: var(--accent); margin-inline: auto; margin-bottom: 1rem; }
.valor h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.valor p { color: var(--ink-mute); font-size: .92rem; margin-inline: auto; max-width: 32ch; }

/* =============================================================
   10. Testimonios
   ============================================================= */
.testimonios { padding-block: 5rem; background: var(--paper); }
.testimonios-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2.75rem;
}
.testimonios-kicker span { width: 32px; height: 1px; background: var(--line); }
.testimonios-grid {
  display: grid;
  gap: 1.25rem;
}
.testimonio {
  background: var(--bg);
  border-radius: 16px;
  padding: 2rem 1.75rem;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
}
.quote-text { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.testimonio footer { display: flex; flex-direction: column; gap: .2rem; font-size: .88rem; }
.testimonio footer span { color: var(--ink-mute); }

/* =============================================================
   11. CTA final
   ============================================================= */
.cta-final {
  position: relative;
  overflow: clip;
  padding-block: 5rem;
}
.cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.cta-tint { position: absolute; inset: 0; background: rgba(10,8,6,.72); }
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.cta-text { padding-top: .5rem; }
.cta-text h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .6rem; }
.cta-text p { color: rgba(255,255,255,.82); max-width: 38ch; }

.cta-form {
  background: var(--paper);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 30px 60px -24px rgba(10,8,6,.5);
}
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.cta-form .field { margin-bottom: 1rem; }
.cta-form .field:last-of-type { margin-bottom: 0; }
.cta-form label {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .4rem;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .85rem;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cta-form textarea { resize: vertical; min-height: 5.5rem; }
.cta-form input:focus-visible,
.cta-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178,58,42,.15);
}
.field-honeypot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cta-form-submit { width: 100%; justify-content: center; margin-top: .25rem; }
.cta-form-note {
  margin-top: .85rem;
  font-size: .85rem;
  color: var(--ink-mute);
  min-height: 1.2em;
}
.cta-form-note.is-success { color: var(--moss); }
.cta-form-note.is-error { color: var(--accent); }

/* =============================================================
   12. Footer
   ============================================================= */
.footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: 4.5rem 0; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo {
  height: 40px; width: auto;
  margin-bottom: 1.1rem;
  background: #fff;
  padding: .5rem .75rem;
  border-radius: 8px;
}
.footer-brand p { color: var(--footer-mute); font-size: .9rem; max-width: 30ch; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .9rem; }
.footer-social svg { width: 18px; height: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--footer-line);
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.footer-social a:hover { background: rgba(237,230,212,.08); border-color: var(--footer-mute); }

.footer-col h4 {
  color: var(--footer-ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col { display: flex; flex-direction: column; gap: .7rem; font-size: .9rem; }
.footer-col a, .footer-col span { color: var(--footer-mute); transition: color .25s var(--ease-out); }
.footer-col a:hover { color: var(--footer-ink); }

.footer-bottom { border-top: 1px solid var(--footer-line); padding-block: 1.5rem; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
  color: var(--footer-mute);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--footer-ink); }

/* =============================================================
   13. Video modal
   ============================================================= */
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 1.5rem;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(10,8,6,.78); }
.video-modal-panel {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  text-align: center;
}
.video-modal-close { position: absolute; top: .9rem; right: .9rem; font-size: 1rem; color: var(--ink-mute); }

/* =============================================================
   14. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .filosofia-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .nav-lang { display: block; }
  .kl-feature-content { padding: 3rem; }
  .cta-form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .cta-inner { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .kl-grid { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
  .kl-list { display: flex; flex-direction: column; }
  .vivencias { flex: 1; justify-content: space-between; }
  .filosofia-grid { grid-template-columns: 1fr 1fr 1fr 1fr; align-items: start; }
  .valor {
    padding-block-start: 0;
    padding-inline-start: 2rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .testimonios-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  .hero-inner { padding-block: 2.45rem 3.25rem; }
}

/* =============================================================
   15. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01ms; }
}
