/*
Theme Name: Full Alfombras
Theme URI: https://fullalfombras.cl
Author: Full Alfombras
Author URI: https://fullalfombras.cl
Description: Tema profesional para Full Alfombras - Servicio de lavado de alfombras en Santiago, Chile. Diseño moderno con calculadora de precios, sistema de tracking de pedidos, y optimizado para conversión.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fullafombras
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   DESIGN SYSTEM - Variables CSS
   Diseño basado en el standalone aprobado: cyan #0CAADC + glassmorphism
   ========================================================================== */

:root {
    /* Primary Colors — Cyan como en el standalone aprobado */
    --color-primary: #0CAADC;
    --color-primary-dark: #0891b2;
    --color-primary-light: #22d3ee;
    --color-primary-rgb: 12, 170, 220;
    --color-secondary: #1A468C;

    /* Glassmorphism */
    --glass-dark: rgba(15, 23, 42, 0.45);
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-intense: rgba(26, 70, 140, 0.2);

    /* Gradients */
    --color-primary-gradient: linear-gradient(135deg, #0CAADC 0%, #1A468C 100%);
    --gradient-text: linear-gradient(to right, #67e8f9, #0CAADC, #1A468C);
    --gradient-hero: linear-gradient(to bottom, rgba(8, 12, 20, 0.6) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(8, 12, 20, 1) 100%);
    --gradient-dark: linear-gradient(135deg, #080c14 0%, #0f172a 50%, #080c14 100%);
    --gradient-card: rgba(15, 23, 42, 0.45);

    /* Accent — mantiene cyan */
    --color-accent: #0CAADC;
    --color-accent-hover: #22d3ee;
    --color-accent-glow: rgba(12, 170, 220, 0.4);

    /* Functional Colors */
    --color-success: #10b981;
    --color-success-dark: #059669;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Backgrounds — matching standalone */
    --color-white: #FFFFFF;
    --color-bg-dark: #080c14;
    --color-bg-surface: #0f172a;
    --color-bg-darker: #05080f;
    --color-bg-light: #0f172a;
    --color-bg-alt: #080c14;

    --color-gray-100: rgba(255, 255, 255, 0.1);
    --color-gray-200: rgba(255, 255, 255, 0.2);
    --color-gray-300: rgba(255, 255, 255, 0.3);
    --color-gray-400: rgba(148, 163, 184, 1);
    --color-gray-500: rgba(100, 116, 139, 1);
    --color-gray-600: rgba(71, 85, 105, 1);
    --color-gray-700: rgba(255, 255, 255, 0.7);
    --color-gray-800: #1E293B;

    --color-text: rgba(226, 232, 240, 1);
    --color-text-muted: rgba(148, 163, 184, 1);
    --color-heading: rgba(255, 255, 255, 0.97);
    --color-trust: rgba(100, 116, 139, 1);

    /* Typography — Playfair Display + Plus Jakarta Sans (como en el standalone) */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 120px;
    /* Adjusted */
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Contenedores */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1440px;
}

/* ==========================================================================
   GLASSMORPHISM SYSTEM — idéntico al standalone aprobado
   ========================================================================== */

.glass-panel {
    background: var(--glass-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.glass-panel-intense {
    background: var(--glass-intense);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pearlescent-border {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05), 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Text gradient cyan — idéntico al H1 del standalone */
.gradient-text-hero {
    background: linear-gradient(to right, #67e8f9, #0CAADC, #1A468C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon gradient cyan (icon-premium del standalone) */
.icon-premium {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Text glow cyan */
.text-glow {
    text-shadow: 0 0 30px rgba(12, 170, 220, 0.4);
}

/* ==========================================================================
   PREMIUM INTERACTIVITY & ENHANCEMENTS
   ========================================================================== */

/* Enhanced hover transitions for glass panels */
.glass-panel, .sa-service-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.glass-panel:hover, .sa-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(12, 170, 220, 0.45) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25),
                0 0 25px rgba(12, 170, 220, 0.2);
    background: rgba(15, 23, 42, 0.55);
}

/* Shine effect for primary buttons */
.sa-btn-primary, .btn-primary {
    position: relative !important;
    overflow: hidden !important;
}

.sa-btn-primary::after, .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.sa-btn-primary:hover::after, .btn-primary:hover::after {
    left: 150%;
    transition: left 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating animation for badge wrap */
.sa-badge-wrap {
    animation: float-badge 6s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Mouse Scroll Indicator */
.sa-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.sa-scroll-mouse {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(4px);
    background: rgba(15, 23, 42, 0.2);
}

.sa-scroll-wheel {
    width: 6px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel-anim 1.6s ease-in-out infinite;
}

@keyframes scroll-wheel-anim {
    0% {
        top: 8px;
        opacity: 1;
        height: 10px;
    }
    50% {
        top: 18px;
        opacity: 0.5;
        height: 14px;
    }
    100% {
        top: 28px;
        opacity: 0;
        height: 6px;
    }
}


/* Editorial image — hover scale */
.editorial-img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: contrast(1.05) saturate(0.9);
}

.editorial-img:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--gradient-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-heading);
    margin-bottom: var(--space-4);
    letter-spacing: 0.02em;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-bottom: var(--space-4);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section {
    padding: var(--space-16) 0;
}

.section-alt {
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-heading);
    margin-bottom: var(--space-4);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    .section {
        padding: var(--space-12) 0;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(12, 170, 220, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 0 30px rgba(12, 170, 220, 0.5);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
}

.btn-whatsapp {
    background-color: var(--color-success);
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: var(--color-success-dark);
    color: var(--color-white);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* Outline Gradient Button */
.btn-outline-gradient {
    background: transparent;
    position: relative;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    overflow: hidden;
    z-index: 1;
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-gradient:hover {
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    /* Use available gradient */
    z-index: -1;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.btn-outline-gradient:hover::before {
    transform: scaleX(1);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: var(--space-8);
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: var(--space-6);
    color: var(--color-accent);
}

.card:hover .card-icon {
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-accent-hover);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    /* Color inherited */
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
}

.form-control::placeholder {
    color: var(--color-gray-400);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   BADGES & GLASS
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.badge-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.badge-success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.badge-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   HEADER & NAVIGATION — Glassmorphism pill flotante (standalone aprobado)
   3 columnas: [Logo] [Nav centrada] [Acciones]
   ========================================================================== */

/* Wrapper pill flotante */
.site-header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 0 16px;
}

/* Pill: 3-column grid igual al standalone */
.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
    padding: 14px 28px;
    max-width: var(--container-xl);
    margin: 0 auto;
    background: var(--glass-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled .header-container {
    background: rgba(8, 12, 20, 0.88);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.07);
}

/* Logo (col 1) */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* WordPress custom-logo-link ya viene con su propio <a> */
.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img,
.header-logo-img,
.custom-logo {
    height: 36px;
    max-height: 36px;
    width: auto;
    display: block;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

/* Nav desktop (col 2) — centrada */
.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lista de ítems */
.nav-items,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-items li,
.nav-menu li {
    list-style: none;
}

.nav-items a,
.nav-menu a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(148, 163, 184, 1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-items a:hover,
.nav-menu a:hover,
.nav-items .current-menu-item>a,
.nav-menu .current-menu-item>a {
    color: var(--color-primary);
}

/* Acciones (col 3) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* CTA pill — "Cotizar" */
.nav-cta {
    display: inline-block;
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 10px 28px !important;
    border-radius: var(--radius-full) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s !important;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--color-accent-hover) !important;
    color: var(--color-white) !important;
    transform: scale(1.04);
}


/* ── WordPress admin bar offset ── */
.admin-bar .site-header {
    top: 56px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 58px;
    }
}

/* ── Mobile: header ── */
@media (max-width: 767px) {
    .site-header {
        top: 12px;
    }

    .header-container {
        padding: 12px 16px;
    }

    .header-nav {
        display: none;
    }

    /* ocultar nav en mobile */
    .menu-toggle {
        display: flex;
    }

    /* Ocultar COTIZAR del header en mobile (está en el overlay menu) */
    .header-actions .nav-cta {
        display: none;
    }
}

/* ── Hamburger — touch-friendly 48×48 ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    border-radius: 50%;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(148, 163, 184, 1);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.mobile-menu-overlay.open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(20rem, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 10001;
}

.mobile-menu-overlay.open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-menu-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 1);
}

.mobile-menu-close {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(148, 163, 184, 1);
    transition: background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    outline: none;
}

.mobile-menu-close .material-symbols-outlined {
    font-size: 1.5rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem;
    gap: 0.25rem;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(148, 163, 184, 1);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.mobile-nav-link:active {
    background: rgba(12, 170, 220, 0.12);
    color: var(--color-primary-light);
}

.mobile-menu-cta {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Prevent body scroll when mobile menu open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 12, 20, 0.6) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(8, 12, 20, 1) 100%);
    z-index: -1;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--color-white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    /* Fallback/Legacy support */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--space-10);
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

/* Premium Button */
.btn-premium {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 18px 48px;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 12px;
    box-shadow: 0 0 20px var(--color-accent-glow), 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-premium:hover {
    transform: scale(1.05) translateY(-2px);
    background: var(--color-accent-hover);
    box-shadow: 0 0 40px var(--color-accent-glow), 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

/* Botón glass (secundario en hero) */
.btn-glass {
    background: var(--glass-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--color-white);
    padding: 18px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.pulse-animation {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(12, 170, 220, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(12, 170, 220, 0.15);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(12, 170, 220, 0);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-premium {
        width: 100%;
        padding: 16px 24px;
    }
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
    background-color: var(--color-bg-darker);
    padding: var(--space-8) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    flex-wrap: wrap;
    align-items: center;
}

.trust-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.trust-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    color: var(--color-white);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    text-align: center;
}

.service-card h3 {
    font-size: var(--text-lg);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: var(--space-8) 0;
    gap: var(--space-4);
}

.process-timeline::before {
    display: none;
}

.process-step {
    flex: 1;
    text-align: center;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--color-bg-darker);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-2);
    margin-top: var(--space-2);
}

.step-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: var(--space-8);
    }
}

/* ==========================================================================
   BEFORE/AFTER GALLERY
   ========================================================================== */

.ba-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.ba-slider img {
    width: 100%;
    display: block;
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.ba-after img {
    width: 200%;
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--color-white);
    cursor: ew-resize;
    transform: translateX(-50%);
}

.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--space-4) 0;
    background-color: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
    color: var(--color-gray-500);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 0 0 var(--space-6);
    max-height: 500px;
}

.faq-answer p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: var(--text-sm);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: var(--space-4);
    text-align: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: var(--text-lg);
    font-style: normal;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-white);
}

.testimonial-location {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.testimonial-stars {
    color: #F1C40F;
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

/* ==========================================================================
   MOBILE CTA ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {

    /* Solo los botones dentro de secciones hero heredan ancho completo */
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-fixed);
    width: 60px;
    height: 60px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: var(--color-success-dark);
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-bg-darker);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-about p {
    color: var(--color-gray-400);
    margin-bottom: var(--space-4);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--color-gray-400);
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-700);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-success {
    color: var(--color-success) !important;
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-accent {
    background-color: var(--color-accent);
}

/* ==========================================================================
   PREMIUM ANIMATIONS & EFFECTS
   ========================================================================== */

/* Smooth scroll reveal animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Animate elements on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium card hover effects */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Enhanced button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
.btn-accent:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced service card */
.service-card {
    cursor: pointer;
}

.service-card .card-icon {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

/* Process step animation */
.process-step {
    transition: transform var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step:hover .step-number {
    animation: pulse 0.6s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   LIGHTBOX / MODAL
   ========================================================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    animation: scaleIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform var(--transition-fast);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   LAZY LOADING
   ========================================================================== */

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Skeleton loading placeholder */
.skeleton {
    background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================================================
   GLOWING EFFECTS
   ========================================================================== */

.glow-primary {
    box-shadow: 0 0 20px rgba(79, 175, 204, 0.4);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.glow-success {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* WhatsApp floating button enhanced */
.whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   GRADIENT TEXT
   ========================================================================== */

.gradient-text {
    background: var(--color-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   RESPONSIVE IMPROVEMENTS
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .whatsapp-float {
        animation: none;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .card::before {
        transform: scaleX(1);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #0066CC;
        --color-primary-dark: #003366;
        --color-text: #000000;
    }
}

/* Print styles */
@media print {

    .whatsapp-float,
    .site-header,
    .menu-toggle {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--space-8);
    }

    .hero-video,
    .hero-overlay {
        display: none;
    }
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    /* Highest priority */
    display: none;
    /* Hidden by default, toggled by JS */
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-bar .btn {
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    font-size: 1rem;
    padding: 12px 20px;
}

/* Secondary CTA Blocks */
.secondary-cta-block {
    text-align: center;
    padding: var(--space-8) 0;
    background: transparent;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: flex;
    }

    /* Ensure footer doesn't get covered */
    body {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   ACCESSIBILITY - SKIP TO CONTENT
   ========================================================================== */

.skip-to-content {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: 10000;
    padding: var(--space-2) var(--space-4);
    background: var(--color-accent);
    color: var(--color-bg-dark);
    font-weight: 700;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   MISSING UTILITIES
   ========================================================================== */

/* Color utilities */
.text-white {
    color: var(--color-white) !important;
}

.text-warning {
    color: var(--color-warning) !important;
}

/* Mobile-only CTA blocks */
.visible-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .visible-mobile-only {
        display: block;
    }
}

/* ==========================================================================
   GRADIENT DARK BACKGROUND SECTION
   ========================================================================== */

.gradient-dark {
    background: var(--gradient-dark);
}

/* ==========================================================================
   PROCESS INFOGRAPHIC (front-page.php)
   ========================================================================== */

.process-infographic {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

.process-card {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    position: relative;
    padding: var(--space-6) var(--space-4);
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
}

.process-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--color-accent);
}

.process-icon-wrap.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
}

.process-icon-wrap .material-symbols-outlined {
    font-size: 28px;
}

.process-number {
    position: absolute;
    top: -12px;
    right: 12px;
    width: 26px;
    height: 26px;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-sm);
    font-family: var(--font-heading);
}

.process-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.process-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: var(--space-10);
}

.process-connector .material-symbols-outlined {
    font-size: 24px;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .process-infographic {
        gap: var(--space-2);
    }

    .process-card {
        min-width: 120px;
        max-width: 150px;
    }

    .process-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-infographic {
        flex-direction: column;
        align-items: center;
    }

    .process-card {
        min-width: 280px;
        max-width: 100%;
    }
}

/* ==========================================================================
   FORM CONTROL - LIGHT MODE (for calculator & contact inside dark theme)
   ========================================================================== */

.calculator-widget .form-control,
.tracking-widget .form-control,
#contact-form .form-control {
    background: var(--color-bg-light);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.15);
}

.calculator-widget .form-control:focus,
.tracking-widget .form-control:focus,
#contact-form .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.calculator-widget .form-control option,
.tracking-widget .form-control option,
#contact-form .form-control option {
    background: var(--color-bg-dark);
    color: var(--color-text);
}

/* ==========================================================================
   CARD IMAGE (for blog cards & gallery)
   ========================================================================== */

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   RELATIVE & Z-INDEX UTILITY
   ========================================================================== */

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* ==========================================================================
   BEFORE/AFTER SLIDER LABEL BADGES
   ========================================================================== */

.ba-slider::before,
.ba-slider::after {
    content: attr(data-label-before);
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    z-index: 2;
    pointer-events: none;
}

.ba-slider::after {
    content: 'DESPUÉS';
    left: auto;
    right: var(--space-3);
}

/* ==========================================================================
   STANDALONE-FAITHFUL SECTIONS (sa-* classes)
   Diseño idéntico al standalone aprobado
   ========================================================================== */

/* ── Shared container ── */
.sa-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Shared section base ── */
.sa-section {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .sa-section {
        padding: 8rem 0;
    }
}

.sa-section-dark {
    background-color: var(--color-bg-dark);
}

.sa-section-surface {
    background-color: var(--color-bg-surface);
}

.sa-section-darker {
    background-color: var(--color-bg-darker);
}

/* ── Typography ── */
.sa-h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.sa-h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .sa-h3 {
        font-size: 1.5rem;
    }
}

/* ── Section header block ── */
.sa-section-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.sa-section-head .sa-h2 {
    margin-bottom: 1.5rem;
}

.sa-underline {
    height: 4px;
    width: 5rem;
    background: var(--color-primary);
    border-radius: 9999px;
    margin: 0 auto 2rem;
}

.sa-subtitle-italic {
    color: var(--color-gray-400);
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 300;
}

.sa-subtitle-light {
    color: var(--color-gray-400);
    font-size: 1.125rem;
    font-weight: 300;
}

/* ── Hero Section ── */
.sa-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.sa-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(8, 12, 20, 0.6) 0%,
            rgba(15, 23, 42, 0.75) 50%,
            rgba(8, 12, 20, 1) 100%);
    z-index: 10;
}

.sa-hero-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sa-hero-img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-hero-video {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    object-position: center !important;
}

.sa-hero-inner {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 7rem 1rem 4rem;
    text-align: center;
}

/* Badge */
.sa-badge-wrap {
    margin-bottom: 2.5rem;
}

.sa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sa-badge-icon {
    font-size: 1rem;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

/* Hero H1 */
.sa-hero-h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .sa-hero-h1 {
        font-size: 5rem;
    }
}

/* Hero subtitle */
.sa-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(148, 163, 184, 1);
    max-width: 42rem;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .sa-hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Hero CTAs */
.sa-hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .sa-hero-ctas {
        flex-direction: row;
    }
}

/* Primary button (cyan) */
.sa-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 0 30px rgba(12, 170, 220, 0.3);
    width: 100%;
    justify-content: center;
}

@media (min-width: 640px) {
    .sa-btn-primary {
        width: auto;
    }
}

.sa-btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    color: var(--color-white);
}

