/* Kitsune — kitsune.com.py */

/* ---------- Fuentes (alojadas en el sitio, OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/fraunces-600.cc3e6b3f.woff2) format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/fraunces-400-italic.fe58ea0d.woff2) format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/manrope.b222d83c.woff2) format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --pimenton: #B8402C;
  --pimienta: #221C18;
  --quinoa: #F4EBDA;
  --canela: #8C4A1F;
  --oregano: #5F6B3A;
  --amaranto: #D9A441;
  --kraft: #E8DCC2;
  --crema-claro: #FBF6EC;
  --muted: #6B5B4E;          /* 5,49:1 sobre Quinoa */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --nav-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pimienta);
  background: var(--quinoa);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 700; }
svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pimienta);
  color: var(--quinoa);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--pimenton);
  outline-offset: 3px;
}
.section--red :focus-visible,
.section--dark :focus-visible,
.foot :focus-visible { outline-color: var(--amaranto); }

/* Etiqueta en versalitas (tracking .24em, como el brand book) */
.kick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--canela);
}
.kick--gold { color: var(--amaranto); }
.kick--cream { color: var(--quinoa); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--red { background: var(--pimenton); color: var(--quinoa); }
.btn--ghost { border-color: var(--pimienta); color: var(--pimienta); }
.btn--cream { background: var(--quinoa); color: var(--pimienta); }

@media (hover: hover) {
  .btn--red:hover { background: #9E3524; }
  .btn--ghost:hover { background: var(--pimienta); color: var(--quinoa); }
  .btn--cream:hover { background: var(--pimienta); color: var(--quinoa); }
  .btn:hover .ico { transform: translateX(3px); }
}
.btn .ico { transition: transform .2s ease; }

/* ---------- Marca (logotipo horizontal) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pimienta);
}
.brand__fox { width: 28px; height: 40px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.01em;
}
.brand__desc {
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pimenton);
}
.brand--light { color: var(--quinoa); }
.brand--light .brand__desc { color: var(--amaranto); }

/* ---------- Barra fija ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 235, 218, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(34, 28, 24, .1);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}
.nav__links { display: none; gap: 30px; }
.nav__links a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: background-size .25s ease;
}
@media (hover: hover) {
  .nav__links a:hover { background-size: 100% 1.5px; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* ---------- Portada ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(40px, 9vw, 96px) var(--gutter) 48px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 11vw, 92px);
  line-height: .98;
  letter-spacing: -.02em;
}
.hero__lead {
  max-width: 34em;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pills li {
  padding: 5px 12px;
  border: 1.2px solid var(--pimienta);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__panel {
  display: grid;
  place-items: center;
  background: var(--pimenton);
  color: var(--quinoa);
  min-height: 260px;
  padding: 40px 24px;
}
.hero__fox { width: min(38vw, 160px); height: auto; aspect-ratio: 93 / 132; }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
  }
  .hero__copy {
    justify-content: center;
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    padding-right: clamp(32px, 5vw, 72px);
    padding-block: 64px;
  }
  .hero__panel { min-height: 0; }
  .hero__fox { width: min(24vw, 300px); }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 11vw, 120px); }
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 40em; }
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.section__lead { font-size: 17px; color: var(--muted); max-width: 36em; }
.section--dark { background: var(--pimienta); color: var(--quinoa); }
.section--dark .section__lead { color: var(--quinoa); }
.section--red { background: var(--pimenton); color: var(--quinoa); }

/* ---------- Productos (tarjetas tipo etiqueta de frasco) ---------- */
.prods {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 300px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 20px;
  scrollbar-width: thin;
}
.prod {
  --bg: var(--pimenton);
  --fg: var(--quinoa);
  --accent: var(--quinoa);
  --fox: var(--quinoa);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 430px;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
}
.prod__top { align-self: stretch; display: flex; justify-content: flex-start; margin-bottom: 28px; }
.prod__mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
}
.prod__mark small {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.prod__fox {
  width: 92px;
  height: auto;
  aspect-ratio: 93 / 132;
  margin: auto 0 18px;
  color: var(--fox);
}
.prod__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -.01em;
}
.prod__sub {
  margin: 8px 0 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
}
.prod__foot {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1.5px solid var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
}
@media (hover: hover) {
  .prod { transition: translate .25s ease; }
  .prod:hover { translate: 0 -4px; }
  .prod__foot:hover .ico { transform: translateX(3px); }
}
.prod__foot .ico { transition: transform .2s ease; }

.prod--pimenton { --bg: var(--pimenton); }
.prod--pimienta { --bg: var(--pimienta); --accent: var(--amaranto); }
.prod--oregano  { --bg: var(--oregano); }
.prod--canela   { --bg: var(--canela); --fox: var(--amaranto); }
.prod--quinoa   { --bg: var(--kraft); --fg: var(--pimienta); --accent: var(--canela); --fox: var(--canela); box-shadow: inset 0 0 0 1.5px var(--canela); }
.prod--amaranto { --bg: var(--amaranto); --fg: var(--pimienta); --accent: var(--pimienta); --fox: var(--pimienta); }
.prod--clavo    { --bg: var(--crema-claro); --fg: var(--pimienta); --accent: var(--pimenton); --fox: var(--pimenton); box-shadow: inset 0 0 0 1.5px var(--pimienta); }
.prod--clavo .prod__mark small { color: var(--pimenton); }
.prod--more {
  --bg: transparent; --fg: var(--pimienta); --accent: var(--pimienta);
  align-items: flex-start;
  text-align: left;
  justify-content: flex-end;
  gap: 14px;
  box-shadow: inset 0 0 0 1.5px var(--pimienta);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(140, 74, 31, .07) 14px 15px);
}
.prod__more { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.prod--more .prod__foot { margin-top: 12px; }
.prod--quinoa .prod__mark small { color: var(--canela); }

@media (min-width: 900px) {
  .prods {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-bottom: 0;
  }
}

/* ---------- Origen ---------- */
.origen {
  display: grid;
  gap: 48px;
  align-items: center;
}
.origen__copy { display: flex; flex-direction: column; gap: 18px; }
.origen__seal { color: var(--amaranto); justify-self: center; }
.seal { width: min(64vw, 300px); height: auto; aspect-ratio: 1; overflow: visible; }
.seal__txt {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.steps { display: grid; gap: 22px; margin-top: 14px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.steps__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--amaranto);
}
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.steps p { color: var(--quinoa); opacity: .85; }
@media (min-width: 900px) {
  .origen { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
  .seal { width: min(30vw, 340px); }
}

/* ---------- Cómo trabajamos ---------- */
.aud {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.aud li {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--crema-claro);
  box-shadow: inset 0 0 0 1px rgba(34, 28, 24, .14);
}
.aud h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 6px;
}
.aud p { color: var(--muted); }
.flow { display: grid; gap: 28px; counter-reset: none; }
.flow li { position: relative; padding-top: 18px; border-top: 1.5px solid var(--pimienta); }
.flow__n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--pimenton);
  color: var(--quinoa);
  font-weight: 700;
  font-size: 15px;
}
.flow h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 4px; }
.flow p { color: var(--muted); }
@media (min-width: 760px) {
  .aud, .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { gap: 32px; }
}

