/* ══════════════════════════════════════════════════════════
   JQ FINANCIAL ADVISOR — DESIGN SYSTEM
   Fonts: Hubballi (headings) · Afacad (body)
   Colors: navy · gold · magenta · off-white
   ══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --navy: #0b1d35;
    --navy-card: #112240;
    --navy-mid: #1a3a5c;
    --gold: #c9a84c;
    --gold-light: #e0c06e;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --magenta: #c4006a;
    --white: #ffffff;
    --off-white: #f8f5ee;
    --text-dark: #0b1d35;
    --text-mid: #3d5166;
    --text-muted: #8a9bb0;
    --border: rgba(201, 168, 76, 0.25);
    --surface-line: rgba(11, 29, 53, 0.08);
    --shadow-soft: 0 10px 24px rgba(11, 29, 53, 0.08);
    --shadow-medium: 0 18px 44px rgba(11, 29, 53, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: all 0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* scroll-behavior handled per-call in JS so pinScroll stays instant */

body {
    font-family: 'Afacad', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

h1,
h2,
h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    line-height: 1.1;
}

/* ── Container ─────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2.2rem;
    border-radius: var(--radius-sm);
    font-family: 'Hubballi', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-magenta {
    background: var(--magenta);
    color: var(--white);
    border-color: var(--magenta);
}

.btn-magenta:hover {
    background: #a5005a;
    border-color: #a5005a;
}

.btn-dark {
    font-family: 'Hubballi', Georgia, serif;
    font-weight: 600;
    /* font-size: 48pt; */
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-dark:hover {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 29, 53, 0.25);
}

