/* ═══════════════════════════════════════════════════════════════════
   Pro Tecnotool — main.css
   Paleta: Cálido Limpio (Opción C)
   Tipografía: DM Sans (Google Fonts)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────────────────────── */
:root {
    /* Paleta cálida limpia */
    --bg-base:        #fffefb;   /* blanco cálido */
    --bg-alt:         #faf7f2;   /* beige clarísimo */
    --bg-soft:        #f6f1ea;   /* beige medio para detalles */
    --text-strong:    #1c1917;   /* marrón muy oscuro, más humano que negro */
    --text-body:      #2a2622;
    --text-soft:      #57534e;   /* gris cálido */
    --text-muted:     #8a8378;
    --border:         #e7e5e0;
    --border-soft:    #f0ebe3;

    /* Acentos heredados del logo */
    --navy:           #1a2332;
    --navy-soft:      #2a3548;
    --amber:          #c9a84c;
    --amber-deep:     #a8862e;
    --amber-soft:     #f4ead1;

    /* Estados */
    --success:        #2d6a4f;
    --error:          #b91c1c;
    --warning:        #c9a84c;

    /* Layout */
    --max-width:      1200px;
    --radius-sm:      8px;
    --radius:         12px;
    --radius-lg:      20px;
    --radius-pill:    999px;

    /* Sombras suaves */
    --shadow-xs:      0 1px 2px rgba(28, 25, 23, 0.04);
    --shadow-sm:      0 2px 6px rgba(28, 25, 23, 0.05), 0 1px 2px rgba(28, 25, 23, 0.04);
    --shadow-md:      0 4px 16px rgba(28, 25, 23, 0.06), 0 2px 4px rgba(28, 25, 23, 0.04);
    --shadow-lg:      0 12px 32px rgba(28, 25, 23, 0.08);

    /* Transiciones */
    --t-fast:         150ms cubic-bezier(.4,0,.2,1);
    --t-base:         250ms cubic-bezier(.4,0,.2,1);
    --t-slow:         400ms cubic-bezier(.4,0,.2,1);

    /* Tipografía */
    --font-base:      'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--amber-deep); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    color: var(--text-strong);
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 600;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ─── CONTENEDORES ───────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section--tight { padding: 40px 0; }
}

/* ─── BOTONES ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
}
.btn--primary {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}
.btn--primary:hover {
    background: var(--navy-soft);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 35, 50, 0.2);
}
.btn--secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn--secondary:hover {
    background: var(--bg-alt);
    border-color: var(--navy);
    color: var(--navy);
}
.btn--accent {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}
.btn--accent:hover {
    background: var(--amber-deep);
    color: white;
    border-color: var(--amber-deep);
    transform: translateY(-2px);
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* ─────────────────────────────────────────────────────────────────
   LOGO ANIMADO
   ───────────────────────────────────────────────────────────────── */
.logo-link {
    display: inline-block;
    text-decoration: none;
}
.logo-animated {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
}
.logo-icon {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: var(--navy);
    color: var(--amber);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', ui-monospace, 'Cascadia Code', monospace;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(26, 35, 50, 0.15);
}
.logo-prompt {
    display: inline-block;
    animation: logoPromptIn 600ms cubic-bezier(.4,0,.2,1) forwards;
    opacity: 0;
}
.logo-cursor {
    display: inline-block;
    margin-left: 1px;
    animation: logoCursorIn 600ms 300ms cubic-bezier(.4,0,.2,1) forwards,
               logoCursorBlink 1.1s 1.2s infinite;
    opacity: 0;
}
.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.025em;
    overflow: hidden;
}
.logo-text-pro {
    color: var(--amber-deep);
    font-weight: 700;
    opacity: 0;
    animation: logoTextIn 500ms 700ms cubic-bezier(.4,0,.2,1) forwards;
}
.logo-text-name {
    color: var(--navy);
    opacity: 0;
    animation: logoTextIn 500ms 900ms cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes logoPromptIn {
    from { opacity: 0; transform: translateX(-4px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes logoCursorIn {
    from { opacity: 0; transform: translateY(2px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoCursorBlink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0.2; }
}
@keyframes logoTextIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-prompt, .logo-cursor, .logo-text-pro, .logo-text-name {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* ─────────────────────────────────────────────────────────────────
   HEADER / NAVEGACIÓN
   ───────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 254, 251, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 254, 251, 0.95);
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-fast);
}
.nav-link:hover {
    background: var(--bg-alt);
    color: var(--navy);
}
.nav-link--active {
    color: var(--navy);
    background: var(--amber-soft);
}
.nav-has-submenu {
    position: relative;
}
.nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    list-style: none;
    margin: 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--t-base);
}
.nav-has-submenu:hover .nav-submenu,
.nav-has-submenu:focus-within .nav-submenu,
.nav-has-submenu.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-sublink {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 14.5px;
    transition: all var(--t-fast);
}
.nav-sublink:hover, .nav-sublink--active {
    background: var(--bg-alt);
    color: var(--navy);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
    transition: transform var(--t-base);
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        background: var(--bg-base);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--t-slow);
    }
    .nav-menu.is-open {
        max-height: 480px;
        padding: 16px;
    }
    .nav-link, .nav-link.btn { width: 100%; justify-content: flex-start; }
    .nav-submenu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        min-width: 0;
    }
    .nav-cta-li .btn { justify-content: center; margin-top: 8px; }
}