/* Glass button (secondary) */
.sa-btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
}

@media (min-width: 640px) {
    .sa-btn-glass {
        width: auto;
    }
}

.sa-btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

/* ── Trust Bar ── */
.sa-trust-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0c111d;
    position: relative;
    z-index: 20;
}

.sa-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    padding: 3rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .sa-trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.sa-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.sa-trust-icon {
    font-size: 2.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

.sa-trust-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .sa-trust-num {
        font-size: 2rem;
    }
}

.sa-trust-label {
    font-size: 0.625rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

/* ── Services Grid ── */
.sa-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .sa-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .sa-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.sa-service-card {
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 2rem;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sa-service-image-wrap {
    width: 100%;
    height: 180px;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-service-card:hover .sa-service-image {
    transform: scale(1.05);
}

.sa-service-icon-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    background: #0f172a;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2rem auto 1rem;
    position: relative;
    z-index: 15;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(12, 170, 220, 0.15);
}

.sa-service-card:hover .sa-service-icon-wrap {
    transform: translateY(-2px) rotate(4deg);
    border-color: rgba(12, 170, 220, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(12, 170, 220, 0.35);
}

.sa-service-icon {
    font-size: 1.75rem;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

@media (min-width: 768px) {
    .sa-service-icon {
        font-size: 2.5rem;
    }
}

.sa-card-text {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .sa-card-text {
        margin-bottom: 2rem;
    }
}

.sa-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
}

.sa-card-link:hover {
    color: var(--color-primary-light);
}

.sa-card-link-icon {
    font-size: 1rem;
}

/* ── Process Section ── */
.sa-process-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sa-process-layout {
        flex-direction: row;
        gap: 6rem;
    }
}

.sa-process-img-col {
    width: 100%;
}

@media (min-width: 1024px) {
    .sa-process-img-col {
        width: 50%;
    }
}

.sa-process-img-wrap {
    position: relative;
}

.sa-process-glow-bg {
    position: absolute;
    inset: -1.5rem;
    background: rgba(12, 170, 220, 0.2);
    border-radius: 3rem;
    filter: blur(48px);
    opacity: 0.3;
    transition: opacity 0.3s;
}

.sa-process-img-wrap:hover .sa-process-glow-bg {
    opacity: 0.5;
}

.sa-process-img {
    position: relative;
    z-index: 10;
    width: 100%;
    border-radius: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sa-process-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    z-index: 20;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 15rem;
}

@media (min-width: 768px) {
    .sa-process-badge {
        bottom: -2.5rem;
        right: -2.5rem;
        max-width: 18rem;
        padding: 1.5rem;
    }
}

.sa-process-badge-icon {
    font-size: 2.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

.sa-process-badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.sa-process-badge-sub {
    font-size: 0.625rem;
    color: rgba(148, 163, 184, 1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
}

.sa-process-content-col {
    width: 100%;
}

@media (min-width: 1024px) {
    .sa-process-content-col {
        width: 50%;
    }
}

.sa-process-eyebrow {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.sa-process-content-col .sa-h2 {
    margin-bottom: 2.5rem;
}

.sa-process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .sa-process-steps {
        gap: 3rem;
    }
}

.sa-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .sa-step {
        gap: 1.5rem;
    }
}

.sa-step:hover .sa-step-num {
    background: var(--color-primary);
    color: var(--color-white);
}

.sa-step-num {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    transition: background 0.3s, color 0.3s;
}

@media (min-width: 768px) {
    .sa-step-num {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.25rem;
    }
}

.sa-step-body {}

.sa-step-body .sa-h3 {
    margin-bottom: 0.5rem;
}

.sa-step-text {
    color: var(--color-gray-400);
    font-weight: 300;
    line-height: 1.75;
    margin: 0;
}

/* ── Testimonials ── */
.sa-section-darker .sa-h2 {
    margin-bottom: 4rem;
}

.sa-testimonial-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sa-testimonial-card {
        padding: 4rem;
        border-radius: 3rem;
    }
}

.sa-quote-icon {
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    font-size: 7.5rem;
    color: rgba(255, 255, 255, 0.05);
    font-variation-settings: 'FILL' 1, 'wght' 400;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .sa-quote-icon {
        font-size: 11.25rem;
    }
}

.sa-testimonial-inner {
    position: relative;
    z-index: 10;
    text-align: center;
}

.sa-testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 3vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(226, 232, 240, 1);
    margin-bottom: 2.5rem;
}

.sa-testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sa-testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    box-shadow: 0 0 0 4px rgba(12, 170, 220, 0.3);
    color: rgba(148, 163, 184, 1);
}

