/* ============================================================
   IborraDeNavarro Asesores — Sistema de diseño
   Estética: editorial moderno · serif italianos + sans humanístico
   Paleta: tinta profunda · dorado cálido · papel crema
   ============================================================ */

/* --- 1. Tokens --- */
:root {
    /* Color */
    --ink: #0E1B2C;
    --ink-soft: #1F2D40;
    --ink-mute: #4A5568;
    --paper: #F5F1E8;
    --paper-warm: #EFE8D7;
    --paper-pure: #FAF7F0;
    --gold: #B89968;
    --gold-deep: #8B6F3F;
    --gold-soft: #D4BD8E;
    --rust: #A8552E;
    --line: rgba(14, 27, 44, 0.12);
    --line-soft: rgba(14, 27, 44, 0.06);

    /* Tipografía */
    --font-display: 'Fraunces', 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Escala */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.375rem;
    --fs-xl: 1.875rem;
    --fs-2xl: 2.5rem;
    --fs-3xl: 3.5rem;
    --fs-4xl: 5rem;
    --fs-5xl: 7rem;

    /* Espaciado */
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 1.5rem;
    --sp-lg: 2.5rem;
    --sp-xl: 4rem;
    --sp-2xl: 6rem;
    --sp-3xl: 9rem;

    /* Layout */
    --container: 1240px;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv11", "kern";
}

/* Textura grano sutil sobre todo el fondo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.1 0 0 0 0 0.17 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 1rem;
    z-index: 100;
}
.skip-link:focus { left: 0; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* --- 3. Tipografía --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 50;
    text-wrap: balance;
}
h1 { letter-spacing: -0.03em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 350; }

p { text-wrap: pretty; }

.eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.lead {
    font-size: var(--fs-md);
    color: var(--ink-mute);
    line-height: 1.65;
    max-width: 56ch;
    text-wrap: pretty;
}

/* --- 4. Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    border: 1px solid var(--ink);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '→';
    transition: transform 0.4s var(--ease);
    font-family: var(--font-display);
}
.btn:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 27, 44, 0.18);
}
.btn:hover::after { transform: translateX(4px); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn--gold {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.btn--gold:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn--small {
    padding: 0.65rem 1.2rem;
    font-size: var(--fs-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}
.btn--whatsapp::after { content: ''; }
.btn--whatsapp:hover {
    background: #1FA855;
    border-color: #1FA855;
    color: #fff;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
}
.btn--whatsapp:hover::after { transform: none; }
.btn--whatsapp svg { flex-shrink: 0; }

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

/* --- 5. Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.25rem 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(245, 241, 232, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.75rem 0;
    border-bottom-color: var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    flex-shrink: 0;
}
.brand__mark {
    display: inline-flex;
    align-items: center;
    height: 40px;
    flex-shrink: 0;
    color: var(--gold-deep);
    transition: transform 0.5s var(--ease);
}
.brand__mark img,
.brand__mark picture { height: 30px; width: auto; display: block; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__primary {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.brand__primary em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.brand__secondary {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 4px;
}

/* Nav */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink);
    border-radius: 999px;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
    position: relative;
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-deep); }
.nav__link.is-active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--gold-deep);
}

.nav__has-sub { position: relative; }
.nav__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 18px 40px rgba(14, 27, 44, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
}
.nav__has-sub:hover .nav__submenu,
.nav__has-sub:focus-within .nav__submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav__submenu a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    font-size: var(--fs-sm);
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease);
}
.nav__submenu a:hover, .nav__submenu a.is-active {
    background: var(--paper-warm);
    color: var(--gold-deep);
}
/* En desktop ocultamos icono y descripción del submenu (solo título) */
.nav__sub-icon,
.nav__sub-desc { display: none; }
.nav__sub-text { display: contents; }

.nav__cta-item { margin-left: 0.5rem; }

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- 6. Hero --- */
.hero {
    padding: calc(var(--sp-3xl) + 2rem) 0 var(--sp-3xl);
    position: relative;
    overflow: hidden;
}
/* Patrón decorativo de fondo — palabras gigantes en cursiva muy claras */
.hero::before {
    content: 'Asesores';
    position: absolute;
    top: 8%;
    left: -3%;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 350;
    font-size: clamp(8rem, 18vw, 16rem);
    color: rgba(159, 126, 74, 0.06);
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
}
.hero::after {
    content: 'iborradenavarro';
    position: absolute;
    bottom: 5%;
    right: -2%;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 350;
    font-size: clamp(4rem, 11vw, 9rem);
    color: rgba(14, 27, 44, 0.04);
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
    white-space: nowrap;
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__meta { justify-content: center; }
.hero__lead { text-align: center; margin-left: auto; margin-right: auto; }
.hero__cta-row { justify-content: center; }
.hero__trust { justify-content: center; }
.hero__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
}
.hero__meta::before {
    content: '';
    flex-shrink: 0;
    width: 32px;
    height: 1px;
    background: var(--gold-deep);
}
.hero__meta span:first-child {
    padding: 0.35rem 0.8rem;
    border: 0.5px solid var(--gold-deep);
    border-radius: 999px;
    background: transparent;
    color: var(--gold-deep);
    font-weight: 600;
}
.hero__title {
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    line-height: 0.96;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}
.hero__title em {
    color: var(--gold-deep);
    font-weight: 300;
}
.hero__lead {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: var(--ink-mute);
    line-height: 1.6;
    max-width: 56ch;
    margin-bottom: 2.5rem;
}
.hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: var(--ink-mute);
}
.hero__trust-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #2A8D5C;
    box-shadow: 0 0 0 0 rgba(42, 141, 92, 0.5);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(42, 141, 92, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(42, 141, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 141, 92, 0); }
}

.hero__visual {
    position: relative;
    aspect-ratio: 4/5;
}

/* ------ COVER editorial (sin foto stock) ------ */
.hero__cover {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(217, 188, 142, 0.15) 0%, transparent 60%),
        linear-gradient(155deg, #B89968 0%, #8B6F4A 45%, #5C4933 100%);
    border-radius: 6px;
    box-shadow:
        0 32px 64px -20px rgba(14, 27, 44, 0.4),
        0 0 0 1px rgba(14, 27, 44, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
    color: var(--paper);
}
.hero__cover-grain {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 9px);
    pointer-events: none;
    z-index: 0;
}
.hero__cover-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(245, 241, 232, 0.45);
    z-index: 2;
}
.hero__cover-corner--tl { top: 12px; left: 12px; border-top: 0.5px solid; border-left: 0.5px solid; }
.hero__cover-corner--tr { top: 12px; right: 12px; border-top: 0.5px solid; border-right: 0.5px solid; }
.hero__cover-corner--bl { bottom: 12px; left: 12px; border-bottom: 0.5px solid; border-left: 0.5px solid; }
.hero__cover-corner--br { bottom: 12px; right: 12px; border-bottom: 0.5px solid; border-right: 0.5px solid; }

.hero__cover-top,
.hero__cover-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__cover-meta {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 241, 232, 0.7);
    font-weight: 600;
}
.hero__cover-roman {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-style: italic;
    font-weight: 350;
    line-height: 0.95;
    color: rgba(245, 241, 232, 0.92);
    letter-spacing: -0.02em;
    margin: auto 0;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
    word-break: break-word;
}
.hero__cover-divider {
    height: 0.5px;
    background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.4) 30%, rgba(245, 241, 232, 0.4) 70%, transparent);
    margin: 0.75rem 0 1.25rem;
    position: relative;
    z-index: 1;
}
.hero__cover-quote {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.2;
    font-style: italic;
    font-weight: 350;
    color: rgba(245, 241, 232, 0.95);
    position: relative;
    z-index: 1;
    padding-left: 0.4rem;
    margin-bottom: 1rem;
}
.hero__cover-quote em {
    color: rgba(217, 188, 142, 1);
    font-style: italic;
}
.hero__cover-mark {
    color: rgba(217, 188, 142, 0.95);
    font-size: 1.6rem;
    line-height: 0;
    margin-right: 0.15rem;
    vertical-align: -0.15em;
}