.terms {
  display: grid;
  gap: 1px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(34, 28, 24, .16);
  box-shadow: inset 0 0 0 1px rgba(34, 28, 24, .16);
}
.terms > div { padding: 20px 24px; background: var(--crema-claro); }
.terms dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--canela);
  margin-bottom: 4px;
}
.terms dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; }
@media (min-width: 760px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .terms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Contacto ---------- */
.contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.contacto__fox { width: 64px; height: auto; aspect-ratio: 93 / 132; color: var(--quinoa); margin-bottom: 6px; }
.section .contacto__claim {
  max-width: 14em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.contacto__lead { font-size: 18px; }
.contacto__cta { margin-top: 8px; }
.channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 18px;
}
.channels li { display: flex; flex-direction: column; gap: 2px; }
.channels__k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.channels a {
  font-size: 19px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

/* ---------- Pie ---------- */
.foot { background: var(--pimienta); color: var(--quinoa); padding-block: 48px; }
.foot__in {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.foot__txt { font-size: 14px; opacity: .85; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.foot__links a { text-underline-offset: 3px; }
.foot__copy { font-size: 13px; opacity: .75; }
@media (min-width: 900px) {
  .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; }
  .foot__txt { grid-column: 2; }
  .foot__links { grid-column: 3; }
  .foot__copy { grid-column: 1 / -1; }
}

/* ---------- Aparición suave (sólo si el navegador la soporta; sin JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section__head, .prod, .aud li, .flow li, .origen__seal, .steps li, .terms {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px var(--gutter);
}
.notfound__in { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 30em; }
.notfound__fox { width: 90px; height: auto; aspect-ratio: 93 / 132; color: var(--pimenton); }
.notfound h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 7vw, 54px); line-height: 1.05; }
.notfound p { color: var(--muted); font-size: 17px; }
.notfound .hero__cta { justify-content: center; }