.sa-testimonial-avatar .material-symbols-outlined {
    font-size: 1.5rem;
}

.sa-testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    text-align: center;
}

.sa-testimonial-location {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    margin: 0;
    text-align: center;
}

.sa-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.sa-star {
    font-size: 0.875rem;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

/* ── Testimonials Carousel ── */
.sa-testimonials-carousel {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
    overflow: hidden;
}

.sa-testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.sa-testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

.sa-testimonial-slide .sa-testimonial-card {
    max-width: 100%;
    margin: 0;
}

/* Carousel navigation dots */
.sa-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.sa-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.sa-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.sa-carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(12, 170, 220, 0.5);
}

/* Carousel arrows */
.sa-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
}

.sa-carousel-arrow:hover {
    background: rgba(12, 170, 220, 0.25);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.sa-carousel-arrow--prev {
    left: 0.5rem;
}

.sa-carousel-arrow--next {
    right: 0.5rem;
}

@media (max-width: 1024px) {
    .sa-carousel-arrow--prev {
        left: 0.5rem;
    }

    .sa-carousel-arrow--next {
        right: 0.5rem;
    }
}

@media (max-width: 640px) {
    .sa-carousel-arrow {
        display: none;
    }
}

/* ── FAQ ── */
.sa-faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.sa-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    transition: color 0.2s;
}

.sa-faq-question:hover {
    color: var(--color-primary);
}

.sa-faq-question svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--color-primary);
}

.sa-faq-item.active .sa-faq-question svg {
    transform: rotate(180deg);
}

.sa-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.sa-faq-item.active .sa-faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.sa-faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.75;
    margin: 0;
}

/* ── CTA Section ── */
.sa-cta-section {
    background: radial-gradient(circle at 50% 100%, rgba(12, 170, 220, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, rgba(26, 70, 140, 0.45) 0%, var(--color-bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.sa-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(12, 170, 220, 0.3), transparent);
}

.sa-cta-inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.sa-cta-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    border-radius: 9999px;
    color: var(--color-primary-light);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2.5rem;
    animation: float-badge 6s ease-in-out infinite;
}

.sa-cta-inner .sa-h2 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.sa-cta-accent {
    background: linear-gradient(to right, #67e8f9, #0CAADC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(12, 170, 220, 0.3);
}

.sa-cta-desc {
    color: var(--color-gray-400);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 42rem;
    margin: 0 auto 3.5rem;
}

/* ── text-center utility ── */

/* ==========================================================================
   BLOG ARCHIVE & SINGLE POST SYSTEM
   ========================================================================== */

/* ── Hero Archive ── */
.blog-hero {
    position: relative;
    padding: 150px 0 70px;
    background: var(--color-bg-darker);
    overflow: hidden;
    text-align: center;
}

.blog-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(12, 170, 220, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Category Filter Pills ── */
.blog-category-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 2rem 0 3.5rem;
    padding: 0;
    list-style: none;
}

.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-400);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-cat-pill:hover {
    color: var(--color-white);
    background: rgba(12, 170, 220, 0.12);
    border-color: rgba(12, 170, 220, 0.4);
    transform: translateY(-2px);
}

.blog-cat-pill.active {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-color: rgba(12, 170, 220, 0.5);
    box-shadow: 0 4px 15px rgba(12, 170, 220, 0.3);
}

/* ── Blog Grid ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Blog Card ── */
.blog-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--glass-dark);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(12, 170, 220, 0.4) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 25px rgba(12, 170, 220, 0.18);
    background: rgba(15, 23, 42, 0.55);
}

.blog-card-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 60%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}

.blog-card-img-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(12, 170, 220, 0.12), rgba(79, 195, 247, 0.06));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
    gap: 0.85rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

.blog-card-cat {
    background: rgba(12, 170, 220, 0.15);
    color: var(--color-primary-light);
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.625rem;
    border: 1px solid rgba(12, 170, 220, 0.2);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.blog-card-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-card-title a:hover {
    color: var(--color-primary-light);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--color-primary-light);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
    margin-top: auto;
}

.blog-card-link:hover {
    gap: 0.65rem;
    color: var(--color-primary-light);
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 1rem;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-300);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.italic {
    font-style: italic;
}

/* ── Blog Card Enhancements ── */
.blog-card-reading {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

.blog-card-reading .material-symbols-outlined {
    font-size: 0.95rem;
    color: var(--color-primary);
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-card-author {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

.blog-card-author .material-symbols-outlined {
    font-size: 1rem;
    color: var(--color-primary-light);
}

/* ==========================================================================
   BLOG SINGLE POST SYSTEM
   ========================================================================== */

.blog-single-section {
    position: relative;
    padding: 130px 0 80px;
    background: var(--color-bg-darker);
    overflow: hidden;
}

.blog-single-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(12, 170, 220, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.blog-single-wrapper {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Breadcrumbs */
.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    margin-bottom: 2rem;
}

.blog-breadcrumbs a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
    color: var(--color-primary-light);
}

.blog-breadcrumbs .sep {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

.blog-breadcrumbs .current {
    color: var(--color-primary-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

/* Header */
.blog-single-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.blog-single-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(12, 170, 220, 0.15);
    border: 1px solid rgba(12, 170, 220, 0.3);
    color: var(--color-primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: all 0.2s ease;
}

.blog-single-category:hover {
    background: rgba(12, 170, 220, 0.25);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.blog-single-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.blog-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: var(--color-gray-400);
}

.blog-single-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-single-meta-item .material-symbols-outlined {
    font-size: 1.05rem;
    color: var(--color-primary);
}

/* Featured Media */
.blog-featured-media {
    margin-bottom: 3.5rem;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.5);
}

.blog-featured-media img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Editorial Content / Prose */
.blog-prose {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.85;
    color: #cbd5e1;
    word-break: break-word;
}

.blog-prose p {
    margin-bottom: 1.65rem;
}

.blog-prose h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-white);
    margin: 3rem 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(12, 170, 220, 0.2);
}

.blog-prose h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    margin: 2.25rem 0 1rem;
}

.blog-prose h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 1.75rem 0 0.75rem;
}

.blog-prose strong,
.blog-prose b {
    font-weight: 700;
    color: var(--color-white);
}

.blog-prose a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.blog-prose a:hover {
    color: var(--color-white);
}

.blog-prose ul,
.blog-prose ol {
    margin: 1.5rem 0 1.75rem;
    padding-left: 1.5rem;
}

.blog-prose li {
    margin-bottom: 0.65rem;
    line-height: 1.8;
}

.blog-prose ul > li::marker {
    color: var(--color-primary);
}

.blog-prose ol > li::marker {
    color: var(--color-primary);
    font-weight: 700;
}

.blog-prose blockquote {
    margin: 2.25rem 0;
    padding: 1.35rem 1.75rem;
    background: rgba(15, 23, 42, 0.65);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 0.85rem 0.85rem 0;
    font-style: italic;
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-prose blockquote p:last-child {
    margin-bottom: 0;
}

.blog-prose figure {
    margin: 2.5rem 0;
}

.blog-prose figure img {
    border-radius: 1rem;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-prose figcaption {
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

.blog-prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-prose th {
    background: rgba(12, 170, 220, 0.15);
    color: var(--color-white);
    padding: 0.9rem 1.2rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-prose td {
    padding: 0.9rem 1.2rem;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9375rem;
}

/* Callout Box / Tip Box */
.blog-tip-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    margin: 2.5rem 0;
    background: rgba(12, 170, 220, 0.07);
    border: 1px solid rgba(12, 170, 220, 0.3);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-tip-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(12, 170, 220, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
}

.blog-tip-content {
    flex: 1;
}

.blog-tip-title {
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.blog-tip-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
}

/* Tags */
.blog-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-tags-label {
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    font-weight: 600;
}

.blog-tag-pill {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-300);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-tag-pill:hover {
    background: rgba(12, 170, 220, 0.15);
    border-color: rgba(12, 170, 220, 0.4);
    color: var(--color-primary-light);
}

/* Share Bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: var(--glass-dark);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    margin: 2.5rem 0;
}

.blog-share-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
}

.blog-share-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.blog-share-btn--wa {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.blog-share-btn--wa:hover {
    background: #25d366;
    color: #031118;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.blog-share-btn--copy {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--color-gray-300);
}

.blog-share-btn--copy:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

/* Author Box */
.blog-author-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    background: var(--glass-dark);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    margin: 3rem 0;
}

@media (max-width: 640px) {
    .blog-author-card {
        flex-direction: column;
        text-align: center;
    }
}

.blog-author-avatar {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 2px solid rgba(12, 170, 220, 0.4);
    box-shadow: 0 6px 20px rgba(12, 170, 220, 0.25);
}

.blog-author-avatar .material-symbols-outlined {
    font-size: 2rem;
}

.blog-author-info {
    flex: 1;
}

.blog-author-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    margin-bottom: 0.25rem;
    display: block;
}

.blog-author-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 0.5rem;
}

.blog-author-bio {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-gray-400);
    margin: 0;
}

/* Prev / Next Navigation */
.blog-single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (max-width: 640px) {
    .blog-single-nav {
        grid-template-columns: 1fr;
    }
}

.blog-nav-card {
    padding: 1.5rem;
    background: var(--glass-dark);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-nav-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 170, 220, 0.4);
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-nav-dir {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.blog-nav-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-white);
    margin: 0;
    transition: color 0.2s ease;
}