.btn-whatsapp {
    font-weight: bold;
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

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

/* ── Shared section label ──────────────────────────────── */
.section-eyebrow {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.section-eyebrow.light {
    color: rgba(201, 168, 76, 0.8);
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid rgba(11, 29, 53, 0.08);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(11, 29, 53, 0.12);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    height: 80px;
}

.navbar-logo img {
    height: 56px;
    width: auto;
    aspect-ratio: 136 / 95;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: var(--gold-dim);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Primary experience switch ────────────────────────── */
[hidden] {
    display: none !important;
}

.site-view-switch {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.2rem;
    padding: 0.25rem;
    background: rgba(11, 29, 53, 0.055);
    border: 1px solid var(--surface-line);
    border-radius: 999px;
}

.site-view-tab {
    border: 0;
    background: transparent;
    color: var(--text-mid);
    border-radius: 999px;
    padding: 0.52rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
}

.site-view-tab:hover {
    color: var(--navy);
}

.site-view-tab.active {
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 5px 14px rgba(11, 29, 53, 0.18);
}

.site-view-tab:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════
   WAKE UP · BILL REVIEW
   ══════════════════════════════════════════════════════════ */
.wake-hero {
    position: relative;
    min-height: min(880px, 100vh);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 132px 0 74px;
    background:
        radial-gradient(circle at 88% 25%, rgba(201, 168, 76, 0.18), transparent 31%),
        radial-gradient(circle at 5% 92%, rgba(11, 29, 53, 0.08), transparent 31%),
        var(--off-white);
}

.wake-hero::before {
    content: '';
    position: absolute;
    top: 80px;
    right: -12vw;
    width: 48vw;
    height: 48vw;
    border: 1px solid rgba(11, 29, 53, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.wake-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.72fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.wake-brand {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    width: max-content;
    max-width: 100%;
    margin-bottom: 1.45rem;
    color: var(--navy);
    line-height: 1;
}

.wake-brand-name {
    font-family: 'Afacad', Arial, sans-serif;
    font-size: clamp(2.45rem, 4vw, 3.7rem);
    font-weight: 600;
    letter-spacing: -0.1em;
}

.wake-brand-name > span {
    color: #008da8;
}

.wake-brand small {
    width: 100%;
    margin-top: 0.55rem;
    color: var(--text-mid);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.wake-hero-content h1 {
    max-width: 900px;
    color: var(--navy);
    font-size: clamp(3.2rem, 6.1vw, 6.5rem);
    line-height: 1.01;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.wake-hero-content h1 span {
    color: var(--gold);
}

.wake-hero-lead {
    max-width: 720px;
    margin-top: 1.75rem;
    color: var(--text-mid);
    font-size: clamp(1.1rem, 1.45vw, 1.35rem);
    line-height: 1.65;
}

.wake-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.15rem;
}

.btn-outline-navy {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(11, 29, 53, 0.28);
}

.btn-outline-navy:hover {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.wake-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin-top: 1.6rem;
    color: var(--navy);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.wake-assurances span::before {
    content: '✓';
    display: inline-grid;
    place-items: center;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.45rem;
    color: var(--navy);
    background: var(--gold);
    border-radius: 50%;
    font-size: 0.78rem;
}

.wake-hero-visual {
    position: relative;
    width: min(100%, 500px);
    margin-left: auto;
}

.wake-document {
    position: relative;
    padding: clamp(1.35rem, 3vw, 2.2rem);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(11, 29, 53, 0.1);
    border-radius: 4px;
    box-shadow: 0 35px 80px rgba(11, 29, 53, 0.18);
    transform: rotate(1.4deg);
}

.wake-document::before {
    content: '';
    position: absolute;
    inset: 12px -12px -12px 12px;
    z-index: -1;
    border: 1px solid rgba(201, 168, 76, 0.45);
    background: rgba(255, 255, 255, 0.45);
}

.wake-document-top,
.wake-document-title,
.wake-document-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.wake-document-top {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--surface-line);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.wake-document-status {
    color: #487264;
}

.wake-document-title {
    padding: 1.55rem 0 1rem;
}

.wake-document-title small,
.wake-document-result small {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wake-document-title strong,
.wake-document-result strong {
    display: block;
    color: var(--navy);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1rem;
}

.wake-document-mark {
    display: grid;
    place-items: center;
    flex: 0 0 3.2rem;
    width: 3.2rem;
    height: 3.2rem;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.5);
    border-radius: 50%;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
}

.wake-chart {
    display: flex;
    align-items: flex-end;
    height: 155px;
    gap: 8%;
    padding: 1.2rem 1.2rem 0;
    border-left: 1px solid rgba(11, 29, 53, 0.12);
    border-bottom: 1px solid rgba(11, 29, 53, 0.12);
    background: repeating-linear-gradient(to top, transparent 0 38px, rgba(11, 29, 53, 0.045) 38px 39px);
}

.wake-chart span {
    width: 16%;
    height: var(--bar);
    background: var(--navy-mid);
    border-radius: 3px 3px 0 0;
}

.wake-chart span.is-gold {
    background: var(--gold);
}

.wake-document-lines {
    display: grid;
    gap: 0.55rem;
    margin: 1.25rem 0;
}

.wake-document-lines span {
    height: 6px;
    border-radius: 99px;
    background: rgba(11, 29, 53, 0.08);
}

.wake-document-lines span:nth-child(2) { width: 82%; }
.wake-document-lines span:nth-child(3) { width: 66%; }

.wake-document-result {
    justify-content: flex-start;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-line);
}

.wake-check {
    display: grid;
    place-items: center;
    flex: 0 0 2.7rem;
    width: 2.7rem;
    height: 2.7rem;
    color: var(--navy);
    background: var(--gold);
    border-radius: 50%;
    font-weight: 700;
}

.wake-seal {
    position: absolute;
    right: -1.3rem;
    bottom: -2.2rem;
    display: grid;
    min-width: 170px;
    padding: 1rem 1.15rem;
    color: var(--white);
    background: var(--navy);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-medium);
}

.wake-seal span {
    color: var(--gold-light);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wake-seal strong {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.9rem;
}

.wake-process,
.wake-benefits {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: var(--white);
}

.wake-heading {
    max-width: 760px;
}

.wake-heading .section-subtitle {
    max-width: 620px;
}

.wake-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3rem;
    border-top: 1px solid rgba(11, 29, 53, 0.14);
}

.wake-steps li {
    position: relative;
    min-height: 320px;
    padding: 2rem clamp(1.5rem, 3vw, 3rem) 1.5rem;
    border-right: 1px solid rgba(11, 29, 53, 0.14);
}

.wake-steps li:first-child { padding-left: 0; }
.wake-steps li:last-child { border-right: 0; }

.wake-step-number {
    display: block;
    color: var(--gold);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.wake-step-icon {
    width: 58px;
    height: 58px;
    margin: 2rem 0 2.5rem;
    color: var(--navy);
}

.wake-step-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wake-steps h3 {
    color: var(--navy);
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    margin-bottom: 0.8rem;
}

.wake-steps p {
    max-width: 320px;
    color: var(--text-mid);
    font-size: 1rem;
}

.wake-scope {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8rem) 0;
    color: var(--white);
    background: var(--navy);
}

.wake-scope::after {
    content: '';
    position: absolute;
    right: -10rem;
    bottom: -20rem;
    width: 42rem;
    height: 42rem;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
}

.wake-scope-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.65fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.wake-scope h2,
.wake-benefits h2,
.wake-contact h2 {
    font-size: clamp(2.4rem, 4.8vw, 5rem);
    letter-spacing: -0.045em;
}

.wake-scope-copy > p:not(.section-eyebrow) {
    max-width: 700px;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
}

.wake-service-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.wake-service-list span {
    display: grid;
    gap: 1rem;
    padding: 1.5rem 0.55rem 0;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 600;
}

.wake-service-list span:first-child { padding-left: 0; }
.wake-service-list span:last-child { border-right: 0; }

.wake-service-list b {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.wake-commitment {
    padding: clamp(1.75rem, 4vw, 3rem);
    color: var(--navy);
    background: var(--off-white);
    border-top: 4px solid var(--gold);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.17);
}

.wake-commitment h3 {
    margin: 0.5rem 0 1.6rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.wake-commitment ul,
.wake-benefit-card ul {
    display: grid;
    gap: 0.8rem;
}

.wake-commitment li,
.wake-benefit-card li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-mid);
}

.wake-commitment li::before,
.wake-benefit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--gold);
    font-weight: 700;
}

.wake-benefits {
    background: var(--off-white);
}

.wake-benefits-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: clamp(2rem, 8vw, 8rem);
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(11, 29, 53, 0.14);
}

.wake-benefits-intro p:last-child {
    max-width: 680px;
    color: var(--text-mid);
    font-size: 1.15rem;
}

.wake-benefit-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 1rem;
    margin-top: 1.2rem;
}