/* ------ Badge mejorado ------ */
.hero__badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    line-height: 1;
    transform: rotate(-8deg);
    border: 1px solid rgba(217, 188, 142, 0.25);
    box-shadow:
        0 14px 32px rgba(14, 27, 44, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: float-badge 6s ease-in-out infinite;
    z-index: 5;
}
.hero__badge-num {
    font-size: 1.85rem;
    font-style: italic;
    font-weight: 400;
    color: var(--gold-soft);
    line-height: 1;
    margin: 0.1rem 0;
}
.hero__badge-label {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(217, 188, 142, 0.65);
    font-weight: 600;
}
@keyframes float-badge {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-6px); }
}

/* ------ Etiqueta editorial decorativa (hero) ------ */
.hero__stamp {
    position: absolute;
    bottom: -2rem;
    left: -2.5rem;
    width: 44%;
    max-width: 180px;
    background: var(--paper, #F5F1E8);
    border: 0.5px solid rgba(14, 27, 44, 0.18);
    border-radius: 4px;
    padding: 1rem 0.95rem 0.85rem;
    z-index: 4;
    box-shadow: 0 20px 40px -12px rgba(14, 27, 44, 0.18);
    transform: rotate(-2deg);
    transition: transform 0.4s var(--ease);
    color: var(--ink, #0E1B2C);
}
.hero__stamp:hover { transform: rotate(0) translateY(-4px); }
.hero__stamp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.5px solid rgba(14, 27, 44, 0.18);
}
.hero__stamp-eyebrow {
    font-family: var(--font-body);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(14, 27, 44, 0.55);
    font-weight: 600;
}
.hero__stamp-code {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--gold-deep, #9F7E4A);
    letter-spacing: 0.01em;
}
.hero__stamp-mid {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.4rem 0 0.6rem;
}
.hero__stamp-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 350;
    font-size: 2.6rem;
    line-height: 0.9;
    color: var(--gold-deep, #9F7E4A);
    letter-spacing: -0.02em;
}
.hero__stamp-label {
    font-family: var(--font-body);
    font-size: 0.62rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: rgba(14, 27, 44, 0.7);
    font-weight: 500;
    text-transform: uppercase;
}
.hero__stamp-bottom {
    padding-top: 0.6rem;
    border-top: 0.5px solid rgba(14, 27, 44, 0.18);
}
.hero__stamp-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.72rem;
    color: rgba(14, 27, 44, 0.7);
    line-height: 1;
}

/* ------ Responsive cover ------ */
@media (max-width: 768px) {
    .hero__cover { padding: 1.25rem; }
    .hero__cover-corner { width: 16px; height: 16px; }
    .hero__cover-quote { font-size: 1rem; }
    .hero__badge { width: 90px; height: 90px; top: -0.75rem; right: -0.5rem; }
    .hero__badge-num { font-size: 1.5rem; }
    .hero__badge-label { font-size: 0.5rem; }
    .hero__stamp { width: 40%; max-width: 145px; bottom: -1.25rem; left: -1rem; padding: 0.75rem 0.7rem 0.6rem; }
    .hero__stamp-num { font-size: 2.1rem; }
    .hero__stamp-eyebrow { font-size: 0.52rem; }
    .hero__stamp-code { font-size: 0.72rem; }
    .hero__stamp-label { font-size: 0.55rem; }
    .hero__stamp-text { font-size: 0.65rem; }
}
@media (max-width: 480px) {
    .hero__cover-roman { font-size: 1.5rem; }
    .hero__badge { width: 78px; height: 78px; }
    .hero__badge-num { font-size: 1.25rem; }
    .hero__stamp { width: 36%; max-width: 125px; bottom: -1rem; left: -0.5rem; }
}

/* Marquee de logos / specialties */
.hero-marquee {
    margin-top: var(--sp-2xl);
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}
.hero-marquee__track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}
.hero-marquee__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ink-soft);
    white-space: nowrap;
}
.hero-marquee__item::before {
    content: '✦';
    color: var(--gold-deep);
    font-style: normal;
    font-size: 0.8rem;
}

/* --- 7. Sección general --- */
.section {
    padding: var(--sp-3xl) 0;
    position: relative;
}
.section--tight { padding: var(--sp-2xl) 0; }
.section--dark {
    background: var(--ink);
    color: var(--paper);
}
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lead { color: rgba(245, 241, 232, 0.75); }

.section__head {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 4rem;
}
.section__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.section__title em { color: var(--gold-deep); font-weight: 300; }

/* --- 8. Servicios — cards numeradas editorial --- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    transition: all 0.5s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    z-index: 0;
}
.service-card > * { position: relative; z-index: 1; transition: color 0.4s var(--ease); }
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-deep);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover * { color: var(--ink) !important; }

.service-card__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold-deep);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.service-card__num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
.service-card__title {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    font-weight: 400;
}
.service-card__desc {
    color: var(--ink-mute);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: gap 0.3s var(--ease);
    margin-top: auto;
}
.service-card__link:hover { gap: 0.85rem; }

/* --- 9. Why us --- */
.why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.why__visual {
    position: sticky;
    top: 6rem;
    aspect-ratio: 4/5;
    border-radius: 6px;
    overflow: hidden;
}

/* ------ Panel editorial (sin foto stock) ------ */
.why__panel {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(217, 188, 142, 0.15) 0%, transparent 60%),
        linear-gradient(160deg, #1B2A40 0%, #0E1B2C 60%, #050B17 100%);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    color: var(--paper);
    box-shadow:
        0 32px 64px -20px rgba(14, 27, 44, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    isolation: isolate;
    border-radius: 6px;
}
.why__panel-grain {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(217, 188, 142, 0.04) 0 1px, transparent 1px 9px);
    pointer-events: none;
    z-index: 0;
}
.why__panel-top,
.why__panel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.why__panel-bottom { margin-top: auto; padding-top: 1.5rem; border-top: 0.5px solid rgba(245, 241, 232, 0.18); }
.why__panel-meta {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 241, 232, 0.55);
    font-weight: 600;
}
.why__panel-quote {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-style: italic;
    font-weight: 350;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--paper);
    margin: auto 0 1.5rem;
    position: relative;
    z-index: 1;
}
.why__panel-quote em {
    color: var(--gold-soft);
    font-style: italic;
}
.why__panel-mark {
    color: var(--gold-soft);
    font-size: 2rem;
    line-height: 0;
    margin-right: 0.15rem;
    vertical-align: -0.18em;
    font-style: italic;
}
.why__panel-divider {
    height: 0.5px;
    background: linear-gradient(90deg, transparent, rgba(217, 188, 142, 0.5) 30%, rgba(217, 188, 142, 0.5) 70%, transparent);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}
.why__panel-response {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem;
    background: linear-gradient(135deg, rgba(217, 188, 142, 0.08) 0%, rgba(217, 188, 142, 0.02) 100%);
    border: 0.5px solid rgba(217, 188, 142, 0.25);
    border-radius: 6px;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}
.why__panel-response::before {
    content: '';
    position: absolute;
    top: 0.85rem;
    left: -0.5px;
    width: 2px;
    height: calc(100% - 1.7rem);
    background: var(--gold-soft, #D9BC8E);
}
.why__panel-response-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-style: italic;
    font-weight: 350;
    color: var(--gold-soft, #D9BC8E);
    line-height: 0.9;
    letter-spacing: -0.04em;
    flex-shrink: 0;
}
.why__panel-response-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}
.why__panel-response-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-soft, #D9BC8E);
    font-weight: 600;
}
.why__panel-response-desc {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.3;
    color: rgba(245, 241, 232, 0.75);
}

.why__list {
    display: flex;
    flex-direction: column;
}

