/*
Theme Name: Axoliva
Theme URI: https://axoliva.studio
Author: Axoliva
Author URI: https://axoliva.studio
Description: Sitio de una página, premium y moderno, para un estudio que crea una familia de plugins de WordPress para negocios (reservas, menú de restaurante, formularios, inmobiliaria, tienda y academias). Contenido 100% editable, hero animado, modo claro/oscuro y totalmente responsive.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axoliva
Tags: one-page, portfolio, custom-logo, custom-menu, translation-ready, blog, light-style, dark-style, threaded-comments
*/

  /* ============================================================
     AXOLIVA — tokens
     Palette drawn from the axolotl: deep-water grounds, gill-coral
     accent, a quiet aqua for light and hairlines.
     ============================================================ */
  :root {
    --paper: #edf2f0;
    --surface: #f8fbfa;
    --surface-2: #e6ecea;
    --ink: #0d1b1e;
    --ink-soft: #495a5c;
    --ink-faint: #7b8d8d;
    --line: rgba(13, 27, 30, 0.12);
    --line-strong: rgba(13, 27, 30, 0.24);
    --coral: #e23a6b;
    --coral-bright: #ff5c8a;
    --coral-wash: rgba(226, 58, 107, 0.10);
    --aqua: #0f9c86;
    --aqua-wash: rgba(15, 156, 134, 0.12);
    --on-coral: #fff6f9;
    --shadow-lg: 0 28px 60px -30px rgba(13, 27, 30, 0.32);
    --shadow-sm: 0 10px 30px -18px rgba(13, 27, 30, 0.30);

    --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
    --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --step--1: clamp(0.80rem, 0.77rem + 0.14vw, 0.88rem);
    --step-0: clamp(1rem, 0.96rem + 0.19vw, 1.12rem);
    --step-1: clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
    --step-2: clamp(1.50rem, 1.35rem + 0.75vw, 2.05rem);
    --step-3: clamp(1.95rem, 1.68rem + 1.35vw, 3.05rem);
    --step-4: clamp(2.55rem, 2.05rem + 2.50vw, 4.60rem);

    --wrap: 1180px;
    --gutter: clamp(1.15rem, 0.6rem + 2.8vw, 2.75rem);
    --section-y: clamp(4.75rem, 3.5rem + 6vw, 9rem);
    --radius: 14px;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --paper: #081413;
      --surface: #0e1b1a;
      --surface-2: #14241f;
      --ink: #e9f2ef;
      --ink-soft: #a3b5b1;
      --ink-faint: #6f8481;
      --line: rgba(233, 242, 239, 0.13);
      --line-strong: rgba(233, 242, 239, 0.26);
      --coral: #ff6f9b;
      --coral-bright: #ff8fb2;
      --coral-wash: rgba(255, 111, 155, 0.14);
      --aqua: #3ad0b4;
      --aqua-wash: rgba(58, 208, 180, 0.13);
      --on-coral: #0a1412;
      --shadow-lg: 0 34px 80px -34px rgba(0, 0, 0, 0.72);
      --shadow-sm: 0 12px 34px -20px rgba(0, 0, 0, 0.6);
    }
  }

  :root[data-theme="dark"] {
    --paper: #081413;
    --surface: #0e1b1a;
    --surface-2: #14241f;
    --ink: #e9f2ef;
    --ink-soft: #a3b5b1;
    --ink-faint: #6f8481;
    --line: rgba(233, 242, 239, 0.13);
    --line-strong: rgba(233, 242, 239, 0.26);
    --coral: #ff6f9b;
    --coral-bright: #ff8fb2;
    --coral-wash: rgba(255, 111, 155, 0.14);
    --aqua: #3ad0b4;
    --aqua-wash: rgba(58, 208, 180, 0.13);
    --on-coral: #0a1412;
    --shadow-lg: 0 34px 80px -34px rgba(0, 0, 0, 0.72);
    --shadow-sm: 0 12px 34px -20px rgba(0, 0, 0, 0.6);
  }

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

  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* fine water grain */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) body::before { opacity: 0.06; mix-blend-mode: soft-light; }
  }
  :root[data-theme="dark"] body::before { opacity: 0.06; mix-blend-mode: soft-light; }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-optical-sizing: auto;
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: balance;
    margin: 0;
  }

  p { margin: 0; }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; }

  ::selection { background: var(--coral); color: var(--on-coral); }

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

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

  .eyebrow {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--coral);
    text-transform: lowercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5ch;
  }

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

  .lede {
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 34ch;
  }

  /* ---- reveal ---- */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition:
      opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
      filter 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .reveal.in { opacity: 1; transform: none; filter: none; }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  }

  /* ============================================================ buttons */
  .btn {
    --bg: var(--coral);
    --fg: var(--on-coral);
    display: inline-flex;
    align-items: center;
    gap: 0.6ch;
    padding: 0.9em 1.5em;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--step--1);
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, background 0.25s, color 0.25s;
    will-change: transform;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px var(--coral); }
  .btn:active { transform: translateY(0); }

  .btn--ghost {
    --bg: transparent;
    --fg: var(--ink);
    border-color: var(--line-strong);
  }
  .btn--ghost:hover { border-color: var(--coral); color: var(--coral); box-shadow: none; }

  .btn--block { width: 100%; justify-content: center; }

  .arrow { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }

  .link {
    display: inline-flex;
    align-items: center;
    gap: 0.5ch;
    font-weight: 600;
    font-size: var(--step--1);
    color: var(--coral);
    text-decoration: none;
  }
  .link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .link { position: relative; }
  .link:hover::after { transform: scaleX(1); transform-origin: left; }

  /* ============================================================ header */
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
  }
  .site-header.scrolled {
    background: color-mix(in srgb, var(--paper) 78%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom-color: var(--line);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 72px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6ch;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--ink);
  }
  .brand svg { width: 26px; height: 26px; color: var(--coral); flex: none; }

  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.2rem);
  }
  .nav > .btn { display: none; }
  .nav a {
    font-size: var(--step--1);
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
  }
  .nav a:hover { color: var(--ink); }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 1px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }

  .header-actions { display: flex; align-items: center; gap: 0.75rem; }

  .icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
  }
  .icon-btn:hover { border-color: var(--coral); color: var(--coral); }
  .icon-btn svg { width: 18px; height: 18px; }
  .theme-toggle .moon { display: none; }
  :root[data-theme="dark"] .theme-toggle .sun { display: none; }
  :root[data-theme="dark"] .theme-toggle .moon { display: block; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
    :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
  }

  .nav-toggle { display: none; }

  @media (max-width: 900px) {
    .header-actions .btn { display: none; }
    .nav-toggle { display: inline-grid; }
    .nav {
      position: fixed;
      inset: 72px 0 0 0;
      flex-direction: column;
      justify-content: center;
      gap: 1.75rem;
      background: var(--paper);
      transform: translateY(-8px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s, transform 0.35s;
    }
    .nav a { font-size: var(--step-2); font-family: var(--font-display); color: var(--ink); }
    .nav a::after { display: none; }
    body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
    body.nav-open { overflow: hidden; }
    .nav .btn { display: inline-flex; }
  }

  /* ============================================================ hero */
  .hero {
    position: relative;
    padding-top: clamp(7rem, 6rem + 8vw, 11rem);
    padding-bottom: var(--section-y);
    overflow: hidden;
    isolation: isolate;
  }
  #ambient {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%; height: 100%;
  }
  .hero::before, .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
  }
  .hero::before {
    width: 46vw; height: 46vw;
    max-width: 620px; max-height: 620px;
    top: -12vw; right: -8vw;
    background: radial-gradient(circle at 40% 40%, var(--coral), transparent 70%);
    animation: drift1 24s ease-in-out infinite alternate;
  }
  .hero::after {
    width: 40vw; height: 40vw;
    max-width: 520px; max-height: 520px;
    bottom: -14vw; left: -10vw;
    background: radial-gradient(circle at 50% 50%, var(--aqua), transparent 70%);
    opacity: 0.4;
    animation: drift2 30s ease-in-out infinite alternate;
  }
  @keyframes drift1 { to { transform: translate3d(-40px, 40px, 0) scale(1.12); } }
  @keyframes drift2 { to { transform: translate3d(50px, -30px, 0) scale(1.15); } }
  @media (prefers-reduced-motion: reduce) {
    .hero::before, .hero::after { animation: none; }
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero h1 {
    font-size: var(--step-4);
    font-weight: 400;
    margin-bottom: 1.4rem;
  }
  .hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--coral);
  }
  .hero-sub {
    font-size: var(--step-1);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 2rem;
  }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.25rem; }
  .hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.4rem;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--ink-faint);
  }
  .hero-trust span { display: inline-flex; align-items: center; gap: 0.6ch; }
  .hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }

  .hero-art {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 61% 39% 54% 46% / 57% 48% 52% 43%;
    background:
      radial-gradient(circle at 68% 28%, var(--coral-wash), transparent 60%),
      linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    animation: morph 18s ease-in-out infinite;
  }
  @keyframes morph {
    0%, 100% { border-radius: 61% 39% 54% 46% / 57% 48% 52% 43%; }
    50% { border-radius: 44% 56% 43% 57% / 49% 45% 55% 51%; }
  }
  @media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }
  .hero-art svg { width: 82%; height: auto; overflow: visible; }

  /* axolotl line drawing */
  .axo { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
  .axo .accent { stroke: var(--coral); }
  .axo .fill-eye { fill: var(--ink); stroke: none; }
  .axo [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.7s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
  .axo [data-draw]:nth-child(1) { animation-delay: 0.15s; }
  .axo [data-draw]:nth-child(2) { animation-delay: 0.35s; }
  .axo [data-draw]:nth-child(3) { animation-delay: 0.5s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .gills { animation: sway 6s ease-in-out infinite; transform-box: fill-box; }
  .gills-top { transform-origin: 30% 95%; }
  .gills-bot { transform-origin: 30% 5%; animation-duration: 7.6s; animation-direction: reverse; }
  @keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
  @media (prefers-reduced-motion: reduce) {
    .axo [data-draw] { animation: none; stroke-dashoffset: 0; }
    .gills { animation: none; }
  }

  /* ============================================================ marquee */
  .marquee {
    border-block: 1px solid var(--line);
    padding-block: 1.1rem;
    overflow: hidden;
    background: var(--surface);
  }
  .marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 34s linear infinite;
  }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee-track span {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.02em;
    color: var(--ink-faint);
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
  }
  .marquee-track span::after { content: "◇"; color: var(--coral); font-size: 0.7em; }
  @keyframes scroll { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  }

  /* ============================================================ section scaffold */
  .section { padding-block: var(--section-y); scroll-margin-top: 90px; }
  .section-head {
    display: grid;
    gap: 1rem;
    max-width: 52ch;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }
  .section-head h2 { font-size: var(--step-3); }
  .section--alt { background: var(--surface); border-block: 1px solid var(--line); }

  /* ============================================================ services */
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .svc {
    background: var(--paper);
    padding: clamp(1.6rem, 3vw, 2.6rem);
    display: grid;
    gap: 0.9rem;
    align-content: start;
    transition: background 0.35s;
  }
  .svc:hover { background: var(--aqua-wash); }
  .svc-num {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--coral);
  }
  .svc h3 { font-size: var(--step-1); }
  .svc p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
  .svc ul {
    list-style: none;
    margin: 0.3rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .svc li {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.25em 0.75em;
  }

  /* ============================================================ projects */
  .proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.4vw, 1.75rem);
  }
  .proj {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
  }
  .proj:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
  .proj-cover {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    color: var(--on-coral);
    background: linear-gradient(150deg, #e23a6b, #123c3a);
  }
  .proj:nth-child(7n + 1) .proj-cover { background: linear-gradient(150deg, #e23a6b, #7a1f52); }
  .proj:nth-child(7n + 2) .proj-cover { background: linear-gradient(150deg, #0f9c86, #0b3f4d); }
  .proj:nth-child(7n + 3) .proj-cover { background: linear-gradient(150deg, #ff5c8a, #b5305f); }
  .proj:nth-child(7n + 4) .proj-cover { background: linear-gradient(150deg, #1f6f8b, #0d2740); }
  .proj:nth-child(7n + 5) .proj-cover { background: linear-gradient(150deg, #d9557f, #5a2d5e); }
  .proj:nth-child(7n + 6) .proj-cover { background: linear-gradient(150deg, #14a58c, #123c3a); }
  .proj:nth-child(7n + 7) .proj-cover { background: linear-gradient(150deg, #b5305f, #0b3f4d); }
  .proj-cover span {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.6rem);
    font-weight: 600;
    font-style: italic;
    mix-blend-mode: soft-light;
    opacity: 0.9;
  }
  .proj-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .proj:hover .proj-cover img { transform: scale(1.04); }
  .proj-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 55%);
  }
  .proj-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: 0.55rem; flex: 1; }
  .proj-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--coral);
  }
  .proj-body h3 { font-size: var(--step-1); }
  .proj-body p { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.55; }
  .proj-meta {
    margin-top: auto;
    padding-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
    border-top: 1px solid var(--line);
  }
  .proj-meta .arrow { color: var(--coral); }

  /* ============================================================ benefits */
  .ben-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .stat { background: var(--paper); padding: 1.5rem; display: grid; gap: 0.35rem; }
  .stat b {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    line-height: 1;
  }
  .stat small { font-size: 0.8rem; color: var(--ink-soft); }
  .ben-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
  .ben-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }
  .ben-list li:first-child { padding-top: 0; }
  .ben-list .tick {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--coral);
    color: var(--coral);
    display: grid;
    place-items: center;
    flex: none;
  }
  .ben-list .tick svg { width: 13px; height: 13px; }
  .ben-list h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; margin-bottom: 0.2rem; }
  .ben-list p { font-size: var(--step--1); color: var(--ink-soft); }

  /* ============================================================ process */
  .proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: step; }
  .proc {
    position: relative;
    padding-top: 2.6rem;
    display: grid;
    gap: 0.7rem;
    align-content: start;
  }
  .proc::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: 0; left: 0;
    font-family: var(--font-mono);
    font-size: var(--step-1);
    font-weight: 500;
    color: var(--coral);
  }
  .proc::after {
    content: "";
    position: absolute;
    top: 0.7em; left: 3.2em; right: -1rem;
    height: 1px;
    background: var(--line-strong);
  }
  .proc:last-child::after { display: none; }
  .proc h3 { font-size: var(--step-1); }
  .proc p { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.6; }

  /* ============================================================ testimonials */
  .quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
  .quote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.1rem);
    display: grid;
    gap: 1.3rem;
    align-content: start;
  }
  .quote-mark { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.5; color: var(--coral); height: 0.6em; }
  .quote p { font-size: var(--step-0); line-height: 1.6; }
  .quote figcaption { display: flex; align-items: center; gap: 0.85rem; }
  .quote .avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: var(--coral-wash);
    color: var(--coral);
    flex: none;
  }
  .quote .who b { display: block; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; }
  .quote .who small { color: var(--ink-faint); font-size: 0.78rem; }

  /* ============================================================ faq */
  .faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .faq-list { display: grid; }
  details.faq {
    border-top: 1px solid var(--line);
    padding: 0.35rem 0;
  }
  details.faq:last-of-type { border-bottom: 1px solid var(--line); }
  details.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 0;
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 500;
  }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq .plus {
    flex: none;
    width: 22px; height: 22px;
    position: relative;
  }
  details.faq .plus::before, details.faq .plus::after {
    content: "";
    position: absolute;
    background: var(--coral);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  details.faq .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
  details.faq .plus::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
  details.faq[open] .plus::after { transform: translateX(-50%) rotate(90deg); }
  details.faq .answer {
    overflow: hidden;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  details.faq[open] .answer { grid-template-rows: 1fr; }
  details.faq .answer > div { overflow: hidden; }
  details.faq .answer p { padding-bottom: 1.2rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.65; max-width: 60ch; }
  @media (prefers-reduced-motion: reduce) {
    details.faq .answer { transition: none; }
  }

  /* ============================================================ CTA */
  .cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    padding-block: clamp(5rem, 10vw, 8.5rem);
    background: var(--ink);
    color: var(--paper);
  }
  :root[data-theme="dark"] .cta,
  :root:not([data-theme="light"]) .cta { background: var(--surface-2); }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .cta { background: var(--surface-2); }
  }
  .cta::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto;
    height: 120%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 0%, var(--coral), transparent 62%);
    opacity: 0.45;
  }
  .cta h2 {
    font-size: var(--step-4);
    font-weight: 400;
    color: inherit;
    max-width: 16ch;
    margin-inline: auto;
    margin-bottom: 1.3rem;
  }
  .cta h2 em { font-style: italic; color: var(--coral-bright); }
  .cta p { color: color-mix(in srgb, var(--paper) 78%, transparent); max-width: 44ch; margin: 0 auto 2.25rem; font-size: var(--step-1); }
  .cta .axo { stroke: color-mix(in srgb, var(--paper) 22%, transparent); }
  .cta .axo .accent { stroke: color-mix(in srgb, var(--coral-bright) 55%, transparent); }
  .cta-bg {
    position: absolute;
    right: -6%;
    bottom: -18%;
    width: min(46%, 460px);
    z-index: -1;
    opacity: 0.5;
  }
  .cta-bg svg { width: 100%; height: auto; overflow: visible; }

  /* ============================================================ contact */
  .contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .contact-aside { display: grid; gap: 1.75rem; align-content: start; }
  .contact-aside h2 { font-size: var(--step-3); }
  .contact-aside p { color: var(--ink-soft); max-width: 34ch; }
  .contact-direct { display: grid; gap: 0.9rem; }
  .contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 0.7ch;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    text-decoration: none;
    color: var(--ink);
    transition: color 0.2s;
  }
  .contact-direct a:hover { color: var(--coral); }
  .contact-direct svg { width: 16px; height: 16px; color: var(--coral); flex: none; }

  form { display: grid; gap: 1.25rem; }
  .field { display: grid; gap: 0.5rem; }
  .field label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .field input, .field textarea {
    font: inherit;
    font-size: var(--step--1);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 0.85em 1em;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
  }
  .field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 4px var(--coral-wash);
  }
  .field textarea { min-height: 130px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .form-note { font-size: 0.78rem; color: var(--ink-faint); }
  .form-status {
    display: none;
    align-items: center;
    gap: 0.7ch;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    background: var(--aqua-wash);
    border: 1px solid color-mix(in srgb, var(--aqua) 40%, transparent);
    color: var(--ink);
    font-size: var(--step--1);
  }
  .form-status.show { display: flex; }
  .form-status svg { width: 16px; height: 16px; color: var(--aqua); flex: none; }

  /* ============================================================ footer */
  .site-footer {
    border-top: 1px solid var(--line);
    padding-block: 3rem;
    background: var(--surface);
  }
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: var(--step--1);
    color: var(--ink-faint);
  }
  .footer-inner .brand { color: var(--ink-soft); font-size: 1rem; }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a { text-decoration: none; color: var(--ink-faint); transition: color 0.2s; }
  .footer-links a:hover { color: var(--coral); }

  /* ============================================================ responsive */
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { max-width: 380px; margin-inline: auto; order: -1; }
    .ben-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
    .proc-grid { grid-template-columns: repeat(2, 1fr); }
    .proc::after { display: none; }
    .quote-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 620px) {
    .svc-grid { grid-template-columns: 1fr; }
    .proj-grid { grid-template-columns: 1fr; }
    .proc-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .hero-cta .btn { flex: 1; justify-content: center; }
  }

  /* ============================================================
     Integración con WordPress
     Accesibilidad, contenido de páginas/entradas y alineaciones
     del editor de bloques. Usa los mismos tokens que el resto.
     ============================================================ */
  .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
  }
  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    padding: 0.7em 1.2em;
    background: var(--coral);
    color: var(--on-coral);
    border-radius: 0 0 10px 0;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    text-decoration: none;
  }
  .skip-link:focus { left: 0; }

  .wrap--narrow { max-width: 760px; }

  .content-page { padding-top: clamp(8rem, 6rem + 8vw, 12rem); }
  .content-page .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
  .content-page .section-head h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--step-3);
    line-height: 1.08;
    letter-spacing: -0.015em;
  }

  .post-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .post-card { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 0.6rem; }
  .post-card__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
  .post-card__title a { text-decoration: none; }
  .post-card__title a:hover { color: var(--coral); }
  .post-card__meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); }
  .post-card__meta a { color: inherit; }
  .post-card__excerpt { color: var(--ink-soft); }

  .entry-content { font-size: var(--step-0); line-height: 1.75; color: var(--ink-soft); }
  .entry-content > * + * { margin-top: 1.4em; }
  .entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); font-family: var(--font-display); font-weight: 500; margin-top: 2em; }
  .entry-content h2 { font-size: var(--step-2); }
  .entry-content h3 { font-size: var(--step-1); }
  .entry-content a { color: var(--coral); text-underline-offset: 3px; }
  .entry-content img, .entry-content .wp-block-image { border-radius: var(--radius); }
  .entry-content blockquote {
    margin: 1.8em 0;
    padding: 0.4em 0 0.4em 1.4em;
    border-left: 2px solid var(--coral);
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--step-1);
    color: var(--ink);
  }
  .entry-content code, .entry-content pre {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .entry-content code { padding: 0.15em 0.45em; }
  .entry-content pre { padding: 1.1em 1.3em; overflow-x: auto; }
  .entry-content pre code { background: none; border: 0; padding: 0; }
  .entry-content ul, .entry-content ol { padding-left: 1.3em; }
  .entry-content li + li { margin-top: 0.4em; }

  .alignwide { margin-inline: calc(50% - 50vw); max-width: 100vw; }
  .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
  .aligncenter { display: block; margin-inline: auto; }
  .alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
  .alignright { float: right; margin: 0.4em 0 1em 1.6em; }
  .wp-caption-text, figcaption { font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.5em; }

  .pagination, .comments-area { margin-top: clamp(2.5rem, 5vw, 4rem); }
  .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4em;
    padding: 0.5em 0.8em;
    margin-right: 0.35em;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    text-decoration: none;
  }
  .pagination .page-numbers.current { background: var(--coral); color: var(--on-coral); border-color: transparent; }
  .pagination .page-numbers:hover:not(.current) { border-color: var(--coral); color: var(--coral); }

  @media (max-width: 980px) {
    .alignleft, .alignright { float: none; margin-inline: 0; }
  }

  /* ============================================================
     Plantilla «Ancho completo» (template-full.php)
     El texto normal se mantiene legible; las secciones que meten
     los shortcodes de Axoliva ocupan todo el ancho.
     ============================================================ */
  .entry-content--full { display: block; }
  .entry-content--full > :not(section):not(.wp-block-group):not(.alignfull):not(.alignwide) {
    max-width: 68ch;
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .entry-content--full > section { margin-block: 0; }
  .axoliva-full .content-page { padding-bottom: clamp(2rem, 4vw, 3rem); }
