/* SERVICIOS QUINTANA LLC — styles.css
   Theme: Neo-Brutalist Latino Tech
   WCAG 2.1 AA Compliant
   Updated: Full homepage refactor with new brand sections
*/

/* ============================================
   CUSTOM PROPERTIES
   ============================================ */
:root {
    --navy: #0f172a;
    --orange: #f97316;
    --gold: #fbbf24;
    --off-white: #f8fafc;
    --white: #ffffff;
    --border-thick: 4px;
    --shadow-offset: 6px;
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--off-white);
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#custom-cursor {
    width: 40px;
    height: 40px;
    border: 3px solid var(--orange);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, opacity 0.3s ease;
    background-color: rgba(249, 115, 22, 0.1);
}

#custom-cursor.click {
    transform: scale(0.8);
    background: var(--orange);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5rem 0;
    border-bottom: var(--border-thick) solid var(--navy);
    position: relative;
}

.bg-light {
    background-color: var(--white);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(15, 23, 42, 0.02) 35px,
        rgba(15, 23, 42, 0.02) 70px
    );
}

.bg-dark {
    background-color: var(--navy);
    color: var(--off-white);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 50px,
        rgba(249, 115, 22, 0.03) 50px,
        rgba(249, 115, 22, 0.03) 100px
    );
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 4px solid var(--orange);
    outline-offset: 4px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--white);
    border-bottom: var(--border-thick) solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 4px 0 var(--navy);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    transition: transform 0.2s var(--transition-bounce);
    white-space: nowrap;
}

.logo:hover {
    transform: scale(1.05) rotate(-1deg);
}

.llc {
    background: var(--gold);
    padding: 0 0.4rem;
    border: 2px solid var(--navy);
    margin-left: 4px;
    display: inline-block;
    transform: rotate(-2deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.7rem 1.3rem;
    border: 3px solid var(--navy);
    background: var(--white);
    box-shadow: 3px 3px 0 var(--navy);
    transition: all 0.2s var(--transition-bounce);
    display: inline-block;
    white-space: nowrap;
}

.nav-links a:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--navy);
}

.nav-links a:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--navy);
}

.btn-nav {
    background: var(--orange) !important;
    border-color: var(--navy);
    box-shadow: 3px 3px 0 var(--navy);
}

.btn-nav:hover {
    background: var(--orange) !important;
    transform: translate(-4px, -4px) !important;
    box-shadow: 7px 7px 0 var(--navy) !important;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--navy);
    padding: 0.5rem;
}

/* Language toggle */
#lang-toggle {
    background: var(--gold);
    border: var(--border-thick) solid var(--navy);
    padding: 0.5rem 1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--navy);
    transition: all 0.2s var(--transition-bounce);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    white-space: nowrap;
}

#lang-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--navy);
}

#lang-toggle:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--navy);
}

/* ============================================
   NEWS TICKER
   ============================================ */
.news-ticker {
    background: var(--orange);
    border-top: var(--border-thick) solid var(--navy);
    border-bottom: var(--border-thick) solid var(--navy);
    padding: 1rem 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: scroll-left 45s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    font-size: 1.1rem;
}

.ticker-item::before {
    content: '⬥';
    margin-right: 1rem;
    color: var(--gold);
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 8rem 0;
    background: repeating-linear-gradient(
        45deg,
        #f1f5f9,
        #f1f5f9 10px,
        var(--off-white) 10px,
        var(--off-white) 20px
    );
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-thick) solid var(--navy);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(249, 115, 22, 0.05) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: min(700px, 85vw);
    height: auto;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: multiply;
    opacity: 0.13;
    z-index: 0;
}