/* ------ Etiqueta editorial decorativa (why) ------ */
.why__visual { position: relative; }
.why__stamp {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 44%;
    max-width: 200px;
    background: var(--paper, #F5F1E8);
    border: 0.5px solid rgba(159, 126, 74, 0.35);
    border-radius: 4px;
    padding: 1rem 0.95rem 0.85rem;
    z-index: 4;
    box-shadow: 0 20px 40px -12px rgba(14, 27, 44, 0.18);
    transform: rotate(2deg);
    transition: transform 0.4s var(--ease);
    color: var(--ink, #0E1B2C);
}
.why__stamp:hover { transform: rotate(0) translateY(-4px); }
.why__stamp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.5px solid rgba(159, 126, 74, 0.3);
}
.why__stamp-eyebrow {
    font-family: var(--font-body);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(14, 27, 44, 0.55);
    font-weight: 600;
}
.why__stamp-code {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--gold-deep, #9F7E4A);
}
.why__stamp-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 350;
    font-size: 0.95rem;
    line-height: 1.15;
    color: var(--ink, #0E1B2C);
    padding: 0.3rem 0 0.5rem;
}
.why__stamp-quote em {
    color: var(--gold-deep, #9F7E4A);
    font-style: italic;
}
.why__stamp-mark {
    color: var(--gold-deep, #9F7E4A);
    font-size: 1.4rem;
    line-height: 0;
    margin-right: 0.1rem;
    vertical-align: -0.15em;
}
.why__stamp-sign {
    padding-top: 0.5rem;
    border-top: 0.5px solid rgba(159, 126, 74, 0.3);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.72rem;
    color: rgba(14, 27, 44, 0.55);
    text-align: right;
}
@media (max-width: 768px) {
    .why__stamp { width: 40%; max-width: 160px; bottom: -1.25rem; right: -0.75rem; padding: 0.75rem 0.7rem 0.6rem; }
    .why__stamp-quote { font-size: 0.82rem; }
    .why__stamp-eyebrow { font-size: 0.52rem; }
    .why__stamp-code { font-size: 0.72rem; }
    .why__stamp-sign { font-size: 0.65rem; }
}
@media (max-width: 480px) {
    .why__stamp { width: 36%; max-width: 135px; bottom: -1rem; right: -0.5rem; }
}
.why-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: none; }
.why-item__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold-deep);
    line-height: 1;
}
.why-item__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}
.why-item__desc { color: var(--ink-mute); }

/* --- 10. Stats / cifras --- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(245, 241, 232, 0.18);
    border-bottom: 1px solid rgba(245, 241, 232, 0.18);
}
.stat {
    padding: 3rem 2rem;
    border-right: 1px solid rgba(245, 241, 232, 0.18);
}
.stat:last-child { border-right: none; }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--gold-soft);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.stat__label {
    font-size: var(--fs-sm);
    color: rgba(245, 241, 232, 0.7);
    line-height: 1.4;
}

/* --- 11. Form / Contacto --- */
.contact-section {
    background: var(--paper-warm);
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 153, 104, 0.18), transparent 70%);
    border-radius: 50%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.contact-info__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}
.contact-info__lead { margin-bottom: 2.5rem; }
.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-info__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem 1rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper-pure);
    transition: all 0.3s var(--ease);
    color: var(--ink);
}
.contact-info__item:hover {
    border-color: var(--gold-deep);
    transform: translateX(4px);
}
.contact-info__icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--paper-warm);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-deep);
}
.contact-info__label {
    display: block;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 2px;
}
.contact-info__value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--ink);
}

.form-card {
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 30px 60px -30px rgba(14, 27, 44, 0.2);
}
.form-card__title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.form-card__sub {
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-field {
    position: relative;
    margin-bottom: 1rem;
}
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 1.1rem 1rem 0.5rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
    transition: border-color 0.3s var(--ease);
}
.form-field textarea { min-height: 130px; resize: vertical; padding-top: 1.4rem; }
.form-field label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    pointer-events: none;
    transition: all 0.2s var(--ease);
    background: transparent;
    padding: 0 4px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--gold-deep);
}
.form-field input:focus ~ label,
.form-field textarea:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 0.7rem;
    background: var(--paper-pure);
    color: var(--gold-deep);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.25rem 0 1.5rem;
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    line-height: 1.5;
}
.form-check input {
    margin-top: 3px;
    accent-color: var(--gold-deep);
}
.form-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form-submit { width: 100%; justify-content: center; }

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: var(--fs-sm);
}
.form-message--success {
    background: rgba(42, 141, 92, 0.1);
    color: #1f6b44;
    border: 1px solid rgba(42, 141, 92, 0.3);
}
.form-message--error {
    background: rgba(168, 85, 46, 0.1);
    color: var(--rust);
    border: 1px solid rgba(168, 85, 46, 0.3);
}

/* --- 12. Service detail page --- */
.service-hero {
    padding: calc(var(--sp-3xl) + 1rem) 0 var(--sp-2xl);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.service-hero__inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-hero__inner .eyebrow {
    margin-bottom: 0.5rem;
}
.service-hero__title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0.75rem 0 1.25rem;
    text-wrap: balance;
    max-width: 18ch;
}
.service-hero__title em { color: var(--gold-deep); font-weight: 300; font-style: italic; }
.service-hero .lead {
    margin: 0 auto;
    line-height: 1.65;
}

.service-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4.5rem;
    padding: var(--sp-2xl) 0;
    align-items: start !important;
}
.service-content h3 {
    font-size: 1.65rem;
    margin: 2.25rem 0 1rem;
    font-weight: 400;
    letter-spacing: -0.015em;
}
.service-content h3:first-child { margin-top: 0; }
.service-content p {
    color: var(--ink-mute);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    max-width: 60ch;
}
.service-content ul.bullets {
    margin: 1rem 0 2rem;
    padding-left: 0;
}
.service-content ul.bullets li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
}
.service-content ul.bullets li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0.85rem;
    color: var(--gold-deep);
    font-size: 0.75rem;
}

