/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Fraunces-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Fraunces-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Fraunces-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Fraunces-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Karla-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Karla-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Karla-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Karla-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/RobotoMono-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/RobotoMono-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/RobotoMono-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/RobotoMono-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Cuesta Alta Café — cuestaalta.co
   Suscripción de café de especialidad · configurador de tres pasos
   ========================================================================== */

:root {
  interpolate-size: allow-keywords;

  --bg: #FFFDF7;
  --surface: #F0E6D6;
  --surface-2: #F8F2E7;
  --surface-3: #E4D6BF;
  --ink: #26201A;
  --ink-soft: #6E6154;
  --ink-faint: #9A8C7C;
  --accent: #D2552B;
  --accent-deep: #A93F1D;
  --accent-2: #4E6A46;
  --accent-2-soft: #E7ECDD;
  --line: rgba(38, 32, 26, 0.14);
  --line-strong: rgba(38, 32, 26, 0.32);

  --header-h: 76px;
  --maxw: 1240px;

  --serif: "Fraunces", "Times New Roman", Times, serif;
  --sans: "Karla", "Trebuchet MS", "Segoe UI", sans-serif;
  --mono: "Roboto Mono", "Consolas", monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-2: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(38, 32, 26, .055) 1px, transparent 0);
  background-size: 26px 26px;
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 140, "SOFT" 20;
  letter-spacing: -0.01em;
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-variation-settings: "opsz" 40; }
h4 { font-size: 1.06rem; font-variation-settings: "opsz" 24; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

strong { font-weight: 700; }

.mono, .num {
  font-family: var(--mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

::selection { background: var(--accent); color: #FFFDF7; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.long, .long a, .contact-card__value,
a[href^="mailto:"], a[href^="tel:"], .prose a, .drawer-foot a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

img, svg, video, iframe { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  font-size: .9rem;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--bg); }

/* ---------- Header ---------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease),
              height 240ms var(--ease), border-color 240ms var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 253, 247, 0.985);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .18);
  border-bottom-color: var(--line);
  height: 64px;
}

.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { flex: none; color: var(--accent); }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1;
  margin-top: 3px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  position: relative;
  font-size: .93rem;
  letter-spacing: .01em;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 200ms var(--ease-2);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transition: right 260ms var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { right: 0; }
.nav-desktop a.is-active { color: var(--ink); }

.nav-cta {
  font-family: var(--sans);
  font-size: .88rem !important;
  font-weight: 600;
  padding: 10px 20px !important;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg) !important;
  border: 1px solid var(--ink);
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover,
.nav-desktop .nav-cta:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF7 !important;
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 1.6px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 280ms var(--ease), opacity 180ms linear;
}
.nav-toggle[aria-expanded="true"] { background: var(--bg); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Drawer ---------------------------------------------------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease), visibility 240ms;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1050;
  width: min(420px, 88vw);
  min-height: 100dvh;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  padding: calc(var(--header-h) + 18px) 26px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.drawer a:hover, .drawer a.is-active { color: var(--accent); }
.drawer .drawer-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.drawer .drawer-foot a {
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 400;
  border: 0;
  padding: 2px 0;
  display: block;
}

/* ---------- Main / sections ------------------------------------------ */

main { padding-top: var(--header-h); }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

.section {
  padding: clamp(56px, 8vw, 116px) 0;
  position: relative;
}
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .705rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--accent);
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.7;
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Buttons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease),
              color 200ms var(--ease), box-shadow 240ms var(--ease),
              border-color 200ms var(--ease);
}
.btn svg { transition: transform 240ms var(--ease); }

.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF7;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(210, 85, 43, .95);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
@media (min-width: 640px) { .btn-auto { width: auto; } }

/* ---------- Trust strip ----------------------------------------------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 26px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
}
.trust-badge svg { color: var(--accent); flex: none; }

/* ---------- Hero (art-directed, image-led) ---------------------------- */

