﻿@import url("../fonts/fonts.css");

/* ==========================================================================
   CASA CUMBRE — Sistema visual
   Arquetipo: Warm Organic & Craft Atelier
   Autor: Estudio Casa Cumbre
   ========================================================================== */

:root {
  /* Paleta */
  --cream: #fffdfa;
  --paper: #faf6ef;
  --sand: #f3ece1;
  --sand-2: #e9dfd0;
  --sand-3: #d8c9b6;
  --ink: #241b16;
  --ink-2: #3d3129;
  --ink-soft: #66594f;
  --muted: #786b60;
  --forest: #1e3a2f;
  --forest-2: #2a4d3e;
  --forest-3: #142a22;
  --terracotta: #b25b3e;
  --terracotta-deep: #9c4a32;
  --terracotta-soft: #f3dcd2;
  --berry: #d94f5f;
  --mint: #0d9488;
  --mint-soft: #dff2ee;
  --honey: #c6923f;
  --gold: #b58a55;
  --white: #ffffff;
  --line: rgba(36, 27, 22, 0.12);
  --line-soft: rgba(36, 27, 22, 0.07);
  --line-light: rgba(255, 253, 250, 0.16);

  /* Tipografía */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Outfit", "Plus Jakarta Sans", sans-serif;

  /* Formas */
  --r-xs: 10px;
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(36, 27, 22, 0.05);
  --shadow-sm: 0 10px 30px -18px rgba(36, 27, 22, 0.25);
  --shadow-md: 0 24px 60px -36px rgba(36, 27, 22, 0.35);
  --shadow-lg: 0 42px 100px -48px rgba(36, 27, 22, 0.4);
  --shadow-forest: 0 30px 70px -40px rgba(20, 42, 34, 0.65);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 78px;
  --section-y: clamp(72px, 9vw, 132px);

  /* Movimiento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;
}

/* ------------------------------ Reset ---------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

::selection {
  color: var(--cream);
  background: var(--terracotta);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
  border-radius: 3px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------------------------- Tipografía -------------------------------- */

.display {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6.5vw, 6.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.display em,
.h2 em,
.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.h4 {
  font-family: var(--font-ui);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

.serif {
  font-family: var(--font-display);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.82rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: var(--sand-2);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(192, 106, 77, 0.12);
}

.eyebrow:has(.eyebrow__dot)::before {
  display: none;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.svg-sprite {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

/* --------------------------- Layout util -------------------------------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--gutter) * 2), 900px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 84px);
}

.section--paper {
  background: var(--paper);
}

.section--sand {
  background: var(--sand);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head__copy {
  max-width: 720px;
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head p {
  margin-top: 18px;
  max-width: 560px;
}

.section-head__aside {
  flex: 0 0 auto;
  padding-bottom: 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.split--wide {
  grid-template-columns: 1.08fr 0.92fr;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10000;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 600;
  transition: top 0.2s ease;
}

main:focus {
  outline: none;
}

.skip-link:focus {
  top: 16px;
}

/* ----------------------------- Botones ---------------------------------- */

.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition:
    transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -20px rgba(30, 58, 47, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transition: transform var(--dur) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--dark {
  --btn-bg: var(--forest);
  --btn-fg: var(--cream);
}

.btn--dark:hover {
  background: var(--terracotta);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--forest);
}

.btn--light:hover {
  background: var(--sand-2);
  color: var(--forest-3);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: var(--line-light);
}

.btn--outline-light:hover {
  background: var(--cream);
  color: var(--forest);
}

.btn--sm {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 0.84rem;
}

.btn--block {
  width: 100%;
}

.btn--wa {
  --btn-bg: var(--forest);
  --btn-fg: var(--cream);
}

.btn--wa:hover {
  background: #128c7e;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur), border-color var(--dur), gap var(--dur);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover {
  color: var(--terracotta-deep);
  border-color: var(--terracotta);
  gap: 14px;
}

.link-arrow:hover svg {
  transform: translateX(2px);
}

.link-arrow--light {
  color: var(--cream);
  border-color: var(--line-light);
}

.link-arrow--light:hover {
  color: var(--sand-2);
  border-color: var(--sand-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  transition: background var(--dur), color var(--dur), transform var(--dur);
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(6deg);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

/* ------------------------------ Header ---------------------------------- */

.announcement {
  position: relative;
  z-index: 70;
  background: var(--forest-3);
  color: var(--sand);
  font-family: var(--font-ui);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  padding-block: 7px;
}

.announcement__inner > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.announcement__inner > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(192, 106, 77, 0.18);
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sand-2);
  border-bottom: 1px solid rgba(243, 236, 225, 0.28);
  transition: color var(--dur), border-color var(--dur);
}

.announcement a:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.announcement a svg {
  width: 13px;
  height: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 10px 30px -26px rgba(36, 27, 22, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  color: var(--forest);
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) translateY(-1px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.brand__text small {
  font-family: var(--font-ui);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 4px;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
  margin-right: clamp(8px, 2vw, 28px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 10px 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  transition: color var(--dur);
}

.nav-link span {
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color var(--dur);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active span {
  color: var(--terracotta);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.header-portal svg {
  width: 15px;
  height: 15px;
}

.header-portal:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 15px 9px 13px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--dur), transform var(--dur);
}

.cart-button:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

.cart-button svg {
  width: 17px;
  height: 17px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--cream);
  transition: transform 0.25s var(--ease), background var(--dur);
}

.cart-count.is-bump {
  transform: scale(1.35);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ------------------------------ Hero ------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 80px) 0 clamp(34px, 4vw, 54px);
  background:
    radial-gradient(circle at 86% 22%, rgba(223, 242, 238, 0.8), transparent 32%),
    radial-gradient(circle at 6% 8%, rgba(243, 220, 210, 0.65), transparent 34%),
    var(--cream);
}

.hero::after {
  content: "CUMBRE";
  position: absolute;
  z-index: 0;
  right: -0.09em;
  bottom: -0.28em;
  font-family: var(--font-display);
  font-size: clamp(10rem, 24vw, 24rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(36, 27, 22, 0.07);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 670px;
  padding-block: 10px;
}

.hero .eyebrow {
  margin-bottom: 24px;
  animation: rise 0.8s 0.05s both var(--ease);
}

.hero h1 {
  margin-bottom: 26px;
  animation: rise 0.9s 0.12s both var(--ease);
}

.hero h1 .hero__line {
  display: block;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  padding-right: 0.06em;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: -0.06em;
  height: 0.13em;
  background: var(--terracotta);
  opacity: 0.28;
  border-radius: 50%;
  transform: rotate(-1.2deg);
}

.hero__lead {
  max-width: 510px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.75;
  color: var(--ink-soft);
  animation: rise 0.9s 0.2s both var(--ease);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
  animation: rise 0.9s 0.28s both var(--ease);
}

.hero__proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  animation: rise 0.9s 0.36s both var(--ease);
}

.hero__proof-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.hero__proof-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero__proof-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero__proof-item span {
  max-width: 100px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  margin-left: auto;
  padding: 12px 14px 24px 0;
  animation: rise 1s 0.16s both var(--ease);
}

.hero__halo {
  position: absolute;
  inset: -12% -16% 6% 2%;
  border-radius: 50% 45% 55% 48% / 45% 55% 45% 55%;
  background: var(--sand);
  transform: rotate(-6deg);
  z-index: -1;
}

.hero__halo::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(36, 27, 22, 0.18);
  border-radius: inherit;
}

.hero__frame {
  position: relative;
  border-radius: 270px 270px 30px 30px;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.6deg);
  background: var(--sand);
  isolation: isolate;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 27, 22, 0.06), transparent 30%, rgba(36, 27, 22, 0.18)),
    linear-gradient(120deg, rgba(192, 106, 77, 0.12), transparent 50%);
  pointer-events: none;
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease);
}

.hero__visual:hover .hero__frame img {
  transform: scale(1.07);
}

.hero__seal {
  position: absolute;
  top: -42px;
  right: -32px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  z-index: 3;
  transform: rotate(8deg);
}

.hero__seal svg {
  width: 104px;
  height: 104px;
  animation: spin 28s linear infinite;
}

.hero__seal .seal-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--terracotta-deep);
}

.hero__meta {
  position: absolute;
  right: -8px;
  bottom: 54px;
  z-index: 4;
  width: 220px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: rgba(255, 253, 250, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero__meta span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 6px;
}

.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 7px;
}