.wake-benefit-card {
    min-height: 310px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    background: var(--white);
    border: 1px solid rgba(11, 29, 53, 0.09);
    box-shadow: var(--shadow-soft);
}

.wake-benefit-featured {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.wake-card-kicker {
    display: block;
    margin-bottom: 1.6rem;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.wake-benefit-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 2.2vw, 2.05rem);
}

.wake-benefit-card p {
    color: var(--text-mid);
}

.wake-benefit-featured p {
    color: rgba(255, 255, 255, 0.7);
}

.wake-benefit-featured a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.1rem;
    color: var(--gold-light);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 600;
    word-break: break-word;
}

.wake-quote {
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--surface-line);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.94rem;
    font-style: italic;
}

.wake-affiliations {
    display: flex;
    align-items: center;
    gap: 1rem 2.2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(11, 29, 53, 0.13);
    color: var(--text-mid);
    font-size: 0.88rem;
}

.wake-affiliations > span:not(.wake-affiliations-label) {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 300px;
}

.wake-affiliations strong {
    color: var(--navy);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1rem;
}

.wake-affiliations-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wake-contact {
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    color: var(--white);
    background: #08172b;
}

.wake-contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: center;
}

.wake-contact p:not(.section-eyebrow) {
    max-width: 680px;
    margin-top: 1.15rem;
    color: rgba(255, 255, 255, 0.67);
}

.wake-contact-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wake-phone {
    display: grid;
    color: var(--white);
}

