/* ==========================================================================
   SERCOPsys — Public Design System
   Compartido entre landing.html, privacidad.html y terminos.html.
   Independiente de static/style.css (que es del dashboard interno).
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
    /* Paleta azul */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-darker: #1d4ed8;
    --primary-glow: #60a5fa;
    --primary-bg: rgba(59, 130, 246, 0.06);
    --primary-border: rgba(59, 130, 246, 0.14);

    /* Texto */
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;

    /* Fondos */
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;

    /* Bordes */
    --border: rgba(15, 23, 42, 0.06);
    --border-medium: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(15, 23, 42, 0.16);

    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow: 0 2px 4px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 8px 16px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

/* ---------- Tipografía ---------- */
h1,
h2,
h3,
h4 {
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    letter-spacing: -0.035em;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-secondary);
}

p.muted {
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 180ms ease;
}

a:hover {
    color: var(--primary-darker);
    text-decoration: underline;
}

strong {
    color: var(--text);
    font-weight: 600;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(37, 99, 235, 0.14);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(37, 99, 235, 0.18), 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--surface-alt);
    color: var(--text);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: none;
    padding: 0.75rem 1rem;
}

.btn-ghost:hover {
    background: var(--surface-alt);
    color: var(--text);
}

.btn-lg {
    padding: 1.05rem 1.85rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn svg {
    flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.015em;
}

.logo:hover {
    color: var(--text);
    text-decoration: none;
}

.logo svg {
    flex-shrink: 0;
}

.site-header .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-header .nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-header .nav a:hover {
    color: var(--text);
    text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--primary-bg);
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    color: var(--primary-darker);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 1.75rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.hero-ctas {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.hero-microcopy {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.hero-microcopy span {
    display: inline-block;
    margin: 0 0.5rem;
}

/* ---------- Cards genéricas ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 220ms ease, box-shadow 260ms ease, transform 220ms ease;
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ---------- Grids ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

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

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

/* ---------- Section header ---------- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ---------- Step cards (Cómo funciona) ---------- */
.step-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    transition: border-color 220ms ease, box-shadow 260ms ease, transform 220ms ease;
}

.step-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.step-number {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.12em;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--primary-bg);
    color: var(--primary-darker);
    margin-bottom: 0.25rem;
}

.step-card h3 {
    font-size: 1.15rem;
    margin: 0;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Benefit cards ---------- */
.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 220ms ease, box-shadow 260ms ease, transform 220ms ease;
}

.benefit-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary-bg);
    color: var(--primary-darker);
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin: 0;
}

.benefit-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Plan cards ---------- */
.plan-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    transition: border-color 220ms ease, box-shadow 260ms ease, transform 220ms ease;
}

.plan-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.12), 0 14px 38px rgba(59, 130, 246, 0.14);
}

.plan-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: var(--surface-alt);
    border-radius: 999px;
    margin-bottom: 1rem;
}

.plan-card.featured .plan-badge {
    color: var(--primary-darker);
    background: var(--primary-bg);
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0.25rem 0 1.5rem;
}

.plan-price .amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-price.contact .amount {
    font-size: 1.5rem;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0 0 1.75rem;
    padding: 0;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-features li svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--primary);
}

.plan-card .btn {
    width: 100%;
}

/* ---------- Security section ---------- */
.security-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.security-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.security-point .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary-bg);
    color: var(--primary-darker);
    flex-shrink: 0;
}

.security-point h4 {
    margin-bottom: 0.25rem;
}

.security-point p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.security-visual {
    position: relative;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.security-visual .shield-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-bg), rgba(59, 130, 246, 0.02));
    border-radius: var(--radius-lg);
    color: var(--primary);
}

.security-footnote {
    margin-top: 2rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ---------- CTA final ---------- */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
    pointer-events: none;
}

.cta-final .container {
    position: relative;
}

.cta-final h2 {
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    margin: 0 auto 2rem;
    max-width: 540px;
}

.cta-final .btn {
    background: #ffffff;
    color: var(--primary-darker);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 10px 25px rgba(0, 0, 0, 0.12);
}

.cta-final .btn:hover {
    background: #f8fafc;
    color: var(--primary-darker);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1), 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 0.85rem;
    max-width: 280px;
    line-height: 1.55;
}

.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.93rem;
    padding: 0.3rem 0;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary-darker);
    text-decoration: none;
}

.footer-col p.muted {
    font-size: 0.93rem;
    color: var(--text-muted);
    padding: 0.3rem 0;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-bottom strong {
    color: var(--text-secondary);
}

/* ==========================================================================
   Páginas legales (privacidad, términos)
   ========================================================================== */
.legal-page {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
    background: var(--bg);
}

.legal-page .container {
    max-width: 1080px;
}

.legal-hero {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.legal-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.legal-hero .date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.legal-hero p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.legal-toc h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.legal-toc ol li {
    counter-increment: toc-counter;
}

.legal-toc ol li a {
    display: flex;
    gap: 0.55rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: color 180ms ease, border-color 180ms ease;
    text-decoration: none;
}

.legal-toc ol li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    flex-shrink: 0;
}

.legal-toc ol li a:hover {
    color: var(--primary-darker);
    border-left-color: var(--primary);
    text-decoration: none;
}

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

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 96px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-medium);
    letter-spacing: -0.015em;
}

.legal-section h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.97rem;
    line-height: 1.7;
}

.legal-section ul,
.legal-section ol:not(.legal-toc ol) {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.7;
}

.legal-section ul li,
.legal-section ol:not(.legal-toc ol) li {
    margin-bottom: 0.55rem;
    padding-left: 0.3rem;
}

.legal-section ul li::marker {
    color: var(--primary);
}

.legal-section ol:not(.legal-toc ol) li::marker {
    color: var(--primary);
    font-weight: 600;
}

/* Callout destacado para bloques legales clave */
.legal-callout {
    padding: 1.5rem 1.75rem;
    background: var(--primary-bg);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.legal-callout p {
    margin: 0;
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Tarjeta de contacto dentro de páginas legales */
.legal-contact-card {
    padding: 1.5rem 1.75rem;
    background: var(--surface-alt);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
}

.legal-contact-card p {
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}

.legal-contact-card p:last-child {
    margin-bottom: 0;
}

/* Scope grid (datos de Google) */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.scope-card {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius);
}

.scope-card h4 {
    font-size: 0.98rem;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.scope-card code {
    display: inline-block;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 0.78rem;
    padding: 0.15rem 0.5rem;
    background: var(--surface-alt);
    border-radius: var(--radius-sm);
    color: var(--primary-darker);
    margin-bottom: 0.65rem;
}

.scope-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
    line-height: 1.55;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .security-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .legal-toc {
        position: static;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

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

    .site-header .container {
        gap: 1rem;
    }

    .site-header .nav {
        display: none;
    }

    .hero {
        padding: 3rem 0 3.5rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .btn-lg {
        padding: 0.95rem 1.4rem;
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 0.4rem 0.85rem;
    }

    .site-header .container {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .site-header .btn {
        padding: 0.6rem 1rem;
        font-size: 0.88rem;
    }
}