.hero__meta small {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero__mini {
  position: absolute;
  left: -26px;
  bottom: -18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 290px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.hero__mini-pack {
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 58px;
  border-radius: 7px 7px 11px 11px;
  background: linear-gradient(140deg, #d88666, #a95137 70%);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  box-shadow: inset 4px 0 6px rgba(255, 255, 255, 0.15), inset -4px 0 7px rgba(0, 0, 0, 0.17);
}

.hero__mini-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.hero__mini-copy small {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.hero__mini-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__mini-copy span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.hero__mini-add {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--cream);
  transition: background var(--dur), transform var(--dur);
}

.hero__mini-add:hover {
  background: var(--terracotta);
  transform: rotate(90deg);
}

.hero__mini-add svg {
  width: 15px;
  height: 15px;
}

.origin-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 6vw, 74px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.origin-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.origin-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.origin-strip__item:last-child {
  border-right: 0;
}

.origin-strip__item > span {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}

.origin-strip__item strong {
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.origin-strip__item small {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------- Marquee / ribbon ----------------------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 26px;
  white-space: nowrap;
}

.marquee__group span::after {
  content: "✺";
  font-size: 0.9rem;
  color: var(--terracotta);
}

/* -------------------------- Product cards ------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(192, 106, 77, 0.25);
  box-shadow: var(--shadow-md);
}

.product-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 322px;
  padding: 34px 26px 22px;
  overflow: hidden;
  background: var(--card-bg, var(--sand));
  isolation: isolate;
}

.product-card__visual::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  border: 1px solid rgba(36, 27, 22, 0.12);
  transform: rotate(-8deg) scale(1.05);
  z-index: -1;
}

.product-card__visual::after {
  content: attr(data-word);
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.36);
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.product-card__tag {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 250, 0.9);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
}

.product-card__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--berry);
}

.product-card__index {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(36, 27, 22, 0.55);
}

.product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__meta span:last-child {
  color: var(--terracotta-deep);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.product-card__desc {
  margin-bottom: 20px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.product-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.product-card__price strong {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card__price strong small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-left: 2px;
}

.product-card__price .tax-note {
  margin-top: 5px;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  line-height: 1.35;
  letter-spacing: 0.015em;
  color: var(--muted);
}

.add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}

.add-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur);
}

.add-btn:hover {
  background: var(--terracotta);
  transform: scale(1.06);
  box-shadow: 0 12px 24px -14px rgba(192, 106, 77, 0.8);
}

.add-btn:hover svg {
  transform: rotate(90deg);
}

.add-btn.is-added {
  background: var(--mint);
}

/* Bolsas ilustradas — pieza central del catálogo */

.pack {
  --pack: #b75e40;
  --pack-light: #d88666;
  --pack-dark: #8a412b;
  --pack-label: #f8efe1;
  --pack-ink: #3b241b;
  position: relative;
  width: clamp(132px, 55%, 196px);
  aspect-ratio: 0.71;
  transform: rotate(-4deg);
  filter: drop-shadow(0 26px 24px rgba(50, 32, 22, 0.28));
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  z-index: 1;
}

.product-card:hover .pack {
  transform: rotate(-1.5deg) translateY(-6px) scale(1.035);
  filter: drop-shadow(0 32px 28px rgba(50, 32, 22, 0.32));
}

.pack--narino {
  --pack: #c28d3e;
  --pack-light: #dfb86c;
  --pack-dark: #8e6426;
  --pack-label: #fbf2df;
  --pack-ink: #3b2a14;
}

.pack--sierra {
  --pack: #2c4d3e;
  --pack-light: #4f725f;
  --pack-dark: #1b3329;
  --pack-label: #f0e8d8;
  --pack-ink: #203229;
}

.pack--kit {
  --pack: #a8553a;
  --pack-light: #cf7b58;
  --pack-dark: #783823;
  --pack-label: #f6ead8;
  --pack-ink: #3c231a;
}

.pack--sub {
  --pack: #b78a4c;
  --pack-light: #d9b275;
  --pack-dark: #86622f;
  --pack-label: #faf3e3;
  --pack-ink: #392a16;
}

.pack--taller {
  --pack: #7c3a4d;
  --pack-light: #a35a6d;
  --pack-dark: #5a2737;
  --pack-label: #f8ecdf;
  --pack-ink: #3b1e29;
}

.pack__body {
  position: absolute;
  inset: 8% 0 0;
  border-radius: 9px 9px 24px 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 16% 80%, rgba(0, 0, 0, 0.16)),
    linear-gradient(155deg, var(--pack-light) 0%, var(--pack) 52%, var(--pack-dark) 100%);
  clip-path: polygon(2% 0, 98% 0, 100% 3.5%, 98.5% 100%, 1.5% 100%, 0 3.5%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.pack__body::before {
  content: "";
  position: absolute;
  inset: 0 10% 0 auto;
  width: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.pack__body::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.pack__lid {
  position: absolute;
  top: 0;
  left: 2.5%;
  right: 2.5%;
  height: 9.5%;
  z-index: 2;
  clip-path: polygon(0 16%, 7% 0, 93% 0, 100% 16%, 100% 68%, 93% 100%, 7% 100%, 0 68%);
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0, 0, 0, 0.1) 5px 6px),
    linear-gradient(180deg, var(--pack-light), var(--pack-dark));
  border-radius: 5px;
}

.pack__valve {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(30, 20, 14, 0.25);
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.pack__label {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 24%;
  bottom: 17%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12% 8% 9%;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 24%),
    var(--pack-label);
  color: var(--pack-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.pack__brand {
  font-family: var(--font-ui);
  font-size: clamp(0.34rem, 0.65vw, 0.46rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pack__origin {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 3% 0 5%;
}

.pack__rule {
  width: 26%;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin-bottom: 6%;
}

.pack__notes {
  font-family: var(--font-ui);
  font-size: clamp(0.34rem, 0.56vw, 0.44rem);
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.8;
  max-width: 90%;
}

.pack__weight {
  margin-top: auto;
  font-family: var(--font-ui);
  font-size: clamp(0.36rem, 0.6vw, 0.46rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
}

.pack__sticker {
  position: absolute;
  right: -9%;
  bottom: 16%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: clamp(0.27rem, 0.46vw, 0.36rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 0 5px 12px rgba(30, 20, 14, 0.22);
}

.pack__sticker::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(36, 27, 22, 0.32);
  border-radius: 50%;
}

/* Variantes de composición */

.pack-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.pack-scene__pack {
  position: relative;
  z-index: 2;
}

.pack-scene__mini {
  position: absolute;
  width: 34%;
  z-index: 1;
  opacity: 0.95;
  filter: blur(0.2px);
}

.pack-scene__mini .pack {
  width: 100%;
}

.pack-scene--sub .pack-scene__pack {
  transform: rotate(5deg) translateX(8%);
}

.pack-scene--sub .pack-scene__mini--a {
  left: 3%;
  bottom: 5%;
  transform: rotate(-15deg) scale(0.88);
}

.pack-scene--sub .pack-scene__mini--b {
  right: 2%;
  bottom: 1%;
  transform: rotate(12deg) scale(0.78);
  z-index: 3;
}

.dripper {
  position: absolute;
  right: 4%;
  bottom: 5%;
  z-index: 4;
  width: 27%;
  aspect-ratio: 1 / 0.9;
  transform: rotate(4deg);
}

.dripper::before {
  content: "";
  position: absolute;
  inset: 0 8% 38%;
  background: linear-gradient(140deg, #f9f4e9, #e4d5bf);
  clip-path: polygon(10% 0, 90% 0, 68% 100%, 32% 100%);
  box-shadow: inset -8px 0 12px rgba(36, 27, 22, 0.08);
}

.dripper::after {
  content: "";
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: 0;
  height: 40%;
  border-radius: 3px 3px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(239, 228, 210, 0.9));
  border: 1px solid rgba(36, 27, 22, 0.08);
}

.cup-art {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #fffdfa 0%, #f3ead9 58%, #ddccb3 100%);
  box-shadow: 0 24px 28px -18px rgba(40, 26, 18, 0.4), inset 0 0 0 7px rgba(255, 255, 255, 0.7);
}

.cup-art::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #d3a26a 0%, #a96e3c 54%, #6e4227 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 253, 250, 0.85);
}

.cup-art::after {
  content: "";
  position: absolute;
  inset: 20% 22% 22% 20%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 45% 42%, rgba(255, 252, 244, 0.95) 0 12%, transparent 13%),
    conic-gradient(from 210deg, transparent, rgba(255, 252, 244, 0.85), transparent 38%);
  filter: blur(0.4px);
  transform: rotate(-22deg);
}

.cup-art__handle {
  position: absolute;
  right: -10%;
  top: 33%;
  width: 26%;
  height: 30%;
  border: 11px solid #f8f2e6;
  border-left: 0;
  border-radius: 0 50% 50% 0;
  box-shadow: 6px 4px 10px rgba(30, 20, 14, 0.12);
}

.ticket-art {
  position: absolute;
  left: 3%;
  bottom: 7%;
  z-index: 4;
  width: 34%;
  padding: 14px 12px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  transform: rotate(-7deg);
  box-shadow: 0 18px 30px -18px rgba(30, 20, 14, 0.35);
  border: 1px dashed rgba(36, 27, 22, 0.25);
}

.ticket-art small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.ticket-art strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 3px 0;
}

.ticket-art span {
  font-family: var(--font-ui);
  font-size: 0.45rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ----------------------------- Armador ---------------------------------- */

.builder {
  position: relative;
  overflow: hidden;
  padding-block: clamp(68px, 8vw, 112px);
  background:
    radial-gradient(circle at 12% 8%, rgba(192, 106, 77, 0.22), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(13, 148, 136, 0.16), transparent 34%),
    var(--forest);
  color: var(--cream);
}

.builder::before {
  content: "RITUAL";
  position: absolute;
  right: -0.06em;
  top: -0.16em;
  font-family: var(--font-display);
  font-size: clamp(11rem, 27vw, 27rem);
  line-height: 1;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 253, 250, 0.07);
  pointer-events: none;
}

.builder__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.builder__head h2 {
  max-width: 700px;
  color: var(--cream);
}

.builder__head h2 em {
  color: #e6b7a2;
}

.builder__head p {
  max-width: 360px;
  padding-bottom: 6px;
  color: rgba(255, 253, 250, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

.builder__shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 660px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-forest);
}

.builder__preview {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 253, 250, 0.8), transparent 50%),
    linear-gradient(150deg, #e8d5bf, #c8a88b 58%, #b08d70);
  isolation: isolate;
}

.builder__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(36, 27, 22, 0.12) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  opacity: 0.4;
  z-index: -1;
}

.builder__preview::after {
  content: "CASA CUMBRE · TOSTADURÍA DE LOTE PEQUEÑO · BOGOTÁ ·";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 680px;
  height: 680px;
  margin: -340px 0 0 -340px;
  border: 1px solid rgba(36, 27, 22, 0.11);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.builder__preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(36, 27, 22, 0.6);
}

.builder__preview-top span:last-child {
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 250, 0.55);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.builder__stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 6px;
}

.builder__stage .pack {
  width: clamp(172px, 24vw, 226px);
  transform: rotate(-3deg);
  filter: drop-shadow(0 36px 34px rgba(45, 28, 18, 0.34));
}

.builder__stage .pack__origin {
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
}

.builder__stage .pack__brand {
  font-size: 0.44rem;
}

.builder__stage .pack__notes {
  font-size: 0.42rem;
}

.builder__stage .pack__weight {
  font-size: 0.44rem;
}

.builder__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 320px;
  margin-top: 22px;
}

.builder__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(36, 27, 22, 0.16);
  background: rgba(255, 253, 250, 0.35);
  font-family: var(--font-ui);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.builder__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
}

.builder__price > div {
  display: flex;
  flex-direction: column;
}

.builder__price small {
  font-family: var(--font-ui);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.builder__price strong {
  font-family: var(--font-ui);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.builder__price span {
  font-family: var(--font-ui);
  font-size: 0.63rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.builder__quote {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.45;
  color: rgba(36, 27, 22, 0.66);
  text-align: center;
}

.builder__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 38px);
  background: var(--cream);
}

.builder-step {
  padding-block: 17px;
  border-bottom: 1px solid var(--line-soft);
}

.builder-step:first-child {
  padding-top: 0;
}

.builder-step__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.builder-step__head > span:first-child {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.builder-step__head h3 {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.builder-step__value {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 11px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: transparent;
  text-align: left;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.choice:hover {
  border-color: rgba(192, 106, 77, 0.5);
  transform: translateY(-1px);
}

.choice strong {
  font-family: var(--font-ui);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.choice small {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.choice em {
  margin-top: 3px;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 500;
  color: var(--terracotta-deep);
}

.choice.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.choice.is-active small,
.choice.is-active em {
  color: rgba(255, 253, 250, 0.66);
}

.choice.is-active::after {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 0.55rem;
  color: #e6b7a2;
}

.segmented {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: var(--sand);
}

.segmented button {
  flex: 1;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 9px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.segmented button:hover {
  color: var(--ink);
}

.segmented button.is-active {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(36, 27, 22, 0.1);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  min-height: 31px;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.chip:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
}

.chip.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.extra {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.extra input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.extra span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
}

.extra small {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  color: var(--muted);
}

.extra::after {
  content: "+";
  position: absolute;
  top: 8px;
  right: 9px;
  font-size: 0.7rem;
  color: var(--terracotta);
}

.extra:hover {
  background: var(--paper);
}

.extra.is-checked {
  border-color: var(--forest);
  background: rgba(30, 58, 47, 0.055);
}

.extra.is-checked::after {
  content: "✓";
  color: var(--forest);
}

.builder__summary {
  margin-top: auto;
  padding-top: 17px;
}

.builder__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.7;
}

.builder__summary-row strong {
  font-weight: 500;
  color: var(--ink-soft);
}

.builder__summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0 13px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.builder__summary-total span {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
}

.builder__summary-total strong {
  font-family: var(--font-ui);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.builder__summary-total small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
}

.builder__summary .btn {
  min-height: 48px;
}

.builder__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.builder__secure svg {
  width: 11px;
  height: 11px;
}

/* --------------------------- Historia / origen -------------------------- */

.story {
  position: relative;
  overflow: hidden;
}

.story__media {
  position: relative;
}

.story__photo {
  position: relative;
  border-radius: 190px 190px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.story__media:hover .story__photo img {
  transform: scale(1.04);
}

.story__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 42, 34, 0.4));
}

.story__alt {
  position: absolute;
  right: -34px;
  bottom: 42px;
  width: 38%;
  overflow: hidden;
  border: 8px solid var(--cream);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
  z-index: 2;
}

.story__alt img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.story__badge {
  position: absolute;
  left: -28px;
  bottom: 56px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 16px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-sm);
}

.story__badge strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.story__badge span {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
}

.story__copy .eyebrow {
  margin-bottom: 20px;
}

.story__copy h2 {
  margin-bottom: 22px;
}

.story__copy > p {
  margin-bottom: 24px;
  max-width: 500px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.check-list svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--terracotta);
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.story__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.story__stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------- Servicios -------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.service-card::before {
  content: attr(data-number);
  position: absolute;
  right: 22px;
  top: 10px;
  font-family: var(--font-display);
  font-size: 5.4rem;
  font-style: italic;
  line-height: 1;
  color: rgba(36, 27, 22, 0.06);
  transition: color 0.5s, transform 0.5s var(--ease);
}

.service-card:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  color: rgba(255, 253, 250, 0.1);
  transform: translateY(-5px);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--terracotta-deep);
  transition: border-color 0.5s, color 0.5s, background 0.5s;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
}

.service-card:hover .service-card__icon {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin-bottom: 24px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink-soft);
  transition: color 0.5s;
}

.service-card:hover p {
  color: rgba(255, 253, 250, 0.7);
}

.service-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  transition: border-color 0.5s;
}

