:root {
    --ink: #17112f;
    --indigo: #2a1f6b;
    --indigo-deep: #17112f;
    --indigo-soft: #34236f;
    --gold: #d2a24c;
    --gold-soft: #f1d79a;
    --gold-ink: #6b4d16;
    --paper: #f7f2e8;
    --surface: #fffdf8;
    --surface-soft: #fbf6ea;
    --outline: #e4d7c2;
    --muted: #6f687d;
    --white: #ffffff;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 50px rgba(23, 17, 47, 0.08);
    --shadow-card: 0 10px 28px rgba(23, 17, 47, 0.055);
    --serif: Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 2%, rgba(210, 162, 76, 0.11), transparent 28rem),
        radial-gradient(circle at 96% 24%, rgba(42, 31, 107, 0.07), transparent 30rem),
        var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--indigo);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--gold-ink);
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--gold-soft);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    color: var(--indigo);
}

.wordmark {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.header-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--outline);
    border-radius: 999px;
    color: var(--gold-ink);
    background: rgba(255, 253, 248, 0.75);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: 56px;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 38px;
    align-items: end;
    padding: clamp(34px, 5vw, 62px);
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 78% 20%, rgba(210, 162, 76, 0.18), transparent 23rem),
        linear-gradient(135deg, #17112f 0%, #241953 56%, #34236f 100%);
    box-shadow: 0 28px 70px rgba(23, 17, 47, 0.22);
}

.hero::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -80px;
    z-index: -1;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(241, 215, 154, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 26px rgba(241, 215, 154, 0.035),
        0 0 0 74px rgba(241, 215, 154, 0.025);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    background-image: radial-gradient(rgba(241, 215, 154, 0.75) 0.7px, transparent 0.7px);
    background-size: 27px 27px;
    mask-image: linear-gradient(90deg, transparent 35%, black 100%);
}

.hero-copy {
    min-width: 0;
    max-width: 700px;
}

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

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--gold-soft);
}

