/* =========================================================
   AlpinCode — self-hosted webfonts
   Inter (variable, 400–800) + Instrument Serif (regular + italic)
   Latin + Latin-Ext subsets. No third-party requests.
   ========================================================= */

/* Inter — variable font, covers weights 400–800 from a single file */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-variable-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: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-variable-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;
}

/* Instrument Serif — normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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;
}

/* Instrument Serif — italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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;
}

/* =========================================================
   AlpinCode — design system
   ========================================================= */

:root {
  /* Palette — primary set, overridable via Tweaks */
  --ac-primary: #2D5BFF;
  --ac-primary-dark: #1F3FB8;
  --ac-primary-soft: #EEF2FF;
  --ac-primary-tint: #F4F6FF;

  /* Accent CTA */
  --ac-coral: #FF7A59;
  --ac-coral-dark: #E85A36;
  --ac-coral-soft: #FFF1EC;
  --ac-coral-tint: #FFF7F3;

  /* Neutrals */
  --ac-oat: #FAFAF7;        /* page bg */
  --ac-card: #FFFFFF;
  --ac-ink: #1A1A1A;
  --ac-ink-soft: #2E2E2E;
  --ac-mute: #6B7280;
  --ac-mute-2: #9CA3AF;
  --ac-line: #E7E5DE;
  --ac-line-strong: #D7D5CD;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(20, 22, 30, .04);
  --shadow-sm: 0 2px 6px rgba(20, 22, 30, .05), 0 1px 2px rgba(20, 22, 30, .04);
  --shadow-md: 0 12px 32px -12px rgba(20, 22, 30, .10), 0 4px 12px -4px rgba(20, 22, 30, .06);
  --shadow-lg: 0 30px 60px -20px rgba(20, 22, 30, .18), 0 12px 24px -8px rgba(20, 22, 30, .08);
  --shadow-coral: 0 12px 28px -10px rgba(255, 122, 89, .45);

  /* Radii */
  --r-btn: 8px;
  --r-card: 16px;
  --r-card-lg: 24px;
  --r-chip: 999px;

  /* Container */
  --maxw: 1200px;
  --pad-x: clamp(20px, 4vw, 56px);

  /* Type */
  --f-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
}

/* =========================================================
   Base
   ========================================================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ac-oat);
  color: var(--ac-ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.625rem); letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; letter-spacing: -0.02em; font-weight: 700; }
p  { margin: 0; }

/* Serif accent used inline in headings: <em>palabra</em> */
h1 em, h2 em, h3 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac-primary);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  opacity: .55;
}

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

/* =========================================================
   Container & section
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container-wide { max-width: 1320px; }

section { padding: clamp(64px, 9vw, 120px) 0; }
section.tight { padding: clamp(48px, 6vw, 80px) 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ac-coral);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover { background: var(--ac-coral-dark); }

.btn-secondary {
  background: var(--ac-ink);
  color: #fff;
}
.btn-secondary:hover { background: #000; }

.btn-ghost {
  background: transparent;
  color: var(--ac-ink);
  border-color: var(--ac-line);
}
.btn-ghost:hover { border-color: var(--ac-ink); background: #fff; }

.btn-link {
  background: transparent;
  height: auto;
  padding: 4px 0;
  color: var(--ac-primary);
  border-radius: 0;
}
.btn-link::after {
  content: "→";
  transition: transform .2s ease;
}
.btn-link:hover::after { transform: translateX(3px); }

.btn-lg { height: 52px; padding: 0 22px; font-size: 16px; }

/* =========================================================
   Promo banner
   ========================================================= */
.promo {
  position: relative;
  background: var(--ac-coral);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 10px 44px 10px 16px;
  letter-spacing: -0.005em;
}
.promo b { font-weight: 700; }
.promo code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255,255,255,.18);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.promo .promo-mobile { display: none; }
.promo-close {
  position: absolute;
  top: 50%; right: 12px;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  border-radius: 6px;
  opacity: .85;
}
.promo-close:hover { background: rgba(255,255,255,.18); opacity: 1; }
.promo[hidden] { display: none; }