.service-card:hover .service-card__foot {
  border-color: var(--line-light);
}

.service-card__foot span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.5s;
}

.service-card:hover .service-card__foot span {
  color: rgba(255, 253, 250, 0.58);
}

.service-card__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s;
}

.service-card__arrow svg {
  width: 15px;
  height: 15px;
}

.service-card:hover .service-card__arrow {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
  transform: rotate(-35deg);
}

/* ------------------------------ Proceso --------------------------------- */

.process {
  position: relative;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process__item {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.process__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--cream);
}

.process__num {
  display: block;
  margin-bottom: 36px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--terracotta-deep);
}

.process__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--forest);
}

.process__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.2;
}

.process__item h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.process__item p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.process__image {
  position: relative;
  margin-top: 52px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.process__image img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
}

.process__image-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-radius: var(--r-sm);
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(16px);
}

.process__image-caption p {
  max-width: 480px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}

.process__image-caption span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  white-space: nowrap;
}

/* ---------------------------- Testimonios -------------------------------- */

.testimonial {
  position: relative;
  overflow: hidden;
  background: var(--terracotta);
  color: var(--cream);
}

.testimonial::before {
  content: "“";
  position: absolute;
  left: -0.02em;
  top: -0.38em;
  font-family: var(--font-display);
  font-size: clamp(18rem, 38vw, 36rem);
  line-height: 1;
  color: rgba(255, 253, 250, 0.09);
  pointer-events: none;
}

.testimonial__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.testimonial__photo {
  position: relative;
  border-radius: 50% 50% 24px 24px;
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: var(--shadow-forest);
}

.testimonial__photo img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

.testimonial__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(76, 34, 23, 0.5));
}

.testimonial__seal {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.testimonial__seal svg {
  width: 14px;
  height: 14px;
  color: var(--terracotta);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.testimonial__quote em {
  color: #f5d8ca;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 250, 0.4);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.testimonial__author strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
}

.testimonial__author span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: rgba(255, 253, 250, 0.65);
}

.testimonial__stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 250, 0.22);
}

.testimonial__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.testimonial__stats span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 253, 250, 0.6);
}

/* ----------------------------- Ubicación --------------------------------- */

.location {
  background: var(--paper);
}

.location__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 18px;
}

.location__photo {
  position: relative;
  min-height: 470px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.location__photo:hover img {
  transform: scale(1.035);
}

.location__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  background: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
}

.location__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14);
}

.location__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid var(--line-soft);
}

.location__card h2 {
  margin-bottom: 18px;
}

.location__card > p {
  margin-bottom: 28px;
  max-width: 420px;
}

.location__info {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.location__info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.location__info svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--terracotta);
}

.location__info strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1px;
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------- Newsletter --------------------------------- */

.newsletter {
  padding-block: 0 var(--section-y);
}

.newsletter__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding: clamp(36px, 6vw, 76px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(192, 106, 77, 0.28), transparent 36%),
    var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-forest);
}