.eyebrow {
    display: inline-block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-sub {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(15, 23, 42, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.bg-dark .section-header p {
    color: rgba(248, 250, 252, 0.8);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    border: var(--border-thick) solid var(--navy);
    text-decoration: none;
    transition: all 0.3s var(--transition-bounce);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--navy);
    box-shadow: 4px 4px 0px var(--navy);
}

.btn-primary:hover {
    transform: translate(-6px, -6px);
    box-shadow: 10px 10px 0px var(--navy);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--navy);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 4px 4px 0px var(--orange);
}

.btn-secondary:hover {
    transform: translate(-6px, -6px);
    box-shadow: 10px 10px 0px var(--orange);
}

.btn-secondary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--orange);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 4px 4px 0px rgba(248, 250, 252, 0.3);
    text-decoration: none;
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: var(--border-thick) solid var(--gold);
    transition: all 0.3s var(--transition-bounce);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translate(-6px, -6px);
    box-shadow: 10px 10px 0px rgba(248, 250, 252, 0.4);
}

.btn-gold:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(248, 250, 252, 0.2);
}

/* In-card button modifier */
.btn-card {
    margin-top: auto;
    font-size: 0.9rem;
    padding: 1rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

/* ============================================
   BRANDS GRID & CARDS
   ============================================ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border: var(--border-thick) solid var(--navy);
    padding: 2rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--navy);
    transition: all 0.3s var(--transition-bounce);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card.reveal {
    opacity: 1;
    transform: translateY(0);
    animation: pop-in 0.6s var(--transition-bounce) forwards;
}

@keyframes pop-in {
    0%   { opacity: 0; transform: translateY(30px) scale(0.95); }
    50%  { transform: translateY(-5px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.card:hover {
    transform: translate(-8px, -8px);
    box-shadow: 12px 12px 0px var(--orange);
}

.card:active {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px var(--navy);
}

.card-icon {
    font-size: 3rem;
    color: var(--orange);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    background: var(--gold);
    border: 2px solid var(--navy);
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.card-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.65);
    font-style: italic;
}

/* ── Service bullet lists ── */
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-list li .fas.fa-check {
    color: var(--orange);
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.service-list--light li .fas.fa-check {
    color: var(--gold);
}

.service-list--light li {
    color: rgba(248, 250, 252, 0.9);
}

.portfolio-note {
    padding: 0.8rem;
    background: rgba(251, 191, 36, 0.12);
    border-left: 3px solid var(--gold);
    font-size: 0.9rem;
}

/* ── Card link (legacy, kept for compatibility) ── */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.3s var(--transition-bounce);
}

.card-link:hover {
    gap: 1rem;
}

/* ============================================
   TRANSLATION SECTION
   ============================================ */
.translation-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.translation-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.translation-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.9);
}

.trans-accent-box {
    border: var(--border-thick) solid var(--gold);
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 6px 6px 0 var(--gold);
    background: rgba(251, 191, 36, 0.07);
    min-width: 160px;
    flex-shrink: 0;
}

.trans-lang {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.trans-accent-box .fa-exchange-alt {
    color: var(--orange);
    font-size: 1.5rem;
}

.trans-accent-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(248, 250, 252, 0.8);
    margin: 0;
}

/* ============================================
   ABOUT SECTION — SPLIT LAYOUT
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.split-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.large-text {
    font-size: 1.3rem;
    line-height: 1.6;
}

.split-text p {
    line-height: 1.7;
    font-size: 1rem;
}

.about-trust-heading {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-top: 1rem;
}

.trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.trust-list li .fas.fa-check-circle {
    color: var(--orange);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(249, 115, 22, 0.08);
    border: var(--border-thick) solid var(--gold);
    box-shadow: 4px 4px 0 rgba(249, 115, 22, 0.3);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Community hubs */
.community-hubs {
    background: rgba(249, 115, 22, 0.06);
    border: var(--border-thick) solid var(--orange);
    padding: 1.5rem;
    box-shadow: 4px 4px 0 var(--orange);
}

.community-hubs h4 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}

.community-hubs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.community-hubs ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.community-hubs ul li .fas {
    color: var(--orange);
    font-size: 0.85rem;
}

.hub-note {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.65);
    font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--navy);
    color: var(--off-white);
    padding: 4rem 0 2rem;
    border-top: var(--border-thick) solid var(--orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-info h5,
.footer-contact h5 {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--gold);
}

