/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --color-primary: #0066ff;
    --color-primary-dark: #0052cc;
    --color-accent: #ffb800;
    --color-accent-dark: #e6a600;
    --color-dark: #0a1628;
    --color-text: #1a2332;
    --color-text-muted: #5a6878;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f8fc;
    --color-border: #e1e8f0;
    --color-success: #10b981;
    --color-error: #ef4444;

    --shadow-sm: 0 2px 4px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 24px 64px rgba(10, 22, 40, 0.18);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --container-width: 1200px;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   Accessibility helpers
   ============================================ */
/* Visible only to screen readers */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    inset-inline-start: 50%;
    top: -100px;
    transform: translateX(50%);
    z-index: 2000;
    padding: 12px 22px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
    color: #fff;
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Global keyboard focus indicator */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove default outline only when a custom focus-visible style applies */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--color-dark);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-dark);
    text-decoration: none;
    line-height: 1;
}

.logo:hover {
    color: var(--color-primary);
}

.logo-svg {
    height: 67px;
    width: auto;
    flex-shrink: 0;
    display: block;
    transition: transform var(--transition), filter var(--transition);
}

.logo:hover .logo-svg {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 12px rgba(255, 184, 0, 0.35));
}

.logo-svg circle[fill="#fffbe6"] {
    transform-origin: 28px 28px;
    animation: logoPulse 2.6s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.15); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-size: 1.68rem;
    font-weight: 900;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    line-height: 1;
}

.logo-subtitle {
    font-size: 1.09rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    line-height: 1;
}

.logo:hover .logo-title {
    color: var(--color-primary);
}

.logo-icon {
    font-size: 1.6rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    color: var(--color-text);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.main-nav a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.main-nav a.nav-cta {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 22px;
    margin-inline-start: 8px;
}

.main-nav a.nav-cta:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 184, 0, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 102, 255, 0.35) 0%, transparent 50%),
        linear-gradient(135deg, #0a1628 0%, #142a4a 50%, #1e3a6f 100%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: #fff;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    color: var(--color-accent);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 640px;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin-inline: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats li {
    text-align: center;
}

.hero-stats strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-stats span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* ============================================
   Features
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.975rem;
}

/* ============================================
   Process
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   Gallery — Mosaic layout (rotating)
   ============================================ */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
}

.mosaic-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: #0a1628;
    padding: 0;
    margin: 0;
    border: 0;
    cursor: zoom-in;
    transition: transform var(--transition), box-shadow var(--transition);
}

.mosaic-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.mosaic-tile:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.7s ease, transform 0.6s ease;
}

.mosaic-tile:hover img {
    transform: scale(1.05);
}

.mosaic-tile.is-fading img {
    opacity: 0;
}

/* Mosaic shape — 4 cols × 3 rows = 12 cells, 6 tiles of varied sizes */
.mosaic-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }   /* big square */
.mosaic-tile:nth-child(2) { grid-column: span 1; grid-row: span 1; }   /* small */
.mosaic-tile:nth-child(3) { grid-column: span 1; grid-row: span 2; }   /* tall */
.mosaic-tile:nth-child(4) { grid-column: span 1; grid-row: span 1; }   /* small */
.mosaic-tile:nth-child(5) { grid-column: span 2; grid-row: span 1; }   /* wide */
.mosaic-tile:nth-child(6) { grid-column: span 2; grid-row: span 1; }   /* wide */

@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 10px;
    }

    .mosaic-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .mosaic-tile:nth-child(2),
    .mosaic-tile:nth-child(4),
    .mosaic-tile:nth-child(6) { grid-column: span 1; grid-row: span 1; }
    .mosaic-tile:nth-child(3) { grid-column: span 1; grid-row: span 2; }
    .mosaic-tile:nth-child(5) { grid-column: span 1; grid-row: span 1; }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(5, 12, 24, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-visible {
    opacity: 1;
}

.lightbox-image {
    max-width: 92vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(6px);
    line-height: 1;
    padding: 0;
}

.lightbox-close {
    top: 20px;
    inset-inline-end: 20px;
    font-size: 2.4rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    inset-inline-end: 20px;
}

.lightbox-next {
    inset-inline-start: 20px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--color-accent);
    color: var(--color-dark);
    transform: scale(1.08);
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

/* ============================================
   Video Showcase (single large video)
   ============================================ */
.video-showcase {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #0a1628;
    aspect-ratio: 16 / 9;
}

.showcase-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .lightbox-close,
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.7rem;
    }

    .lightbox-close {
        top: 12px;
        inset-inline-end: 12px;
    }

    .lightbox-prev { inset-inline-end: 8px; }
    .lightbox-next { inset-inline-start: 8px; }

    .video-showcase {
        border-radius: var(--radius-md);
    }
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.featured-badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    padding: 6px 18px;
    background: var(--color-accent);
    color: var(--color-dark);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3.25rem;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    font-weight: 500;
    vertical-align: super;
    margin-inline-end: 4px;
}