.newsletter__panel::before {
  content: "☕";
  position: absolute;
  right: -0.12em;
  bottom: -0.36em;
  font-size: 22rem;
  line-height: 1;
  opacity: 0.04;
  transform: rotate(-12deg);
  pointer-events: none;
}

.newsletter__copy {
  position: relative;
  z-index: 1;
}

.newsletter__copy .eyebrow {
  margin-bottom: 18px;
}

.newsletter__copy h2 {
  margin-bottom: 16px;
  color: var(--cream);
}

.newsletter__copy p {
  max-width: 430px;
  color: rgba(255, 253, 250, 0.68);
  font-size: 0.9rem;
}

.newsletter__form {
  position: relative;
  z-index: 1;
}

.newsletter__field {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 250, 0.1);
  border: 1px solid var(--line-light);
  transition: border-color 0.3s, background 0.3s;
}

.newsletter__field:focus-within {
  border-color: rgba(255, 253, 250, 0.5);
  background: rgba(255, 253, 250, 0.14);
}

.newsletter__field input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  outline: none;
}

.newsletter__field input::placeholder {
  color: rgba(255, 253, 250, 0.5);
}

.newsletter__form small {
  display: block;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  line-height: 1.5;
  color: rgba(255, 253, 250, 0.48);
}

.newsletter__form small a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter__success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 253, 250, 0.25);
  background: rgba(255, 253, 250, 0.08);
  font-family: var(--font-ui);
  font-size: 0.8rem;
}

.newsletter__success.is-visible {
  display: flex;
}

.newsletter__success svg {
  width: 18px;
  height: 18px;
  color: #9ee0c8;
}

/* ------------------------------ Footer ----------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 84px);
  background: var(--forest-3);
  color: rgba(255, 253, 250, 0.72);
}

.site-footer::before {
  content: "CUMBRE";
  position: absolute;
  left: -0.04em;
  bottom: -0.28em;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 1;
  letter-spacing: -0.07em;
  color: rgba(255, 253, 250, 0.028);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 54px;
}

.footer__brand .brand__text strong {
  color: var(--cream);
}

.footer__brand .brand__text small {
  color: var(--sand-3);
}

.footer__brand .brand__mark {
  color: var(--sand-2);
}

.footer__statement {
  max-width: 310px;
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 253, 250, 0.62);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 250, 0.16);
  color: rgba(255, 253, 250, 0.72);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.footer__social svg {
  width: 15px;
  height: 15px;
}

.footer__social a:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
  transform: translateY(-2px);
}

.footer__col h3 {
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-2);
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255, 253, 250, 0.68);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--cream);
}

.footer__contact li {
  display: flex;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255, 253, 250, 0.68);
}

.footer__contact svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--terracotta);
}

.footer__contact strong {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-2);
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 253, 250, 0.12);
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: rgba(255, 253, 250, 0.58);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer__legal a:hover {
  color: var(--cream);
}

.footer__made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.footer__made svg {
  width: 12px;
  height: 12px;
  color: var(--terracotta);
}

/* -------------------------- Carrito lateral ------------------------------ */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 42, 34, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(100%, 470px);
  height: 100dvh;
  background: var(--cream);
  box-shadow: -30px 0 80px -40px rgba(20, 42, 34, 0.5);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.cart-drawer__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.cart-drawer__title span {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.cart-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.cart-close:hover {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(90deg);
}

.cart-close svg {
  width: 17px;
  height: 17px;
}

.cart-shipping {
  padding: 12px 24px 15px;
  background: var(--sand);
  border-bottom: 1px solid var(--line-soft);
}

.cart-shipping__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--ink-soft);
}

.cart-shipping__text strong {
  font-weight: 600;
  color: var(--forest);
}

.cart-shipping__bar {
  height: 3px;
  margin-top: 8px;
  border-radius: var(--r-pill);
  background: rgba(36, 27, 22, 0.12);
  overflow: hidden;
}

.cart-shipping__bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--terracotta);
  transition: width 0.6s var(--ease);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  animation: cartIn 0.35s var(--ease) both;
}

.cart-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 82px;
  border-radius: 10px 10px 15px 15px;
  background: var(--thumb, #c06a4d);
  color: var(--cream);
  overflow: hidden;
  box-shadow: inset 4px 0 7px rgba(255, 255, 255, 0.16), inset -5px 0 8px rgba(0, 0, 0, 0.16);
}

.cart-thumb::before {
  content: "";
  position: absolute;
  inset: 9px 8px;
  border-radius: 2px;
  background: rgba(255, 253, 250, 0.9);
  opacity: 0.92;
}

.cart-thumb::after {
  content: attr(data-initial);
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--thumb-ink, #3b241b);
}

.cart-thumb[data-tone="narino"] {
  --thumb: #c28d3e;
}

.cart-thumb[data-tone="sierra"] {
  --thumb: #2c4d3e;
  --thumb-ink: #f0e8d8;
}

.cart-thumb[data-tone="kit"] {
  --thumb: #a8553a;
}

.cart-thumb[data-tone="sub"] {
  --thumb: #b78a4c;
}

.cart-thumb[data-tone="taller"] {
  --thumb: #7c3a4d;
  --thumb-ink: #f8ecdf;
}

.cart-line__copy {
  min-width: 0;
}

.cart-line__copy h4 {
  margin-bottom: 2px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.cart-line__copy p {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.61rem;
  line-height: 1.4;
  color: var(--muted);
}

.cart-line__controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.qty button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.qty button:hover {
  background: var(--sand);
  color: var(--ink);
}

.qty button svg {
  width: 11px;
  height: 11px;
}

.qty span {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
}

.cart-line__remove {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cart-line__remove:hover {
  color: var(--berry);
}

.cart-line__price {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.cart-line__price small {
  display: block;
  margin-top: 2px;
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--muted);
}

.cart-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  padding: 32px 10px;
}

.cart-empty.is-visible {
  display: flex;
}

.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--terracotta);
}

.cart-empty__icon svg {
  width: 28px;
  height: 28px;
}

.cart-empty h4 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.cart-empty p {
  max-width: 240px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.cart-foot {
  padding: 18px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
}

.cart-delivery {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 7px;
  margin-bottom: 13px;
}

.cart-delivery input {
  width: 100%;
  min-height: 37px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.cart-delivery input:focus {
  border-color: var(--terracotta);
  background: var(--cream);
}

.cart-totals {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.cart-totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.67rem;
  color: var(--muted);
}

.cart-totals__row strong {
  font-weight: 500;
  color: var(--ink-soft);
}

.cart-totals__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-totals__total strong {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.cart-foot .btn {
  min-height: 47px;
  font-size: 0.8rem;
}

.cart-foot__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  color: var(--muted);
  text-align: center;
}

.cart-foot__note svg {
  width: 11px;
  height: 11px;
}

/* ------------------------- WhatsApp flotante ----------------------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 17px 11px 12px;
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 32px -16px rgba(20, 42, 34, 0.6);
  transition: background 0.3s, transform 0.3s;
}

.wa-float:hover {
  background: #128c7e;
  transform: translateY(-3px);
}

.wa-float svg {
  width: 20px;
  height: 20px;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* --------------------------- Cookies / toast ----------------------------- */

.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  display: none;
  align-items: flex-start;
  gap: 14px;
  width: min(100% - 40px, 460px);
  padding: 16px 17px;
  border-radius: var(--r-sm);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.cookies.is-visible {
  display: flex;
  animation: rise 0.5s var(--ease) both;
}

.cookies__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--terracotta-deep);
}

.cookies__icon svg {
  width: 16px;
  height: 16px;
}

.cookies__copy {
  flex: 1;
}

.cookies__copy p {
  margin-bottom: 9px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cookies__copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cookies__actions button {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 0.59rem;
  font-weight: 600;
  transition: background 0.25s, color 0.25s;
}

.cookies__accept {
  background: var(--forest);
  color: var(--cream);
}

.cookies__accept:hover {
  background: var(--terracotta);
}

.cookies__essential {
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.cookies__essential:hover {
  background: var(--sand);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: calc(100% - 40px);
  padding: 12px 18px 12px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.73rem;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0.3s;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
}

.toast__icon svg {
  width: 13px;
  height: 13px;
}

/* ----------------------------- Page hero --------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 88% 14%, rgba(223, 242, 238, 0.75), transparent 30%),
    radial-gradient(circle at 4% 90%, rgba(243, 220, 210, 0.55), transparent 34%),
    var(--cream);
}

.page-hero::after {
  content: attr(data-word);
  position: absolute;
  right: -0.06em;
  bottom: -0.25em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 16rem);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(36, 27, 22, 0.06);
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.breadcrumb a {
  transition: color 0.25s;
}

.breadcrumb a:hover {
  color: var(--terracotta);
}

.breadcrumb svg {
  width: 11px;
  height: 11px;
  opacity: 0.5;
}

.page-hero h1 {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
  justify-self: end;
  padding-bottom: 6px;
}

.page-hero__copy p {
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.tag--mint::before {
  background: var(--mint);
}

.tag--honey::before {
  background: var(--honey);
}

.page-hero__stat {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-hero__stat div {
  display: flex;
  flex-direction: column;
}

.page-hero__stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-hero__stat span {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------- Catálogo ---------------------------------- */

.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.filters {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.filter-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
}

.filter-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.catalog-count {
  flex: 0 0 auto;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-count strong {
  color: var(--ink);
  font-weight: 600;
}

.catalog-section {
  padding-block: clamp(38px, 5vw, 62px) var(--section-y);
}

.catalog-grid .product-card.is-hidden {
  display: none;
}

.tax-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px 15px;
  border-radius: 11px;
  border: 1px dashed rgba(36, 27, 22, 0.18);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.67rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.tax-banner svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--terracotta);
}

.catalog-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.catalog-info__item {
  display: flex;
  gap: 14px;
}

.catalog-info__icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--terracotta-deep);
}