.wake-phone small {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wake-phone strong {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.35rem;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(11, 29, 53, 0.08) 0%, rgba(11, 29, 53, 0) 36%),
        radial-gradient(circle at 12% 84%, rgba(201, 168, 76, 0.2) 0%, rgba(201, 168, 76, 0) 34%),
        var(--off-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* navbar height */
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(248, 245, 238, 0) 0%, var(--off-white) 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0;
    width: 100%;
}

.hero-content {
    min-width: 0;
}

@keyframes heroTextIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-name {
    font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
    font-size: clamp(4rem, 7.5vw, 8rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 1rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo img {
    width: clamp(340px, 40vw, 720px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(11, 29, 53, 0.15));
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    animation: heroPhotoIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes heroPhotoIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-family: 'Hubballi', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-tagline {
    font-family: 'Afacad', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    font-weight: 500;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 620px;
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0 0 2rem;
    max-width: 720px;
}

.hero-metric {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--surface-line);
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.2rem;
}

.hero-metric-value {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1.2;
}

.hero-metric-label {
    color: var(--text-mid);
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-content .legal-note {
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.trust-pill {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    border: 1px solid rgba(11, 29, 53, 0.18);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}

.legal-note {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: rgba(11, 29, 53, 0.65);
    line-height: 1.45;
}

.legal-note-light {
    color: rgba(255, 255, 255, 0.62);
}

.credibilidad {
    background: linear-gradient(180deg, var(--off-white) 0%, #f2ede1 100%);
    padding: 0 0 4.5rem;
}

.credibilidad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cred-card {
    background: var(--white);
    border: 1px solid var(--surface-line);
    border-top: 3px solid var(--gold);
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cred-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.cred-kicker {
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.cred-card h3 {
    font-family: 'Afacad', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.45rem;
}

.cred-card p {
    font-size: 1.06rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════ */
.servicios {
    position: relative;
    background:
        radial-gradient(circle at 82% 10%, rgba(201, 168, 76, 0.1) 0%, rgba(201, 168, 76, 0) 45%),
        var(--off-white);
    padding: 8rem 0;
    overflow: hidden;
}

.servicios::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(248, 245, 238, 0) 0%, var(--off-white) 100%);
}

.section-heading .svc-section-title {
    text-wrap: balance;
}

.section-subtitle {
    font-family: 'Afacad', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--text-mid);
    max-width: 580px;
    margin: 0.85rem auto 0;
    line-height: 1.65;
    text-align: center;
}

/* Tab navigation */
.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2.5rem 0 3.5rem;
}

.services-tab {
    font-family: 'Afacad', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-mid);
    background: transparent;
    border: 1.5px solid rgba(11, 29, 53, 0.12);
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: all 0.28s ease;
    white-space: nowrap;
}

.services-tab:hover {
    color: var(--navy);
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

.services-tab.active {
    color: var(--navy);
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(201, 168, 76, 0.28);
}

.services-tab:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Showcase layout */
.services-showcase {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

/* Image panel */
.services-image-panel {
    position: relative;
}

.services-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 2.46 / 1;
    box-shadow:
        0 24px 64px rgba(11, 29, 53, 0.14),
        0 8px 20px rgba(11, 29, 53, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.18);
}

.services-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    z-index: 2;
}

.svc-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content panel */
.services-content-panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.services-counter {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.services-member-name {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    position: relative;
    padding-bottom: 0.85rem;
    transition: opacity 0.35s ease;
}

.services-member-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--magenta);
    border-radius: 2px;
}

.services-member-role {
    font-family: 'Afacad', sans-serif;
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    color: var(--text-mid);
    line-height: 1.6;
    max-width: 48ch;
    transition: opacity 0.35s ease;
}

.services-member-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.25rem;
    transition: opacity 0.35s ease;
}

.services-member-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-family: 'Afacad', sans-serif;
    font-size: clamp(0.95rem, 1.15vw, 1.06rem);
    color: var(--navy);
    line-height: 1.5;
    padding-left: 0;
}

.services-member-list li::before {
    content: '✓';
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    margin-top: 2px;
}

.services-cta {
    margin-top: 0.5rem;
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 992px) {
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-image-panel {
        max-width: 680px;
        margin: 0 auto;
    }

    .services-content-panel {
        max-width: 680px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .servicios {
        padding: 4rem 0;
    }

    .services-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.4rem;
        margin: 1.5rem 0 2rem;
        padding-bottom: 0.25rem;
    }

    .services-tabs::-webkit-scrollbar {
        display: none;
    }

    .services-tab {
        font-size: 0.82rem;
        padding: 0.5rem 1rem;
        flex-shrink: 0;
    }

    .services-image-container {
        aspect-ratio: 2.2 / 1;
    }

    .services-member-name {
        font-size: 1.6rem;
    }

    .services-member-role {
        font-size: 0.95rem;
    }

    .services-member-list li {
        font-size: 0.92rem;
    }

    .services-member-list li:nth-child(n+5) {
        display: none;
    }

    .services-member-list li::before {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 0.6rem;
        line-height: 20px;
    }
}

@media (max-width: 480px) {
    .services-image-container {
        aspect-ratio: 2 / 1;
    }

    .services-member-list li:nth-child(n+4) {
        display: none;
    }

    .services-member-name {
        font-size: 1.4rem;
    }

    .services-member-role {
        font-size: 0.9rem;
    }

    .services-member-list li::before {
        width: 18px;
        height: 18px;
        min-width: 18px;
        font-size: 0.55rem;
        line-height: 18px;
    }
}

/* ══════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════ */
.acerca {
    position: relative;
    background: var(--off-white);
    padding: 8rem 0;
}

.acerca::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(248, 245, 238, 0) 0%, var(--off-white) 100%);
}