.hero {
  position: relative;
  padding: clamp(30px, 4.4vw, 60px) 0 clamp(44px, 6vw, 84px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: min(760px, 96vw);
  height: 760px;
  background: radial-gradient(ellipse at center, rgba(240, 230, 214, .95) 0%, rgba(255, 253, 247, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -220px;
  width: min(620px, 90vw);
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(78, 106, 70, .14) 0%, rgba(255, 253, 247, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 44px);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(38px, 4vw, 68px);
  }
}

.hero-copy { max-width: 640px; min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 {
  font-size: clamp(2.9rem, 6.6vw, 5rem);
  line-height: .97;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero-copy h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) rotate(1.4deg);
  animation: wordIn 760ms var(--ease) forwards;
  animation-delay: calc(var(--i) * 85ms);
}
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-copy h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 140, "SOFT" 60;
}
.hero-sub {
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.trust-strip--left { justify-content: flex-start; margin-top: 28px; }

/* hero media: layered image + floating chips */
.hero-media {
  position: relative;
  min-width: 0;
}
.hero-media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 60px 100px -60px rgba(38, 32, 26, .82), 0 8px 24px -18px rgba(38, 32, 26, .4);
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
@media (min-width: 940px) { .hero-media-frame { aspect-ratio: 5 / 6; } }
.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 32, 26, 0) 55%, rgba(38, 32, 26, .28) 100%);
  pointer-events: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  will-change: transform;
}
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 253, 247, .93);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 11px 15px;
  box-shadow: 0 26px 44px -28px rgba(38, 32, 26, .6);
}
.hero-chip .hc-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.hero-chip small { font-size: .72rem; color: var(--ink-faint); }
.hero-chip .hc-meta b {
  font-family: var(--serif); font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
}
.hero-chip--rating { top: 18px; left: 12px; }
.hero-chip--rating > b {
  font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--ink);
}
.hero-chip--rating .hc-stars { color: var(--accent); font-size: .8rem; letter-spacing: 1px; }
.hero-chip--fresh { bottom: 18px; right: 12px; }
.hero-chip--fresh .hc-ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-2-soft); color: var(--accent-2);
}
@media (min-width: 940px) {
  .hero-chip--rating { left: -18px; }
  .hero-chip--fresh { right: -18px; }
}

/* stat rows (hero ribbon on index, about-page hero on nosotros) */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
}
.hero-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 18px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .hero-ribbon { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { text-align: left; }
.hero-stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-stat span {
  display: block;
  margin-top: 9px;
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.config-intro {
  max-width: 760px;
  margin: clamp(46px, 6vw, 82px) 0 clamp(26px, 3vw, 38px);
}
.config-intro .eyebrow { margin-bottom: 16px; }

/* ---------- Configurador shell ---------------------------------------- */

.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 1024px) {
  .config-grid { grid-template-columns: repeat(12, 1fr); }
  .config-steps { grid-column: span 8; }
  .config-panel-wrap { grid-column: span 4; position: sticky; top: calc(var(--header-h) + 20px); }
}

.config-steps { position: relative; min-width: 0; }

/* pouring curve decor */
.pour-curve {
  position: absolute;
  left: -30px;
  top: 34px;
  bottom: 40px;
  width: 74px;
  pointer-events: none;
  display: none;
  color: var(--accent);
  opacity: .55;
}
@media (min-width: 900px) { .pour-curve { display: block; } }
.pour-curve path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
  transition: stroke-dashoffset 900ms var(--ease);
}
.pour-curve.is-drawn path { stroke-dashoffset: var(--off, 0); }
.pour-curve circle {
  fill: var(--accent);
  transition: transform 700ms var(--ease), opacity 400ms linear;
}

.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 2.6vw, 32px);
  margin-bottom: 18px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease),
              transform 300ms var(--ease);
}
.step.is-active {
  border-color: var(--line-strong);
  box-shadow: 0 26px 60px -46px rgba(38, 32, 26, .85);
}
.step.is-done { border-color: rgba(210, 85, 43, .38); }