.catalog-info__icon svg {
  width: 17px;
  height: 17px;
}

.catalog-info h3 {
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
}

.catalog-info p {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------- Servicios page ------------------------------ */

.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(255, 253, 250, 0.95);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.service-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 13px;
}

.service-nav__inner::-webkit-scrollbar {
  display: none;
}

.service-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.25s;
}

.service-nav a span {
  color: var(--terracotta);
  font-size: 0.56rem;
}

.service-nav a:hover {
  color: var(--terracotta-deep);
}

.service-block {
  scroll-margin-top: calc(var(--header-h) + 80px);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(46px, 6vw, 76px);
  border-bottom: 1px solid var(--line-soft);
}

.service-block:last-of-type {
  border-bottom: 0;
}

.service-block:nth-child(even) .service-block__media {
  order: 2;
}

.service-block__media {
  position: relative;
}

.service-block__photo {
  position: relative;
  border-radius: 44% 44% 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-block__photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.service-block__media:hover .service-block__photo img {
  transform: scale(1.04);
}

.service-block__num {
  position: absolute;
  right: -8px;
  bottom: -20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  box-shadow: var(--shadow-sm);
  transform: rotate(6deg);
}

.service-block__copy .eyebrow {
  margin-bottom: 16px;
}

.service-block__copy h2 {
  margin-bottom: 18px;
}

.service-block__copy > p {
  margin-bottom: 22px;
  max-width: 560px;
}

.service-block__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 26px;
}

.service-block__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.service-block__features svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--terracotta);
}

.service-block__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.service-block__price > div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.service-block__price small {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-block__price strong {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-block__price span {
  font-family: var(--font-ui);
  font-size: 0.59rem;
  color: var(--muted);
}

.service-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-ui);
  font-size: 0.61rem;
  line-height: 1.55;
  color: var(--muted);
}

.service-note svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--terracotta);
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-block: 26px;
  border-block: 1px solid var(--line);
}

.client-strip span {
  display: grid;
  place-items: center;
  min-height: 58px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--muted);
  transition: color 0.3s;
}

.client-strip span:hover {
  color: var(--ink);
}

/* ----------------------------- Nosotros ---------------------------------- */

.about-hero {
  padding-bottom: clamp(40px, 5vw, 60px);
}

.about-hero .page-hero__grid {
  align-items: center;
}

.about-hero__media {
  position: relative;
  margin-top: 32px;
}

.about-hero__photo {
  overflow: hidden;
  border-radius: 220px 220px 26px 26px;
  box-shadow: var(--shadow-md);
}

.about-hero__photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-hero__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 4px 0;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.about-hero__caption span:first-child {
  color: var(--terracotta-deep);
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  padding: 30px 24px 0 0;
  border-right: 1px solid var(--line-soft);
}

.timeline__item:last-child {
  border-right: 0;
  padding-right: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 5px var(--cream);
}

.timeline__year {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--terracotta-deep);
  letter-spacing: -0.03em;
}

.timeline__item h3 {
  margin-bottom: 7px;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
}

.timeline__item p {
  max-width: 230px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.infra-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.infra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.infra-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.infra-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--terracotta-deep);
}

.infra-card__icon svg {
  width: 18px;
  height: 18px;
}

.infra-card__spec {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.infra-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.infra-card p {
  margin-top: auto;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quality-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--cream);
}

.quality-card__num {
  flex: 0 0 36px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--terracotta);
}

.quality-card h3 {
  margin-bottom: 5px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
}

.quality-card p {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.team-card__initials {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
}

.team-card h3 {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.team-card__role {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.team-card p {
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
}

.big-quote {
  position: relative;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--r-lg);
  background: var(--sand);
  overflow: hidden;
}

.big-quote::before {
  content: "“";
  position: absolute;
  left: 12px;
  top: -0.22em;
  font-family: var(--font-display);
  font-size: 20rem;
  line-height: 1;
  color: rgba(36, 27, 22, 0.06);
}

.big-quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.big-quote blockquote em {
  color: var(--terracotta-deep);
}

.big-quote footer {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------- Contacto ---------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.form-card__head {
  margin-bottom: 26px;
}

.form-card__head h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.form-card__head p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.field label span {
  color: var(--terracotta);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #ab9e92;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(192, 106, 77, 0.08);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2366594f' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--berry);
  background: rgba(217, 79, 95, 0.04);
}

.field__error {
  display: none;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  color: var(--berry);
}

.field.has-error .field__error {
  display: block;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.63rem;
  line-height: 1.5;
  color: var(--muted);
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  transition: background 0.2s, border-color 0.2s;
}

.check input:checked + .check__box {
  background: var(--forest);
  border-color: var(--forest);
}

.check input:checked + .check__box::after {
  content: "✓";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--cream);
  font-size: 0.6rem;
}

.check a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--ink-soft);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.form-foot small {
  max-width: 230px;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: var(--mint-soft);
  font-family: var(--font-ui);
  font-size: 0.71rem;
  line-height: 1.55;
  color: #0a5a52;
}

.form-success.is-visible {
  display: flex;
}

.form-success svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-forest);
}

.contact-card h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-card p {
  margin-bottom: 18px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(255, 253, 250, 0.65);
}

.contact-card__wa {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.08);
  border: 1px solid var(--line-light);
  transition: background 0.3s;
}

.contact-card__wa:hover {
  background: rgba(255, 253, 250, 0.14);
}

.contact-card__wa-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #128c7e;
  color: #fff;
}

.contact-card__wa-icon svg {
  width: 19px;
  height: 19px;
}

.contact-card__wa div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.contact-card__wa small {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 253, 250, 0.5);
}

.contact-card__wa strong {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-info {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--line-soft);
}

.contact-info h3 {
  margin-bottom: 16px;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info ul {
  display: grid;
  gap: 14px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.contact-info svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--terracotta);
}

.contact-info strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--sand);
  min-height: 260px;
}

.map-card svg {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
}

.map-card__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  background: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.map-card__label svg {
  width: 14px;
  height: 14px;
  min-height: 0;
  color: var(--terracotta);
}

/* ------------------------------- FAQ ------------------------------------- */

.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.faq-search {
  position: relative;
  width: min(100%, 340px);
}

.faq-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.faq-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-search input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 106, 77, 0.08);
}