.blog-nav-card:hover .blog-nav-title {
    color: var(--color-primary-light);
}

.blog-nav-card--next {
    text-align: right;
}

.blog-nav-card--next .blog-nav-dir {
    justify-content: flex-end;
}

/* Related Posts */
.blog-related {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-related-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-related-title .sa-process-eyebrow {
    margin-bottom: 0.5rem;
}

.blog-related-title h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    margin: 0;
}


/* ==========================================================================
   ADVANCED MOBILE RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 640px) {
    /* Spacing and margins */
    .sa-section {
        padding: 3rem 0;
    }

    /* Optimize card paddings to maximize readable area */
    .sa-service-card {
        padding: 1.75rem 1.25rem !important;
        border-radius: 1.5rem !important;
    }

    .sa-testimonial-card {
        padding: 1.75rem 1.25rem !important;
        border-radius: 1.5rem !important;
    }

    .sa-testimonial-quote {
        margin-bottom: 1.5rem !important;
        font-size: 1.125rem !important;
    }

    /* Process section responsive layout adjustments */
    .sa-process-layout {
        gap: 3rem !important;
    }

    .sa-process-img-wrap {
        max-width: 320px;
        margin: 0 auto;
    }

    .sa-process-badge {
        right: -0.5rem !important;
        bottom: -0.75rem !important;
        padding: 0.75rem 1rem !important;
        max-width: 13rem !important;
        border-radius: 0.75rem !important;
    }

    .sa-process-badge-icon {
        font-size: 1.5rem !important;
    }

    .sa-process-badge-title {
        font-size: 0.875rem !important;
    }

    .sa-process-badge-sub {
        font-size: 0.75rem !important;
    }

    /* Hero Badge spacing */
    .sa-badge-wrap {
        margin-bottom: 1.5rem !important;
    }

    .sa-badge {
        padding: 0.4rem 1rem !important;
        letter-spacing: 0.15em !important;
    }

    /* Touch friendly mobile navigation links spacing */
    .mobile-nav {
        padding: 1.5rem 1rem !important;
        gap: 0.5rem !important;
    }

    .mobile-nav-link {
        font-size: 0.95rem !important;
        padding: 1rem 1.25rem !important;
        border-radius: 0.5rem !important;
    }

    /* Scroll indicator adjustment */
    .sa-scroll-indicator {
        bottom: 1.5rem !important;
    }

    .sa-scroll-mouse {
        width: 24px !important;
        height: 40px !important;
    }

    .sa-scroll-wheel {
        width: 4px !important;
        height: 8px !important;
        top: 6px !important;
    }
}

@media (max-width: 480px) {
    /* Hero Heading typography control */
    .sa-hero-h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.25rem !important;
    }

    .sa-hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem;
    }

    /* Price calculator spacing */
    .calculator-widget {
        padding: 1.5rem 1rem !important;
    }

    /* Grid layout gutters */
    .sa-trust-grid {
        gap: 1.5rem 1rem !important;
        padding: 2rem 0 !important;
    }

.sa-trust-num {
    font-size: 1.5rem !important;
}

}

/* ==========================================================================
   TÉRMINOS Y CONDICIONES
   ========================================================================== */

.sa-hero--small {
    min-height: 50vh;
    padding-top: 7rem;
}

.sa-hero--small .sa-hero-h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.sa-hero--small .sa-hero-subtitle {
    margin-bottom: 0;
}

.sa-terms-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.8;
}

.sa-terms-intro p + p {
    margin-top: 1rem;
}