/* ─────────────────────────────────────────────────────────────────
   HERO con animación sutil de fondo
   ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 96px;
    background: var(--bg-base);
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.hero-bg::before {
    width: 500px;
    height: 500px;
    background: var(--amber-soft);
    top: -180px;
    left: -120px;
    animation: heroBlobA 20s ease-in-out infinite alternate;
}
.hero-bg::after {
    width: 420px;
    height: 420px;
    background: var(--bg-soft);
    bottom: -160px;
    right: -100px;
    animation: heroBlobB 24s ease-in-out infinite alternate;
}
@keyframes heroBlobA {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.15); }
}
@keyframes heroBlobB {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -60px) scale(1.1); }
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: 0.5;
    pointer-events: none;
}
.hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0;
    animation: heroLineSweep 8s linear infinite;
}
.hero-line:nth-child(1) { top: 25%; width: 40%; left: -40%; animation-delay: 0s; }
.hero-line:nth-child(2) { top: 55%; width: 50%; left: -50%; animation-delay: 3s; }
.hero-line:nth-child(3) { top: 80%; width: 30%; left: -30%; animation-delay: 5.5s; }
@keyframes heroLineSweep {
    0%   { transform: translateX(0); opacity: 0; }
    20%  { opacity: 0.5; }
    80%  { opacity: 0.5; }
    100% { transform: translateX(250vw); opacity: 0; }
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid var(--amber-soft);
    border-radius: var(--radius-pill);
    color: var(--amber-deep);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeUp 600ms cubic-bezier(.4,0,.2,1) backwards;
}
.hero-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.85); }
}
.hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    color: var(--text-strong);
    animation: fadeUp 700ms 100ms cubic-bezier(.4,0,.2,1) backwards;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(120deg, var(--amber-deep), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-soft);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
    animation: fadeUp 700ms 200ms cubic-bezier(.4,0,.2,1) backwards;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    animation: fadeUp 700ms 300ms cubic-bezier(.4,0,.2,1) backwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────────
   SECCIÓN DOLOR
   ───────────────────────────────────────────────────────────────── */
.dolor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 40px 0;
}
.dolor-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--t-base);
}
.dolor-item:hover {
    border-color: var(--amber);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.dolor-item::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 10px;
    background: var(--amber);
    border-radius: 50%;
}
.dolor-cierre {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    max-width: 700px;
    margin: 32px auto 0;
}

/* ─────────────────────────────────────────────────────────────────
   SECCIONES CON TÍTULO
   ───────────────────────────────────────────────────────────────── */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-eyebrow {
    display: inline-block;
    color: var(--amber-deep);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────
   SERVICIOS — Cards
   ───────────────────────────────────────────────────────────────── */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.servicio-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--t-base);
    overflow: hidden;
}
.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--amber), var(--amber-deep));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t-slow);
}
.servicio-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber-soft);
    box-shadow: var(--shadow-md);
}
.servicio-card:hover::before {
    transform: scaleY(1);
}
.servicio-etiqueta {
    display: inline-block;
    padding: 6px 12px;
    background: var(--amber-soft);
    color: var(--amber-deep);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.servicio-titulo {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--text-strong);
}
.servicio-gancho {
    color: var(--navy);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 14px;
    font-size: 15.5px;
}
.servicio-desc {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}
.servicio-items {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.servicio-items li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-body);
}
.servicio-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    background: var(--amber-soft);
    border-radius: 50%;
}
.servicio-items li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 11px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--amber-deep);
    border-bottom: 2px solid var(--amber-deep);
    transform: rotate(-45deg);
}
.servicio-cierre {
    color: var(--navy);
    font-weight: 500;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-bottom: 24px;
    font-size: 15px;
}

/* ─────────────────────────────────────────────────────────────────
   PROCESO 3 PASOS
   ───────────────────────────────────────────────────────────────── */