.faq-cats {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.faq-cats::-webkit-scrollbar {
  display: none;
}

.accordion {
  display: grid;
  gap: 9px;
}

.accordion__item {
  scroll-margin-top: calc(var(--header-h) + 90px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: var(--cream);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.accordion__item.is-open {
  border-color: rgba(192, 106, 77, 0.3);
  box-shadow: var(--shadow-sm);
}

.accordion__item.is-hidden {
  display: none;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
}

.accordion__num {
  flex: 0 0 26px;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.accordion__trigger h3 {
  flex: 1;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.accordion__icon {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s;
}

.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__item.is-open .accordion__icon {
  background: var(--forest);
  border-color: var(--forest);
  transform: rotate(180deg);
}

.accordion__item.is-open .accordion__icon::before,
.accordion__item.is-open .accordion__icon::after {
  background: var(--cream);
}

.accordion__item.is-open .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.accordion__panel-inner {
  padding: 0 22px 22px 64px;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.accordion__panel-inner p + p {
  margin-top: 10px;
}

.accordion__panel-inner a {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-empty {
  display: none;
  padding: 44px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

.faq-empty.is-visible {
  display: block;
}

.faq-empty h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-empty p {
  font-size: 0.8rem;
  color: var(--muted);
}

.faq-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 42px;
  padding: 28px 32px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.faq-help h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.faq-help p {
  font-size: 0.78rem;
  color: var(--muted);
}

.faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------ Legal ------------------------------------ */

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(38px, 5vw, 62px) var(--section-y);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.legal-toc h2 {
  margin-bottom: 14px;
  font-family: var(--font-ui);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-toc ol {
  display: grid;
  gap: 7px;
  counter-reset: legal;
}

.legal-toc li {
  counter-increment: legal;
}

.legal-toc a {
  display: flex;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 0.67rem;
  line-height: 1.45;
  color: var(--ink-soft);
  transition: color 0.25s;
}

.legal-toc a::before {
  content: counter(legal, decimal-leading-zero);
  color: var(--terracotta);
  font-size: 0.54rem;
  padding-top: 1px;
}

.legal-toc a:hover {
  color: var(--terracotta-deep);
}

.legal-toc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  color: var(--muted);
}

.legal-toc__back:hover {
  color: var(--ink);
}

.legal-toc__back svg {
  width: 12px;
  height: 12px;
}

.legal-content {
  min-width: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.legal-content .legal-intro {
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal-content h2 {
  scroll-margin-top: calc(var(--header-h) + 22px);
  margin: 40px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content h3 {
  margin: 22px 0 8px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-content p {
  margin-bottom: 13px;
  font-size: 0.82rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 7px;
  margin: 10px 0 18px;
  padding-left: 19px;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  padding-left: 3px;
  font-size: 0.81rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.legal-content li::marker {
  color: var(--terracotta);
}

.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-content a {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--terracotta);
  background: var(--paper);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal-callout strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.legal-table {
  width: 100%;
  margin: 16px 0 22px;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.legal-table th {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}

.legal-table td {
  line-height: 1.6;
  color: var(--ink-soft);
}

.legal-footer {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.63rem;
  color: var(--muted);
}

.legal-footer a {
  color: var(--terracotta-deep);
}

/* ------------------------------- Portal ---------------------------------- */

.portal-body {
  background: var(--cream);
}

.portal {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100dvh;
}

.portal__art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
  isolation: isolate;
}

.portal__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--portal-image, url("../img/hero-pour.jpg"));
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.02);
}

.portal__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 42, 34, 0.18) 0%, rgba(20, 42, 34, 0.45) 45%, rgba(20, 42, 34, 0.92) 100%),
    linear-gradient(90deg, rgba(20, 42, 34, 0.3), transparent 70%);
}

.portal__art--recovery {
  --portal-image: url("../img/story-farm.jpg");
}

.portal__art--recovery::after {
  background:
    linear-gradient(180deg, rgba(20, 42, 34, 0.48) 0%, rgba(20, 42, 34, 0.62) 45%, rgba(20, 42, 34, 0.94) 100%),
    linear-gradient(90deg, rgba(20, 42, 34, 0.58), transparent 80%);
}

.portal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.portal__top .brand__text strong {
  color: var(--cream);
}

.portal__top .brand__text small {
  color: var(--sand-2);
}

.portal__top .brand__mark {
  color: var(--sand-2);
}

.portal__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 253, 250, 0.26);
  font-family: var(--font-ui);
  font-size: 0.63rem;
  font-weight: 500;
  color: var(--cream);
  backdrop-filter: blur(8px);
  transition: background 0.3s, color 0.3s;
}

.portal__back:hover {
  background: var(--cream);
  color: var(--forest);
}

.portal__back svg {
  width: 13px;
  height: 13px;
}

.portal__quote {
  max-width: 560px;
  margin-block: 40px;
}

.portal__quote .eyebrow {
  margin-bottom: 18px;
}

.portal__quote h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.portal__quote h2 em {
  color: #edc5b3;
  font-style: italic;
}

.portal__quote p {
  max-width: 400px;
  margin-top: 20px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 253, 250, 0.68);
}

.portal__features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.portal__features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 253, 250, 0.2);
  background: rgba(255, 253, 250, 0.08);
  font-family: var(--font-ui);
  font-size: 0.59rem;
  color: rgba(255, 253, 250, 0.8);
  backdrop-filter: blur(6px);
}

.portal__features svg {
  width: 12px;
  height: 12px;
  color: #9ee0c8;
}

.portal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 250, 0.16);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  color: rgba(255, 253, 250, 0.48);
}

.portal__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 76px);
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 242, 238, 0.75), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(243, 220, 210, 0.5), transparent 36%),
    var(--cream);
}

.auth {
  width: min(100%, 430px);
  margin-inline: auto;
}

.auth__brand-mobile {
  display: none;
}

.auth__head {
  margin-bottom: 28px;
}

.auth__head .eyebrow {
  margin-bottom: 14px;
}

.auth__head h1 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.auth__head p {
  font-size: 0.79rem;
  line-height: 1.6;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field > label {
  font-family: var(--font-ui);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.auth-input {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input > svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.auth-input input {
  width: 100%;
  min-height: 49px;
  padding: 12px 44px 12px 41px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-input input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 106, 77, 0.08);
}

.auth-input input::placeholder {
  color: #aa9c8f;
}

.auth-input__toggle {
  position: absolute;
  right: 7px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.auth-input__toggle:hover {
  background: var(--sand);
  color: var(--ink);
}

.auth-input__toggle svg {
  width: 16px;
  height: 16px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.auth-row a {
  font-family: var(--font-ui);
  font-size: 0.63rem;
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form .btn {
  min-height: 49px;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-family: var(--font-ui);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.demo-box {
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px dashed rgba(36, 27, 22, 0.2);
  background: var(--paper);
}

.demo-box strong {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.demo-box strong svg {
  width: 13px;
  height: 13px;
}

.demo-box p {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  line-height: 1.6;
  color: var(--muted);
}

.demo-box code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(36, 27, 22, 0.07);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  color: var(--ink-soft);
}

.demo-fill {
  margin-top: 7px;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth__foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  line-height: 1.6;
  color: var(--muted);
}

.auth__foot a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  color: var(--muted);
}

.auth__security svg {
  width: 12px;
  height: 12px;
  color: var(--mint);
}

.auth-alert {
  display: none;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 9px;
  background: rgba(217, 79, 95, 0.08);
  border: 1px solid rgba(217, 79, 95, 0.22);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  line-height: 1.5;
  color: #a3303d;
}

.auth-alert.is-visible {
  display: flex;
}

.auth-alert svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

/* Pasos de recuperación */

.recovery-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}

.recovery-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  font-weight: 500;
  color: var(--muted);
}

.recovery-step span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 0.54rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.recovery-step.is-active {
  color: var(--ink);
}

.recovery-step.is-active span {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.recovery-step.is-done span {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--cream);
}

.recovery-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.recovery-pane {
  display: none;
}

.recovery-pane.is-active {
  display: block;
  animation: rise 0.45s var(--ease) both;
}

.pin-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.pin-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}

.pin-inputs input {
  width: 100%;
  aspect-ratio: 0.86;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  text-align: center;
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pin-inputs input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 106, 77, 0.08);
}

.pin-inputs input.is-filled {
  border-color: var(--forest);
  background: rgba(30, 58, 47, 0.04);
}

.recovery-note {
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--mint-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  font-family: var(--font-ui);
  font-size: 0.63rem;
  line-height: 1.6;
  color: #0a5a52;
  margin-bottom: 16px;
}

.recovery-note code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recovery-resend {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  color: var(--muted);
}

.recovery-resend button {
  color: var(--terracotta-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recovery-resend button[disabled] {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

.recovery-success {
  text-align: center;
  padding: 22px 0;
}

.recovery-success__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint);
}

.recovery-success__icon svg {
  width: 28px;
  height: 28px;
}

.recovery-success h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.recovery-success p {
  margin-bottom: 20px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ------------------------------ Dashboard -------------------------------- */

.dashboard-body {
  background: #f5f1e9;
  color: var(--ink);
}

.dash {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100dvh;
}

.dash-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding: 24px 16px 18px;
  background: var(--forest-3);
  color: rgba(255, 253, 250, 0.72);
  z-index: 50;
}

.dash-sidebar .brand {
  padding-inline: 8px;
  margin-bottom: 30px;
}

.dash-sidebar .brand__text strong {
  color: var(--cream);
}

.dash-sidebar .brand__text small {
  color: var(--sand-3);
}

.dash-sidebar .brand__mark {
  color: var(--sand-2);
}

.dash-nav {
  display: grid;
  gap: 3px;
}

.dash-nav__label {
  margin: 18px 10px 7px;
  font-family: var(--font-ui);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 250, 0.32);
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 9px;
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 500;
  color: rgba(255, 253, 250, 0.62);
  transition: background 0.25s, color 0.25s;
}

.dash-nav a svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.dash-nav a:hover {
  background: rgba(255, 253, 250, 0.07);
  color: var(--cream);
}

.dash-nav a.is-active {
  background: rgba(255, 253, 250, 0.11);
  color: var(--cream);
}

.dash-nav a.is-active svg {
  color: #e9b49e;
  opacity: 1;
}

.dash-nav__badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.53rem;
  font-weight: 700;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 10px;
  border-top: 1px solid rgba(255, 253, 250, 0.12);
}

.dash-user__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
}

.dash-user__copy {
  min-width: 0;
  line-height: 1.25;
}

.dash-user__copy strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user__copy span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.54rem;
  color: rgba(255, 253, 250, 0.44);
}

.dash-user__logout {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255, 253, 250, 0.48);
  transition: background 0.2s, color 0.2s;
}

.dash-user__logout:hover {
  background: rgba(255, 253, 250, 0.1);
  color: var(--cream);
}

.dash-user__logout svg {
  width: 14px;
  height: 14px;
}

.dash-main {
  min-width: 0;
}

.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 3vw, 34px);
  background: rgba(245, 241, 233, 0.9);
  border-bottom: 1px solid rgba(36, 27, 22, 0.08);
  backdrop-filter: blur(14px);
}

.dash-topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-menu {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  place-items: center;
  background: var(--cream);
}

.dash-menu svg {
  width: 17px;
  height: 17px;
}