.section-heading {
    margin-bottom: 4rem;
    text-align: center;
    display: grid;
    justify-items: center;
}

.section-heading .section-eyebrow {
    margin-bottom: 0.75rem;
}

.section-heading .svc-section-title::after {
    content: '';
    display: block;
    width: min(180px, 45%);
    height: 1px;
    margin: 0.9rem auto 0;
    background: linear-gradient(90deg, rgba(11, 29, 53, 0), rgba(11, 29, 53, 0.35), rgba(11, 29, 53, 0));
}

.acerca-inner {
    max-width: 900px;
    margin: 0 auto;
}

.acerca-text>p {
    font-size: 1.2rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1rem;
    text-align: center;
}

.about-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2.5rem;
    margin-top: 2.5rem;
}

.about-checks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--navy);
}

.about-checks li img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contacto {
    position: relative;
    background: transparent;
    padding: 8rem 0;
    overflow: hidden;
}
.contacto::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg, rgba(6, 15, 30, 0) 0%, rgba(6, 15, 30, 0.42) 100%);
}

.contacto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, #01273e 0%, #0f3551 100%);
    opacity: 0.14;
    z-index: 0;
}

.contacto-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: start;
}

.contacto-lead {
    max-width: 520px;
    font-size: 1.12rem;
    color: var(--navy);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.contacto-highlights {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.contacto-highlights span {
    position: relative;
    padding-left: 1.1rem;
    font-size: 1rem;
    color: rgba(11, 29, 53, 0.85);
}

.contacto-highlights span::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(11, 29, 53, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.contact-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-top: 2px;
}

.contact-label {
    font-family: 'Afacad', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-item a {
    font-family: 'Afacad', sans-serif;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 400;
}

.contact-item a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid var(--border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Contact form */
.contacto-form {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(11, 29, 53, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
}

.contacto-form-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contacto-form h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.contacto-form-intro {
    color: var(--text-mid);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.contact-trust {
    margin-top: 1rem;
    display: grid;
    gap: 0.45rem;
}

.contact-trust span {
    font-size: 0.92rem;
    color: var(--navy);
    padding-left: 1rem;
    position: relative;
}

.contacto .legal-note-light {
    color: rgba(11, 29, 53, 0.72);
}

.contacto .form-group label {
    color: var(--navy);
}

.contacto .form-group input,
.contacto .form-group textarea {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(11, 29, 53, 0.16);
    color: var(--navy);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.contacto .form-group input::placeholder,
.contacto .form-group textarea::placeholder {
    color: rgba(11, 29, 53, 0.45);
}

.contacto .form-group input:focus,
.contacto .form-group textarea:focus {
    background: var(--white);
    border-color: var(--navy-mid);
}

.contact-trust span::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.form-message {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Afacad', sans-serif;
    font-size: 1.08rem;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
    background: #060f1e;
    padding-top: 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-brand img {
    height: 64px;
    width: auto;
    aspect-ratio: 341 / 253;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-family: 'Hubballi', Georgia, serif;
    font-weight: 200;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Afacad', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a,
.footer-contact a {
    font-family: 'Afacad', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   BLOG — shared across blog.html
   ══════════════════════════════════════════════════════════ */

/* Blog header */
.blog-header {
    background: var(--off-white);
    padding: 5rem 0 4rem;
    padding-top: calc(80px + 4rem);
    /* navbar */
    text-align: center;
}

.blog-header h1 {
    font-family: 'Afacad', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--magenta);
    text-underline-offset: 10px;
    text-decoration-thickness: 3px;
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
}

.blog-header-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

/* Blog section */
.blog-section {
    background: var(--white);
    padding: 4rem 0 6rem;
}

.blog-cta-strip {
    background: linear-gradient(180deg, #f3efe4 0%, #ece6d8 100%);
    padding: 2.5rem 0;
}

.blog-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem 2.2rem;
    background: var(--white);
    border: 1px solid rgba(11, 29, 53, 0.08);
    border-radius: 16px;
    padding: clamp(1rem, 2vw, 1.4rem) clamp(1rem, 2.6vw, 1.8rem);
    box-shadow: 0 8px 24px rgba(11, 29, 53, 0.08);
}

.blog-cta-inner h3 {
    font-family: 'Afacad', sans-serif;
    font-size: clamp(1.4rem, 2.3vw, 1.8rem);
    color: var(--navy);
    margin-bottom: 0.45rem;
}

.blog-cta-inner p {
    max-width: 620px;
    color: var(--text-mid);
}

.blog-cta-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.blog-cta-inner .legal-note {
    margin-top: 0.2rem;
}

/* Filters */
.blog-filters {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid rgba(11, 29, 53, 0.15);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-mid);
    font-family: 'Afacad', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--magenta);
    color: var(--navy);
}

.filter-btn.active {
    background: var(--magenta);
    color: var(--white);
    border-color: var(--magenta);
}

/* Blog grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Blog card */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11, 29, 53, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 29, 53, 0.14);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--navy-card);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

/* Category badge on image */
.blog-category {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--magenta);
}

.blog-category.inversiones {
    background: var(--navy-mid);
}

.blog-category.planificacion {
    background: #3d7a5c;
}

.blog-category.fiscal {
    background: var(--magenta);
}

.blog-category.consultoria {
    background: #6b4e9e;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 0.6rem;
}

.blog-card-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
    color: var(--magenta);
}

.blog-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.25rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(11, 29, 53, 0.08);
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 0.2s;
}

.blog-card:hover .blog-card-link {
    gap: 0.625rem;
}

/* No posts */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* Blog post detail */
.blog-post-page {
    background: var(--off-white);
}

.blog-post-container {
    padding-top: calc(80px + 3rem);
    padding-bottom: 3rem;
    background: radial-gradient(circle at 12% 10%, rgba(201, 168, 76, 0.14) 0%, rgba(201, 168, 76, 0) 38%), var(--off-white);
}

.blog-post-loading {
    min-height: 50vh;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.blog-post-hero {
    max-width: 860px;
    margin: 0 auto 1.5rem;
}

.blog-post-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-post-back::before {
    content: '\2190';
}

.blog-post-back:hover {
    color: var(--gold);
}

.blog-post-category {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(196, 0, 106, 0.12);
    color: var(--magenta);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.blog-post-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.blog-post-meta span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(11, 29, 53, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
}

.blog-post-cover {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(11, 29, 53, 0.12);
}

.blog-post-cover img {
    width: 100%;
    height: clamp(260px, 42vw, 460px);
    object-fit: cover;
}

.blog-post-body {
    max-width: 860px;
    margin: 2rem auto 0;
    background: var(--white);
    border: 1px solid rgba(11, 29, 53, 0.08);
    border-radius: 18px;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: 0 8px 30px rgba(11, 29, 53, 0.08);
}

.blog-post-body h2 {
    font-family: 'Afacad', Georgia, serif;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    color: var(--navy);
    margin: 2rem 0 0.8rem;
}

.blog-post-body h3 {
    font-family: 'Afacad', Georgia, serif;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    color: var(--navy-mid);
    margin: 1.4rem 0 0.6rem;
}

.blog-post-body h2:first-child {
    margin-top: 0;
}

.blog-post-body p {
    font-size: 1.06rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-post-body ul {
    list-style: none;
    margin: 0.4rem 0 1.2rem;
    padding-left: 0;
}

.blog-post-body ol {
    margin: 0.4rem 0 1.2rem;
    padding-left: 1.3rem;
    color: var(--text-mid);
}

.blog-post-body li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-mid);
    margin-bottom: 0.45rem;
}

.blog-post-body ol li {
    padding-left: 0.25rem;
}

.blog-post-body li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.blog-post-body ol li::before {
    content: none;
}

.blog-post-body blockquote {
    margin: 1.2rem 0;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--gold);
    background: rgba(201, 168, 76, 0.1);
    color: var(--text-mid);
}

.blog-post-body code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.92em;
    background: rgba(11, 29, 53, 0.08);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    color: var(--navy);
}

.blog-post-body hr {
    border: 0;
    border-top: 1px solid rgba(11, 29, 53, 0.15);
    margin: 1.4rem 0;
}

.blog-post-body a {
    color: var(--magenta);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.blog-post-body a:hover {
    color: #9f0058;
}

.related-posts {
    background: linear-gradient(180deg, var(--off-white) 0%, #f2eee4 100%);
    padding: 1rem 0 5rem;
}

.blog-post-cta-strip {
    padding-top: 0;
}

.related-posts h2 {
    font-family: 'Afacad', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-post-error-wrap {
    min-height: 50vh;
    display: grid;
    place-items: center;
}

.blog-post-error {
    max-width: 560px;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(11, 29, 53, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(11, 29, 53, 0.1);
}

.blog-post-error h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.blog-post-error p {
    color: var(--text-mid);
    margin-bottom: 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL (lightweight)
   ══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .navbar-inner {
        gap: 0.65rem;
    }

    .site-view-tab {
        padding-inline: 0.68rem;
    }

    .nav-link {
        padding-inline: 0.68rem;
    }

    .wake-scope-layout {
        grid-template-columns: 1fr;
    }

    .wake-commitment {
        max-width: 760px;
    }

    .wake-benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wake-benefit-featured {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .wake-contact-inner {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        gap: 2rem;
    }

    .hero-photo img {
        width: clamp(320px, 36vw, 600px);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-tagline {
        width: min(100%, 42rem);
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
    }

    .hero-metrics {
        margin: 0 auto 2rem;
    }

    .hero-trust {
        justify-content: center;
    }

    /* slightly more dwell on smaller screens */
    .acerca-inner {
        max-width: 100%;
    }

    .about-checks {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    .container {
        padding: 0 1.25rem;
    }

    .navbar-inner {
        height: 74px;
    }

    .navbar-logo img {
        height: 48px;
    }

    .site-view-switch {
        margin-left: auto;
    }

    .site-view-tab {
        padding: 0.48rem 0.65rem;
        font-size: 0.8rem;
    }

    .wake-hero {
        min-height: 0;
        padding: 130px 0 6rem;
    }

    .wake-hero-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .wake-hero-content {
        text-align: left;
    }

    .wake-hero-content h1 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .wake-brand {
        margin-bottom: 1.2rem;
    }

    .wake-hero-visual {
        width: min(92%, 500px);
        margin: 0 auto;
    }

    .wake-hero-actions .btn {
        width: auto;
    }

    .wake-steps {
        grid-template-columns: 1fr;
    }

    .wake-steps li,
    .wake-steps li:first-child {
        min-height: 0;
        padding: 1.75rem 0 2rem;
        border-right: 0;
        border-bottom: 1px solid rgba(11, 29, 53, 0.14);
    }

    .wake-steps li:last-child {
        border-bottom: 0;
    }

    .wake-step-icon {
        margin: 1.5rem 0;
    }

    .wake-service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wake-service-list span,
    .wake-service-list span:first-child {
        padding: 1.25rem 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .wake-benefits-intro,
    .wake-benefit-grid {
        grid-template-columns: 1fr;
    }

    .wake-benefit-featured {
        grid-column: auto;
    }

    .wake-benefit-card {
        min-height: 0;
    }

    .wake-affiliations {
        align-items: flex-start;
        flex-direction: column;
    }

    .wake-contact-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-content {
        padding: 4.75rem 0 0;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-photo img {
        width: clamp(260px, 56vw, 480px);
    }

    /* Navbar mobile */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem 2rem 1.5rem;
        gap: 0.25rem;
        box-shadow: 0 8px 24px rgba(11, 29, 53, 0.12);
        border-bottom: 2px solid var(--gold-dim);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    /* Hero */
    .hero-name {
        font-size: clamp(3.2rem, 14vw, 5.5rem);
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        width: min(100%, 34rem);
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        margin-top: 0.2rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-bottom: 1.5rem;
    }

    .hero-trust {
        margin-top: 1rem;
        justify-content: center;
    }

    .credibilidad {
        padding-bottom: 3.5rem;
    }

    .credibilidad-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

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

    .hero-actions .btn {
        width: min(100%, 17rem);
        min-width: 0;
    }

    /* About */
    .acerca {
        padding: 4rem 0;
    }

    .acerca-inner {
        max-width: 100%;
    }

    .about-checks {
        grid-template-columns: 1fr;
    }

    .about-checks li img {
        width: 32px;
        height: 32px;
    }

    /* Contact */
    .contacto {
        padding: 4rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contacto-form {
        padding: 1.75rem;
    }

    .contact-item {
        padding: 0.8rem 0.9rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    /* Blog */
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .blog-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .blog-post-container {
        padding-top: calc(80px + 2rem);
        padding-bottom: 2rem;
    }

    .blog-post-title {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
    }

    .blog-post-meta {
        gap: 0.55rem;
    }

    .blog-post-body p {
        font-size: 1rem;
    }

    .related-posts {
        padding-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.95rem;
    }

    .navbar-inner {
        height: 120px;
        padding-top: 0.45rem;
        padding-bottom: 0.55rem;
        flex-wrap: wrap;
    }

    .navbar-logo img {
        height: 43px;
    }

    .site-view-switch {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .site-view-tab {
        flex: 1 1 50%;
        padding: 0.55rem 0.35rem;
        font-size: 0.76rem;
    }

    .nav-menu {
        top: 120px;
    }

    .wake-hero {
        padding-top: 166px;
    }

    .wake-hero-content h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .wake-brand-name {
        font-size: 2.45rem;
    }

    .wake-brand small {
        font-size: 0.72rem;
    }

    .wake-hero-actions {
        display: grid;
    }

    .wake-hero-actions .btn {
        width: 100%;
    }

    .wake-assurances {
        display: grid;
    }

    .wake-document {
        padding: 1.15rem;
    }

    .wake-document-title strong,
    .wake-document-result strong {
        font-size: 0.9rem;
    }

    .wake-chart {
        height: 125px;
    }

    .wake-seal {
        right: -0.65rem;
        bottom: -2.6rem;
        min-width: 150px;
    }

    .wake-service-list {
        grid-template-columns: 1fr;
    }

    .wake-service-list span {
        grid-template-columns: 2.2rem 1fr;
        gap: 0.4rem;
    }

    .wake-contact-actions,
    .wake-contact-actions .btn {
        width: 100%;
    }

    .wake-phone {
        padding-left: 0.25rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        padding: 2.5rem 0 0;
    }

    .hero-photo img {
        width: clamp(230px, 60vw, 400px);
    }

    .hero-tagline {
        width: min(100%, 26rem);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        width: 100%;
        align-items: center;
    }

    .hero-actions .btn {
        width: min(100%, 16rem);
    }

    .contacto-form {
        padding: 1.1rem;
    }

    .contact-item {
        padding: 0.72rem 0.78rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }

    .hero-name,
    .hero-subtitle,
    .hero-tagline,
    .hero-actions,
    .hero-content .legal-note,
    .hero-trust,
    .hero-photo img {
        opacity: 1 !important;
        transform: none !important;
    }

    .svc-img {
        transition: none !important;
    }
}

/* Print */
@media print {

    .navbar,
    .footer {
        display: none;
    }

    body {
        font-size: 11pt;
    }
}