.hero h1 {
    margin: 14px 0 0;
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.hero-lede {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-panel {
    padding: 25px;
    border: 1px solid rgba(241, 215, 154, 0.24);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-brand-mark {
    width: 58px;
    height: 58px;
    flex: none;
    color: var(--gold-soft);
}

.hero-brand-copy strong {
    display: block;
    color: var(--white);
    font-family: var(--serif);
    font-size: 23px;
    letter-spacing: 0.025em;
}

.hero-brand-copy span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.hero-points {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.5;
}

.hero-points svg {
    width: 16px;
    height: 16px;
    flex: none;
    margin-top: 2px;
    color: var(--gold-soft);
}

.layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin-top: 34px;
}

.toc {
    position: sticky;
    top: 18px;
    padding: 22px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: var(--shadow-card);
}

.toc .eyebrow {
    color: var(--gold-ink);
}

.toc nav {
    display: grid;
    gap: 3px;
    margin-top: 14px;
}

.toc a {
    display: block;
    padding: 8px 10px;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.toc a:hover {
    color: var(--ink);
    background: var(--surface-soft);
    border-left-color: var(--gold);
}

.toc-mail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--outline);
    color: var(--gold-ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.toc-mail svg {
    width: 17px;
    height: 17px;
}

.policy {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.policy-card {
    scroll-margin-top: 24px;
    padding: clamp(22px, 3.5vw, 34px);
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 17px;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 14px;
    color: var(--gold-ink);
    background: var(--surface-soft);
    border: 1px solid #eddfc2;
}

.section-icon svg {
    width: 23px;
    height: 23px;
}

/* Los símbolos de iconos son de trazo, no rellenos. */
.hero-points svg,
.section-icon svg,
.data-card svg,
.toc-mail svg,
.permission svg,
.contact-button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-kicker {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.policy-card h2 {
    margin: 3px 0 0;
    font-family: var(--serif);
    font-size: clamp(25px, 3vw, 31px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.policy-card h3 {
    margin: 20px 0 7px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.policy-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.policy-card p + p {
    margin-top: 12px;
}

.policy-card strong {
    color: var(--ink);
    font-weight: 700;
}

.policy-card ul {
    display: grid;
    gap: 9px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.policy-card li {
    position: relative;
    padding-left: 19px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.policy-card li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(210, 162, 76, 0.1);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.data-card {
    padding: 18px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.data-card svg {
    width: 22px;
    height: 22px;
    color: var(--gold-ink);
}

.data-card h3 {
    margin: 11px 0 5px;
    font-size: 13px;
}

.data-card p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid #e9dcc0;
    border-radius: 999px;
    color: var(--gold-ink);
    background: #fffaf0;
    font-size: 10.5px;
    font-weight: 700;
}

.callout {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    padding: 21px 22px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #17112f, #2a1f6b);
}

.callout::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(241, 215, 154, 0.18);
    border-radius: 50%;
}

.callout strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-soft);
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
}

.callout p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.65;
}

.callout a {
    color: var(--gold-soft);
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-top: 18px;
}

.permission {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #eee4d4;
}

.permission svg {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 2px;
    color: var(--gold);
}

.permission strong {
    display: block;
    font-size: 12.5px;
}

.permission span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.contact-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4vw, 40px);
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 92% 5%, rgba(210, 162, 76, 0.26), transparent 18rem),
        linear-gradient(135deg, #17112f, #34236f);
    box-shadow: var(--shadow-soft);
}

.contact-card .eyebrow {
    color: var(--gold-soft);
}

.contact-card h2 {
    max-width: 580px;
    margin: 10px 0 0;
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.contact-card p {
    max-width: 560px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14.5px;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 12px 17px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--gold-soft);
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-button:hover {
    color: var(--ink);
    background: #ffe8aa;
}

.contact-button.secondary {
    color: var(--gold-soft);
    background: transparent;
    border: 1px solid rgba(241, 215, 154, 0.45);
}

.contact-button.secondary:hover {
    color: var(--white);
}

.contact-button svg {
    width: 16px;
    height: 16px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 38px;
    color: var(--muted);
    font-size: 11.5px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
}

.footer-brand svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
    text-decoration: underline;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hero-panel {
        max-width: 560px;
    }

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

    .toc {
        position: static;
    }

    .toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 10px;
    }

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

@media (max-width: 640px) {
    .site-header,
    .page,
    .footer {
        width: min(calc(100% - 28px), 1180px);
    }

    .site-header {
        padding: 16px 0;
    }

    .header-tag {
        padding: 6px 9px;
        font-size: 9px;
    }

    .hero {
        padding: 28px 22px;
        border-radius: 25px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .hero-lede {
        font-size: 15px;
    }

    .hero-panel {
        padding: 19px;
    }

    .toc nav {
        grid-template-columns: 1fr;
    }

    .data-grid,
    .permission-grid {
        grid-template-columns: 1fr;
    }

    .policy-card {
        border-radius: 20px;
        padding: 21px 19px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
    }

    .section-icon svg {
        width: 20px;
        height: 20px;
    }

    .policy-card h2 {
        font-size: 25px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 26px;
    }

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

    .contact-button {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

@media print {
    body {
        background: #fff;
    }

    .site-header,
    .toc,
    .hero-panel,
    .footer,
    .contact-actions {
        display: none !important;
    }

    .page {
        width: 100%;
    }

    .hero {
        padding: 22px;
        color: #17112f;
        background: none;
        box-shadow: none;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero .eyebrow,
    .hero-lede,
    .hero-meta,
    .hero h1 {
        color: #17112f;
    }

    .layout {
        display: block;
        margin-top: 18px;
    }

    .policy-card {
        break-inside: avoid;
        box-shadow: none;
        border-color: #ccc;
        margin-bottom: 10px;
    }
}