/* ---- Aside compacto y moderno (sin fondo azul) ---- */
.service-aside {
    align-self: start !important;
    height: fit-content !important;
    max-height: max-content !important;
    position: sticky;
    top: 6rem;
    background: transparent;
    color: var(--ink);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
.service-aside::before { display: none; }

.service-aside__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-deep);
    margin-bottom: 0.85rem;
}
.service-aside__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
    animation: aside-dot 2s ease-in-out infinite;
}
@keyframes aside-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.service-aside h4 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 0.7rem;
    letter-spacing: -0.02em;
}
.service-aside h4 em {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 350;
}
.service-aside > p {
    color: var(--ink-mute);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.service-aside .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    font-weight: 600;
    border-radius: 14px;
}
.service-aside .btn--whatsapp {
    background: linear-gradient(180deg, #2BD96E 0%, #1FA855 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    font-size: 0.97rem;
}
.service-aside .btn--whatsapp::after { content: ''; }
.service-aside .btn--whatsapp:hover {
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.service-aside .btn--whatsapp svg {
    flex-shrink: 0;
    width: 20px; height: 20px;
}

.service-aside__features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem 0 0;
    margin: 1.25rem 0 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
}
.service-aside__feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.service-aside__feature svg {
    flex-shrink: 0;
    width: 16px; height: 16px;
    color: var(--gold-deep);
    background: rgba(184, 153, 104, 0.12);
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
}

.service-aside__divider {
    height: 1px;
    background: var(--line);
    margin: 1.25rem 0 1rem;
}

.service-aside__alt {
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
    color: var(--ink-mute) !important;
    margin: 0 !important;
}
.service-aside__alt a {
    color: var(--gold-deep);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(159, 126, 74, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.service-aside__alt a:hover {
    color: var(--ink);
    text-decoration-color: var(--ink);
}

/* --- 13. Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(14, 27, 44, 0.2);
}
.blog-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--paper-warm);
}
.blog-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-deep);
    margin-bottom: 0.75rem;
}
.blog-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    flex: 1;
}
.blog-card__excerpt {
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    margin-bottom: 1rem;
}

/* --- 14. Footer --- */
.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: var(--sp-2xl) 0 2rem;
    margin-top: var(--sp-2xl);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 241, 232, 0.15);
}
.footer-brand__logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--paper);
    margin-bottom: 0.5rem;
}
.footer-brand__logo em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.footer-brand__tag {
    font-size: var(--fs-sm);
    color: rgba(245, 241, 232, 0.6);
    margin-bottom: 1.5rem;
}
.footer-brand__msg {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-soft);
    margin-bottom: 1.5rem;
    max-width: 26ch;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(245, 241, 232, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(245, 241, 232, 0.7);
    transition: all 0.3s var(--ease);
}
.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    transform: translateY(-2px);
}
.footer-col__title {
    color: var(--paper);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-family: var(--font-body);
}
.footer-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list a {
    font-size: var(--fs-sm);
    color: rgba(245, 241, 232, 0.7);
    transition: color 0.3s var(--ease);
}
.footer-list a:hover { color: var(--gold-soft); }

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-xs);
    color: rgba(245, 241, 232, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom__made { font-style: italic; font-family: var(--font-display); }

/* --- 15. WhatsApp flotante --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: pulse-wa 2.4s ease-out infinite;
}
@keyframes pulse-wa {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* --- 16. Animaciones de entrada --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- 17. Responsive --- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(245, 241, 232, 0.18); }
}

@media (max-width: 900px) {
    :root {
        --sp-3xl: 5rem;
        --sp-2xl: 3.5rem;
    }

    .nav__toggle { display: flex; position: relative; z-index: 10001; }
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(88vw, 380px);
        background: var(--paper-pure, #FEFCF7);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
        box-shadow: -20px 0 60px rgba(14, 27, 44, 0.15);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 9999;
        max-height: 100vh;
        max-height: 100dvh;
        visibility: hidden;
        pointer-events: none;
    }
    .nav__menu.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.35s var(--ease), visibility 0s linear;
    }

    /* Backdrop oscuro detrás del menú */
    .nav::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(14, 27, 44, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease);
        z-index: 9998;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    .nav.is-open::before { opacity: 1; pointer-events: auto; }

    /* CRÍTICO: en móvil quitamos el backdrop-filter del header SIEMPRE.
       backdrop-filter crea un "stacking context" que atrapa al menú móvil
       detrás del contenido de la página. En móvil el blur apenas se nota,
       así que lo sacrificamos para que el menú funcione siempre. */
    .site-header,
    .site-header.is-scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .site-header.is-scrolled {
        background: rgba(245, 241, 232, 0.97);
    }
    .site-header { z-index: 9990; }

    body.nav-open {
        overflow: hidden;
        position: relative;
    }

    .nav__link {
        padding: 1rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
        justify-content: space-between;
    }
    .nav__has-sub .nav__submenu {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 1rem;
        min-width: 0;
    }
    /* Submenú de servicios en mobile: visible y con iconito simple */
    .nav__sub-icon,
    .nav__sub-desc { display: revert; }
    .nav__sub-text { display: flex !important; }
    .nav__submenu li { list-style: none; margin: 0; padding: 0; }
    .nav__submenu a {
        display: flex !important;
        align-items: center;
        gap: 0.85rem;
        padding: 0.7rem 0.85rem;
        margin: 0.25rem 0;
        background: rgba(159, 126, 74, 0.06);
        border: 0.5px solid rgba(159, 126, 74, 0.18);
        border-radius: 10px;
        text-decoration: none;
        color: var(--ink);
        transition: all 0.25s var(--ease);
    }
    .nav__submenu a:hover,
    .nav__submenu a.is-active {
        background: rgba(159, 126, 74, 0.12);
        border-color: rgba(159, 126, 74, 0.4);
        transform: translateX(2px);
    }
    .nav__sub-icon {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-style: italic;
        font-size: 0.78rem;
        font-weight: 400;
        color: var(--gold-deep, #9F7E4A);
        background: var(--paper, #F5F1E8);
        border: 0.5px solid rgba(159, 126, 74, 0.3);
        border-radius: 50%;
        letter-spacing: 0.02em;
    }
    .nav__sub-text {
        display: flex !important;
        flex-direction: column;
        gap: 1px;
        line-height: 1.2;
    }
    .nav__sub-title {
        font-family: var(--font-display);
        font-size: 1rem;
        color: var(--ink);
        letter-spacing: -0.01em;
    }
    .nav__sub-desc {
        font-family: var(--font-body);
        font-size: 0.72rem;
        color: var(--ink-mute, rgba(14,27,44,0.55));
        letter-spacing: 0.04em;
    }

    .nav__cta-item { margin: 1.5rem 0 0; }
    .nav__cta-item .btn { width: 100%; justify-content: center; }

    .hero {
        padding: calc(var(--sp-2xl) + 3rem) 0 var(--sp-2xl);
        text-align: center;
    }
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 100%;
    }
    .hero__title {
        font-size: clamp(2.2rem, 9vw, 3.5rem) !important;
        letter-spacing: -0.03em;
    }
    .hero__lead {
        font-size: 1rem !important;
        line-height: 1.55;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .hero__meta {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.65rem;
        gap: 0.65rem;
    }
    .hero__meta::before { width: 18px !important; }
    .hero__cta-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero__cta-row .btn { width: 100%; justify-content: center; }
    .hero__trust { font-size: 0.85rem; flex-wrap: wrap; }

    .section__head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }

    .services { grid-template-columns: 1fr; }
    .why { grid-template-columns: 1fr; gap: 2rem; }
    .why__visual { position: static; max-height: 500px; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }
    .service-aside {
        position: static !important;
        padding: 1.5rem !important;
        margin-top: 1rem;
    }
    .service-aside h4 { font-size: 1.35rem !important; }
    .service-aside .btn { padding: 0.85rem 1.1rem; font-size: 0.92rem; }

    .blog-grid { grid-template-columns: 1fr; }

    /* Footer compacto en mobile */
    .site-footer { padding: 2.25rem 0 1.25rem; margin-top: 3rem; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.5rem;
        padding-bottom: 1.5rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand__logo { font-size: 1.5rem; margin-bottom: 0.25rem; }
    .footer-brand__tag { font-size: 0.78rem; margin-bottom: 0.85rem; }
    .footer-brand__msg { font-size: 0.95rem; margin-bottom: 1rem; max-width: 100%; }
    .footer-social a { width: 32px; height: 32px; }
    .footer-social a svg { width: 14px; height: 14px; }
    .footer-col__title { font-size: 0.72rem; margin-bottom: 0.75rem; letter-spacing: 0.12em; }
    .footer-list { gap: 0.45rem; }
    .footer-list a { font-size: 0.82rem; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.25rem;
        font-size: 0.7rem;
        gap: 0.4rem;
    }

    .stats { grid-template-columns: 1fr; }
    .stat { border-right: none !important; border-bottom: 1px solid rgba(245, 241, 232, 0.18); }
    .stat:last-child { border-bottom: none; }

    .form-card { padding: 1.75rem; }
    .whatsapp-float { width: 54px; height: 54px; bottom: 1rem; right: 1rem; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .footer-brand__logo { font-size: 1.35rem; }
}

@media (max-width: 540px) {
    .brand__secondary { display: none; }
    .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
    .hero__cta-row { flex-direction: column; align-items: stretch; }
    .hero__cta-row .btn { justify-content: center; }
    .hero__trust { justify-content: center; }
}

/* ============================================================
   BLOG POSTS — Layout simple y editorial
============================================================ */

/* HERO del post */
.post-hero {
    padding: 8rem 0 2.5rem;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
    border-bottom: 1px solid var(--line);
}
.post-hero .container { max-width: 760px; }
.post-hero__inner {
    max-width: 100%;
}
.post-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0.85rem 0 1.25rem;
    color: var(--ink);
    text-wrap: balance;
}
.post-hero__title em { font-style: italic; color: var(--gold-deep); font-weight: 350; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    color: var(--ink-mute);
    font-size: 0.88rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.post-meta__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.post-meta__item::before {
    content: '';
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--gold-deep);
    margin-right: 0.4rem;
}
.post-meta__item:first-child::before { display: none; }
.post-meta__author { font-weight: 600; color: var(--ink); }

/* LAYOUT del post — centrado simple, una sola columna */
.post-layout {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: block;
}
.post-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.post-content > * + * { margin-top: 1.1rem; }

.post-content p { color: var(--ink-soft); }
.post-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 1.95rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 2.75rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
    text-wrap: balance;
}
.post-content h2 em { font-style: italic; color: var(--gold-deep); font-weight: 350; }
.post-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.3rem;
    color: var(--ink);
    letter-spacing: -0.015em;
}
.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    color: var(--ink-soft);
}
.post-content li { margin-bottom: 0.55rem; padding-left: 0.25rem; }
.post-content li::marker { color: var(--gold-deep); font-weight: 600; }
.post-content strong { color: var(--ink); font-weight: 600; }
.post-content a {
    color: var(--gold-deep);
    text-decoration: underline;
    text-decoration-color: rgba(159, 126, 74, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.post-content a:hover {
    color: var(--ink);
    text-decoration-color: var(--ink);
}

.post-content blockquote {
    border-left: 3px solid var(--gold-deep);
    padding: 0.4rem 0 0.4rem 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--ink);
}

/* Callout */
.post-callout {
    background: var(--paper-warm);
    border: 1px solid rgba(184, 153, 104, 0.25);
    border-left: 4px solid var(--gold-deep);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}
.post-callout strong { display: block; margin-bottom: 0.4rem; color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.post-callout p { margin: 0; font-size: 1rem; line-height: 1.65; }

/* Tabla */
.post-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.93rem;
    background: var(--paper-cool, var(--paper));
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.post-table th,
.post-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.post-table tr:last-child td { border-bottom: 0; }
.post-table th {
    background: var(--paper-warm);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
}
.post-table tbody tr:hover { background: rgba(184, 153, 104, 0.05); }

/* TOC convertido en bloque inline (no sticky lateral) */
.post-toc-wrap {
    background: var(--paper-warm);
    border: 1px solid rgba(184, 153, 104, 0.22);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin: 0 0 2.5rem;
}
.post-toc { font-size: 0.92rem; }
.post-toc__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-deep);
    margin-bottom: 0.7rem;
    display: block;
    font-weight: 600;
}
.post-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}
.post-toc li {
    margin-bottom: 0.35rem;
    counter-increment: toc;
}
.post-toc li::before {
    content: counter(toc, decimal-leading-zero) " ";
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.78rem;
    margin-right: 0.4rem;
}
.post-toc a {
    color: var(--ink-soft);
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.2s ease;
}
.post-toc a:hover { color: var(--gold-deep); }