address {
    font-style: normal;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-logo {
    height: 110px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 10px 16px;
    box-shadow: 4px 4px 0px var(--orange);
}

.footer-legal {
    border-top: 2px solid rgba(248, 250, 252, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* ============================================
   STATUTORY DISCLAIMER (C.R.S. 24-21-525)
   ============================================ */
.statutory-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--orange);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.9);
}

.statutory-disclaimer p {
    margin-bottom: 1rem;
}

.statutory-disclaimer p:last-child {
    margin-bottom: 0;
}

.statutory-disclaimer strong {
    color: var(--gold);
    font-weight: 800;
}

/* ============================================
   BACK TO TOP
   ============================================ */
#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    background: var(--orange);
    color: var(--navy);
    border: var(--border-thick) solid var(--navy);
    box-shadow: 4px 4px 0 var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--transition-bounce), box-shadow 0.2s ease;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--navy);
}

#back-to-top:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--navy);
}

/* ============================================
   RIPPLE KEYFRAMES (used by JS)
   ============================================ */
@keyframes ripple-effect {
    from { transform: scale(0); opacity: 1; }
    to   { transform: scale(2); opacity: 0; }
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    .hero-watermark {
        width: min(500px, 80vw);
        right: -8%;
        opacity: 0.10;
    }

    .translation-layout {
        gap: 2.5rem;
    }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
    body { cursor: auto; }

    /* ── Nav: logo + hamburger on one row, lang toggle below ── */
    .nav-container {
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
        gap: 0;
    }

    .logo {
        font-size: 1.1rem;
        flex: 1;
    }

    .mobile-toggle {
        display: block;
        order: 2;
        margin-left: 0.5rem;
    }

    #lang-toggle {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        box-shadow: 3px 3px 0 var(--navy);
        text-align: center;
    }

    .nav-links {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        border-top: 2px solid var(--navy);
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        gap: 0.5rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    /* ── Cursor ── */
    #custom-cursor { display: none; }

    /* ── Section padding ── */
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2rem; }

    /* ── Hero ── */
    .hero { padding: 3.5rem 0; }

    .hero-watermark {
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        width: min(280px, 85vw);
        opacity: 0.07;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        letter-spacing: -1px;
    }

    .hero-sub { font-size: 1rem; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    /* ── Brands grid ── */
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* ── Cards ── */
    .card {
        padding: 1.5rem;
        box-shadow: 4px 4px 0 var(--navy);
    }

    .card:hover {
        transform: translate(-4px, -4px);
        box-shadow: 8px 8px 0 var(--orange);
    }

    .btn-card {
        font-size: 0.82rem;
        padding: 0.9rem 1.2rem;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* ── Translation section ── */
    .translation-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .translation-badge-col {
        display: flex;
        justify-content: center;
    }

    .trans-accent-box {
        flex-direction: row;
        padding: 1.25rem 1.5rem;
        gap: 1.25rem;
        width: auto;
        min-width: 0;
        max-width: 100%;
    }

    .trans-lang { font-size: 2rem; }

    .trans-accent-label {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    /* ── About split ── */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ── Stats ── */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-item h4 { font-size: 1.8rem; }
    .stat-item p  { font-size: 0.75rem; }

    /* ── Footer grid ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        height: 80px;
        padding: 8px 12px;
    }

    /* ── Back to top: icon only on mobile to not cover content ── */
    #back-to-top {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem;
        font-size: 0;
        gap: 0;
        border-radius: 0;
        box-shadow: 3px 3px 0 var(--navy);
    }

    #back-to-top .fas {
        font-size: 1rem;
    }

    #back-to-top span {
        display: none;
    }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .hero-watermark {
        width: min(240px, 90vw);
        opacity: 0.06;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        letter-spacing: -1px;
        line-height: 1;
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }

    /* Stats stack on very small screens */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.25rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .stat-item h4 {
        font-size: 2.2rem;
        margin-bottom: 0;
        min-width: 70px;
    }

    .stat-item p { font-size: 0.85rem; }

    .footer-logo {
        height: 70px;
        padding: 6px 10px;
    }

    .ticker-item {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }

    .btn-card {
        font-size: 0.8rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .card { transition: none; animation: none; }
    .ticker-content { animation: none; }
    #custom-cursor { display: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