.step-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: center;
  margin-bottom: 20px;
}
.step-num {
  grid-row: span 2;
  align-self: start;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  font-family: var(--mono);
  font-size: .95rem;
  color: var(--ink-soft);
  transition: background 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease);
}
.step.is-done .step-num,
.step.is-active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF7;
}
.step-head h3 { margin: 0; align-self: end; }
.step-head p {
  margin: 0;
  align-self: start;
  font-size: .86rem;
  color: var(--ink-faint);
  min-width: 0;
}

/* option cards */
.opts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
}
.opt { position: relative; min-width: 0; }
.opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.opt input:focus-visible + .opt-face {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.opt-face {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 13px;
  align-items: start;
  height: 100%;
  padding: 15px 15px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  cursor: pointer;
  transition: background 220ms var(--ease-2), border-color 220ms var(--ease-2),
              transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.opt-face .ico {
  grid-row: span 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  flex: none;
  transition: color 220ms var(--ease-2), border-color 220ms var(--ease-2), transform 260ms var(--ease);
}
.opt-face b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.04rem;
  font-variation-settings: "opsz" 30;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: break-word;
}
.opt-face span {
  font-size: .795rem;
  color: var(--ink-faint);
  line-height: 1.45;
  min-width: 0;
}
.opt-face:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 30px -24px rgba(210, 85, 43, .8);
}
.opt-face:hover .ico { color: var(--accent); transform: scale(1.08); }
.opt input:checked + .opt-face {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.opt input:checked + .opt-face b { color: var(--bg); }
.opt input:checked + .opt-face span { color: rgba(255, 253, 247, .68); }
.opt input:checked + .opt-face .ico {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF7;
}

.step-note {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--ink-faint);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.step-note svg { flex: none; margin-top: 3px; color: var(--accent-2); }

/* ---------- Grind knob (theme signature) ------------------------------ */

.knob-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width: 620px) { .knob-block { grid-template-columns: 168px 1fr; } }

.knob-svg { width: 100%; max-width: 168px; height: auto; touch-action: none; cursor: grab; }
.knob-svg.is-dragging { cursor: grabbing; }
.knob-rotor { transition: transform 260ms var(--ease); transform-box: view-box; transform-origin: 100px 100px; }
.knob-svg.is-dragging .knob-rotor { transition: none; }

.knob-caption b {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.knob-caption .grind-label { color: var(--accent); text-transform: lowercase; }
.knob-caption p { font-size: .85rem; color: var(--ink-faint); margin: 6px 0 0; }
.knob-caption .micron {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-soft);
  margin-top: 10px;
  display: inline-block;
  background: var(--surface);
  border-radius: 6px;
  padding: 3px 9px;
}
.grind-glass circle { transition: r 420ms var(--ease-2), cy 520ms var(--ease-2), opacity 300ms linear; }

/* ---------- Summary panel --------------------------------------------- */

.panel {
  background: var(--ink);
  color: #F5EFE4;
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 40px 80px -60px rgba(38, 32, 26, 1);
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  left: clamp(22px, 2.4vw, 30px); right: clamp(22px, 2.4vw, 30px); top: 0;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
}
.panel h3 {
  color: #FFFDF7;
  font-size: 1.3rem;
  margin: 0 0 4px;
}
.panel .panel-sub {
  font-size: .8rem;
  color: rgba(245, 239, 228, .55);
  margin: 0 0 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.panel-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(245, 239, 228, .13);
  font-size: .9rem;
}
.panel-row dt { color: rgba(245, 239, 228, .55); margin: 0; }
.panel-row dd { margin: 0; text-align: right; font-weight: 600; }
.panel dl { margin: 0; }

.panel-figure {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 239, 228, .2);
}
.panel-figure .fig-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, .5);
}
.panel-price {
  font-family: var(--mono);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  letter-spacing: -0.045em;
  color: #FFFDF7;
  line-height: 1.1;
  margin-top: 4px;
  display: block;
}
.panel-price small { font-size: .42em; letter-spacing: 0; color: rgba(245, 239, 228, .55); }