.dash-search {
  position: relative;
  width: min(34vw, 300px);
}

.dash-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--muted);
}

.dash-search input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px 8px 34px;
  border: 1px solid rgba(36, 27, 22, 0.1);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 250, 0.7);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  outline: none;
}

.dash-search input:focus {
  border-color: var(--terracotta);
  background: var(--cream);
}

.dash-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(36, 27, 22, 0.1);
  background: rgba(255, 253, 250, 0.7);
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.dash-icon-btn:hover {
  background: var(--cream);
  color: var(--ink);
}

.dash-icon-btn svg {
  width: 15px;
  height: 15px;
}

.dash-icon-btn__dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--berry);
  box-shadow: 0 0 0 2px #f5f1e9;
}

.dash-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  padding-inline: 8px;
}

.dash-clock strong {
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dash-clock span {
  font-family: var(--font-ui);
  font-size: 0.53rem;
  color: var(--muted);
}

.dash-content {
  padding: clamp(20px, 3vw, 34px);
  max-width: 1500px;
  margin-inline: auto;
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.dash-head__copy .eyebrow {
  margin-bottom: 8px;
}

.dash-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.dash-head h1 em {
  color: var(--terracotta-deep);
}

.dash-head p {
  margin-top: 5px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--muted);
}

.dash-head__actions {
  display: flex;
  gap: 7px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.kpi {
  padding: 18px;
  border-radius: var(--r-sm);
  background: var(--cream);
  border: 1px solid rgba(36, 27, 22, 0.07);
  box-shadow: 0 1px 2px rgba(36, 27, 22, 0.03);
}

.kpi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.kpi__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: var(--sand);
  color: var(--terracotta-deep);
}

.kpi__icon svg {
  width: 15px;
  height: 15px;
}

.kpi__trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border-radius: var(--r-pill);
  background: var(--mint-soft);
  font-family: var(--font-ui);
  font-size: 0.52rem;
  font-weight: 600;
  color: #0a6b60;
}

.kpi__trend--warn {
  background: #fdf0d5;
  color: #8b641c;
}

.kpi__trend svg {
  width: 9px;
  height: 9px;
}

.kpi__label {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.kpi__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-ui);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.kpi__value small {
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.kpi__foot {
  margin-top: 7px;
  font-family: var(--font-ui);
  font-size: 0.54rem;
  color: var(--muted);
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 12px;
  margin-bottom: 14px;
}

.panel {
  border-radius: var(--r-sm);
  background: var(--cream);
  border: 1px solid rgba(36, 27, 22, 0.07);
  box-shadow: 0 1px 2px rgba(36, 27, 22, 0.03);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(36, 27, 22, 0.07);
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel__title svg {
  width: 15px;
  height: 15px;
  color: var(--terracotta);
}

.panel__tools {
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: rgba(13, 148, 136, 0.1);
  font-family: var(--font-ui);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a6b60;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 1.8s infinite;
}

.panel__select {
  height: 28px;
  padding: 0 24px 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2366594f' stroke-width='1.1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  color: var(--ink-soft);
  appearance: none;
  outline: none;
}

.chart-wrap {
  padding: 14px 18px 6px;
}

.chart-wrap svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px 14px;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  color: var(--muted);
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
}

.chart-legend span:nth-child(2) i {
  background: var(--mint);
  height: 1px;
}

.chart-readout {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 15px;
  border-top: 1px solid rgba(36, 27, 22, 0.06);
}

.chart-readout__item {
  display: flex;
  flex-direction: column;
}

.chart-readout__item small {
  font-family: var(--font-ui);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chart-readout__item strong {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chart-readout__item strong span {
  font-size: 0.52rem;
  font-weight: 500;
  color: var(--muted);
}

.chart-readout .live-pill {
  margin-left: auto;
}

.machine {
  padding: 18px;
}

.machine__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.gauge {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--terracotta) 0 var(--gauge, 72%), var(--sand) var(--gauge, 72%) 100%);
  display: grid;
  place-items: center;
  transition: background 1s;
}

.gauge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--cream);
}

.gauge__value {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.1;
}

.gauge__value strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.gauge__value span {
  font-family: var(--font-ui);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.machine__hero-copy {
  min-width: 0;
}

.machine__hero-copy h3 {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.machine__hero-copy p {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  line-height: 1.5;
  color: var(--muted);
}

.machine__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 600;
  color: #0a6b60;
}

.machine__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 13px;
}

.machine__metric {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--paper);
}

.machine__metric small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.49rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.machine__metric strong {
  font-family: var(--font-ui);
  font-size: 0.77rem;
  font-weight: 600;
}

.machine__bars {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.machine__bar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.53rem;
  color: var(--muted);
}

.machine__bar {
  height: 3px;
  margin-top: 3px;
  border-radius: 3px;
  background: var(--sand);
  overflow: hidden;
}

.machine__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--terracotta);
  transition: width 1.2s var(--ease);
}

.machine__bar--mint span {
  background: var(--mint);
}

.machine__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 11px;
  border-top: 1px solid rgba(36, 27, 22, 0.06);
  font-family: var(--font-ui);
  font-size: 0.52rem;
  color: var(--muted);
}

.machine__foot a {
  color: var(--terracotta-deep);
  font-weight: 600;
}

.invoice-panel {
  margin-bottom: 14px;
}

.invoice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(36, 27, 22, 0.07);
}

.invoice-head__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
}

.invoice-head__title svg {
  width: 15px;
  height: 15px;
  color: var(--terracotta);
}

.invoice-head__meta {
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--mint-soft);
  font-family: var(--font-ui);
  font-size: 0.48rem;
  font-weight: 600;
  color: #0a6b60;
}

.invoice-head__tools {
  display: flex;
  align-items: center;
  gap: 7px;
}

.invoice-table-wrap {
  overflow-x: auto;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  white-space: nowrap;
}

.invoice-table th {
  padding: 10px 18px;
  text-align: left;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid rgba(36, 27, 22, 0.06);
}

.invoice-table td {
  padding: 11px 18px;
  border-bottom: 1px solid rgba(36, 27, 22, 0.055);
  color: var(--ink-soft);
}

.invoice-table tbody tr:last-child td {
  border-bottom: 0;
}

.invoice-table tbody tr:hover {
  background: rgba(243, 236, 225, 0.5);
}

.invoice-table td strong {
  color: var(--ink);
  font-weight: 600;
}

.invoice-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.status--ok {
  background: var(--mint-soft);
  color: #0a6b60;
}

.status--ok::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.status--pending {
  background: #fdf0d5;
  color: #8b641c;
}

.status--pending::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--honey);
}

.cufe {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.53rem;
  color: var(--muted);
}

.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.table-action:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.table-action svg {
  width: 12px;
  height: 12px;
}

.dash-bottom {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 12px;
}

.dash-list {
  padding: 4px 18px 12px;
}

.dash-list__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(36, 27, 22, 0.055);
}

.dash-list__item:last-child {
  border-bottom: 0;
}

.dash-list__dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

.dash-list__dot--mint {
  background: var(--mint);
}

.dash-list__dot--honey {
  background: var(--honey);
}

.dash-list__copy {
  min-width: 0;
  line-height: 1.35;
}

.dash-list__copy strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.63rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-list__copy span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.52rem;
  color: var(--muted);
}

.dash-list__time {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.5rem;
  color: var(--muted);
  white-space: nowrap;
}

.dian-card {
  padding: 18px;
}

.dian-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.dian-card__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--terracotta);
  border: 1px solid var(--line-soft);
}

.dian-card__icon svg {
  width: 15px;
  height: 15px;
}

.dian-card__head h3 {
  font-family: var(--font-ui);
  font-size: 0.69rem;
  font-weight: 600;
}

.dian-card__head span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.49rem;
  color: var(--muted);
}

.dian-card__rows {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.dian-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  color: var(--muted);
}

.dian-card__row strong {
  font-weight: 600;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.dian-card__next {
  padding: 9px 11px;
  border-radius: 7px;
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.53rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 12px;
}

.dian-card__next strong {
  color: var(--ink);
}

.dian-card .btn {
  min-height: 34px;
  font-size: 0.6rem;
  padding: 8px 13px;
}

.dash-mobile-overlay {
  display: none;
}

.dash-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 27, 22, 0.08);
  font-family: var(--font-ui);
  font-size: 0.53rem;
  color: var(--muted);
}

/* --------------------------- Reveal animations --------------------------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

html.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

html.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.45);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0);
  }
}

@keyframes cartIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ------------------------------ Responsive ------------------------------- */