/* CTA al final del post */
.post-cta {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft, #1B2A40) 100%);
    color: var(--paper);
    border-radius: 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 16px 40px rgba(14, 27, 44, 0.22);
}
.post-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(217, 188, 142, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(37, 211, 102, 0.08) 0%, transparent 50%);
    z-index: -1;
}
.post-cta__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-soft);
    margin-bottom: 0.6rem;
    font-weight: 600;
}
.post-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 400;
    margin: 0 0 0.7rem;
    text-wrap: balance;
    color: var(--paper);
    letter-spacing: -0.015em;
}
.post-cta__title em { font-style: italic; color: var(--gold-soft); }
.post-cta p {
    color: rgba(245, 241, 232, 0.78);
    max-width: 50ch;
    margin: 0 auto 1.4rem;
    font-size: 0.97rem;
    line-height: 1.55;
}
.post-cta .btn--whatsapp {
    background: linear-gradient(180deg, #2BD96E 0%, #1FA855 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    border-radius: 100px;
    padding: 0.95rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255,255,255,0.18);
}
.post-cta .btn--whatsapp::after { content: ''; }
.post-cta .btn--whatsapp:hover {
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255,255,255,0.18);
    color: #fff !important;
}

/* Tags */
.post-tags {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.post-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--paper-warm);
    border: 1px solid rgba(184, 153, 104, 0.22);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: all 0.2s ease;
}
.post-tag:hover {
    background: var(--gold-deep);
    color: var(--paper);
    border-color: var(--gold-deep);
}

/* Posts relacionados */
.post-related {
    background: var(--paper-warm);
    padding: 4rem 0;
    border-top: 1px solid var(--line);
}
.post-related .container { max-width: 1100px; }
.post-related__title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 400;
    margin: 0 0 1.75rem;
    color: var(--ink);
    text-wrap: balance;
    letter-spacing: -0.015em;
}
.post-related__title em { font-style: italic; color: var(--gold-deep); font-weight: 350; }

/* Drop cap del primer párrafo */
.post-content > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 500;
    line-height: 0.85;
    float: left;
    padding: 0.4rem 0.65rem 0 0;
    color: var(--gold-deep);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .post-hero { padding: 6rem 0 2rem; }
    .post-layout { padding: 2.25rem 1.25rem 3rem; }
    .post-content { font-size: 1rem; }
    .post-content > p:first-of-type::first-letter { font-size: 3.2rem; }
    .post-cta { padding: 2rem 1.5rem; margin-top: 2.5rem; }
    .post-cta__title { font-size: 1.4rem; }
    .post-toc-wrap { padding: 1rem 1.15rem; margin-bottom: 2rem; }
    .post-toc { font-size: 0.88rem; }
    .post-table { font-size: 0.85rem; }
    .post-table th, .post-table td { padding: 0.6rem 0.7rem; }
    .post-related { padding: 3rem 0; }
}

@media (max-width: 480px) {
    .post-hero { padding: 5.5rem 0 1.75rem; }
    .post-meta { gap: 0.85rem; font-size: 0.8rem; }
    .post-content > p:first-of-type::first-letter { font-size: 2.8rem; padding-right: 0.5rem; }
    .post-content blockquote { font-size: 1.05rem; padding-left: 1rem; }
    .post-callout { padding: 1rem 1.15rem; }
}

/* ============================================================
   COMPONENTES VISUALES — Páginas de servicio (refresh moderno)
============================================================ */

/* Refresh tipográfico fino — sin romper nada existente */
.service-content h3 {
    position: relative;
    padding-bottom: 0.65rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.018em;
}
.service-content h3:first-child { margin-top: 0; }
.service-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--gold-deep);
    border-radius: 2px;
}
.service-content p {
    line-height: 1.75;
    font-size: 1.02rem;
    color: var(--ink-soft);
}

/* Bullets con check dorado en círculo */
.bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.65rem;
}
.bullets li {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 3rem;
    background: var(--paper-cool, var(--paper-warm));
    border: 1px solid rgba(184, 153, 104, 0.18);
    border-radius: 12px;
    font-size: 0.97rem;
    line-height: 1.55;
    color: var(--ink);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.bullets li::before {
    content: '';
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
      url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23F5F1E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17.5 19 7.5'/%3E%3C/svg%3E") center/14px no-repeat,
      linear-gradient(135deg, #B89968 0%, #9F7E4A 100%);
    box-shadow: 0 2px 6px rgba(159, 126, 74, 0.3);
}
.bullets li:hover {
    border-color: rgba(184, 153, 104, 0.4);
    transform: translateX(2px);
}

/* Highlight box — para "por qué importa" */
.highlight-box {
    position: relative;
    background: linear-gradient(135deg, rgba(184, 153, 104, 0.08) 0%, rgba(184, 153, 104, 0.02) 100%);
    border: 1px solid rgba(184, 153, 104, 0.22);
    border-left: 4px solid var(--gold-deep);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.25rem 0 2rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink);
}
.highlight-box strong { color: var(--gold-deep); font-weight: 600; }

/* Grid de modelos como badges/cards */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0 2rem;
}
.model-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--ink-line, rgba(14, 27, 44, 0.10));
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.model-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
    opacity: 0.6;
}
.model-card:hover {
    border-color: rgba(184, 153, 104, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 27, 44, 0.08);
}
.model-card:hover::before { opacity: 1; }
.model-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--gold-deep);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}
.model-card__badge-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--gold-soft);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.18rem 0.55rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}
.model-card__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}
.model-card__desc {
    margin: 0;
    color: var(--ink-mute, var(--ink-soft));
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Process steps — para "Cómo trabajamos" */
.process-steps {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    counter-reset: step;
}
.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--ink-line, rgba(14, 27, 44, 0.10));
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.process-step:hover {
    border-color: rgba(184, 153, 104, 0.4);
    transform: translateX(2px);
}
.process-step__num {
    counter-increment: step;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft, #1B2A40) 100%);
    color: var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(14, 27, 44, 0.18);
}
.process-step__num::before { content: counter(step, decimal-leading-zero); }
.process-step__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0.2rem 0 0.3rem;
    letter-spacing: -0.01em;
}
.process-step__desc {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mejora visual del aside */
.service-aside h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -0.015em;
    margin-bottom: 0.85rem;
}
.service-aside p { line-height: 1.6; }