.panel-grams {
  font-family: var(--mono);
  font-size: 1.06rem;
  color: var(--accent);
  margin-top: 6px;
  display: block;
}

.tickable { display: inline-block; }
.tickable.tick { animation: tickNum 380ms var(--ease); }
@keyframes tickNum {
  0% { transform: translateY(-46%); opacity: 0; filter: blur(3px); }
  55% { transform: translateY(5%); opacity: 1; filter: blur(0); }
  100% { transform: none; }
}

.panel-fine {
  margin-top: 16px;
  font-size: .755rem;
  line-height: 1.6;
  color: rgba(245, 239, 228, .5);
}
.panel .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF7;
  margin-top: 20px;
}
.panel .btn-primary:hover, .panel .btn-primary:focus-visible {
  background: #FFFDF7;
  border-color: #FFFDF7;
  color: var(--ink);
}
.panel-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.panel-flags span {
  font-size: .705rem;
  letter-spacing: .04em;
  color: rgba(245, 239, 228, .78);
  border: 1px solid rgba(245, 239, 228, .2);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- Editorial: método (asymmetric split) ---------------------- */

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.band--ink { background: var(--ink); color: #EFE7DA; border-color: transparent; }
.band--ink h2, .band--ink h3 { color: #FFFDF7; }
.band--ink .eyebrow { color: #E9915F; }
.band--ink .eyebrow::before { background: #E9915F; }
.band--ink .lead { color: rgba(239, 231, 218, .68); }

.method-list { display: grid; gap: 0; margin-top: 10px; }
.method-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 28px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 260ms var(--ease-2);
}
.method-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .method-row { grid-template-columns: 96px minmax(0, 1.05fr) minmax(0, 1.35fr) auto; align-items: center; }
}
.method-row:hover { background: rgba(255, 253, 247, .55); }
.method-row .m-ratio {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}
.method-row h3 { margin: 0; }
.method-row h3 span {
  display: block;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 6px;
}
.method-row p { margin: 0; font-size: .93rem; color: var(--ink-soft); min-width: 0; }
.pick-btn {
  justify-self: start;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease), transform 220ms var(--ease);
}
.pick-btn:hover, .pick-btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.pick-btn.is-picked {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF7;
}
.band--ink .pick-btn { border-color: rgba(239, 231, 218, .3); color: #EFE7DA; }
.band--ink .pick-btn:hover { background: #FFFDF7; color: var(--ink); border-color: #FFFDF7; }
.band--ink .method-row { border-color: rgba(239, 231, 218, .16); }
.band--ink .method-row:hover { background: rgba(255, 253, 247, .045); }
.band--ink .method-row p { color: rgba(239, 231, 218, .66); }
.band--ink .method-row .m-ratio { color: #B7ADEE; }
.band--ink .method-row h3 span { color: rgba(239, 231, 218, .42); }

/* ---------- Perfil: overlapping z-layer cards -------------------------- */

.profiles {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  margin-top: 12px;
}
.profile {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
@media (min-width: 900px) {
  .profile:nth-child(2) { transform: translateY(-26px); }
  .profile:nth-child(2):hover { transform: translateY(-32px); }
  .profile:nth-child(3) { transform: translateY(14px); }
  .profile:nth-child(3):hover { transform: translateY(8px); }
}
.profile:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 34px 66px -44px rgba(210, 85, 43, .9);
}
.p-media { position: relative; }
.p-media .p-foto {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  margin: 0;
  display: block;
  transition: transform 600ms var(--ease);
}
.profile:hover .p-media .p-foto { transform: scale(1.05); }
.p-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38, 32, 26, .16) 0%, rgba(38, 32, 26, 0) 34%);
  pointer-events: none;
}
.profile .p-badge {
  position: absolute;
  z-index: 2;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink);
  background: rgba(255, 253, 247, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}
.profile .p-ico {
  position: absolute;
  z-index: 2;
  left: 18px; bottom: -26px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: 0 18px 30px -20px rgba(38, 32, 26, .7);
}
.p-body {
  padding: clamp(20px, 2.2vw, 28px);
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.profile h3 { margin-bottom: 10px; }
.profile p { font-size: .93rem; color: var(--ink-soft); }
.p-body .pick-btn { margin-top: auto; }
.notes {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 16px 0 20px;
  padding: 0; list-style: none;
}
.notes li {
  font-size: .74rem;
  letter-spacing: .04em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--ink-soft);
}
.profile dl {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  font-size: .82rem;
}
.profile dt { color: var(--ink-faint); }
.profile dd { margin: 0; font-family: var(--mono); font-size: .78rem; }

/* ---------- Ritmo: vertical timeline ---------------------------------- */

.rhythm {
  position: relative;
  margin-top: 14px;
  padding-left: 34px;
}
.rhythm::before {
  content: "";
  position: absolute;
  left: 9px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(210, 85, 43, .12));
}
.rhythm-item { position: relative; padding: clamp(20px, 2.2vw, 30px) 0; }
.rhythm-item + .rhythm-item { border-top: 1px solid var(--line); }
.rhythm-item::before {
  content: "";
  position: absolute;
  left: -32px; top: calc(clamp(20px, 2.2vw, 30px) + 10px);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.rhythm-item.is-picked::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(210, 85, 43, .16); }
.rhythm-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  margin-bottom: 8px;
}
.rhythm-head h3 { margin: 0; }
.rhythm-head .r-freq {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border-radius: 6px;
  padding: 2px 9px;
}
.rhythm-item p { font-size: .95rem; color: var(--ink-soft); max-width: 66ch; }
.rhythm-item .pick-btn { margin-top: 14px; }