@media (max-width: 1120px) {
  .main-nav {
    gap: 14px;
  }

  .nav-link span {
    display: none;
  }

  .header-portal span {
    display: none;
  }

  .header-portal {
    width: 42px;
    padding: 10px;
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 34px;
  }

  .hero__seal {
    right: -18px;
    width: 112px;
    height: 112px;
  }

  .hero__seal svg {
    width: 92px;
    height: 92px;
  }

  .hero__mini {
    left: -8px;
  }

  .builder__shell {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .extras {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-grid,
  .dash-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 66px;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 36px);
    left: 0;
    right: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 18px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0.45s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .nav-link {
    padding: 15px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-link span {
    display: inline;
    margin-left: auto;
  }

  .nav-link::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-portal {
    display: none;
  }

  .cart-button span:not(.cart-count) {
    display: none;
  }

  .cart-button {
    padding: 10px;
    width: 42px;
    justify-content: center;
  }

  .cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    font-size: 0.58rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__visual {
    width: min(100%, 540px);
    margin: 12px auto 0;
  }

  .hero__frame img {
    aspect-ratio: 5 / 4.6;
  }

  .hero::after {
    bottom: -0.18em;
  }

  .origin-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .origin-strip__item:nth-child(2) {
    border-right: 0;
  }

  .origin-strip__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .builder__shell {
    grid-template-columns: 1fr;
  }

  .builder__preview {
    min-height: 550px;
  }

  .builder__stage .pack {
    width: 190px;
  }

  .extras {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .split--wide,
  .testimonial__grid,
  .location__grid,
  .newsletter__panel,
  .service-block,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .story__media {
    max-width: 560px;
    margin-inline: auto;
  }

  .story__copy {
    max-width: 640px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .testimonial__photo {
    max-width: 480px;
    margin-inline: auto;
  }

  .testimonial__seal {
    bottom: -18px;
  }

  .location__photo {
    min-height: 360px;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-hero__copy {
    justify-self: start;
    max-width: 620px;
  }

  .catalog-info {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-block__media {
    order: 0;
  }

  .service-block__media {
    max-width: 560px;
  }

  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }

  .timeline__item:nth-child(2) {
    border-right: 0;
  }

  .timeline__item:nth-child(-n + 2) {
    padding-top: 30px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: 1fr 1fr;
  }

  .portal {
    grid-template-columns: 1fr;
  }

  .portal__art {
    min-height: 42vh;
    padding: 28px;
  }

  .portal__quote {
    margin-block: 40px 22px;
  }

  .portal__quote h2 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .portal__quote p {
    display: none;
  }

  .portal__foot {
    display: none;
  }

  .portal__panel {
    padding-block: 48px;
  }

  .dash {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    transform: translateX(-105%);
    transition: transform 0.4s var(--ease);
    z-index: 70;
  }

  .dash-sidebar.is-open {
    transform: translateX(0);
  }

  .dash-menu {
    display: grid;
  }

  .dash-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: block;
    background: rgba(20, 42, 34, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .dash-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-grid,
  .dash-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  .client-strip {
    grid-template-columns: 1fr 1fr;
  }

  .client-strip span:last-child {
    grid-column: 1 / -1;
  }

  .dash-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .chart-readout__item:last-of-type {
    flex-basis: 100%;
  }

  html {
    scroll-behavior: auto;
  }

  .announcement__inner {
    justify-content: center;
    text-align: center;
  }

  .announcement a {
    display: none;
  }

  .header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 33px;
    height: 33px;
  }

  .brand__text strong {
    font-size: 1.2rem;
  }

  .brand__text small {
    font-size: 0.48rem;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11vw, 4.2rem);
  }

  .hero__proof-item:nth-child(3) {
    border-right: 0;
  }

  .hero__seal {
    width: 92px;
    height: 92px;
    top: -28px;
    right: -6px;
  }

  .hero__seal svg {
    width: 76px;
    height: 76px;
  }

  .hero__seal .seal-core {
    font-size: 1.15rem;
  }

  .hero__meta {
    right: -3px;
    bottom: 42px;
    width: 184px;
    padding: 13px 15px;
  }

  .hero__meta strong {
    font-size: 1.08rem;
  }

  .hero__mini {
    left: 0;
    bottom: -12px;
    width: 268px;
  }

  .origin-strip__item {
    padding: 14px 12px;
  }

  .origin-strip__item small {
    display: none;
  }

  .origin-strip__item strong {
    font-size: 0.92rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-head__aside {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__visual {
    min-height: 330px;
  }

  .pack {
    width: clamp(150px, 52%, 200px);
  }

  .builder__preview {
    min-height: 510px;
    padding: 18px;
  }

  .builder__stage .pack {
    width: 176px;
  }

  .builder__panel {
    padding: 20px;
  }

  .choice-grid,
  .extras {
    grid-template-columns: 1fr;
  }

  .extra {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
  }

  .extra small {
    margin-left: auto;
  }

  .extra::after {
    display: none;
  }

  .builder__price {
    padding: 12px 14px;
  }

  .story__alt {
    right: -8px;
    width: 42%;
  }

  .story__badge {
    left: -6px;
    width: 108px;
    height: 108px;
  }

  .story__badge strong {
    font-size: 1.3rem;
  }

  .story__stats {
    grid-template-columns: 1fr 1fr;
  }

  .story__stats .story__stat:last-child {
    grid-column: 1 / -1;
  }

  .process__grid,
  .quality-grid,
  .infra-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    border-top: 0;
    gap: 0;
  }

  .timeline__item {
    padding: 20px 0 20px 22px;
    border-right: 0;
    border-left: 1px solid var(--line);
  }

  .timeline__item::before {
    left: -5px;
    top: 28px;
  }

  .timeline__item p {
    max-width: none;
  }

  .testimonial__stats {
    gap: 20px;
  }

  .testimonial__stats strong {
    font-size: 1.55rem;
  }

  .newsletter__panel {
    padding: 30px 22px;
    border-radius: var(--r-lg);
  }

  .newsletter__field {
    flex-direction: column;
    border-radius: var(--r-sm);
    padding: 8px;
  }

  .newsletter__field input {
    min-height: 42px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__legal {
    gap: 7px 14px;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span {
    display: none;
  }

  .cookies {
    left: 12px;
    right: 12px;
    bottom: 74px;
    width: auto;
    padding: 13px 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .cookies__icon {
    display: none;
  }

  .cookies__copy p {
    margin-bottom: 8px;
    font-size: 0.61rem;
    line-height: 1.5;
  }

  .cookies__actions button {
    padding: 6px 10px;
    font-size: 0.57rem;
  }

  .toast {
    bottom: 76px;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-line {
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
  }

  .cart-thumb {
    width: 58px;
    height: 72px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-search {
    width: 100%;
  }

  .accordion__trigger {
    padding: 17px 16px;
    gap: 10px;
  }

  .accordion__trigger h3 {
    font-size: 0.82rem;
  }

  .accordion__panel-inner {
    padding: 0 16px 18px 52px;
    font-size: 0.78rem;
  }

  .faq-help {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .portal__art {
    min-height: 34vh;
    padding: 20px;
  }

  .portal__quote {
    margin-block: 26px 0;
  }

  .portal__quote .eyebrow {
    margin-bottom: 10px;
  }

  .portal__quote h2 {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  .portal__features,
  .portal__foot {
    display: none;
  }

  .portal__panel {
    padding: 32px 20px 44px;
    justify-content: flex-start;
  }

  .auth__brand-mobile {
    display: none;
  }

  .auth__brand-mobile .brand__text strong {
    color: var(--ink);
  }

  .auth__brand-mobile .brand__text small {
    color: var(--terracotta-deep);
  }

  .pin-inputs {
    gap: 5px;
  }

  .pin-inputs input {
    font-size: 1.05rem;
  }

  .dash-topbar {
    min-height: 60px;
    padding: 10px 14px;
  }

  .dash-search {
    display: none;
  }

  .dash-clock {
    display: none;
  }

  .dash-content {
    padding: 16px 14px 26px;
  }

  .dash-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .kpi {
    padding: 14px;
  }

  .kpi__value {
    font-size: 1.3rem;
  }

  .dash-grid {
    gap: 8px;
  }

  .chart-wrap {
    padding: 8px 10px 4px;
  }

  .chart-readout {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 14px 12px;
  }

  .chart-readout .live-pill {
    margin-left: 0;
  }

  .invoice-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .invoice-table th,
  .invoice-table td {
    padding: 9px 12px;
  }

  .dash-bottom {
    gap: 8px;
  }
}

@media (max-width: 460px) {
  .hero__proof {
    gap: 12px;
  }

  .hero__proof-item {
    padding-right: 12px;
  }

  .hero__proof-item strong {
    font-size: 1.25rem;
  }

  .hero__proof-item span {
    font-size: 0.58rem;
    max-width: 76px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    padding-right: 0;
  }

  .hero__meta {
    display: none;
  }

  .hero__mini {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px);
  }

  .origin-strip__grid {
    grid-template-columns: 1fr;
  }

  .origin-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .origin-strip__item:last-child {
    border-bottom: 0;
  }

  .process__image-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }

  .testimonial__stats {
    flex-wrap: wrap;
    gap: 14px 26px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cart-delivery {
    grid-template-columns: 1fr;
  }

  .dash-head__actions {
    width: 100%;
  }

  .dash-head__actions .btn {
    flex: 1;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------ Reduced motion --------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------- Print ---------------------------------- */

@media print {
  .announcement,
  .site-header,
  .site-footer,
  .wa-float,
  .cookies,
  .cart-drawer,
  .cart-overlay,
  .toast,
  .newsletter,
  .faq-help {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .legal-layout {
    display: block;
  }

  .legal-toc {
    display: none;
  }

  a {
    text-decoration: none;
    color: #111;
  }
}