@media (max-width: 640px) {
  .promo .promo-desktop { display: none; }
  .promo .promo-mobile { display: inline; }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, .82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--ac-line);
  background: rgba(250, 250, 247, .92);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ac-ink);
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--ac-ink);
  display: inline-grid; place-items: center;
  color: #fff;
}
.brand-mark svg { width: 16px; height: 16px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ac-ink-soft);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(20,22,30,.05); color: var(--ac-ink); }
.nav a.is-active { color: var(--ac-primary); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-picker {
  position: relative;
  display: inline-flex;
}
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px 0 12px;
  border-radius: 8px;
  border: 1px solid var(--ac-line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ac-ink-soft);
}
.lang-switch svg { width: 14px; height: 14px; opacity: .55; }
.lang-switch:hover { border-color: var(--ac-line-strong); }
.lang-switch[aria-expanded="true"] {
  border-color: var(--ac-primary);
  box-shadow: 0 0 0 3px var(--ac-primary-soft);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--ac-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ac-ink);
  font-size: 14px;
  text-align: left;
}
.lang-menu button:hover,
.lang-menu button[aria-selected="true"] {
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
}
.lang-menu strong {
  font-size: 11px;
  letter-spacing: .08em;
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ac-line);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.hamburger svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .nav, .header .lang-picker { display: none; }
  .hamburger { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions .btn.btn-primary { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: rgba(20,22,30,.35);
  z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: #fff;
  padding: 18px;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.drawer a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ac-ink);
}
.drawer a:hover { background: var(--ac-oat); }
.drawer .btn { margin-top: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Soft radial glow behind composition */
  content: "";
  position: absolute;
  top: -10%; right: -8%;
  width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, var(--ac-primary-soft), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 .accent { color: var(--ac-primary); }
.hero h1 em { color: var(--ac-ink); }
.hero-lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ac-mute);
  max-width: 540px;
  line-height: 1.55;
}
.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ac-mute);
}
.avatar-stack {
  display: inline-flex;
}
.avatar-stack > span {
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 2px solid var(--ac-oat);
  margin-right: -8px;
  display: inline-block;
  background: linear-gradient(135deg, #FFD7C2, #FF7A59);
}
.avatar-stack > span:nth-child(2) { background: linear-gradient(135deg, #C9D5FF, #2D5BFF); }
.avatar-stack > span:nth-child(3) { background: linear-gradient(135deg, #C8E9D4, #1A8F5A); }
.avatar-stack > span:nth-child(4) { background: linear-gradient(135deg, #F4D6FF, #9A4BFF); }
.stars { color: #F5B947; letter-spacing: 1px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Hero mockup — fake editor + landing
   ========================================================= */
.mock {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
}

/* Site preview "browser" frame */
.mock-browser {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ac-line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #F7F6F2;
  border-bottom: 1px solid var(--ac-line);
}
.mock-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #E5E2D9;
  display: inline-block;
}
.mock-bar i:nth-child(1) { background: #FF7A59; }
.mock-bar i:nth-child(2) { background: #F5B947; }
.mock-bar i:nth-child(3) { background: #69C387; }
.mock-bar .mock-url {
  margin-left: 10px;
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--ac-line);
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--ac-mute);
}

.mock-site { flex: 1; padding: 18px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.ms-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ac-line); }
.ms-logo { width: 28px; height: 28px; border-radius: 8px; background: #2A1A12; color: #fff; display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 17px; }
.ms-name { font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }
.ms-nav { margin-left: auto; display: flex; gap: 14px; font-size: 11px; color: #6B5A48; }
.ms-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 6px; align-items: center; }
.ms-headline { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.05; color: #2A1A12; }
.ms-headline b { font-style: normal; font-family: var(--f-sans); font-weight: 800; display: block; font-size: 1em; color: #2A1A12; letter-spacing: -0.03em; }
.ms-sub { font-size: 10.5px; color: #6B5A48; margin-top: 6px; line-height: 1.4; }
.ms-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  background: #2A1A12; color: #FFF6EA;
  padding: 6px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.ms-img {
  aspect-ratio: 1/1;
  border-radius: 10px;
  background: url('images/templates/template-marta.webp') center / cover;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(42, 26, 18, .08);
}
.ms-img::after {
  content: "EL RINCÓN DE MARTA";
  position: absolute; bottom: 8px; left: 8px;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em;
  color: #2A1A12;
  background: rgba(255,255,255,.6);
  padding: 2px 6px; border-radius: 4px;
}
.ms-meta {
  display: flex; gap: 8px; margin-top: 4px;
}
.ms-chip {
  font-size: 9.5px;
  background: #F7E8D5;
  color: #2A1A12;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* Floating editor card */
.mock-editor {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 56%;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--ac-line);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: rotate(-1.5deg);
}
.me-head { display: flex; align-items: center; gap: 8px; }
.me-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac-primary); box-shadow: 0 0 0 4px var(--ac-primary-soft); }
.me-title { font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em; }
.me-shortcut { margin-left: auto; font-size: 10px; color: var(--ac-mute-2); }
.me-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ac-oat);
  font-size: 11.5px;
  color: var(--ac-ink);
}
.me-row.active { background: var(--ac-primary-soft); color: var(--ac-primary); font-weight: 600; }
.me-row svg { width: 14px; height: 14px; }
.me-row .me-spacer { flex: 1; }
.me-row .me-tag {
  font-size: 9.5px;
  background: #fff;
  border: 1px solid var(--ac-line);
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--ac-mute);
  font-weight: 600;
}

/* Floating "publicado" pill */
.mock-pill {
  position: absolute;
  top: -16px;
  right: -10px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
}
.mock-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1FBC72;
  box-shadow: 0 0 0 4px rgba(31,188,114,.18);
}

@media (max-width: 600px) {
  .mock-editor { left: -8px; width: 64%; }
  .mock-pill { right: 4px; }
}

/* =========================================================
   Social proof strip
   ========================================================= */
.proof {
  border-top: 1px solid var(--ac-line);
  border-bottom: 1px solid var(--ac-line);
  padding: 28px 0;
  background: var(--ac-oat);
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.proof-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ac-mute);
  letter-spacing: -0.005em;
}
.proof-logos {
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
}
.proof-logos span {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ac-mute);
  opacity: .72;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.proof-logos span.sans {
  font-family: var(--f-sans); font-style: normal; font-weight: 800; letter-spacing: -0.02em;
}
.proof-logos span.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600;
}

/* =========================================================
   How it works
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.step {
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  padding: 28px;
  position: relative;
  transition: transform .25s ease, border-color .2s ease, box-shadow .2s ease;
}
.step:hover { border-color: var(--ac-line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 48px;
  color: var(--ac-primary);
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ac-mute); font-size: 15px; }
.step-icon {
  position: absolute;
  top: 22px; right: 22px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
  display: grid; place-items: center;
}
.step-icon svg { width: 18px; height: 18px; }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

/* Section header */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sec-head h2 { max-width: 720px; }
.sec-head .muted { max-width: 540px; margin-top: 14px; font-size: 17px; }

/* =========================================================
   Templates grid
   ========================================================= */
.templates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.tpl-card {
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .2s ease, box-shadow .2s ease;
}
.tpl-card:hover { transform: translateY(-3px); border-color: var(--ac-line-strong); box-shadow: var(--shadow-md); }

.tpl-thumb {
  aspect-ratio: 4/3.2;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ac-line);
}
.tpl-thumb.has-image {
  background: #fff;
}
.tpl-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tpl-thumb.has-image .thumb {
  display: none;
}
.tpl-body {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.tpl-cat {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ac-mute);
}
.tpl-name {
  font-size: 16px; font-weight: 700; letter-spacing: -0.015em;
}
.tpl-row {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.tpl-use {
  font-size: 13px; font-weight: 600; color: var(--ac-primary);
  display: inline-flex; align-items: center; gap: 4px;
}
.tpl-use::after { content: "→"; transition: transform .2s ease; }
.tpl-card:hover .tpl-use::after { transform: translateX(3px); }
.tpl-time { font-size: 12px; color: var(--ac-mute); }

@media (max-width: 1024px) { .templates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .templates { grid-template-columns: 1fr; } }

/* Mini-landing template thumbnails (CSS only) */
.thumb { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-family: var(--f-sans); }
.thumb-bar { display: flex; align-items: center; gap: 5px; font-size: 7px; opacity: .8; }
.thumb-bar i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; }
.thumb-h { font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.thumb-sub { font-size: 7.5px; opacity: .7; line-height: 1.3; }
.thumb-row { display: flex; gap: 4px; }
.thumb-pill { padding: 3px 7px; border-radius: 999px; font-size: 7px; font-weight: 700; }
.thumb-grid { display: grid; gap: 4px; }
.thumb-card { border-radius: 4px; }

/* Templates — concrete looks */
.t-cafe { background: linear-gradient(180deg, #FFF6EA 0%, #F7E8D5 100%); color: #2A1A12; }
.t-cafe .thumb-h { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 17px; }
.t-cafe .thumb-pill { background: #2A1A12; color: #FFF6EA; }
.t-cafe .thumb-grid { grid-template-columns: 1fr 1fr; margin-top: auto; }
.t-cafe .thumb-card { aspect-ratio: 1/1; background: #E8C9A6; }
.t-cafe .thumb-card:nth-child(2) { background: #D4A574; }

.t-studio { background: #0E0E10; color: #F5F2EC; }
.t-studio .thumb-h { font-size: 14px; }
.t-studio .thumb-h .b { display: block; color: #C8FF6B; }
.t-studio .thumb-pill { background: #C8FF6B; color: #0E0E10; }
.t-studio .thumb-grid { grid-template-columns: repeat(3, 1fr); margin-top: auto; }
.t-studio .thumb-card { aspect-ratio: 1/1; background: #2A2A30; border-radius: 6px; }

.t-shop { background: #F0F4FF; color: #14213D; }
.t-shop .thumb-h { font-size: 14px; }
.t-shop .thumb-pill { background: #14213D; color: #fff; }
.t-shop .thumb-row.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; }
.t-shop .thumb-row.products > div {
  aspect-ratio: 3/4;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
  display: flex; flex-direction: column; gap: 3px;
  font-size: 6px;
}
.t-shop .thumb-row.products > div .p-img {
  flex: 1; border-radius: 3px;
  background: linear-gradient(135deg, #FFD3A8, #FF9A6B);
}
.t-shop .thumb-row.products > div:nth-child(2) .p-img { background: linear-gradient(135deg, #C9F2D8, #6BC78E); }
.t-shop .thumb-row.products > div:nth-child(3) .p-img { background: linear-gradient(135deg, #D8C9FF, #9A6BFF); }

.t-artisan { background: #F4F0E8; color: #2D2520; }
.t-artisan .thumb-h { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 18px; }
.t-artisan .thumb-pill { background: #9F6B3F; color: #FFF6EA; }
.t-artisan .thumb-big {
  margin-top: auto;
  aspect-ratio: 16/8;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 50%, #C9956A 0 22%, transparent 23%),
    radial-gradient(circle at 70% 60%, #8E5E3A 0 18%, transparent 19%),
    linear-gradient(135deg, #E8D8C0, #C9A881);
}

/* =========================================================
   Benefits (Por qué elegirnos)
   ========================================================= */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.benefit {
  padding: 28px 24px;
  border-radius: var(--r-card);
  border: 1px solid var(--ac-line);
  background: #fff;
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 17px; margin-bottom: 6px; }
.benefit p { color: var(--ac-mute); font-size: 14.5px; }

.benefits .benefit:nth-child(2) .benefit-icon { background: var(--ac-coral-soft); color: var(--ac-coral-dark); }
.benefits .benefit:nth-child(3) .benefit-icon { background: #ECF7F0; color: #1F8A5B; }
.benefits .benefit:nth-child(4) .benefit-icon { background: #FFF7E0; color: #B7820B; }

@media (max-width: 1024px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.tm {
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.tm-stars { color: #F5B947; letter-spacing: 2px; font-size: 14px; }
.tm-quote {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  flex: 1;
}
.tm-quote em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--ac-primary); font-size: 1.05em; }
.tm-meta { display: flex; align-items: center; gap: 12px; }
.tm-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD7C2, #FF7A59);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.tm:nth-child(2) .tm-avatar { background: linear-gradient(135deg, #C9D5FF, #2D5BFF); }
.tm:nth-child(3) .tm-avatar { background: linear-gradient(135deg, #C8E9D4, #1A8F5A); }
.tm-name { font-weight: 700; font-size: 14.5px; }
.tm-role { font-size: 13px; color: var(--ac-mute); }

@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* =========================================================
   Comparativa
   ========================================================= */
.compare {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card-lg);
  overflow: hidden;
}
/* Real <table> for semantics + a11y. table-layout:fixed lets <colgroup>
   widths win; first column wider for row labels mirrors the old grid. */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-table .compare-col-label { width: 34%; }
.compare-table th,
.compare-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--ac-line);
  font-size: 14.5px;
  text-align: left;
  vertical-align: middle;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table th[scope="col"] {
  background: var(--ac-oat);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.compare-table th[scope="col"].us {
  background: var(--ac-primary);
  color: #fff;
}
.compare-table th[scope="col"].us::before {
  content: "★ ";
  color: #FFD86B;
  font-size: 14px;
}
.compare-table th[scope="row"] {
  font-weight: 600;
  color: var(--ac-ink);
}
.compare-table td {
  color: var(--ac-mute);
}
.compare-table td.good { color: #1A8F5A; font-weight: 600; }
.compare-table td.bad  { color: #B85549; }
.compare-table td.us-cell {
  background: var(--ac-primary-tint);
  color: var(--ac-primary-dark);
  font-weight: 600;
}
.compare-table td svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px;
}

@media (max-width: 820px) {
  .compare { overflow-x: auto; }
  .compare-table { min-width: 720px; }
}

/* Visually hidden, accessible to screen readers — used by the
   comparativa <caption> and any future "skip to content" links. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Pricing page
   ========================================================= */
.pricing-hero { padding: clamp(60px, 9vw, 110px) 0 40px; }

.pricing-toggle {
  display: inline-flex;
  margin: 40px auto 0;
  padding: 4px;
  background: var(--ac-card);
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  align-self: center;
}
.pricing-toggle { display: flex; justify-content: center; }
.pt-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ac-mute);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, color .15s ease;
}
.pt-btn:hover { color: var(--ac-ink); }
.pt-btn.is-active {
  background: var(--ac-ink);
  color: #fff;
}
.pt-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ac-primary-soft);
  color: var(--ac-primary-dark);
  font-size: 11px;
  font-weight: 700;
}
.pt-btn.is-active .pt-badge {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.plan {
  position: relative;
  background: var(--ac-card);
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.plan-featured {
  border-color: var(--ac-primary);
  box-shadow: 0 0 0 1px var(--ac-primary), var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ac-primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-head { margin-bottom: 20px; }
.plan-tier {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ac-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan-pitch {
  margin: 8px 0 0;
  color: var(--ac-mute);
  font-size: 15px;
  line-height: 1.5;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
  font-family: var(--f-serif);
  color: var(--ac-ink);
}
.plan-currency { font-size: 28px; line-height: 1; }
.plan-amount { font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.plan-amount .placeholder { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 36px; vertical-align: middle; }
.plan-unit { font-family: var(--f-sans); font-size: 16px; color: var(--ac-mute); margin-left: 2px; }
.plan-tax {
  font-size: 13px;
  color: var(--ac-mute);
  margin: 0 0 24px;
}
.btn-block { width: 100%; justify-content: center; }
.plan-features {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--ac-line);
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ac-ink-soft);
  line-height: 1.5;
}
.plan-features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ac-primary);
  margin-top: 3px;
}
.pricing-note {
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--ac-mute);
  max-width: 720px;
}
.pricing-compare-section { padding: clamp(60px, 9vw, 100px) 0; }
.pricing-faq-section { padding: clamp(60px, 9vw, 100px) 0; }

/* =========================================================
   Templates page — filters + grid + empty state + extra CTA
   ========================================================= */
.templates-hero { padding: clamp(60px, 9vw, 110px) 0 30px; }
.templates-grid-section { padding: 0 0 clamp(60px, 9vw, 100px); }

.tpl-filters {
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
}
.tpl-filter {
  appearance: none;
  border: 1px solid var(--ac-line);
  background: var(--ac-card);
  color: var(--ac-ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.tpl-filter:hover {
  border-color: var(--ac-ink);
  color: var(--ac-ink);
}
.tpl-filter.is-active {
  background: var(--ac-ink);
  color: #fff;
  border-color: var(--ac-ink);
}
.tpl-grid-empty {
  text-align: center;
  color: var(--ac-mute);
  margin: 40px auto;
  font-size: 15px;
}
.tpl-grid-empty a { color: var(--ac-primary); font-weight: 600; }
.tpl-card[hidden] { display: none !important; }

.tpl-cta {
  margin-top: 64px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.tpl-cta h2 { margin-bottom: 12px; }
.tpl-cta .btn-row { justify-content: center; margin-top: 24px; }

/* =========================================================
   About page
   ========================================================= */
.about-hero { padding: clamp(60px, 9vw, 110px) 0 60px; }

.about-manifesto { padding: clamp(60px, 8vw, 100px) 0; }
.manifesto {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-line {
  font-family: var(--f-serif);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  color: var(--ac-ink);
  letter-spacing: -0.01em;
  margin: 0;
}
.manifesto-line strong {
  color: var(--ac-primary);
  font-weight: inherit;
}
.manifesto-foot {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ac-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-story { padding: clamp(60px, 9vw, 100px) 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
}
.story-text h2 { margin: 14px 0 24px; }
.story-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ac-ink-soft);
  margin: 0 0 16px;
}
.story-image {
  margin: 28px 0 0;
  border-radius: var(--r-card-lg);
  border: 1px solid var(--ac-line);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.story-image img {
  width: 100%;
  height: auto;
}
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: var(--ac-card);
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-n {
  font-family: var(--f-serif);
  font-size: 36px;
  line-height: 1;
  color: var(--ac-ink);
  letter-spacing: -0.02em;
}
.stat-l {
  font-size: 13px;
  color: var(--ac-mute);
  line-height: 1.4;
}

.about-values { padding: clamp(60px, 9vw, 100px) 0; }
.values-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--ac-card);
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  padding: 24px;
}
.value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
  border-radius: 10px;
  margin-bottom: 14px;
}
.value-icon svg { width: 20px; height: 20px; }
.value h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ac-ink);
  letter-spacing: -0.01em;
}
.value p {
  font-size: 14.5px;
  color: var(--ac-mute);
  line-height: 1.55;
  margin: 0;
}

.about-team { padding: clamp(60px, 9vw, 100px) 0; }
.team-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.member { display: flex; flex-direction: column; gap: 6px; }
.member-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-card);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ac-line);
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-name {
  font-weight: 600;
  color: var(--ac-ink);
  font-size: 17px;
}
.member-role {
  font-size: 13px;
  color: var(--ac-mute);
  letter-spacing: 0.02em;
}
.member-bio {
  font-size: 14px;
  color: var(--ac-ink-soft);
  line-height: 1.55;
  margin: 8px 0 0;
}

.about-locations { padding: clamp(60px, 9vw, 100px) 0; }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 700px) { .locations-grid { grid-template-columns: 1fr; } }
.location {
  background: var(--ac-oat);
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card-lg);
  padding: 32px 28px;
}
.loc-flag { font-size: 28px; }
.location h3 {
  margin: 8px 0 6px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.location p { color: var(--ac-ink-soft); font-size: 15px; margin: 0 0 8px; }
.loc-address { font-size: 14px; }

/* =========================================================
   Blog page
   ========================================================= */
.blog-hero { padding: clamp(60px, 9vw, 110px) 0 30px; }
.blog-index { padding: 30px 0 clamp(72px, 9vw, 110px); }
.blog-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--ac-line-strong);
  box-shadow: var(--shadow-md);
}
.blog-card-featured { grid-row: span 2; }
.blog-thumb {
  aspect-ratio: 16 / 10;
  background: var(--ac-primary-tint);
  border-bottom: 1px solid var(--ac-line);
  overflow: hidden;
}
.blog-card-featured .blog-thumb { aspect-ratio: 16 / 13; }
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ac-primary);
}
.blog-card h2 {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
}
.blog-card:not(.blog-card-featured) h2 { font-size: 20px; }
.blog-card p {
  color: var(--ac-mute);
  font-size: 15px;
  line-height: 1.55;
}
.blog-read {
  margin-top: auto;
  color: var(--ac-primary);
  font-size: 14px;
  font-weight: 700;
}
.blog-read::after { content: " →"; }
.blog-articles { padding: clamp(60px, 9vw, 100px) 0; }
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 0;
  border-bottom: 1px solid var(--ac-line);
}
.blog-article:first-child { padding-top: 0; }
.blog-article:last-child { border-bottom: 0; padding-bottom: 0; }
.blog-article h2 {
  margin: 12px 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}
.blog-article p {
  color: var(--ac-ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-row: auto; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-hero { padding: clamp(60px, 9vw, 110px) 0 40px; }
.contact-section { padding: 0 0 clamp(80px, 10vw, 140px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form {
  background: var(--ac-card);
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-xs);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ac-ink);
}
.form-req { color: var(--ac-coral-dark); margin-left: 2px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  appearance: none;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--ac-line-strong);
  border-radius: var(--r-btn);
  background: #fff;
  color: var(--ac-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ac-primary);
  box-shadow: 0 0 0 3px var(--ac-primary-soft);
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: var(--ac-coral-dark);
  box-shadow: 0 0 0 3px var(--ac-coral-soft);
}
.form-error {
  font-size: 13px;
  color: var(--ac-coral-dark);
  font-weight: 500;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--ac-ink-soft);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.form-check a {
  color: var(--ac-primary);
  font-weight: 600;
}

.form-success,
.form-fail {
  padding: 14px 16px;
  border-radius: var(--r-btn);
  font-size: 14px;
  line-height: 1.5;
}
.form-success {
  background: #E6F2EC;
  border: 1px solid #9DD9B5;
  color: #135E36;
}
.form-fail {
  background: var(--ac-coral-soft);
  border: 1px solid #F2B7A6;
  color: #8B3A21;
}

.form-note {
  font-size: 13px;
  margin: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ci-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ci-faq { display: block; padding-top: 16px; border-top: 1px solid var(--ac-line); }
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-block h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ac-ink);
}
.ci-block p { font-size: 14px; line-height: 1.5; margin: 0 0 6px; }
.ci-block .muted { color: var(--ac-mute); }
.ci-link {
  font-weight: 600;
  color: var(--ac-primary);
  font-size: 15px;
}
.ci-address {
  font-style: normal;
  color: var(--ac-ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.ci-faq ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.ci-faq li { padding: 4px 0; }
.ci-faq a {
  color: var(--ac-primary);
  font-weight: 500;
  font-size: 14.5px;
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq {
  margin-top: 48px;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ac-line);
}
.faq-item {
  border-bottom: 1px solid var(--ac-line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  color: var(--ac-ink);
}
.faq-q::after {
  content: "+";
  font-weight: 400;
  font-size: 26px;
  color: var(--ac-primary);
  line-height: 1;
  transition: transform .25s ease;
}
.faq-item.is-open .faq-q::after { content: "−"; transform: rotate(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--ac-mute);
  font-size: 15.5px;
  line-height: 1.6;
  padding: 0 4px;
}
.faq-item.is-open .faq-a { padding-bottom: 22px; }

/* =========================================================
   Newsletter section
   ========================================================= */
.newsletter {
  background: var(--ac-primary-tint);
  border-top: 1px solid var(--ac-line);
  border-bottom: 1px solid var(--ac-line);
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 { letter-spacing: -0.03em; }
.newsletter p { color: var(--ac-mute); margin-top: 12px; font-size: 17px; }
.newsletter-form {
  margin-top: 28px;
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
}
.newsletter-form input {
  flex: 1;
  height: 52px;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-btn);
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ac-ink);
}
.newsletter-form input:focus {
  outline: 2px solid var(--ac-primary);
  outline-offset: -1px;
  border-color: var(--ac-primary);
}
.newsletter-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ac-mute);
}
.newsletter-form.is-success { display: none; }
.newsletter-success {
  display: none;
  margin-top: 24px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  color: var(--ac-ink);
  font-weight: 600;
}
.newsletter-success.is-visible { display: block; }

/* Newsletter forms stack vertically on phones so the email field and the
   submit button no longer overflow horizontally (input + button side by
   side don't fit narrow viewports and pushed the layout wider than the
   screen). Affects the hero/section form and the footer form. */
@media (max-width: 600px) {
  .newsletter-form,
  .footer-news .row {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-form input,
  .footer-news .row input {
    width: 100%;
    flex: none;
  }
  .newsletter-form .btn,
  .footer-news .row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   CTA final
   ========================================================= */
.cta-final {
  background:
    radial-gradient(120% 100% at 90% 100%, var(--ac-coral-soft) 0%, transparent 60%),
    var(--ac-oat);
}
.cta-card {
  background: var(--ac-coral-tint);
  border: 1px solid #FFD9C8;
  border-radius: var(--r-card-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 { letter-spacing: -0.03em; max-width: 720px; margin: 0 auto; }
.cta-card p { color: var(--ac-mute); margin: 14px auto 24px; max-width: 540px; }
.cta-card .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-deco {
  position: absolute;
  pointer-events: none;
}
.cta-deco.left { left: -40px; top: -40px; width: 200px; height: 200px; background: radial-gradient(closest-side, rgba(255,122,89,.22), transparent 70%); }
.cta-deco.right { right: -50px; bottom: -50px; width: 240px; height: 240px; background: radial-gradient(closest-side, rgba(45,91,255,.16), transparent 70%); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ac-ink);
  color: #C7C5BD;
  padding: 72px 0 28px;
}
.footer h4 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: #C7C5BD;
  transition: color .2s ease;
}
.footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: #fff; color: var(--ac-ink); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 280px; line-height: 1.5; }

.footer-news input {
  width: 100%;
  height: 44px;
  border-radius: var(--r-btn);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
}
.footer-news input::placeholder { color: rgba(255,255,255,.4); }
.footer-news input:focus { outline: 2px solid var(--ac-primary); outline-offset: -1px; }
.footer-news .row { display: flex; gap: 8px; margin-top: 12px; }
.footer-news .btn-primary { height: 44px; padding: 0 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}
.footer-bottom .copy { font-size: 13px; color: #8B897F; }
.footer-bottom .socials {
  display: flex; gap: 6px;
  margin-left: auto;
}
.footer-bottom .socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  padding: 0;
  color: #C7C5BD;
}
.footer-bottom .socials a:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer-bottom .socials svg { width: 16px; height: 16px; }
.footer-bottom .lang-switch {
  background: rgba(255,255,255,.04);
  color: #C7C5BD;
  border-color: rgba(255,255,255,.10);
}
.footer-bottom .lang-menu {
  top: auto;
  bottom: calc(100% + 8px);
  background: #242424;
  border-color: rgba(255,255,255,.10);
}
.footer-bottom .lang-menu button {
  color: #C7C5BD;
}
.footer-bottom .lang-menu button:hover,
.footer-bottom .lang-menu button[aria-selected="true"] {
  background: rgba(255,255,255,.08);
  color: #fff;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 2; }
}

/* =========================================================
   Live chat floating button
   ========================================================= */
.chat-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 40;
  background: #25D366; /* WhatsApp green */
  color: #fff;
  border: 0;
  border-radius: 999px;
  height: 56px;
  padding: 0 22px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 36px -12px rgba(37,211,102,.55), 0 4px 12px rgba(20,22,30,.10);
  transition: transform .2s ease;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab .chat-fab-text { display: inline; }
@media (max-width: 560px) {
  .chat-fab { padding: 0; width: 56px; justify-content: center; }
  .chat-fab .chat-fab-text { display: none; }
}

/* =========================================================
   Fade-in on scroll
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Stub page hero
   ========================================================= */
.stub {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
}
.stub h1 { max-width: 760px; margin: 18px auto 0; }
.stub p { color: var(--ac-mute); max-width: 540px; margin: 18px auto 0; font-size: 18px; }
.stub .links { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stub-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* =========================================================
   Cookie consent modal (RGPD)
   AEPD-compliant: Reject as easy as Accept, no pre-checked
   non-essential categories, separate granular control.
   ========================================================= */
.cc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 30, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cc-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cc-modal {
  background: var(--ac-card);
  border-radius: var(--r-card);
  max-width: 520px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform .25s ease;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.cc-backdrop.is-open .cc-modal { transform: translateY(0); }

.cc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ac-ink);
}
.cc-title .cc-emoji {
  font-family: var(--f-sans);
  font-size: 24px;
}

.cc-body {
  color: var(--ac-mute);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.cc-body a {
  color: var(--ac-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cc-actions .cc-btn-config {
  grid-column: 1 / -1;
}
.cc-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cc-btn-accept {
  background: var(--ac-ink);
  color: #fff;
}
.cc-btn-accept:hover { background: #000; }
.cc-btn-reject {
  background: #fff;
  color: var(--ac-ink);
  border-color: var(--ac-line-strong);
}
.cc-btn-reject:hover { background: var(--ac-oat); }
.cc-btn-config {
  background: transparent;
  color: var(--ac-mute);
  border-color: transparent;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cc-btn-config:hover { color: var(--ac-ink); }

/* Granular settings (expanded view) */
.cc-categories { display: none; margin: 0 0 20px; }
.cc-modal.is-config .cc-categories { display: block; }
.cc-modal.is-config .cc-btn-config { display: none; }

.cc-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--ac-line);
}
.cc-cat:last-child { border-bottom: 1px solid var(--ac-line); }
.cc-cat-info { flex: 1; }
.cc-cat-name {
  display: block;
  font-weight: 600;
  color: var(--ac-ink);
  font-size: 14px;
  margin-bottom: 4px;
}
.cc-cat-desc {
  display: block;
  font-size: 13px;
  color: var(--ac-mute);
  line-height: 1.5;
}

/* Switch */
.cc-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cc-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch-track {
  position: absolute;
  inset: 0;
  background: var(--ac-line-strong);
  border-radius: 999px;
  transition: background .15s ease;
}
.cc-switch input:checked ~ .cc-switch-track { background: var(--ac-primary); }
.cc-switch input:disabled ~ .cc-switch-track { background: var(--ac-primary); opacity: .5; }
.cc-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .15s ease;
}
.cc-switch input:checked ~ .cc-switch-thumb { transform: translateX(18px); }

/* "Manage cookies" footer link */
.cc-reopen {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.cc-reopen:hover { color: var(--ac-ink); }

@media (max-width: 480px) {
  .cc-actions { grid-template-columns: 1fr; }
  .cc-modal { padding: 22px; }
  .cc-title { font-size: 24px; }
}

/* =========================================================
   Legal pages — readable long-form text
   ========================================================= */
.legal {
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 160px);
  background: #fff;
  border-top: 1px solid var(--ac-line);
}
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--ac-ink);
}
.legal .legal-updated {
  display: inline-block;
  color: var(--ac-mute);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 40px 0 12px;
  color: var(--ac-ink);
  letter-spacing: -0.01em;
}
.legal h3 {
  font-size: 17px;
  margin: 28px 0 10px;
  color: var(--ac-ink);
  font-weight: 600;
}
.legal p, .legal li {
  color: var(--ac-ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal ul, .legal ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal li { margin-bottom: 8px; }
.legal a {
  color: var(--ac-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal strong { color: var(--ac-ink); }
.legal code {
  background: var(--ac-primary-tint);
  color: var(--ac-primary-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.legal .placeholder {
  background: #FFF6D6;
  color: #6B5300;
  border: 1px dashed #D4A800;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.legal .legal-toc {
  background: var(--ac-oat);
  border: 1px solid var(--ac-line);
  border-radius: var(--r-card);
  padding: 20px 24px;
  margin: 32px 0;
}
.legal .legal-toc h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ac-mute); }
.legal .legal-toc ol { margin: 0; padding-left: 20px; }
.legal .legal-toc li { margin-bottom: 4px; font-size: 15px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.legal table th,
.legal table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ac-line);
  vertical-align: top;
}
.legal table th {
  background: var(--ac-oat);
  font-weight: 600;
  color: var(--ac-ink);
}