.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}
.proceso-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
    z-index: 0;
}
.proceso-paso {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}
.proceso-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--bg-base);
    border: 2px solid var(--amber);
    border-radius: 50%;
    color: var(--amber-deep);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.proceso-titulo {
    font-size: 20px;
    margin-bottom: 12px;
}
.proceso-desc {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .proceso-grid::before { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
   DIFERENCIALES
   ───────────────────────────────────────────────────────────────── */
.diferenciales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.diferencial-card {
    padding: 32px 28px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--t-base);
}
.diferencial-card:hover {
    border-color: var(--amber-soft);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.diferencial-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--amber-soft);
    border-radius: var(--radius);
    font-size: 26px;
    margin-bottom: 18px;
}
.diferencial-titulo {
    font-size: 18px;
    margin-bottom: 10px;
}
.diferencial-desc {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────
   FAQ — Acordeón nativo
   ───────────────────────────────────────────────────────────────── */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--bg-base);
    overflow: hidden;
    transition: border-color var(--t-base);
}
.faq-item[open] {
    border-color: var(--amber);
}
.faq-item summary {
    list-style: none;
    padding: 20px 56px 20px 24px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-strong);
    transition: background var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover {
    background: var(--bg-alt);
}
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--amber-deep);
    border-bottom: 2px solid var(--amber-deep);
    transform: translateY(-65%) rotate(45deg);
    transition: transform var(--t-base);
}
.faq-item[open] summary::after {
    transform: translateY(-25%) rotate(-135deg);
}
.faq-respuesta {
    padding: 0 24px 24px;
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────
   CTA FINAL
   ───────────────────────────────────────────────────────────────── */
.cta-final {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-final-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.cta-final h2 {
    color: white;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}
.cta-final p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.6;
}
.cta-final .btn--accent {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}
.cta-final .btn--accent:hover {
    background: white;
    border-color: white;
}
.cta-subtexto {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

/* ─────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    color: var(--text-body);
    padding: 64px 0 0;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-col--brand .footer-tagline {
    color: var(--text-soft);
    font-size: 15px;
    margin: 12px 0 20px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.footer-logo-icon {
    display: inline-flex;
    padding: 4px 8px;
    background: var(--navy);
    color: var(--amber);
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'DM Sans', ui-monospace, monospace;
}
.footer-logo-text {
    font-weight: 600;
    font-size: 17px;
    color: var(--navy);
}
.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li {
    margin-bottom: 10px;
}
.footer-list a, .footer-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 14.5px;
    transition: color var(--t-fast);
}
.footer-list a:hover {
    color: var(--navy);
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--navy);
    transition: all var(--t-fast);
}
.footer-social a:hover {
    background: var(--navy);
    color: var(--amber);
    border-color: var(--navy);
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
}
.footer-meta { margin: 0; }
.footer-meta span { color: var(--amber-deep); }

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
@media (max-width: 540px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────────────────────
   FORMULARIOS
   ───────────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-strong);
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-base);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-strong);
    transition: all var(--t-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-help { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

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

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 15px;
}
.alert--success {
    background: rgba(45, 106, 79, 0.08);
    border: 1px solid rgba(45, 106, 79, 0.2);
    color: var(--success);
}
.alert--error {
    background: rgba(185, 28, 28, 0.06);
    border: 1px solid rgba(185, 28, 28, 0.2);
    color: var(--error);
}

/* ─────────────────────────────────────────────────────────────────
   BLOG cards (preview, lo usaremos en fase 3)
   ───────────────────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber-soft);
    box-shadow: var(--shadow-md);
}
.blog-card-img {
    aspect-ratio: 16/9;
    background: var(--bg-soft);
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-cat {
    display: inline-block;
    color: var(--amber-deep);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.blog-card-title {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--text-strong);
}
.blog-card-excerpt {
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.blog-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
}

/* ─────────────────────────────────────────────────────────────────
   ADMIN — estilos básicos (fase 3)
   ───────────────────────────────────────────────────────────────── */
.admin-shell {
    min-height: 100vh;
    background: var(--bg-alt);
}
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}
.admin-login-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────────────────────────────
   ANIMACIONES ON SCROLL
   ───────────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(.4,0,.2,1),
                transform 700ms cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────────────────────────
   WHATSAPP flotante
   ───────────────────────────────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    animation: waIn 500ms 3s cubic-bezier(.4,0,.2,1) forwards;
    transition: all var(--t-base);
}
.wa-float::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: waPulse 3s 4s ease-out infinite;
}
@keyframes waIn {
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes waPulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.4); }
}
.wa-float:hover {
    transform: scale(1.08);
    color: white;
}