/* Mejoras tipográficas a la página de servicio */
.service-hero .lead {
    max-width: 58ch !important;
}

@media (max-width: 768px) {
    .model-grid { grid-template-columns: 1fr; }
    .bullets li { padding: 0.75rem 0.85rem 0.75rem 2.75rem; font-size: 0.93rem; }
    .bullets li::before { left: 0.7rem; width: 20px; height: 20px; }
    .process-step { grid-template-columns: 48px 1fr; padding: 1rem; gap: 0.85rem; }
    .process-step__num { width: 48px; height: 48px; font-size: 1.25rem; border-radius: 12px; }
}

/* ============================================================
   BLOG POSTS — refresh visual
============================================================ */

/* Drop cap mejor */
.post-content p:first-of-type::first-letter,
.post-content > p:first-child::first-letter {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 0.85;
    float: left;
    padding: 0.45rem 0.75rem 0 0;
    color: var(--gold-deep);
    font-style: italic;
}

/* H2 con accent line */
.post-content h2 {
    position: relative;
    padding-top: 2.5rem;
    margin-top: 3rem;
}
.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
    border-radius: 2px;
}

/* H3 más sutil */
.post-content h3 {
    position: relative;
    padding-left: 1rem;
}
.post-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    bottom: 0.3em;
    width: 3px;
    background: var(--gold-deep);
    border-radius: 2px;
}

/* Callout con icono */
.post-callout {
    background: linear-gradient(135deg, rgba(184, 153, 104, 0.08) 0%, rgba(184, 153, 104, 0.02) 100%);
    border: 1px solid rgba(184, 153, 104, 0.25);
    border-left: 4px solid var(--gold-deep);
    border-radius: 14px;
    padding: 1.5rem 1.75rem 1.5rem 3.75rem;
    margin: 2rem 0;
    position: relative;
}
.post-callout::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
      url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23F5F1E8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Ccircle cx='12' cy='16.5' r='0.5' fill='%23F5F1E8'/%3E%3C/svg%3E") center/16px no-repeat,
      linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    box-shadow: 0 2px 8px rgba(159, 126, 74, 0.3);
}
.post-callout strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.post-callout p { margin: 0; font-size: 0.97rem; line-height: 1.65; }

/* Tablas más limpias */
.post-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line, rgba(14, 27, 44, 0.10));
}
.post-table th {
    background: var(--ink);
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.95rem 1rem;
    text-align: left;
}
.post-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line, rgba(14, 27, 44, 0.08));
    color: var(--ink);
}
.post-table tr:last-child td { border-bottom: none; }
.post-table tr:hover td { background: rgba(184, 153, 104, 0.05); }

/* Blockquote más visual */
.post-content blockquote {
    position: relative;
    background: var(--paper-warm);
    border: 1px solid rgba(184, 153, 104, 0.18);
    border-left: none;
    border-radius: 14px;
    padding: 2rem 2rem 2rem 3.5rem;
    margin: 2.5rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.55;
    color: var(--ink);
}
.post-content blockquote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--gold-deep);
    font-style: italic;
}

/* Listas numeradas con números dorados grandes */
.post-content ol {
    counter-reset: post-list;
    list-style: none;
    padding-left: 0;
}
.post-content ol > li {
    counter-increment: post-list;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.85rem;
}
.post-content ol > li::before {
    content: counter(post-list);
    position: absolute;
    left: 0;
    top: -2px;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(159, 126, 74, 0.3);
}
.post-content ul:not(.post-toc ul):not(.post-toc ol) > li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    list-style: none;
}
.post-content ul:not(.post-toc ul):not(.post-toc ol) > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-deep);
}
.post-content ul:not(.post-toc ul):not(.post-toc ol) {
    padding-left: 0;
    list-style: none;
}

/* TOC mejorada */
.post-toc {
    background: var(--paper-warm);
    padding: 1.5rem;
    border-radius: 14px;
    border-left: none;
    border: 1px solid rgba(184, 153, 104, 0.18);
}
.post-toc__label {
    color: var(--gold-deep);
    font-weight: 700;
}
.post-toc ol {
    counter-reset: toc;
}
.post-toc li {
    counter-increment: toc;
    position: relative;
    padding-left: 1.5rem;
}
.post-toc li::before {
    content: counter(toc, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--gold-deep);
    font-weight: 600;
    line-height: 1.6;
}
.post-toc a { font-size: 0.85rem; }

/* Post hero refinado */
.post-hero {
    padding: 8rem 0 3.5rem;
}
.post-hero__title {
    font-weight: 500;
    text-wrap: balance;
}

/* Post CTA refinado */
.post-cta {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft, #1B2A40) 100%);
    border-radius: 18px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 20px 50px rgba(14, 27, 44, 0.18);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.post-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(217, 188, 142, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
    z-index: -1;
}
.post-cta__title {
    font-weight: 500;
    letter-spacing: -0.015em;
    text-wrap: balance;
}
.post-cta .btn--whatsapp {
    background: linear-gradient(180deg, #2BD96E 0%, #1FA855 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    border-radius: 100px;
    padding: 0.95rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-cta .btn--whatsapp::after { content: ''; }
.post-cta .btn--whatsapp:hover {
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255,255,255,0.18);
    color: #fff !important;
}
.post-cta .btn--whatsapp svg {
    flex-shrink: 0;
    width: 20px; height: 20px;
    margin-right: 0.4rem;
}


/* ============================================================
   REFINAMIENTO FINAL — Diseño + Responsive perfecto
============================================================ */

/* Smooth scroll para anclas internas */
html { scroll-padding-top: 6rem; }

/* Refinamiento general de transiciones */
a, button { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease; }

/* Mejor focus para accesibilidad */
*:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Formulario completamente responsive ---- */
.form-field input,
.form-field textarea,
.form-field select {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px; /* evita zoom de iOS al hacer focus */
    width: 100%;
    max-width: 100%;
}
.form-field textarea {
    resize: vertical;
    max-width: 100%;
}
.form-card {
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
}

/* ---- Contact grid: en mobile más compacto ---- */
.contact-grid {
    box-sizing: border-box;
}
.contact-info__list {
    word-break: break-word;
}

/* ============================================================
   RESPONSIVE — Tablet (≤900px)
============================================================ */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .form-card { padding: 2rem; }
    .form-card__title { font-size: 1.55rem; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤640px)
============================================================ */
@media (max-width: 640px) {
    /* Container con padding lateral consistente */
    .container { padding-left: 1.25rem; padding-right: 1.25rem; }

    /* Form en mobile */
    .form-card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }
    .form-card__title { font-size: 1.4rem; }
    .form-card__sub { font-size: 0.88rem; margin-bottom: 1.5rem; }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    .form-field {
        margin-bottom: 0.85rem;
    }
    .form-field input,
    .form-field textarea,
    .form-field select {
        padding: 1rem 0.85rem 0.55rem;
        font-size: 16px;
    }
    .form-field label {
        top: 0.95rem;
        left: 0.85rem;
        font-size: 0.88rem;
    }
    .form-field input:focus ~ label,
    .form-field textarea:focus ~ label,
    .form-field input:not(:placeholder-shown) ~ label,
    .form-field textarea:not(:placeholder-shown) ~ label {
        top: -7px;
        left: 10px;
        font-size: 0.65rem;
    }
    .form-check { font-size: 0.82rem; }
    .form-submit { padding: 0.95rem 1.25rem; font-size: 0.95rem; }

    /* Contact info más compacto */
    .contact-info__title { font-size: 1.7rem; }
    .contact-info__item { padding: 0.85rem; gap: 0.85rem; }
    .contact-info__icon { width: 38px; height: 38px; }
    .contact-info__value { font-size: 0.95rem; word-break: break-word; }

    /* Hero más compacto en mobile */
    .hero__visual { max-width: 90%; margin: 2rem auto 0; }
    .hero__img-secondary { width: 35%; bottom: -1rem; left: -1rem; border-width: 4px; }
    .hero__badge { width: 90px; height: 90px; font-size: 0.72rem; padding: 0.5rem; top: -0.75rem; right: -0.5rem; }

    /* Cards services compactas */
    .service-card { padding: 1.5rem 1.25rem; }
    .service-card__title { font-size: 1.25rem; }
    .service-card__desc { font-size: 0.95rem; }

    /* Service hero */
    .service-hero { padding: 6rem 0 2.5rem; text-align: center; }
    .service-hero__inner { max-width: 100%; }
    .service-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.6rem) !important;
        max-width: 100%;
        line-height: 1.1;
    }
    .service-hero .lead {
        font-size: 0.98rem;
        max-width: 100% !important;
        padding: 0 0.5rem;
    }

    /* Container de service-content más compacto */
    .service-content {
        padding: 2.5rem 0 !important;
        gap: 1.75rem !important;
    }
}