/* ---------- Precios table --------------------------------------------- */

.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.table-scroll > table { margin: 0 !important; min-width: 520px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table { border-collapse: collapse; font-size: .92rem; }
thead th {
  text-align: left;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
td.price { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
td b { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; }

.small-print {
  font-size: .78rem;
  color: var(--ink-faint);
  line-height: 1.65;
  margin-top: 10px;
}

.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.icon-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: .9rem;
  color: var(--ink-soft);
  min-width: 0;
}
.icon-list svg { margin-top: 4px; color: var(--accent); flex: none; }
.icon-list.excl svg { color: var(--ink-faint); }

.split {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.card-soft {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 30px);
  min-width: 0;
}
.card-soft h3 { font-size: 1.18rem; }

/* ---------- Manifesto quote ------------------------------------------- */

.manifesto {
  text-align: center;
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.manifesto span { color: var(--accent); }
.manifesto-by {
  text-align: center;
  margin-top: 26px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Testimonials ---------------------------------------------- */

.testimonials {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testi {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 2.2vw, 28px);
  min-width: 0;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.testi:hover { transform: translateY(-5px); box-shadow: 0 26px 48px -40px rgba(38, 32, 26, .9); }
.testi p { font-size: .93rem; color: var(--ink-soft); }
.testi .t-quote { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); line-height: .6; display: block; margin-bottom: 14px; }
.testi footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.testi cite { font-style: normal; font-weight: 700; font-size: .92rem; display: block; }
.testi small { font-size: .78rem; color: var(--ink-faint); }

/* ---------- FAQ -------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
details.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
details.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px clamp(4px, 1vw, 12px);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  letter-spacing: -0.01em;
  min-width: 0;
  transition: color 200ms var(--ease-2);
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary:hover { color: var(--accent); }
.faq-plus {
  position: relative;
  width: 22px; height: 22px;
  flex: none;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 320ms var(--ease);
}
.faq-plus::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq-plus::after { top: 0; bottom: 0; left: 10px; width: 2px; }
details.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
details.faq-item > .answer {
  padding: 0 clamp(4px, 1vw, 12px);
  overflow: hidden;
}
details.faq-item[open] > .answer { padding-block-end: 26px; }
details.faq-item > .answer p { font-size: .94rem; color: var(--ink-soft); max-width: 74ch; }

/* Animated open/close only where `height: auto` is interpolable.
   Elsewhere the answer simply appears, which is the required fallback. */
@supports (interpolate-size: allow-keywords) {
  details.faq-item > .answer {
    height: 0;
    transition: height 360ms var(--ease-2), padding-block-end 360ms var(--ease-2);
  }
  details.faq-item[open] > .answer { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  details.faq-item > .answer { transition: none; }
}

/* ---------- Contact cards --------------------------------------------- */

.page-hero {
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0 clamp(30px, 4vw, 54px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: clamp(120px, 22vw, 260px); height: 3px;
  background: var(--accent);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero .lead { margin-top: 4px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 44px -36px rgba(38, 32, 26, .9);
  color: inherit;
}
.contact-card:hover .cc-ico { background: var(--accent); color: #FFFDF7; border-color: var(--accent); transform: scale(1.06); }
.cc-ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 16px;
  transition: background 240ms var(--ease-2), color 240ms var(--ease-2),
              transform 240ms var(--ease), border-color 240ms var(--ease-2);
}
.contact-card h3 { font-size: 1.06rem; margin-bottom: 4px; }
.contact-card__value {
  display: block;
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.contact-card small { display: block; margin-top: 8px; font-size: .78rem; color: var(--ink-faint); }

.hours-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 6px;
}
.hours-grid div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 15px;
  font-size: .87rem;
}
.hours-grid div.today { border-color: var(--accent); background: rgba(210, 85, 43, .06); }
.hours-grid time, .hours-grid span:last-child {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ---------- Form ------------------------------------------------------- */

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 38px);
  min-width: 0;
}
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid .cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }

.field { display: block; min-width: 0; }
.field > span {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 7px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 11px 2px;
  transition: border-color 220ms var(--ease-2);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E6154' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }

.field.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ----------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(239, 231, 218, .7);
  padding: clamp(48px, 6vw, 82px) 0 30px;
  font-size: .89rem;
}
.footer-grid {
  display: grid;
  gap: clamp(26px, 3vw, 46px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h4 {
  color: #FFFDF7;
  font-size: .74rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(239, 231, 218, .7); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFDF7;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand svg { color: var(--accent); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.footer-badges span {
  font-size: .7rem;
  letter-spacing: .04em;
  border: 1px solid rgba(239, 231, 218, .2);
  border-radius: 999px;
  padding: 4px 10px;
}
.footer-bottom {
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(239, 231, 218, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(239, 231, 218, .5);
}

/* ---------- Cookie banner ---------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  z-index: 9999;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 70px -30px rgba(38, 32, 26, .6);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms var(--ease), opacity 240ms;
}
@media (min-width: 900px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h2 { font-size: 1.08rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .83rem; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-actions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.cookie-actions .full { grid-column: 1 / -1; }
.cookie-btn {
  min-height: 44px;
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.cookie-btn:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.cookie-btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cookie-btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #FFFDF7; }
.cookie-prefs { display: none; margin: 4px 0 16px; }
.cookie-prefs.is-open { display: grid; gap: 10px; }
.cookie-prefs label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: .82rem;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.cookie-prefs input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  margin: 2px 0 0; padding: 0; border: 0;
  accent-color: var(--accent);
}
.cookie-prefs b { color: var(--ink); display: block; font-size: .86rem; }

/* ---------- Legal / prose ---------------------------------------------- */

.prose {
  max-width: 740px;
  line-height: 1.7;
}
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: 2.2em;
  margin-bottom: .6em;
  padding-top: .3em;
  line-height: 1.15;
}
.prose h3 { margin-top: 1.7em; margin-bottom: .5em; line-height: 1.2; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; color: var(--ink-soft); line-height: 1.7; }
.prose p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25em; }
.prose .table-scroll { margin: 24px 0 28px; }
.prose .small-print { margin-bottom: 1.6em; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.updated {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-block;
}

.notes-log { display: grid; gap: 14px; margin-top: 8px; list-style: none; padding: 0; }
.notes-log li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
  min-width: 0;
}
.notes-log time { font-family: var(--mono); font-size: .78rem; color: var(--accent-2); white-space: nowrap; }
.notes-log p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.notes-log b { display: block; font-family: var(--serif); font-size: 1rem; }

/* team */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.member {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  min-width: 0;
}
.member .avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.24rem;
  margin-bottom: 16px;
}
.member h3 { font-size: 1.16rem; margin-bottom: 2px; }
.member .role {
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.member p { font-size: .89rem; color: var(--ink-soft); }

.process { counter-reset: st; display: grid; gap: 0; }
.pstep {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep .pnum {
  grid-row: span 3;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px; height: 42px;
  display: grid; place-items: center;
}
.pstep h3 { margin: 0; font-size: 1.14rem; }
.pstep .when {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--ink-faint);
}
.pstep p { margin: 6px 0 0; font-size: .92rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Reveal ----------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-copy h1 .word { animation: none; opacity: 1; transform: none; }
  .hero-photo { transform: scale(1.04) !important; }
  .pour-curve path { transition: none; }
  .steam { display: none; }
}

/* ambient: steam over the knob */
.steam { transform-origin: center bottom; animation: steamRise 9s ease-in-out infinite; }
.steam:nth-of-type(2) { animation-delay: 2.4s; }
.steam:nth-of-type(3) { animation-delay: 4.8s; }
@keyframes steamRise {
  0% { opacity: 0; transform: translateY(4px) scaleX(.9); }
  35% { opacity: .5; }
  100% { opacity: 0; transform: translateY(-16px) scaleX(1.25); }
}

/* 404 */
.err-code {
  font-family: var(--mono);
  font-size: clamp(4.4rem, 15vw, 10rem);
  letter-spacing: -0.06em;
  line-height: .9;
  color: var(--accent);
}

/* ---------- Responsive tweaks ----------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .opts { grid-template-columns: 1fr; }
  .opt-face { padding: 14px; }
  .opt-face .ico { width: 32px; height: 32px; }
  .profile:nth-child(n) { transform: none; }
  .profile:hover { transform: translateY(-4px); }
  .step { padding: 18px; border-radius: 14px; }
  .panel { padding: 20px; }
  .card-soft, .member, .form-card, .testi, .contact-card { padding: 18px; }
  .hero-stats { gap: 22px 30px; }
  .cookie-banner { padding: 16px; }
  .pstep { gap: 4px 14px; }
  .rhythm { padding-left: 28px; }
}

/* ================= FOTOGRAFÍA ================= */

.foto { margin: clamp(28px, 4vw, 48px) 0 0; }
.foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.foto--ancha img { aspect-ratio: 3 / 2; object-fit: cover; }
.foto figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  color: var(--ink-faint);
}
.band--ink .foto figcaption { color: rgba(255, 253, 247, .62); }
.band--ink .foto img { border-color: rgba(255, 253, 247, .18); }

/* full-bleed duotone feature photo (molino) */
.foto-bleed {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(30px, 4vw, 56px);
  overflow: hidden;
}
.foto-bleed > img {
  display: block;
  width: 100%;
  height: clamp(300px, 46vw, 560px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(1.28);
}
.foto-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #2b2620 0%, #46583e 50%, #9a4d28 100%);
  mix-blend-mode: multiply;
  opacity: .82;
  pointer-events: none;
}
.foto-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(38, 32, 26, .35) 0%, rgba(38, 32, 26, 0) 32%, rgba(38, 32, 26, .55) 100%);
  pointer-events: none;
}
.foto-bleed figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px) clamp(18px, 3vw, 30px);
  color: rgba(255, 253, 247, .92);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.foto-bleed .fb-tag {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #FFFDF7;
  background: rgba(210, 85, 43, .92);
  border-radius: 999px;
  padding: 4px 12px;
}

.p-foto {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin: 4px 0 16px;
  border: 1px solid var(--line);
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}
