/*
Theme Name: Empleadazo
Theme URI: https://empleadazo.com/
Author: Manuel Jesús Moreno Arévalo
Author URI: https://empleadazo.com/
Description: Tema propio y ligero de la web comercial de Empleadazo (control horario y registro de jornada). Sin page builders, sin dependencias externas, fuentes autoalojadas.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: Propietaria
Text Domain: empleadazo
*/

/* ==========================================================================
   1. Fuentes (SIL OFL 1.1, autoalojadas; ver assets/fonts/LICENCIAS.txt)
   ========================================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/fraunces-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: 100 900; font-display: swap;
  src: url("assets/fonts/fraunces-latinext-wght.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: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latinext-wght.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; }

/* ==========================================================================
   2. Tokens (los mismos de la app: site/css/tokens.css)
   ========================================================================== */
:root {
  color-scheme: light;
  --paper: #f4efe4; --surface: #fbf8f0; --surface-2: #ece5d5; --raised: #fffdf7;
  --line: #ddd3bf; --line-strong: #bfb39a;
  --ink: #1c1a15; --ink-2: #4b463a; --ink-3: #6b6454; --ink-inv: #fbf8f0;
  --accent: #b53a08; --accent-ink: #ffffff; --accent-soft: #f8e2d4; --accent-strong: #9a3412;
  --orange: #f2763d; --night: #1c1a15; --cream: #f4efe4;
  --ok: #22664a; --ok-soft: #d6ebdf; --warn: #855008; --warn-soft: #f4e3bf; --err: #b3261e; --err-soft: #f5d6d2;
  --focus: #1c1a15;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --r-sm: 5px; --r-md: 9px; --r-lg: 14px; --r-pill: 999px;
  --shadow-1: 0 1px 0 rgba(28,26,21,.06), 0 1px 2px rgba(28,26,21,.06);
  --shadow-2: 0 2px 0 rgba(28,26,21,.05), 0 8px 24px -8px rgba(28,26,21,.22);
  --shadow-3: 0 2px 0 rgba(28,26,21,.06), 0 24px 56px -12px rgba(28,26,21,.38);
  --wrap: 1160px; --gutter: 1rem;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 768px) { :root { --gutter: 1.5rem; } }
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #16140f; --surface: #1e1b14; --surface-2: #2a261c; --raised: #26221a;
    --line: #38332a; --line-strong: #544d3e;
    --ink: #f2ecdd; --ink-2: #cfc7b3; --ink-3: #a29a85; --ink-inv: #16140f;
    --accent: #f2763d; --accent-ink: #1a0d05; --accent-soft: #3d2415; --accent-strong: #ff9a6b;
    --ok: #62c79d; --ok-soft: #1c3a2e; --warn: #e5b04e; --warn-soft: #3b2e12; --err: #f28b82; --err-soft: #442422;
    --focus: #f2ecdd;
    --shadow-1: 0 1px 0 rgba(0,0,0,.4); --shadow-2: 0 10px 30px -8px rgba(0,0,0,.7); --shadow-3: 0 28px 60px -12px rgba(0,0,0,.85);
  }
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-ui); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); font-weight: 650; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
small, .small { font-size: .875rem; }
strong, b { font-weight: 650; }
code, kbd { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 650; }
blockquote { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem 1rem; color: var(--ink-2); }

.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--ink-inv); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: .5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.eyebrow { font: 650 .78rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .75rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }

/* ==========================================================================
   4. Botones
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r-md); border: 1.5px solid transparent; font: 650 1rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer; transition: transform .12s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-2); }
.btn--primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.08rem; }
.btn--sm { min-height: 40px; padding: .45rem .9rem; font-size: .93rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cta-note { font-size: .9rem; color: var(--ink-3); margin-top: .75rem; }
.cta-note span + span::before { content: "·"; margin: 0 .45rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ==========================================================================
   5. Cabecera
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font: 650 1.35rem/1 var(--font-display); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 8px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav li + li { margin: 0; }
.nav a { display: block; padding: .55rem .7rem; color: var(--ink-2); text-decoration: none; font-weight: 550; border-radius: var(--r-sm); }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a, .nav .current_page_parent > a { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .link-entrar { color: var(--ink); font-weight: 600; text-decoration: none; padding: .55rem .7rem; }
.header-actions .link-entrar:hover { text-decoration: underline; }
.nav-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; background: transparent; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); padding: .5rem var(--gutter) 1rem; margin: 0; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-actions .btn--primary { display: none; }
  .header-actions { margin-left: auto; }
  .js .nav-toggle { order: 3; margin-left: .25rem; }
  .no-js .site-header__in { flex-wrap: wrap; padding-bottom: .5rem; }
  .no-js .nav { width: 100%; margin: 0; }
  .no-js .nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav a { border: 0; padding: .4rem .5rem; font-size: .95rem; }
}
@media (max-width: 420px) { .header-actions .link-entrar { padding: .5rem .3rem; } .brand { font-size: 1.2rem; } }

/* Barra fija inferior (móvil): la llamada a la acción siempre a mano */
.sticky-cta { display: none; }
@media (max-width: 960px) {
  .sticky-cta { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .sticky-cta .btn { flex: 1; min-height: 50px; }
  body { padding-bottom: 76px; }
}

/* ==========================================================================
   6. Secciones
   ========================================================================== */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--night { background: var(--night); color: var(--cream); }
.section--night .lead, .section--night .muted { color: #cfc7b3; }
.section--night .eyebrow { color: var(--orange); }
.section--night a:not(.btn) { color: #ffb48e; }
.section__head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head.center { margin-left: auto; margin-right: auto; }

/* Héroe */
.hero { background: var(--night); color: var(--cream); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 8vw, 6rem); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 30rem at 85% 10%, rgba(242,118,61,.16), transparent 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { color: #fffaf0; }
.hero h1 em { font-style: italic; color: var(--orange); font-weight: 600; }
.hero .lead { color: #d9d1bf; max-width: 36rem; }
.hero .eyebrow { color: var(--orange); }
.hero .btn--primary { background: var(--orange); color: #1a0d05; }
.hero .btn--primary:hover { background: #ff9a6b; }
.hero .btn--ghost { color: var(--cream); border-color: #6b6454; }
.hero .btn--ghost:hover { background: #2a261c; }
.hero .cta-note { color: #b7ae99; }
@media (max-width: 560px) { .hero .cta-row .btn, .cta-band .cta-row .btn { width: 100%; } }
.hero__checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: #d9d1bf; font-size: .95rem; }
.hero__checks li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.hero__checks svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* Cabecera de página interior */
.page-hero { padding: clamp(2.2rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: .35em; }
.page-hero .lead { max-width: 46rem; margin: 0; }
.breadcrumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: .75rem; }
.breadcrumbs a { color: var(--ink-3); }

/* Rejillas */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-1); }
.section--surface .card { background: var(--raised); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.card__icon svg { width: 24px; height: 24px; }

/* Para quién */
.audience { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.audience li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .5rem 1rem; font-weight: 550; color: var(--ink-2); }

/* Pasos */
.steps { counter-reset: paso; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: paso; margin: 0; position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.steps li::before { content: counter(paso); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: var(--ink-inv); font: 650 1.15rem/1 var(--font-display); margin-bottom: 1rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* Lista con comprobaciones */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322664a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }

/* Ley en lenguaje llano */
.law { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .law { grid-template-columns: 1fr 1fr; align-items: start; } }
.law dl { margin: 0; display: grid; gap: .9rem; }
.law dt { font-weight: 650; }
.law dd { margin: .15rem 0 0; color: inherit; opacity: .9; }
.notice { background: var(--warn-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); border-radius: var(--r-md); padding: .85rem 1rem; font-size: .95rem; }
.notice--info { background: var(--surface-2); border-color: var(--line); }
.section--night .card { background: #241f17; border-color: #3a3428; color: var(--cream); box-shadow: none; }

/* ==========================================================================
   7. Maquetas de la app (HTML/CSS, sin imágenes pesadas)
   ========================================================================== */
.mock { position: relative; }
.mock__desk { background: #1e1b14; border: 1px solid #3a3428; border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); overflow: hidden; color: #f2ecdd; font-size: 13px; line-height: 1.35; }
.mock__bar { display: flex; gap: 6px; padding: 10px 12px; background: #16140f; border-bottom: 1px solid #2f2a20; align-items: center; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3428; display: block; }
.mock__bar span { margin-left: 10px; font-size: 11px; color: #a29a85; background: #26221a; padding: 3px 10px; border-radius: 6px; }
.mock__body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.mock__side { background: #16140f; padding: 12px 10px; border-right: 1px solid #2f2a20; }
.mock__side b { display: block; font: 600 15px/1 var(--font-display); margin-bottom: 14px; color: #fff; }
.mock__side span { display: block; padding: 6px 8px; border-radius: 6px; color: #cfc7b3; font-size: 12px; }
.mock__side span.on { background: #2a261c; color: #fff; box-shadow: inset 2px 0 0 var(--orange); }
.mock__main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.mock__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.mock__card { background: #26221a; border: 1px solid #38332a; border-radius: 10px; padding: 12px; }
.mock__k { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #a29a85; }
.mock__time { font: 650 34px/1 var(--font-display); margin: 6px 0 10px; color: #fff; }
.mock__time small { font-size: 14px; color: #a29a85; }
.mock__btn { display: inline-block; background: var(--orange); color: #1a0d05; font-weight: 700; padding: 8px 14px; border-radius: 8px; font-size: 13px; }
.mock__line { height: 16px; border-radius: 4px; background: linear-gradient(90deg, #2a261c 0 12%, #4a2c1a 12% 46%, #2a261c 46% 52%, #4a2c1a 52% 88%, #2a261c 88%); margin-top: 12px; position: relative; }
.mock__line::after { content: ""; position: absolute; left: 40%; top: -3px; bottom: -3px; width: 2px; background: var(--orange); }
.mock__bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 8px; }
.mock__bars i { flex: 1; background: #f2763d; border-radius: 3px 3px 0 0; opacity: .85; display: block; }
.mock__bars i.p { background: #3a3428; }
.mock__people { display: grid; gap: 6px; }
.mock__person { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mock__person em { font-style: normal; margin-left: auto; font-size: 10.5px; padding: 2px 7px; border-radius: 99px; background: #1c3a2e; color: #62c79d; }
.mock__person em.v { background: #1f2e48; color: #93b4e8; }
.mock__person em.a { background: #3b2e12; color: #e5b04e; }
.mock__av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #16140f; }
.mock__phone { position: absolute; right: -6px; bottom: -34px; width: 168px; background: #f4efe4; color: #1c1a15; border: 7px solid #0d0c09; border-radius: 26px; box-shadow: 0 24px 50px -10px rgba(0,0,0,.75); padding: 18px 12px 14px; text-align: center; font-size: 11px; }
.mock__phone .mock__k { color: #b53a08; }
.mock__phone .mock__time { color: #1c1a15; font-size: 32px; }
.mock__phone .mock__btn { background: #b53a08; color: #fff; display: block; padding: 10px 0; font-size: 13px; }
.mock__phone p { margin: 8px 0 0; color: #6b6454; font-size: 10px; }
@media (max-width: 560px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__row { grid-template-columns: 1fr; }
  .mock__phone { position: relative; right: auto; bottom: auto; margin: -40px auto 0; }
}
@media (min-width: 960px) { .mock { margin-right: 24px; } }

/* Kiosko (maqueta) */
.kiosk { background: #1e1b14; color: #f2ecdd; border-radius: 18px; border: 10px solid #0d0c09; padding: 18px; max-width: 360px; margin: 0 auto; box-shadow: var(--shadow-3); text-align: center; }
.kiosk__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.kiosk__pad span { background: #2a261c; border-radius: 10px; padding: 12px 0; font: 600 18px/1 var(--font-ui); }
.kiosk__dots { display: flex; justify-content: center; gap: 10px; margin: 10px 0; }
.kiosk__dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #a29a85; display: block; }
.kiosk__dots i.f { background: var(--orange); border-color: var(--orange); }
.kiosk__ways { display: flex; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: #cfc7b3; flex-wrap: wrap; }
.kiosk__ways span { border: 1px solid #544d3e; border-radius: 99px; padding: 3px 10px; }

/* ==========================================================================
   8. Precios
   ========================================================================== */
.precios__switch { display: inline-flex; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); margin: 0 auto 2rem; position: relative; }
.precios__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.precios__switch label { padding: .6rem 1.15rem; border-radius: var(--r-pill); font-weight: 650; cursor: pointer; color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }
.precios__switch input:checked + label { background: var(--ink); color: var(--ink-inv); box-shadow: var(--shadow-1); }
.precios__switch input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.precios__switch .ahorro { font-size: .78rem; background: var(--ok-soft); color: var(--ok); padding: .1rem .45rem; border-radius: var(--r-pill); }
.precios__switch input:checked + label .ahorro { background: var(--ok); color: #fff; }
.precios__top { text-align: center; }
.precios__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.25rem; position: relative; box-shadow: var(--shadow-1); }
.plan--dest { border: 2px solid var(--accent); box-shadow: var(--shadow-2); }
.plan__badge { position: absolute; top: -.8rem; left: 1.25rem; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: var(--r-pill); }
.plan__name { font: 650 1.3rem/1.2 var(--font-display); margin: 0 0 .15rem; }
.plan__users { color: var(--ink-3); margin: 0 0 1rem; font-size: .95rem; }
.plan__price { font: 650 2.4rem/1 var(--font-display); margin: 0; letter-spacing: -.02em; }
.plan__price small { font: 500 .95rem/1 var(--font-ui); color: var(--ink-3); letter-spacing: 0; }
.plan__unit { margin: .4rem 0 0; font-size: .92rem; color: var(--ink-2); }
.plan__save { margin: .35rem 0 0; font-size: .85rem; color: var(--ok); font-weight: 600; min-height: 1.3em; }
.plan .btn { margin-top: 1.25rem; }
.plan__consult { font: 650 1.6rem/1.15 var(--font-display); margin: 0; }
.precios .p-anual { display: none; }
.precios:has(.ciclo-anual:checked) .p-anual { display: block; }
.precios:has(.ciclo-anual:checked) .p-mensual { display: none; }
@media (max-width: 640px) {
  .precios__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .plan { padding: 1rem .85rem; }
  .plan__name { font-size: 1.1rem; }
  .plan__users { font-size: .85rem; margin-bottom: .6rem; }
  .plan__price { font-size: 1.75rem; }
  .plan__price small { font-size: .8rem; }
  .plan__unit, .plan__save { font-size: .8rem; }
  .plan__consult { font-size: 1.2rem; }
  .plan .btn { min-height: 44px; font-size: .9rem; padding: .5rem; margin-top: .9rem; }
  .plan__badge { left: .85rem; }
}
@media (max-width: 340px) { .precios__grid { grid-template-columns: 1fr; } }
.plan .btn { margin-top: auto; }
.plan .p-mensual, .plan .p-anual { margin-bottom: 1.25rem; }
.precios__meta { text-align: center; color: var(--ink-3); font-size: .92rem; margin-top: 1.5rem; }
.precios__provisional { max-width: 760px; margin: 0 auto 1.5rem; text-align: center; }
.precios__incluye { margin-top: 2.5rem; }
.precios__incluye ul { columns: 2 16rem; column-gap: 2rem; }
.precios__incluye li { break-inside: avoid; }

/* ==========================================================================
   9. Preguntas frecuentes
   ========================================================================== */
.faq { display: grid; gap: .6rem; max-width: 820px; }
.faq.center { margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.15rem; font-weight: 650; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.15rem; top: 50%; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 1.15rem 1.1rem; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 2.5rem; }

/* ==========================================================================
   10. Contenido de páginas y blog
   ========================================================================== */
.content { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--r-md); }
.prose .wp-block-table, .prose .table-wrap { overflow-x: auto; }
.legal .prose { font-size: 1rem; }
.legal .prose h2 { font-size: 1.35rem; }
.legal-meta { font-size: .9rem; color: var(--ink-3); }

.feature-block { display: grid; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 0; }
@media (min-width: 900px) { .feature-block { grid-template-columns: 300px 1fr; gap: 3rem; } }
.feature-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0; }
.feature-block .card__icon { margin-bottom: .8rem; }
.feature-block ul { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); text-decoration: none; color: var(--ink-2); font-size: .92rem; background: var(--surface); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }

.posts { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.post-card .more { margin-top: auto; font-weight: 600; }
.post-meta { font-size: .88rem; color: var(--ink-3); margin-bottom: .6rem; }
.pagination { display: flex; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .5rem .85rem; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--ink-inv); }

/* Banda de llamada a la acción */
.cta-band { background: var(--night); color: var(--cream); border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 3rem); display: grid; gap: 1.25rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fffaf0; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #d9d1bf; }
.cta-band .btn--primary { background: var(--orange); color: #1a0d05; }
.cta-band .btn--primary:hover { background: #ff9a6b; }
.cta-band .btn--ghost { color: var(--cream); border-color: #6b6454; }
.cta-band .btn--ghost:hover { background: #2a261c; }
.cta-band a:not(.btn) { color: #ffb48e; }

/* ==========================================================================
   11. Formularios
   ========================================================================== */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form .row2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--raised); border: 1.5px solid #8a7f6b; border-radius: var(--r-sm); padding: .7rem .8rem; min-height: 48px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.field .hint { font-size: .85rem; color: var(--ink-3); margin-top: .3rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; }
.alert { border-radius: var(--r-md); padding: .9rem 1rem; font-weight: 550; }
.alert--ok { background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.alert--err { background: var(--err-soft); color: var(--err); border: 1px solid color-mix(in srgb, var(--err) 40%, transparent); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }

/* ==========================================================================
   12. Pie
   ========================================================================== */
.site-footer { background: var(--night); color: #cfc7b3; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #f4efe4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 650 .8rem/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: #a29a85; margin: 0 0 .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .55rem; }
.site-footer .brand { color: #fffaf0; }
.footer-bottom { border-top: 1px solid #38332a; margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #a29a85; }

/* Bloques nativos mínimos (si se usa el editor) */
.alignwide { max-width: var(--wrap); }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-block-image figcaption, figcaption { font-size: .88rem; color: var(--ink-3); margin-top: .4rem; }

@media print {
  .site-header, .site-footer, .sticky-cta, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