.price-note {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.price-features {
    flex: 1;
    text-align: start;
    margin-bottom: 32px;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    position: relative;
    padding-inline-start: 28px;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-success);
    font-weight: 900;
    font-size: 1.1rem;
}

.price-features li:last-child {
    border-bottom: none;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.testimonial-card.is-hidden {
    display: none !important;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card footer {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.testimonial-card footer strong {
    color: var(--color-dark);
    display: block;
    margin-bottom: 2px;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-item:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.contact-item a,
.contact-item p {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.05rem;
}

.contact-form {
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: #fff;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 1px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    min-height: 24px;
}

.form-status.is-success {
    color: var(--color-success);
}

.form-status.is-error {
    color: var(--color-error);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    padding: 46px 0 20px;
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
}

.social-follow {
    padding: 56px 0;
    text-align: center;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.social-follow h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--color-dark);
    margin-bottom: 8px;
}

.social-follow p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.social-link:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.social-facebook {
    background: #1877f2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 28px;
    padding-bottom: 24px;
}

.footer-col h4 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.05rem;
}

.footer-col p {
    margin: 0;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
    font-size: 0.92rem;
    text-align: center;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 24px;
    z-index: 99;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
    }
}

/* ============================================
   Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 22px;
    }

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 92px;
        inset-inline: 0;
        background: #fff;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .main-nav.is-open {
        max-height: calc(100vh - 92px);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 20px;
        text-align: start;
    }

    .main-nav a.nav-cta {
        margin: 8px 0 0;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 64px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 16px;
        inset-inline-start: 16px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .logo-svg {
        height: 56px;
    }

    .logo-title {
        font-size: 1.47rem;
    }

    .logo-subtitle {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-col,
    .footer-bottom {
        text-align: center;
    }

    .footer-links {
        justify-items: center;
    }

    .btn {
        padding: 14px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Active Nav Link
   ============================================ */
.main-nav a.is-active {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================
   Page Hero (used on /articles & article pages)
   ============================================ */
.page-hero {
    position: relative;
    padding: 140px 0 64px;
    color: #fff;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 184, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 102, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0a1628 0%, #142a4a 50%, #1e3a6f 100%);
    z-index: -1;
}

.page-hero .container {
    text-align: center;
    max-width: 800px;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    color: #fff;
    margin: 16px 0 16px;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-inline: auto;
}

.eyebrow-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(6px);
}

/* ============================================
   Legal / Accessibility statement content
   ============================================ */
.container-narrow {
    max-width: 820px;
}

.legal-content h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: var(--color-dark);
    margin: 32px 0 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: 14px;
}

.legal-list {
    margin: 0 0 18px;
    padding-inline-start: 8px;
}

.legal-list li {
    position: relative;
    padding-inline-start: 26px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.legal-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
}

.legal-updated {
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.legal-content .btn {
    margin-top: 24px;
}

/* ============================================
   Articles Grid (hub page)
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.article-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.article-card-link:hover {
    color: inherit;
}

.article-card-image {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
    background-size: 24px 24px;
}

.article-card-emoji {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.article-card-body {
    padding: 24px 28px 28px;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.article-card-body h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.35;
    color: var(--color-dark);
    transition: color var(--transition);
}

.article-card:hover .article-card-body h2 {
    color: var(--color-primary);
}

.article-card-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============================================
   Article Page (single article)
   ============================================ */
.article-page {
    padding-top: 92px;
}

.article-header {
    background: linear-gradient(135deg, #0a1628 0%, #142a4a 50%, #1e3a6f 100%);
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.article-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.article-header .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.article-header .article-tag {
    background: rgba(255, 184, 0, 0.18);
    color: var(--color-accent);
    margin-bottom: 16px;
}

.article-header h1 {
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 20px;
}

.article-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
}

.article-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.article-body {
    max-width: 760px;
    padding-top: 56px;
    padding-bottom: 56px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    margin: 48px 0 18px;
    color: var(--color-dark);
    position: relative;
    padding-inline-start: 18px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--color-accent);
    border-radius: 4px;
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 32px 0 12px;
    color: var(--color-dark);
}

.article-list {
    margin: 16px 0 24px;
    padding-inline-start: 24px;
}

.article-list li {
    list-style-type: disc;
    margin-bottom: 10px;
    padding-inline-start: 6px;
}

ol.article-list li {
    list-style-type: decimal;
}

.article-list li::marker {
    color: var(--color-primary);
}

.article-callout {
    margin: 32px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff4d4 100%);
    border-inline-start: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
}