.sa-terms-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sa-terms-item {
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    background: var(--glass-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.sa-terms-item:hover {
    transform: translateY(-4px);
    border-color: rgba(12, 170, 220, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(12, 170, 220, 0.15);
}

.sa-terms-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.3;
}

.sa-terms-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(12, 170, 220, 0.3);
}

.sa-terms-body {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1rem;
}

.sa-terms-body p + p,
.sa-terms-body p + ul,
.sa-terms-body ul + p {
    margin-top: 1rem;
}

.sa-terms-body ul {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sa-terms-body li {
    color: var(--color-text-muted);
}

.sa-terms-body li::marker {
    color: var(--color-primary);
}

.sa-terms-body a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sa-terms-body a:hover {
    color: var(--color-accent-hover);
}

.sa-terms-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

@media (min-width: 640px) {
    .sa-terms-cta {
        flex-direction: row;
    }
}

.sa-terms-cta .sa-btn-primary,
.sa-terms-cta .sa-btn-glass {
    width: 100%;
}

@media (min-width: 640px) {
    .sa-terms-cta .sa-btn-primary,
    .sa-terms-cta .sa-btn-glass {
        width: auto;
    }
}

@media (max-width: 768px) {
    .sa-hero--small {
        min-height: 40vh;
    }

    .sa-terms-intro {
        text-align: left;
        margin-bottom: 3rem;
    }

    .sa-terms-item {
        padding: 1.5rem 1.25rem;
    }

    .sa-terms-title {
        font-size: 1.25rem;
        gap: 0.75rem;
    }

    .sa-terms-num {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   FOOTER LEGAL LINKS
   ========================================================================== */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}
/* ==========================================================================
   TÉRMINOS Y CONDICIONES
   ========================================================================== */

.sa-hero--small {
    min-height: 50vh;
    padding-top: 7rem;
}

.sa-hero--small .sa-hero-h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.sa-hero--small .sa-hero-subtitle {
    margin-bottom: 0;
}

.sa-terms-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.8;
}

.sa-terms-intro p + p {
    margin-top: 1rem;
}

.sa-terms-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sa-terms-item {
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    background: var(--glass-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.sa-terms-item:hover {
    transform: translateY(-4px);
    border-color: rgba(12, 170, 220, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(12, 170, 220, 0.15);
}

.sa-terms-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.3;
}

.sa-terms-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(12, 170, 220, 0.3);
}

.sa-terms-body {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1rem;
}

.sa-terms-body p + p,
.sa-terms-body p + ul,
.sa-terms-body ul + p {
    margin-top: 1rem;
}

.sa-terms-body ul {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sa-terms-body li {
    color: var(--color-text-muted);
}

.sa-terms-body li::marker {
    color: var(--color-primary);
}

.sa-terms-body a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sa-terms-body a:hover {
    color: var(--color-accent-hover);
}

.sa-terms-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

@media (min-width: 640px) {
    .sa-terms-cta {
        flex-direction: row;
    }
}

.sa-terms-cta .sa-btn-primary,
.sa-terms-cta .sa-btn-glass {
    width: 100%;
}

@media (min-width: 640px) {
    .sa-terms-cta .sa-btn-primary,
    .sa-terms-cta .sa-btn-glass {
        width: auto;
    }
}

@media (max-width: 768px) {
    .sa-hero--small {
        min-height: 40vh;
    }

    .sa-terms-intro {
        text-align: left;
        margin-bottom: 3rem;
    }

    .sa-terms-item {
        padding: 1.5rem 1.25rem;
    }

    .sa-terms-title {
        font-size: 1.25rem;
        gap: 0.75rem;
    }

    .sa-terms-num {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   FOOTER LEGAL LINKS
   ========================================================================== */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-primary-light);
}

.footer-legal span {
    color: var(--color-gray-500);
}

/* ==========================================================================
   TERMS — HIGHLIGHTED CLAUSE & CALLOUT COMPONENTS
   ========================================================================== */

.sa-terms-item--highlight {
    border-color: rgba(12, 170, 220, 0.5);
    background: linear-gradient(135deg, rgba(12, 170, 220, 0.07) 0%, rgba(26, 70, 140, 0.1) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 40px rgba(12, 170, 220, 0.1);
    position: relative;
    overflow: hidden;
}

.sa-terms-item--highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 170, 220, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

.sa-terms-item--highlight:hover {
    border-color: rgba(12, 170, 220, 0.7);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 50px rgba(12, 170, 220, 0.22);
}

.sa-terms-item--highlight .sa-terms-num {
    background: var(--color-primary-gradient);
    box-shadow: 0 0 28px rgba(12, 170, 220, 0.5), 0 0 56px rgba(12, 170, 220, 0.2);
    width: 3rem;
    height: 3rem;
    font-size: 1.125rem;
}

.sa-terms-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(12, 170, 220, 0.4);
    background: rgba(12, 170, 220, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sa-terms-callout-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(12, 170, 220, 0.15);
    color: var(--color-primary-light);
}

.sa-terms-callout-body {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
}

.sa-terms-callout-title {
    display: block;
    font-weight: 700;
    color: var(--color-primary-light);
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.sa-terms-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.65rem;
    border-radius: 100px;
    background: var(--color-primary-gradient);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(12, 170, 220, 0.35);
    vertical-align: middle;
    margin: 0 0.2rem;
}

@media (max-width: 768px) {
    .sa-terms-callout {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sa-terms-item--highlight .sa-terms-num {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   TERMS — HERO LEGAL
   ========================================================================== */

.sa-hero-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.sa-hero-img,
.sa-hero-video {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    object-position: center !important;
}

.sa-terms-hero {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    padding-top: 8rem;
    overflow: hidden;
}

.sa-terms-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sa-terms-hero-bg .sa-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sa-terms-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 12, 20, 0.55) 0%,
        rgba(8, 12, 20, 0.75) 60%,
        rgba(8, 12, 20, 1) 100%
    );
}

.sa-terms-hero-inner {
    position: relative;
    z-index: 1;
}

.sa-terms-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.sa-terms-hero-label .material-symbols-outlined {
    font-size: 1rem;
}

.sa-terms-hero-h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.sa-terms-hero-h1 em {
    font-style: italic;
    color: var(--color-primary-light);
}

.sa-terms-hero-sub {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .sa-terms-hero {
        min-height: 38vh;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .sa-terms-hero-h1 {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }
}

/* ==========================================================================
   TERMS — AT-A-GLANCE BAR
   ========================================================================== */

.sa-terms-glance {
    padding: 2.5rem 0;
}

.sa-terms-glance-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.sa-terms-glance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.sa-terms-glance-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-white);
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.55;
}

.sa-terms-glance-item .material-symbols-outlined {
    flex-shrink: 0;
    font-size: 1.375rem;
    color: var(--color-primary-light);
    margin-top: 0.1rem;
}

.sa-terms-glance-item strong {
    color: var(--color-heading);
}

@media (max-width: 640px) {
    .sa-terms-glance-grid {
        grid-template-columns: 1fr;
    }

    .sa-terms-glance {
        padding: 2rem 0;
    }
}

/* ==========================================================================
   LIVE ACTIVITY STRIP (Solo Alfombras Inspired)
   ========================================================================== */

.sa-live-strip {
    background: linear-gradient(90deg, rgba(12, 170, 220, 0.08) 0%, rgba(26, 70, 140, 0.15) 50%, rgba(12, 170, 220, 0.08) 100%);
    border-top: 1px solid rgba(12, 170, 220, 0.2);
    border-bottom: 1px solid rgba(12, 170, 220, 0.2);
    padding: 0.875rem 0;
    position: relative;
    z-index: 10;
}

.sa-live-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.sa-live-dot-wrap {
    position: relative;
    width: 10px;
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sa-live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: block;
}

.sa-live-dot-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: livePulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    opacity: 0.75;
}

@keyframes livePulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.sa-live-text {
    font-size: 0.9375rem;
    color: var(--color-text);
    font-family: var(--font-body);
}

.sa-live-text strong {
    color: var(--color-primary-light);
    font-weight: 700;
}

.sa-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-heading);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
}

/* ==========================================================================
   BENTO GRID SYSTEM (Impeccable Design)
   ========================================================================== */

.sa-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .sa-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .sa-bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.sa-bento-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 1.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.sa-bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(12, 170, 220, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(12, 170, 220, 0.15);
}

/* Featured 2-Column Hero Card */
@media (min-width: 768px) {
    .sa-bento-card--featured {
        grid-column: span 2;
        min-height: 340px;
    }
}

.sa-bento-card--featured .sa-bento-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sa-bento-card--featured .sa-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-bento-card--featured:hover .sa-bento-img {
    transform: scale(1.04);
}

.sa-bento-card--featured .sa-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 12, 20, 0.92) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(8, 12, 20, 0.95) 100%);
}

.sa-bento-card--featured .sa-bento-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 1.5rem;
}

.sa-bento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sa-bento-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.875rem;
    border-radius: 100px;
    background: rgba(12, 170, 220, 0.15);
    border: 1px solid rgba(12, 170, 220, 0.4);
    color: var(--color-primary-light);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sa-bento-specs {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

.sa-bento-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-heading);
    line-height: 1.25;
    margin: 0.5rem 0;
}

.sa-bento-desc {
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.sa-bento-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-bento-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Logistics Card */
.sa-bento-card--logistics {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(8, 12, 20, 0.9) 100%);
}

.sa-bento-icon-box {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: rgba(12, 170, 220, 0.15);
    border: 1px solid rgba(12, 170, 220, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    margin-bottom: 1.25rem;
}

.sa-bento-icon-box .material-symbols-outlined {
    font-size: 1.75rem;
}

.sa-bento-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.sa-bento-card-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.sa-bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sa-tag {
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Thumb cards (Muro & Tapices) */
.sa-bento-thumb {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-bento-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-bento-card:hover .sa-bento-thumb img {
    transform: scale(1.06);
}

.sa-thumb-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(12, 170, 220, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-light);
}

/* Wide Bottom Card (Sanitización) */
@media (min-width: 1024px) {
    .sa-bento-card--wide {
        grid-column: span 3;
    }
}

.sa-bento-wide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.sa-bento-wide-content {
    flex: 1;
    min-width: 280px;
}

.sa-bento-wide-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.sa-bento-badge-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(12, 170, 220, 0.08);
    border: 1px solid rgba(12, 170, 220, 0.3);
    font-size: 0.875rem;
    color: var(--color-text);
}

.sa-bento-badge-highlight .material-symbols-outlined {
    color: var(--color-primary-light);
}

@media (max-width: 768px) {
    .sa-bento-wide-action {
        align-items: stretch;
        width: 100%;
    }
    .sa-bento-wide-action .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   CLEAN TERMS CARDS (Solo Alfombras Inspired + Dark Cyan Theme)
   ========================================================================== */

.sa-terms-clean-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sa-terms-card {
    padding: 1.75rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sa-terms-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 170, 220, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), 0 0 24px rgba(12, 170, 220, 0.12);
}

.sa-terms-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sa-terms-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(12, 170, 220, 0.3);
}

.sa-terms-num-badge--highlight {
    background: linear-gradient(135deg, #0CAADC 0%, #22d3ee 100%);
    box-shadow: 0 0 25px rgba(12, 170, 220, 0.6);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.0625rem;
}

.sa-terms-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-heading);
    margin: 0;
    line-height: 1.25;
}

.sa-terms-card-body {
    font-size: 0.96875rem;
    color: var(--color-text);
    line-height: 1.75;
}

.sa-terms-card-body p {
    margin: 0 0 0.875rem 0;
}

.sa-terms-card-body p:last-child {
    margin-bottom: 0;
}

.sa-terms-card-body strong {
    color: var(--color-heading);
}

.sa-terms-card-body a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sa-terms-card-body a:hover {
    color: var(--color-accent-hover);
}

/* Featured 72-Hour Claim Card */
.sa-terms-card--featured {
    border-color: rgba(12, 170, 220, 0.5);
    background: linear-gradient(135deg, rgba(12, 170, 220, 0.09) 0%, rgba(26, 70, 140, 0.14) 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 40px rgba(12, 170, 220, 0.18);
    position: relative;
    overflow: hidden;
}

.sa-terms-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 170, 220, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.sa-terms-featured-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(12, 170, 220, 0.1);
    border: 1px solid rgba(12, 170, 220, 0.35);
    margin-bottom: 1.25rem;
}

.sa-callout-big-icon {
    font-size: 2.25rem;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.sa-callout-h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 0.4rem 0;
}

.sa-terms-check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sa-terms-check-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.sa-terms-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary-light);
    font-weight: 700;
}