/* ============================================================
   RESPONSIVE — Mobile pequeño (≤400px)
============================================================ */
@media (max-width: 400px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .form-card { padding: 1.25rem 1rem; }
    .form-field input, .form-field textarea, .form-field select { padding: 0.95rem 0.75rem 0.5rem; }
    .hero__title { font-size: clamp(1.85rem, 9vw, 2.5rem); }
    .hero__lead { font-size: 0.95rem; }
    .hero__badge { width: 78px; height: 78px; font-size: 0.65rem; padding: 0.4rem; }
}

/* ============================================================
   IMPROVEMENTS GENERALES — Toques modernos
============================================================ */

/* Section-head mejor balance en mobile */
@media (max-width: 768px) {
    .section__head {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Efecto hover más sutil en cards */
.service-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(14, 27, 44, 0.1);
    border-color: rgba(184, 153, 104, 0.4);
}

/* Blog cards más limpias */
.blog-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(14, 27, 44, 0.12);
}
.blog-card__img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }

/* Brand hover en header */
.brand { transition: opacity 0.2s ease; }
.brand:hover { opacity: 0.85; }

/* Mejor animación del botón WhatsApp flotante */
.whatsapp-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
}

/* Marquee del hero más suave */
.hero-marquee { -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }

/* Mejor estilo en placeholders */
::placeholder { color: var(--ink-mute); opacity: 0.7; }

/* Selección texto */
::selection { background: var(--gold-deep); color: var(--paper); }

/* ============================================================
   BLOG: filtros de categoría + placeholder de imagen
============================================================ */
.blog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    justify-content: center;
}
.blog-filter {
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(14, 27, 44, 0.15);
    border-radius: 999px;
    color: rgba(14, 27, 44, 0.65);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}