.article-callout strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-size: 1.05rem;
}

.article-callout p {
    margin: 0;
    color: var(--color-text);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 0.97rem;
}

.article-table thead {
    background: var(--color-dark);
    color: #fff;
}

.article-table th,
.article-table td {
    padding: 14px 16px;
    text-align: start;
    border-bottom: 1px solid var(--color-border);
}

.article-table th {
    font-weight: 700;
    font-size: 0.95rem;
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover {
    background: var(--color-bg-alt);
}

.article-cta {
    margin: 48px 0 32px;
    padding: 36px 32px;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #e7f0fc 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.article-cta p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
}

.article-nav a {
    color: var(--color-primary);
}

.article-nav a:hover {
    color: var(--color-primary-dark);
}

.article-nav-next {
    margin-inline-start: auto;
}

/* ============================================
   CTA Box (used on articles hub)
   ============================================ */
.cta-box {
    padding: 56px 32px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1e3a6f 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-box h2 {
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 540px;
    margin-inline: auto;
    position: relative;
}

.cta-box .btn {
    position: relative;
}

@media (max-width: 640px) {
    .article-table {
        font-size: 0.88rem;
    }

    .article-table th,
    .article-table td {
        padding: 10px 12px;
    }

    .article-callout,
    .article-cta {
        padding: 24px 20px;
    }

    .article-header {
        padding: 48px 0 40px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav-next {
        margin-inline-start: 0;
    }
}

/* ============================================
   Accessibility Widget
   ============================================ */
.a11y-widget {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    font-family: inherit;
}

.a11y-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-md);
    transition: background var(--transition), transform var(--transition);
}

.a11y-toggle:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

.a11y-panel {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 290px;
    max-width: calc(100vw - 24px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 18px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.25);
}

.a11y-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.a11y-panel-head h2 {
    font-size: 1.15rem;
    color: var(--color-dark);
    margin: 0;
}

.a11y-close {
    border: none;
    background: var(--color-bg-alt);
    color: var(--color-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    transition: background var(--transition);
}

.a11y-close:hover {
    background: var(--color-border);
}

.a11y-font-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    margin-bottom: 14px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.a11y-btn {
    flex-shrink: 0;
    width: 42px;
    height: 38px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
    transition: background var(--transition), border-color var(--transition);
}

.a11y-btn:hover:not(:disabled) {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.a11y-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.a11y-font-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-text-muted);
}

.a11y-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.a11y-option {
    padding: 10px 8px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
    transition: all var(--transition);
}

.a11y-option:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.a11y-option.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.a11y-reset {
    width: 100%;
    padding: 11px;
    border: none;
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.92rem;
    transition: background var(--transition);
}

.a11y-reset:hover {
    background: #1e3a6f;
}

.a11y-statement-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-primary);
}

@media (max-width: 480px) {
    .a11y-toggle {
        width: 46px;
        height: 46px;
    }
    .a11y-panel {
        width: 260px;
    }
}

/* ===== Accessibility user-applied modes (class on <html>) ===== */
html.a11y-font-scaled body {
    font-size: calc(1rem * var(--a11y-font-scale, 1));
}

html.a11y-contrast {
    --color-text: #000000;
    --color-text-muted: #1a1a1a;
    --color-bg: #ffffff;
    --color-bg-alt: #ffffff;
    --color-primary: #0030a8;
    --color-primary-dark: #001f6b;
    --color-border: #000000;
}

html.a11y-contrast body {
    background: #fff;
}

html.a11y-contrast a,
html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast span,
html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast h4 {
    color: #000 !important;
}

html.a11y-invert {
    filter: invert(1) hue-rotate(180deg);
}

html.a11y-invert .a11y-widget {
    filter: invert(1) hue-rotate(180deg);
}

html.a11y-grayscale {
    filter: grayscale(1);
}

html.a11y-invert.a11y-grayscale {
    filter: invert(1) hue-rotate(180deg) grayscale(1);
}

html.a11y-highlight-links a {
    outline: 2px solid #ffb800 !important;
    outline-offset: 2px;
    background: #fff8dc !important;
    color: #0030a8 !important;
    text-decoration: underline !important;
}

html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font button,
html.a11y-readable-font input,
html.a11y-readable-font textarea {
    font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
    letter-spacing: 0.01em;
}

html.a11y-spacing body {
    line-height: 2 !important;
    letter-spacing: 0.06em !important;
    word-spacing: 0.12em !important;
}

html.a11y-spacing p,
html.a11y-spacing li {
    margin-bottom: 1em !important;
}

html.a11y-big-cursor,
html.a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='2' d='M6 3l30 18-13 2 8 16-6 3-8-16-11 9z'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.a11y-stop-motion *,
html.a11y-stop-motion *::before,
html.a11y-stop-motion *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