.sa-terms-contact-box {
    margin-top: 1rem;
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-terms-contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

@media (max-width: 768px) {
    .sa-terms-card {
        padding: 1.25rem 1.25rem;
    }
    .sa-terms-featured-callout {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   TERMS — STICKY SIDEBAR, SEARCH BAR & ELEGANT LAYOUT
   ========================================================================== */

.sa-terms-top-bar {
    max-width: 1080px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sa-terms-intro-mini {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.sa-terms-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sa-terms-search-box:focus-within {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 20px rgba(12, 170, 220, 0.25);
}

.sa-terms-search-box .sa-search-icon {
    color: var(--color-primary-light);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sa-terms-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    width: 100%;
}

.sa-terms-search-box input::placeholder {
    color: var(--color-text-muted);
}

.sa-terms-search-box button {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

.sa-terms-search-box button:hover {
    color: #ffffff;
}

/* Layout 2-Column Desktop */
.sa-terms-layout {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .sa-terms-layout {
        grid-template-columns: 260px 1fr;
        align-items: start;
    }
}

.sa-terms-sidebar {
    position: sticky;
    top: 6rem;
    z-index: 20;
}

.sa-terms-nav-box {
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    background: var(--glass-dark);
    backdrop-filter: blur(24px);
}

.sa-terms-nav-title {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-terms-toc {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sa-toc-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sa-toc-item:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

.sa-toc-item.active {
    color: var(--color-primary-light);
    background: rgba(12, 170, 220, 0.12);
    font-weight: 700;
    border-left: 3px solid var(--color-primary-light);
}

.sa-toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sa-toc-item.active .sa-toc-num {
    background: var(--color-primary-gradient);
    color: #ffffff;
}

.sa-toc-badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 100px;
    background: var(--color-primary-gradient);
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 991px) {
    .sa-terms-sidebar {
        position: relative;
        top: 0;
    }
    .sa-terms-toc {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }
    .sa-toc-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ==========================================================================
   LEGAL / TERMS & CONDITIONS — EDITORIAL REDESIGN
   ========================================================================== */

/* --- Hero Legal --- */
.sa-legal-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.sa-legal-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sa-legal-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.7);
}

.sa-legal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 12, 20, 0.3) 0%,
        rgba(8, 12, 20, 0.7) 60%,
        rgba(8, 12, 20, 1) 100%
    );
    z-index: 1;
}

.sa-legal-hero-inner {
    position: relative;
    z-index: 2;
    padding: 8rem 1rem 3rem;
}

.sa-legal-mono {
    display: inline-block;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.sa-legal-h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.sa-legal-h1 em {
    font-style: italic;
    color: var(--color-primary-light);
}

.sa-legal-updated {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    max-width: 600px;
}

/* --- Intro text --- */
.sa-legal-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    padding: 2rem 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray-300);
}

.sa-legal-intro a {
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(12, 170, 220, 0.3);
    transition: border-color 0.3s;
}

.sa-legal-intro a:hover {
    border-color: var(--color-primary-light);
}

/* --- Quick Navigation --- */
.sa-legal-quicknav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sa-legal-qn-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gray-400);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.sa-legal-qn-item:hover,
.sa-legal-qn-item.active {
    color: #ffffff;
    border-color: rgba(12, 170, 220, 0.5);
    background: rgba(12, 170, 220, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(12, 170, 220, 0.15);
}

.sa-legal-qn-num {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary-light);
    opacity: 0.7;
}

.sa-legal-qn-item--featured {
    border-color: rgba(12, 170, 220, 0.35);
    background: rgba(12, 170, 220, 0.08);
    color: var(--color-primary-light);
}

/* --- Prose Content (Editorial) --- */
.sa-legal-prose {
    max-width: 760px;
    margin: 0 auto;
}

.sa-legal-article {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-legal-article.sa-revealed {
    opacity: 1;
    transform: translateY(0);
}

.sa-legal-article:last-child {
    border-bottom: none;
}

.sa-legal-article-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sa-legal-article-num {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-light);
    opacity: 0.6;
    flex-shrink: 0;
    padding-top: 0.3rem;
}

.sa-legal-article-head h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.sa-legal-article p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--color-gray-300);
    margin: 0 0 1rem;
}

.sa-legal-article p:last-child {
    margin-bottom: 0;
}

.sa-legal-article p strong {
    color: #e2e8f0;
}

/* --- Featured Article (Garantía 48h) --- */
.sa-legal-article--featured {
    background: rgba(12, 170, 220, 0.04);
    border: 1px solid rgba(12, 170, 220, 0.15);
    border-radius: 1.25rem;
    padding: 2.5rem;
    margin: 1rem 0;
}

.sa-legal-article-num--featured {
    opacity: 1;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
}

.sa-legal-badge-48 {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(12, 170, 220, 0.15);
    color: var(--color-primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(12, 170, 220, 0.3);
    white-space: nowrap;
}

/* --- Callout box --- */
.sa-legal-callout {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(12, 170, 220, 0.06);
    border: 1px solid rgba(12, 170, 220, 0.2);
    border-radius: 1rem;
    border-left: 3px solid var(--color-primary-light);
}

.sa-legal-callout-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 0.75rem;
    color: #ffffff;
}

.sa-legal-callout-icon .material-symbols-outlined {
    font-size: 1.3rem;
    font-variation-settings: 'FILL' 1;
}

.sa-legal-callout-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
}

.sa-legal-callout-body p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-gray-300);
}

/* --- Check list --- */
.sa-legal-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sa-legal-check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-300);
}

.sa-legal-check-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--color-primary-light);
    font-variation-settings: 'FILL' 1;
    margin-top: 0.15rem;
}

.sa-legal-check-list li strong {
    color: #e2e8f0;
}

/* --- Contact Grid --- */
.sa-legal-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.sa-legal-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.875rem;
    text-decoration: none;
    color: var(--color-gray-300);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-legal-contact-item:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 170, 220, 0.4) !important;
    box-shadow: 0 8px 24px rgba(12, 170, 220, 0.12);
}

.sa-legal-contact-item .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.sa-legal-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.sa-legal-contact-item strong {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-400);
}

.sa-legal-contact-item span {
    font-size: 0.9rem;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- CTA --- */
.sa-legal-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
    .sa-legal-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .sa-legal-hero-inner {
        padding: 6rem 1rem 2rem;
    }

    .sa-legal-h1 {
        font-size: 2rem;
    }

    .sa-legal-quicknav {
        gap: 0.4rem;
        padding: 1rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .sa-legal-qn-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .sa-legal-article--featured {
        padding: 1.5rem;
    }

    .sa-legal-callout {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sa-legal-contact-grid {
        grid-template-columns: 1fr;
    }

    .sa-legal-article-head h2 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   HERO VIDEO + TÉRMINOS 2026 — DEFINITIVE COMPONENT OVERRIDES
   ========================================================================== */

.sa-hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.sa-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        linear-gradient(rgba(8, 12, 20, 0.2), rgba(8, 12, 20, 0.2)),
        url("./assets/images/hero-bg.webp") center / cover no-repeat;
}

.sa-hero-media .sa-hero-video {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.sa-hero-media.is-playing .sa-hero-video {
    opacity: 1;
}

.sa-hero-media.is-unavailable .sa-hero-video {
    display: none !important;
}

.sa-terms-hero {
    min-height: clamp(27rem, 54vh, 38rem);
    padding: 9rem 0 4.5rem;
    align-items: flex-end;
    background: var(--color-bg-dark);
}

.sa-terms-hero-bg .sa-hero-img {
    filter: saturate(0.68) contrast(1.06);
}

.sa-terms-hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 12, 20, 0.96) 0%, rgba(8, 12, 20, 0.76) 52%, rgba(8, 12, 20, 0.38) 100%),
        linear-gradient(0deg, #080c14 0%, transparent 58%);
}

.sa-terms-hero-inner {
    max-width: 1200px;
}

.sa-terms-hero-label {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(12, 170, 220, 0.34);
    border-radius: 999px;
    background: rgba(8, 12, 20, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sa-terms-hero-h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 700;
}

.sa-terms-hero-sub {
    max-width: 62ch;
    color: var(--color-text);
    line-height: 1.7;
}

.sa-live-badge-icon {
    color: var(--color-primary-light);
    font-size: 0.95rem;
}

#terminos.sa-section {
    background:
        radial-gradient(circle at 78% 8%, rgba(12, 170, 220, 0.08), transparent 28rem),
        var(--color-bg-surface);
}

.sa-terms-top-bar,
.sa-terms-layout {
    max-width: 1200px;
}

.sa-terms-top-bar {
    align-items: end;
    margin-bottom: 3rem;
}

.sa-terms-intro-mini {
    max-width: 64ch;
    margin: 0;
    text-align: left;
}

.sa-terms-intro-mini p {
    margin: 0;
}

.sa-terms-kicker,
.sa-terms-search > label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--color-primary-light);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sa-terms-search {
    width: 100%;
}

.sa-terms-search-box {
    max-width: none;
    margin: 0;
    border-radius: 1rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 32px rgba(3, 8, 18, 0.18);
}