.blog-filter:hover {
    border-color: var(--gold-deep, #9F7E4A);
    color: var(--gold-deep, #9F7E4A);
}
.blog-filter.is-active {
    background: var(--ink, #0E1B2C);
    color: var(--paper, #F5F1E8);
    border-color: var(--ink, #0E1B2C);
}

.blog-card__img--placeholder {
    background: linear-gradient(135deg, var(--gold, #B89968) 0%, var(--gold-deep, #8B6F4A) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.blog-card__img--placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 8px);
}
.blog-card__placeholder-cat {
    position: relative;
    z-index: 1;
    color: rgba(245, 241, 232, 0.95);
    font-family: var(--font-display, Georgia), serif;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

/* Figura dentro del contenido del post */
.post-figure {
    margin: 2rem 0;
}
.post-figure img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 16px 32px -10px rgba(14, 27, 44, 0.18);
}

/* Cover de imagen destacada en post individual */
.post-cover {
    margin: 1.5rem auto 2.5rem;
}
.post-cover .container {
    max-width: 760px;
}
.post-cover img {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 340px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 16px 36px -12px rgba(14, 27, 44, 0.2);
    display: block;
}
@media (max-width: 768px) {
    .post-cover { margin: 1rem auto 1.5rem; }
    .post-cover img { aspect-ratio: 16/10; max-height: 240px; }
}

/* ============================================================
   POSTS DEL BLOG (renderizados desde BD)
   .post-body es el contenedor del HTML que viene del CMS
============================================================ */

.post-container {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 1.5rem;
}

.post-body {
    color: var(--ink-soft, rgba(14, 27, 44, 0.82));
    font-size: 1.08rem;
    line-height: 1.85;
    font-family: var(--font-body, 'Manrope', sans-serif);
}

/* Espaciado generoso entre elementos */
.post-body > * { margin: 0 0 1.5rem; }
.post-body > *:last-child { margin-bottom: 0; }

/* Lead / primer párrafo destacado */
.post-body .post-lead,
.post-body > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--ink, #0E1B2C);
    font-weight: 400;
    border-bottom: 0.5px solid rgba(159, 126, 74, 0.3);
    padding-bottom: 1.75rem;
    margin-bottom: 2.5rem;
}

/* Párrafos */
.post-body p {
    margin: 0 0 1.35rem;
    color: rgba(14, 27, 44, 0.82);
}

/* Títulos */
.post-body h2 {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.55rem, 2.6vw, 1.95rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink, #0E1B2C);
    margin: 3rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}
.post-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    bottom: 0.3em;
    width: 3px;
    background: var(--gold-deep, #9F7E4A);
    border-radius: 2px;
}
.post-body h2 em {
    font-style: italic;
    color: var(--gold-deep, #9F7E4A);
    font-weight: 400;
}

.post-body h3 {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.2rem, 1.9vw, 1.4rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--ink, #0E1B2C);
    margin: 2.25rem 0 0.85rem;
}

/* Listas */
.post-body ul,
.post-body ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}
.post-body li {
    margin-bottom: 0.65rem;
    padding-left: 0.3rem;
    line-height: 1.7;
    color: rgba(14, 27, 44, 0.82);
}
.post-body li::marker {
    color: var(--gold-deep, #9F7E4A);
    font-weight: 600;
}
.post-body li strong {
    color: var(--ink, #0E1B2C);
    font-weight: 600;
}

/* Negrita y enlaces */
.post-body strong {
    color: var(--ink, #0E1B2C);
    font-weight: 600;
}
.post-body em {
    font-style: italic;
}
.post-body a {
    color: var(--gold-deep, #9F7E4A);
    text-decoration: none;
    border-bottom: 1px solid rgba(159, 126, 74, 0.4);
    transition: border-color 0.2s, color 0.2s;
}
.post-body a:hover {
    color: var(--ink, #0E1B2C);
    border-bottom-color: var(--ink, #0E1B2C);
}

/* Citas */
.post-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 1.75rem 1.5rem 2rem;
    background: linear-gradient(90deg, rgba(159, 126, 74, 0.06) 0%, transparent 100%);
    border-left: 3px solid var(--gold-deep, #9F7E4A);
    font-family: var(--font-display, Georgia, serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink, #0E1B2C);
    border-radius: 0 6px 6px 0;
    position: relative;
}
.post-body blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 0.65rem;
    font-size: 3rem;
    color: var(--gold-deep, #9F7E4A);
    line-height: 1;
    font-family: var(--font-display, Georgia, serif);
    opacity: 0.5;
}
.post-body blockquote p { margin: 0; }

/* Caja resaltada */
.post-body .highlight-box {
    margin: 2.5rem 0;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #FAF7EE 0%, #F5F1E8 100%);
    border: 0.5px solid rgba(159, 126, 74, 0.35);
    border-left: 3px solid var(--gold-deep, #9F7E4A);
    border-radius: 8px;
    color: var(--ink, #0E1B2C);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
}
.post-body .highlight-box strong:first-child {
    display: inline-block;
    color: var(--gold-deep, #9F7E4A);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: 0.3rem;
}

/* Tablas */
.post-body .post-table,
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--paper-pure, #FEFCF7);
    border: 1px solid rgba(14, 27, 44, 0.08);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.95rem;
}
.post-body table th {
    text-align: left;
    padding: 0.85rem 1.1rem;
    background: rgba(159, 126, 74, 0.08);
    color: var(--ink, #0E1B2C);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(14, 27, 44, 0.1);
}
.post-body table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(14, 27, 44, 0.06);
    color: rgba(14, 27, 44, 0.82);
    vertical-align: top;
}
.post-body table tr:last-child td { border-bottom: none; }
.post-body table tr:hover td { background: rgba(159, 126, 74, 0.03); }

/* Code inline */
.post-body code {
    background: rgba(14, 27, 44, 0.06);
    padding: 0.12em 0.4em;
    border-radius: 4px;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.9em;
    color: var(--ink, #0E1B2C);
}

/* Figuras / imágenes dentro del post */
.post-body .post-figure,
.post-body figure {
    margin: 2.5rem 0;
}
.post-body .post-figure img,
.post-body figure img,
.post-body p > img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 16px 32px -12px rgba(14, 27, 44, 0.18);
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .post-body { font-size: 1rem; line-height: 1.75; }
    .post-body .post-lead,
    .post-body > p:first-of-type { font-size: 1.1rem; padding-bottom: 1.25rem; margin-bottom: 1.75rem; }
    .post-body h2 { font-size: 1.5rem; margin: 2.25rem 0 0.85rem; }
    .post-body h3 { font-size: 1.15rem; margin: 1.75rem 0 0.6rem; }
    .post-body blockquote { padding: 1.1rem 1.25rem 1.1rem 1.5rem; font-size: 1.02rem; margin: 1.75rem 0; }
    .post-body .highlight-box { padding: 1.1rem 1.25rem; margin: 1.75rem 0; }
    .post-body table { font-size: 0.88rem; }
    .post-body table th, .post-body table td { padding: 0.65rem 0.8rem; }
}

/* ============================================================
   CTA al final del post (más compacto, no alargado)
============================================================ */
.post-cta {
    max-width: 760px;
    margin: 4rem auto 0;
    padding: 2.25rem;
    background: linear-gradient(135deg, #0E1B2C 0%, #1B2A40 100%);
    border-radius: 12px;
    color: var(--paper, #F5F1E8);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.post-cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 188, 142, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.post-cta__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft, #D9BC8E);
    font-weight: 600;
    margin-bottom: 0.85rem;
}
.post-cta__title {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin: 0 0 0.65rem;
    position: relative;
}
.post-cta__title em { color: var(--gold-soft, #D9BC8E); font-style: italic; }
.post-cta__text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(245, 241, 232, 0.75);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    position: relative;
}
.post-cta__buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    position: relative;
}
.post-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: transform 0.2s, background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.post-cta__btn--primary {
    background: var(--gold-soft, #D9BC8E);
    color: var(--ink, #0E1B2C);
}
.post-cta__btn--primary:hover {
    background: var(--paper, #F5F1E8);
    transform: translateY(-2px);
}
.post-cta__btn--ghost {
    background: transparent;
    color: var(--paper);
    border: 0.5px solid rgba(245, 241, 232, 0.35);
}
.post-cta__btn--ghost:hover {
    border-color: var(--gold-soft, #D9BC8E);
    color: var(--gold-soft, #D9BC8E);
    transform: translateY(-2px);
}
.post-cta__btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .post-cta { padding: 1.75rem 1.25rem; margin-top: 3rem; border-radius: 10px; }
    .post-cta__title { font-size: 1.3rem; }
    .post-cta__text { font-size: 0.92rem; margin-bottom: 1.25rem; }
    .post-cta__buttons { flex-direction: column; width: 100%; gap: 0.5rem; }
    .post-cta__btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.9rem; }
}

/* ============================================================
   Mini-formulario de servicio
============================================================ */
.service-form-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(159,126,74,0.04) 100%);
}
.service-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--paper-pure, #FEFCF7);
    border: 1px solid rgba(14,27,44,0.08);
    border-radius: 14px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 24px 60px -20px rgba(14,27,44,0.15);
    position: relative;
    overflow: hidden;
}
.service-form::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(217,188,142,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.service-form-head {
    text-align: center;
    margin-bottom: 1.75rem;
    position: relative;
}
.service-form-head .eyebrow {
    display: inline-block;
    color: var(--gold-deep, #9F7E4A);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.65rem;
}
.service-form-title {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink, #0E1B2C);
    margin: 0 0 0.5rem;
}
.service-form-title em {
    font-style: italic;
    color: var(--gold-deep, #9F7E4A);
    font-weight: 400;
}
.service-form-subtitle {
    color: rgba(14,27,44,0.65);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.service-form-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
}
.service-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.service-form-body input[type="text"],
.service-form-body input[type="email"],
.service-form-body input[type="tel"],
.service-form-body textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(14,27,44,0.15);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    color: var(--ink, #0E1B2C);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.service-form-body input:focus,
.service-form-body textarea:focus {
    outline: none;
    border-color: var(--gold-deep, #9F7E4A);
    box-shadow: 0 0 0 3px rgba(159,126,74,0.12);
}
.service-form-body textarea {
    resize: vertical;
    min-height: 90px;
}
.service-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: rgba(14,27,44,0.7);
    line-height: 1.5;
    cursor: pointer;
    margin-top: 0.25rem;
}
.service-form-privacy input { margin-top: 3px; flex-shrink: 0; }
.service-form-privacy a {
    color: var(--gold-deep, #9F7E4A);
    text-decoration: none;
    border-bottom: 1px solid rgba(159,126,74,0.3);
}
.service-form-submit {
    margin-top: 0.85rem;
    align-self: center;
    min-width: 220px;
}
.service-form-status {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
    min-height: 1.4em;
}
.service-form-status--ok { color: #047857; }
.service-form-status--err { color: #991B1B; }

/* honeypot field, hidden visually */
.service-form-body .hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 640px) {
    .service-form { padding: 1.75rem 1.5rem; }
    .service-form-row { grid-template-columns: 1fr; }
    .service-form-submit { width: 100%; }
}

/* ============================================================
   Planes y precios — página de Renta
   ============================================================ */
.plans {
    padding: 4rem 0 1rem;
}
.plans__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}
.plans__head .eyebrow {
    color: var(--gold-deep);
}
.plans__title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin: 0.75rem 0 1rem;
}
.plans__title em {
    color: var(--gold-deep);
    font-style: italic;
    font-weight: 300;
}
.plans__lead {
    font-size: var(--fs-md);
    color: var(--ink-mute);
    line-height: 1.6;
    margin: 0;
}
.plans__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    max-width: 760px;
    margin: 0 auto;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.65rem 1.4rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(14, 27, 44, 0.25);
    border-color: rgba(184, 153, 104, 0.5);
}
.plan--featured {
    background: var(--ink);
    border-color: var(--ink);
}
.plan--featured:hover {
    border-color: var(--gold);
}
.plan__badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
}
.plan__top {
    margin-bottom: 0.9rem;
}
.plan__name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 0.6rem;
}
.plan--featured .plan__name {
    color: var(--paper);
}
.plan__price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.plan__amount {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--gold-deep);
    line-height: 1;
}
.plan--featured .plan__amount {
    color: var(--gold-soft);
}
.plan__amount--custom {
    font-size: 1.6rem;
    font-style: italic;
}
.plan__desc {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    line-height: 1.55;
    margin: 0 0 1.4rem;
    flex: 1;
}
.plan--featured .plan__desc {
    color: rgba(245, 241, 232, 0.78);
}
.plan__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.plan__btn:hover {
    background: #25C366;
    transform: scale(1.02);
}
.plan__btn svg { flex-shrink: 0; }
.plan__btn--featured {
    background: var(--gold);
    color: var(--ink);
}
.plan__btn--featured:hover {
    background: #25C366;
    color: var(--paper);
}
.plans__note {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--ink-mute);
    margin: 2.5rem auto 0;
    max-width: 540px;
}

@media (max-width: 860px) {
    .plans__grid { grid-template-columns: 1fr; gap: 1.85rem; max-width: 420px; }
    .plans { padding: 3rem 0 0.5rem; }
    .plan--featured { order: -1; }
}