.sa-terms-search-box:focus-within {
    border-color: rgba(12, 170, 220, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 3px rgba(12, 170, 220, 0.14);
}

.sa-terms-search-box input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.sa-terms-search-box button {
    width: 2rem;
    height: 2rem;
    justify-content: center;
    border-radius: 50%;
}

.sa-terms-search-box button:active {
    transform: scale(0.96);
}

.sa-terms-search-hint,
.sa-terms-search-status {
    display: block;
    margin: 0.55rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.sa-terms-search-status:not(:empty) {
    color: var(--color-primary-light);
}

.sa-terms-search-status[hidden] {
    display: none;
}

.sa-terms-layout {
    grid-template-columns: minmax(0, 1fr);
}

.sa-terms-nav-box,
.sa-terms-card {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 42px rgba(3, 8, 18, 0.22);
}

.sa-terms-clean-grid {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.sa-terms-card {
    scroll-margin-top: 7rem;
    height: 100%;
    padding: 1.65rem;
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.sa-terms-card:hover {
    transform: translateY(-2px);
    border-color: rgba(12, 170, 220, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 22px 48px rgba(3, 8, 18, 0.28);
}

.sa-terms-card[hidden],
.sa-toc-item[hidden] {
    display: none !important;
}

.sa-terms-num-badge {
    background: rgba(12, 170, 220, 0.13);
    border: 1px solid rgba(12, 170, 220, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
}

.sa-terms-num-badge .material-symbols-outlined {
    font-size: 1.15rem;
}

.sa-terms-num-badge--highlight {
    background: var(--color-primary);
    color: #ffffff;
}

.sa-terms-num-badge--highlight .material-symbols-outlined {
    font-size: 1.3rem;
}

.sa-terms-card-title {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.sa-terms-card-title--featured {
    color: var(--color-primary-light);
}

.sa-terms-card--featured {
    grid-column: 1 / -1;
    border-color: rgba(12, 170, 220, 0.56);
    background:
        linear-gradient(135deg, rgba(12, 170, 220, 0.11), rgba(26, 70, 140, 0.13)),
        var(--glass-dark);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 22px 54px rgba(3, 8, 18, 0.3);
}

.sa-terms-featured-callout {
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sa-terms-check-list li::before {
    content: "check";
    font-family: "Material Symbols Outlined";
    font-size: 1rem;
    font-weight: 500;
}

.sa-terms-contact-box {
    overflow-wrap: anywhere;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sa-toc-item {
    border-left: 2px solid transparent;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.sa-toc-item:hover {
    transform: translateX(2px);
}

.sa-toc-item.active {
    border-left-color: var(--color-primary);
}

.sa-toc-item:focus-visible,
.sa-terms-search-box button:focus-visible,
.sa-terms-search-box input:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 3px;
}

@media (min-width: 900px) {
    .sa-terms-top-bar {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
        gap: 3rem;
    }
}

@media (min-width: 1050px) {
    .sa-terms-layout {
        grid-template-columns: 16.5rem minmax(0, 1fr);
        gap: 2.25rem;
        align-items: start;
    }

    .sa-terms-sidebar {
        position: sticky;
        top: 6.5rem;
    }

    .sa-terms-clean-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .sa-terms-card--wide {
        grid-column: span 7;
    }

    .sa-terms-card--narrow {
        grid-column: span 5;
    }
}

@media (max-width: 1049px) {
    .sa-terms-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .sa-terms-hero {
        min-height: 26rem;
        padding: 7rem 0 3.25rem;
    }

    .sa-terms-hero-overlay {
        background:
            linear-gradient(90deg, rgba(8, 12, 20, 0.9), rgba(8, 12, 20, 0.62)),
            linear-gradient(0deg, #080c14, transparent 66%);
    }

    .sa-terms-hero-h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .sa-live-strip-inner {
        align-items: flex-start;
        text-align: left;
    }

    .sa-live-badge {
        margin-left: 1.6rem;
    }

    .sa-terms-card {
        padding: 1.3rem;
    }

    .sa-terms-card-header {
        align-items: flex-start;
    }

    .sa-terms-search-box {
        padding-inline: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sa-hero-media .sa-hero-video,
    .sa-terms-card,
    .sa-toc-item {
        transition: none;
    }

    .sa-live-dot-ring {
        animation: none;
        opacity: 0.35;
    }
}

/* ==========================================================================
   TÉRMINOS Y CONDICIONES — v1.3.7
   Namespace aislado para evitar interferencias de estilos históricos.
   ========================================================================== */

.fa-legal-page {
    --legal-ink: #e2e8f0;
    --legal-muted: #94a3b8;
    --legal-line: rgba(148, 163, 184, 0.16);
    --legal-cyan: #0CAADC;
    position: relative;
    overflow: clip;
    background: #080c14;
    color: var(--legal-ink);
}

.fa-legal-page *,
.fa-legal-page *::before,
.fa-legal-page *::after {
    box-sizing: border-box;
}

.fa-legal-hero {
    position: relative;
    min-height: 630px;
    padding: clamp(9.5rem, 16vw, 13rem) 0 clamp(5rem, 9vw, 8rem);
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(8, 12, 20, 0.98) 22%, rgba(8, 12, 20, 0.82) 68%, rgba(15, 23, 42, 0.9)),
        radial-gradient(circle at 72% 25%, rgba(12, 170, 220, 0.18), transparent 34%);
    border-bottom: 1px solid rgba(12, 170, 220, 0.18);
}

.fa-legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.fa-legal-orb {
    position: absolute;
    z-index: -1;
    width: 28rem;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.fa-legal-orb--one {
    top: -13rem;
    right: 2%;
    background: rgba(12, 170, 220, 0.18);
}

.fa-legal-orb--two {
    bottom: -20rem;
    left: 35%;
    background: rgba(26, 70, 140, 0.2);
}

.fa-legal-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.68fr);
    gap: clamp(3rem, 8vw, 8.5rem);
    align-items: end;
}

.fa-legal-eyebrow,
.fa-legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--legal-cyan);
    font: 700 0.75rem/1.2 "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fa-legal-eyebrow {
    margin-bottom: 1.7rem;
}

.fa-legal-eyebrow .material-symbols-outlined {
    font-size: 1.1rem;
}

.fa-legal-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font: 500 clamp(3.5rem, 7vw, 6.8rem)/0.94 "Playfair Display", serif;
    letter-spacing: -0.055em;
}

.fa-legal-hero h1 em {
    color: transparent;
    font-weight: 500;
    background: linear-gradient(105deg, #62d5f5, #0CAADC 55%, #6b91d7);
    -webkit-background-clip: text;
    background-clip: text;
}

.fa-legal-hero__copy > p {
    max-width: 720px;
    margin: 2rem 0 0;
    color: #b9c6d8;
    font: 400 clamp(1.05rem, 1.6vw, 1.25rem)/1.75 "Plus Jakarta Sans", sans-serif;
}

.fa-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.8rem;
    margin-top: 2.2rem;
    color: var(--legal-muted);
    font-size: 0.84rem;
}

.fa-legal-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.fa-legal-meta .material-symbols-outlined {
    color: var(--legal-cyan);
    font-size: 1rem;
}

.fa-legal-promise {
    position: relative;
    display: flex;
    min-height: 360px;
    padding: 2.2rem;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(98, 213, 245, 0.25);
    border-radius: 2rem 2rem 0.45rem 2rem;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(10, 19, 33, 0.72)),
        rgba(15, 23, 42, 0.76);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
}

.fa-legal-promise::before {
    content: "";
    position: absolute;
    width: 14rem;
    height: 14rem;
    top: -7rem;
    right: -6rem;
    border-radius: 50%;
    background: rgba(12, 170, 220, 0.25);
    filter: blur(32px);
}

.fa-legal-promise__icon {
    position: absolute;
    top: 1.7rem;
    left: 1.8rem;
    display: grid;
    width: 3.25rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(12, 170, 220, 0.3);
    border-radius: 50%;
    color: #62d5f5;
    background: rgba(12, 170, 220, 0.08);
}

.fa-legal-promise__metric {
    display: flex;
    margin: 0 0 1.5rem;
    align-items: flex-end;
    gap: 0.9rem;
}

.fa-legal-promise__number {
    display: block;
    color: #fff;
    font: 500 6.8rem/0.82 "Playfair Display", serif;
    letter-spacing: -0.08em;
}

.fa-legal-promise__unit {
    display: block;
    margin: 0;
    padding-bottom: 0.65rem;
    color: var(--legal-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fa-legal-promise strong {
    color: #fff;
    font-size: 1rem;
}

.fa-legal-promise p {
    margin: 0.55rem 0 0;
    color: var(--legal-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.fa-legal-trust {
    background: #0c1321;
    border-bottom: 1px solid var(--legal-line);
}

.fa-legal-trust__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fa-legal-trust__inner > span {
    display: flex;
    min-height: 82px;
    padding: 1rem 1.6rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: #b9c6d8;
    font-size: 0.82rem;
    text-align: center;
    border-right: 1px solid var(--legal-line);
}

.fa-legal-trust__inner > span:first-child {
    border-left: 1px solid var(--legal-line);
}

.fa-legal-trust .material-symbols-outlined {
    color: var(--legal-cyan);
    font-size: 1.2rem;
}

.fa-legal-body {
    padding: clamp(5.5rem, 9vw, 9rem) 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(12, 170, 220, 0.07), transparent 25%),
        #0f172a;
}

.fa-legal-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.7fr);
    gap: clamp(3rem, 9vw, 9rem);
    align-items: end;
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    border-bottom: 1px solid var(--legal-line);
}

.fa-legal-tools h2,
.fa-legal-cta h2 {
    margin: 0.75rem 0 1rem;
    color: #fff;
    font: 500 clamp(2.25rem, 4vw, 4rem)/1.05 "Playfair Display", serif;
    letter-spacing: -0.035em;
}

.fa-legal-tools > div:first-child > p,
.fa-legal-cta p {
    max-width: 640px;
    margin: 0;
    color: var(--legal-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.fa-legal-search label {
    display: block;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 700;
}

.fa-legal-search .sa-terms-search-box {
    display: flex;
    min-height: 58px;
    padding: 0 1rem;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.85rem;
    background: rgba(8, 12, 20, 0.62);
    box-shadow: none;
}

.fa-legal-search .sa-terms-search-box:focus-within {
    border-color: rgba(12, 170, 220, 0.72);
    box-shadow: 0 0 0 4px rgba(12, 170, 220, 0.09);
}

.fa-legal-search .material-symbols-outlined {
    color: var(--legal-cyan);
}

.fa-legal-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font: 500 0.9rem/1.2 "Plus Jakarta Sans", sans-serif;
}

.fa-legal-search input::placeholder {
    color: #64748b;
}

.fa-legal-search button {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    aspect-ratio: 1;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
    cursor: pointer;
}

.fa-legal-search button[hidden] {
    display: none;
}

.fa-legal-search > span {
    display: block;
    margin-top: 0.6rem;
    color: #64748b;
    font-size: 0.72rem;
}

.fa-legal-search .sa-terms-search-status {
    min-height: 1.2em;
    margin: 0.3rem 0 0;
    color: #62d5f5;
    font-size: 0.76rem;
}

.fa-legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
    padding-top: clamp(4rem, 7vw, 6.5rem);
}

.fa-legal-sidebar {
    position: sticky;
    top: 7.5rem;
}

.fa-legal-nav {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.fa-legal-nav__title {
    margin: 0 0 1.2rem 0.7rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fa-legal-nav .sa-toc-item {
    position: relative;
    display: flex;
    min-height: 46px;
    padding: 0.7rem;
    align-items: center;
    gap: 0.7rem;
    border: 0;
    border-radius: 0.65rem;
    color: #8493a8;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.fa-legal-nav .sa-toc-item::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    bottom: 0.45rem;
    left: -1.06rem;
    width: 2px;
    border-radius: 2px;
    background: transparent;
}

.fa-legal-nav .sa-toc-item > span {
    color: #526277;
    font-variant-numeric: tabular-nums;
}

.fa-legal-nav .sa-toc-item b {
    margin-left: auto;
    padding: 0.18rem 0.4rem;
    border-radius: 99px;
    color: var(--legal-cyan);
    background: rgba(12, 170, 220, 0.1);
    font-size: 0.6rem;
}

.fa-legal-nav .sa-toc-item:hover,
.fa-legal-nav .sa-toc-item.active {
    color: #fff;
    transform: none;
    background: rgba(148, 163, 184, 0.07);
}

.fa-legal-nav .sa-toc-item.active::before {
    background: var(--legal-cyan);
    box-shadow: 0 0 14px rgba(12, 170, 220, 0.65);
}

.fa-legal-content.sa-terms-clean-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.fa-legal-content .fa-legal-card {
    grid-column: span 5;
    min-width: 0;
    margin: 0;
    padding: clamp(1.6rem, 3vw, 2.35rem);
    scroll-margin-top: 8rem;
    border: 1px solid var(--legal-line);
    border-radius: 1.25rem;
    color: var(--legal-ink);
    background: rgba(8, 12, 20, 0.42);
    box-shadow: none;
    backdrop-filter: none;
    transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.fa-legal-content .fa-legal-card--wide {
    grid-column: span 7;
}

.fa-legal-content .fa-legal-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 170, 220, 0.3);
    background: rgba(8, 12, 20, 0.58);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.fa-legal-content .fa-legal-card[hidden] {
    display: none;
}

.fa-legal-card header {
    display: flex;
    margin-bottom: 2.1rem;
    align-items: center;
    justify-content: space-between;
}

.fa-legal-card header .material-symbols-outlined {
    display: grid;
    width: 2.8rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(12, 170, 220, 0.2);
    border-radius: 50%;
    color: var(--legal-cyan);
    background: rgba(12, 170, 220, 0.07);
    font-size: 1.2rem;
}

.fa-legal-card__number {
    color: #526277;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.fa-legal-content .fa-legal-card h2 {
    margin: 0 0 1.2rem;
    color: #fff;
    font: 500 clamp(1.55rem, 2.2vw, 2.15rem)/1.15 "Playfair Display", serif;
    letter-spacing: -0.025em;
}

.fa-legal-content .fa-legal-card p {
    margin: 0 0 1rem;
    color: #aebbd0;
    font: 400 0.94rem/1.8 "Plus Jakarta Sans", sans-serif;
}

.fa-legal-content .fa-legal-card p:last-child {
    margin-bottom: 0;
}

.fa-legal-content .fa-legal-card strong {
    color: #e8f7fc;
    font-weight: 700;
}

.fa-legal-content .fa-legal-card--guarantee {
    position: relative;
    grid-column: 1 / -1;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    border-color: rgba(12, 170, 220, 0.38);
    background:
        radial-gradient(circle at 87% 25%, rgba(12, 170, 220, 0.15), transparent 28%),
        linear-gradient(135deg, rgba(12, 170, 220, 0.08), rgba(8, 12, 20, 0.7));
}

.fa-legal-content .fa-legal-card--guarantee h2 {
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.fa-legal-content .fa-legal-card .fa-legal-card__lead {
    max-width: 800px;
    color: #d6e0ee;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.fa-legal-guarantee__stamp {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    display: flex;
    width: 8.5rem;
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(98, 213, 245, 0.34);
    border-radius: 50%;
    color: #62d5f5;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 8px rgba(12, 170, 220, 0.04);
    line-height: 1.2;
}

.fa-legal-guarantee__stamp span {
    display: block;
    color: #fff;
    font: 500 3.25rem/1 "Playfair Display", serif;
    letter-spacing: -0.08em;
}

.fa-legal-guarantee__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 2.5rem 0 1.5rem;
    overflow: hidden;
    border: 1px solid var(--legal-line);
    border-radius: 1rem;
    background: var(--legal-line);
}

.fa-legal-guarantee__steps > div {
    display: flex;
    padding: 1.5rem;
    gap: 1rem;
    background: rgba(8, 12, 20, 0.78);
}

.fa-legal-guarantee__steps > div > span {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    color: #031118;
    background: var(--legal-cyan);
    font-size: 0.72rem;
    font-weight: 800;
}

.fa-legal-guarantee__steps p {
    margin: 0;
}

.fa-legal-content .fa-legal-note {
    padding: 1.25rem 1.4rem;
    border-left: 2px solid var(--legal-cyan);
    color: #8fa0b7;
    background: rgba(12, 170, 220, 0.045);
    font-size: 0.82rem;
}

.fa-legal-content .fa-legal-card--contact {
    background: #0b1321;
}

.fa-legal-contact {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.fa-legal-contact a {
    display: flex;
    min-width: 0;
    padding: 0.9rem 1rem;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--legal-line);
    border-radius: 0.75rem;
    color: #aebbd0;
    text-decoration: none;
}

.fa-legal-contact a:hover {
    border-color: rgba(12, 170, 220, 0.4);
    color: #fff;
    background: rgba(12, 170, 220, 0.06);
}

.fa-legal-contact a > span:last-child {
    min-width: 0;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fa-legal-contact a strong {
    display: block;
    max-width: 100%;
    margin-top: 0.18rem;
    overflow-wrap: anywhere;
    color: #dce8f5;
    font-size: 0.77rem;
    letter-spacing: 0;
    text-transform: none;
}

.fa-legal-contact .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--legal-cyan);
    font-size: 1.2rem;
}

.fa-legal-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    margin-top: clamp(4rem, 8vw, 7rem);
    padding: clamp(2.2rem, 5vw, 4.2rem);
    align-items: center;
    border: 1px solid rgba(12, 170, 220, 0.24);
    border-radius: 1.5rem;
    background:
        linear-gradient(120deg, rgba(12, 170, 220, 0.1), rgba(15, 23, 42, 0.58)),
        #0b1321;
}

.fa-legal-cta h2 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.fa-legal-cta > div:last-child {
    display: flex;
    min-width: 230px;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.fa-legal-cta .sa-btn-primary {
    display: inline-flex;
    min-height: 54px;
    padding-inline: 1.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 0.75rem;
    white-space: nowrap;
}

.fa-legal-cta__secondary {
    color: #aebbd0;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.fa-legal-cta__secondary:hover {
    color: #fff;
}

@media (max-width: 1180px) {
    .fa-legal-hero__grid {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 3rem;
    }

    .fa-legal-promise {
        min-height: 320px;
    }

    .fa-legal-layout {
        grid-template-columns: 1fr;
    }

    .fa-legal-sidebar {
        position: sticky;
        top: 5.4rem;
        z-index: 15;
        min-width: 0;
        margin-inline: -1rem;
        padding: 0.65rem 1rem;
        overflow-x: auto;
        background: rgba(15, 23, 42, 0.94);
        border-block: 1px solid var(--legal-line);
        backdrop-filter: blur(16px);
    }

    .fa-legal-nav {
        width: max-content;
        min-width: 100%;
        padding: 0;
        flex-direction: row;
        gap: 0.2rem;
        border: 0;
    }

    .fa-legal-nav__title {
        display: none;
    }

    .fa-legal-nav .sa-toc-item {
        min-height: 40px;
        white-space: nowrap;
    }

    .fa-legal-nav .sa-toc-item::before {
        inset: auto 0 0;
        width: auto;
        height: 2px;
    }
}

@media (max-width: 900px) {
    .fa-legal-content .fa-legal-card,
    .fa-legal-content .fa-legal-card--wide,
    .fa-legal-content .fa-legal-card--guarantee {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .fa-legal-hero {
        min-height: 0;
        padding: 8.5rem 0 4.5rem;
    }

    .fa-legal-hero__grid,
    .fa-legal-tools,
    .fa-legal-cta {
        grid-template-columns: 1fr;
    }

    .fa-legal-hero h1 {
        font-size: clamp(3rem, 13vw, 4.7rem);
    }

    .fa-legal-hero__copy > p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .fa-legal-promise {
        min-height: 290px;
        max-width: 420px;
        border-radius: 1.4rem 1.4rem 0.35rem 1.4rem;
    }

    .fa-legal-trust__inner {
        grid-template-columns: 1fr;
    }

    .fa-legal-trust__inner > span,
    .fa-legal-trust__inner > span:first-child {
        min-height: 58px;
        justify-content: flex-start;
        border: 0;
        border-bottom: 1px solid var(--legal-line);
        text-align: left;
    }

    .fa-legal-tools {
        gap: 2.5rem;
    }

    .fa-legal-content.sa-terms-clean-grid {
        grid-template-columns: 1fr;
    }

    .fa-legal-content .fa-legal-card,
    .fa-legal-content .fa-legal-card--wide,
    .fa-legal-content .fa-legal-card--guarantee {
        grid-column: 1;
    }

    .fa-legal-guarantee__stamp {
        position: static;
        width: 6.5rem;
        margin: 0 0 2rem auto;
    }

    .fa-legal-guarantee__steps {
        grid-template-columns: 1fr;
    }

    .fa-legal-cta {
        gap: 2rem;
    }

    .fa-legal-cta > div:last-child {
        min-width: 0;
        align-items: stretch;
    }
}

@media (max-width: 460px) {
    .fa-legal-hero {
        padding-top: 7.5rem;
    }

    .fa-legal-hero__grid {
        gap: 2.6rem;
    }

    .fa-legal-meta {
        flex-direction: column;
        gap: 0.7rem;
    }

    .fa-legal-promise,
    .fa-legal-content .fa-legal-card,
    .fa-legal-cta {
        padding: 1.45rem;
    }

    .fa-legal-promise__number {
        font-size: 5.5rem;
    }

    .fa-legal-body {
        padding-top: 4.5rem;
    }

    .fa-legal-layout {
        gap: 2.5rem;
    }

    .fa-legal-content .fa-legal-card p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .fa-legal-guarantee__steps > div {
        padding: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fa-legal-content .fa-legal-card {
        transition: none;
    }
}
