/* ===================================================
   ANEJO HEALTH COMMUNICATIONS — Design System
   Inspired by bajgartoffice.com editorial aesthetic
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --navy: #1F2954;
    --blue: #2C5EC7;
    --blue-hover: #2350AB;
    --red: #DF2027;
    --red-hover: #C41A20;
    --red-soft: rgba(223, 32, 39, 0.08);
    --slate: #64748B;
    --slate-light: #94A3B8;

    /* Surfaces */
    --bg: #FAFBFC;
    --bg-alt: #F1F5F9;
    --bg-accent: #E8F0FE;
    --surface: #FFFFFF;
    --border: #E2E8F0;

    /* Text */
    --text-primary: #1F2954;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-inverse: #F8FAFC;

    /* Typography */
    --font-heading: 'Instrument Serif', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --section-pad: clamp(80px, 10vw, 140px);
    --container-max: 1200px;
    --container-pad: clamp(20px, 5vw, 48px);

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(31, 41, 84, 0.06);
    --shadow-md: 0 4px 16px rgba(31, 41, 84, 0.08);
    --shadow-lg: 0 8px 32px rgba(31, 41, 84, 0.12);
    --shadow-xl: 0 16px 48px rgba(31, 41, 84, 0.16);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 180ms;
    --t-base: 280ms;
    --t-slow: 450ms;
}

/* Dark mode */
[data-theme="dark"] {
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --bg-accent: #1a2744;
    --surface: #1E293B;
    --border: #334155;
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0F172A;
    --blue: #5B8DEF;
    --blue-hover: #4A7DE0;
    --red: #FF5A5E;
    --red-hover: #FC454A;
    --red-soft: rgba(255, 90, 94, 0.15);
    --navy: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}


/* =========================
   NAVBAR
   ========================= */
.navbar {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-md);
    transition: background var(--t-base) ease, border var(--t-base) ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms ease;
}

.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.78);
    border-color: rgba(51, 65, 85, 0.6);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.nav-brand-name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-brand-short {
    display: none;
}

.nav-logo {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--r-pill);
    transition: color var(--t-fast) ease, background var(--t-fast) ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-alt);
}

/* --- Nav brand as link --- */
a.nav-brand {
    text-decoration: none;
    color: inherit;
}

a.nav-brand * {
    pointer-events: none;
}

/* --- Nav dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex !important;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform var(--t-fast) ease;
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--t-fast) ease, transform var(--t-fast) ease, visibility var(--t-fast) ease;
    z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.nav-dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-alt);
}

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-pill);
    transition: all var(--t-base) var(--ease-out);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--navy);
    color: var(--text-inverse);
}

[data-theme="dark"] .btn-primary {
    background: #E2E8F0;
    color: #0F172A;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 1.5px solid var(--red);
    color: var(--red);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--red-hover);
    color: var(--text-inverse);
    background: var(--red);
}

.btn-blue {
    background: var(--blue);
    color: white;
}

.btn-blue:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    color: var(--blue);
    font-weight: 600;
}

.btn-ghost:hover {
    background: var(--bg-accent);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-icon-right {
    flex-direction: row;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: color var(--t-fast) ease, background var(--t-fast) ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-alt);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* =========================
   HERO
   ========================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--section-pad) * 1.25);
    padding-bottom: 0;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg) 60%);
}


.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44, 94, 199, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(223, 32, 39, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    background: var(--bg-accent);
    border-radius: var(--r-pill);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: #16A34A;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    color: var(--blue);
}

.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-sub-secondary {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--text-tertiary, var(--text-secondary));
    margin: -24px auto 40px;
    line-height: 1.65;
    opacity: 0.8;
    text-align: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 56px);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-stat .label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Hero Marquee (Images) --- */
.hero-marquee {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: 48px;
    margin-bottom: 72px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 16px;
    animation: marquee-scroll 142s linear infinite;
    width: max-content;
}

.marquee-slide {
    flex-shrink: 0;
    width: 297px;
    height: 297px;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.marquee-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Hero Large Stats --- */
.hero-large-stats {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 5vw, 80px);
    margin: 56px auto clamp(40px, 5vw, 80px);
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: nowrap;
    width: fit-content;
}

@media (max-width: 768px) {
    .hero-large-stats {
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
}

.large-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.large-stat .num {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    color: var(--blue);
    margin: 0;
}

.large-stat .label {
    font-size: 15px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.audience-card-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .audience-card-wrapper {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Hero Tabs --- */
.hero-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--bg-alt);
    border-radius: var(--r-pill);
    padding: 4px;
    display: inline-flex;
}

.hero-tab {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--r-pill);
    transition: all var(--t-base) var(--ease-out);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
}

.hero-tab:hover {
    color: var(--text-primary);
}

.hero-tab.active {
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .hero-tabs {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(100, 116, 139, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-tab.active {
    background: rgba(100, 116, 139, 0.4);
    color: var(--text-primary);
}

/* =========================
   AUDIENCE SECTION
   ========================= */
.audience-section {
    background: var(--bg-alt);
}

/* --- Audience Panels --- */
.audience-panel {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.audience-panel.active {
    display: block;
    opacity: 1;
}

.audience-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.audience-panel.active {
    display: block;
    opacity: 1;
}

.audience-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.audience-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.audience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 360px;
}

.audience-image-wide img {
    min-height: 280px;
    max-height: 320px;
    aspect-ratio: 2 / 1;
}

.audience-text h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.audience-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.audience-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audience-features li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.audience-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

/* =========================
   SECTION TITLES
   ========================= */
.section {
    padding: var(--section-pad) 0;
}



.section-header {
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-eyebrow em {
    font-style: normal;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--blue);
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

/* =========================
   SERVICES SHOWCASE
   ========================= */
.services-section {
    background: var(--bg);
}

.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 40px;
}

/* Only zero out the margin on the final service (PSP) to avoid double spacing before section end */
.services-section > .container:last-child .service-showcase {
    margin-bottom: 0;
}

.service-showcase.reverse {
    direction: rtl;
}

.service-showcase.reverse>* {
    direction: ltr;
}

/* --- Service Media --- */
.service-media-wrapper {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--t-base) var(--ease-out);
}

.service-media-wrapper:hover {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.service-media-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.service-media-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
}

[data-theme="dark"] .service-media-badge {
    background: rgba(30, 41, 59, 0.85);
    color: var(--text-primary);
}

.service-media-badge.badge-left {
    left: 16px;
    right: auto;
}

/* --- Service Info --- */
.service-info {
    padding-bottom: 48px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 300;
    color: var(--border);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
    transition: color var(--t-base) ease;
}

.service-showcase:hover .service-number {
    color: var(--blue);
}

.service-info h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-info h3 em {
    font-style: italic;
    color: var(--blue);
}

.service-info>p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-highlights li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.service-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}



/* =========================
   PROCESS TIMELINE
   ========================= */
.process-section {
    background: var(--bg-alt);
}

.process-disclaimer {
    margin-top: 32px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.process-cta {
    text-align: center;
    margin-top: 40px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 48px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(100% / 10);
    right: calc(100% / 10);
    height: 2px;
    background: var(--border);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 8px;
}

.step-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--red);
    position: relative;
    z-index: 1;
    transition: all var(--t-base) var(--ease-spring);
}

.process-step:hover .step-dot {
    background: var(--red);
    color: white;
    transform: scale(1.1);
}

.process-step h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 19px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================
   CATALOG PREVIEW
   ========================= */
.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.catalog-tag {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    transition: all var(--t-fast) ease;
    cursor: default;
}

.catalog-tag:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: var(--bg-accent);
}

.catalog-previews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.catalog-preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all var(--t-base) var(--ease-out);
}

.catalog-preview-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.catalog-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-alt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.catalog-preview-card .card-body {
    padding: 20px;
}

.catalog-preview-card h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 4px;
}

.catalog-preview-card .card-type {
    font-size: 13px;
    color: var(--text-muted);
}

.catalog-cta {
    text-align: center;
    margin-top: 48px;
}

/* =========================
   ABOUT / TRUST
   ========================= */
.about-section {
    background: var(--bg);
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about-story h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-story h3 em {
    font-style: italic;
    color: var(--blue);
}

.about-story p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .team-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: box-shadow var(--t-base) ease;
}

.team-card:hover {
    box-shadow: var(--shadow-md);
}

.team-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-soft);
    color: var(--red);
    border-radius: var(--r-md);
    margin-bottom: 24px;
}

.team-card-icon svg {
    width: 24px;
    height: 24px;
}

.team-card h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 8px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.partners-strip {
    margin-top: 48px;
    padding-top: 48px;
    text-align: left;
}

.partners-strip h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 32px;
}

.partners-marquee {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 32px;
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
    align-items: center;
}

.partner-logo {
    width: 110px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo:hover img,
.partner-logo:hover svg {
    opacity: 0.8;
}

.partner-logo svg {
    width: 100%;
    height: 100%;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity var(--t-base) ease;
}

[data-theme="dark"] .partner-logo img {
    filter: grayscale(100%) invert(1);
}

/* =========================
   CONTACT / CTA
   ========================= */
.contact-section {
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .contact-info h2 {
    color: #ffffff;
}

[data-theme="dark"] .contact-info p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .channel {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .channel svg {
    color: #5b8def;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44, 94, 199, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.02em;
}

.contact-info h2 em {
    font-style: italic;
    color: #93bbff;
}

.contact-info p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.channel {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.channel svg {
    width: 20px;
    height: 20px;
    color: #93bbff;
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-lg);
    padding: 36px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.required-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    text-align: right;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-sm);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--t-fast) ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5B8DEF;
}

.form-group select option {
    color: #1F2954;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

/* --- hCaptcha (Web3Forms) --- */
.h-captcha {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 24px 0 !important;
    padding: 0 !important;
}

.btn-white {
    background: white;
    color: var(--navy);
    font-weight: 700;
}

[data-theme="dark"] .btn-white {
    color: #0F172A;
}

.btn-white:hover {
    background: #F1F5F9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* =========================
   TESTIMONIALS SECTION
   ========================= */
.testimonials-section {
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: "“";
    font-size: 48px;
    color: var(--blue);
    font-family: var(--font-heading);
    line-height: 1;
    display: block;
    margin-bottom: -20px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.author-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================
   FAQ SECTION
   ========================= */
.faq-section {
    background: var(--bg);
}

.faq-grid {
    width: 100%;
    max-width: none;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--t-fast) ease;
}

.faq-question:hover {
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base) var(--ease-out), padding var(--t-base) var(--ease-out);
    padding-bottom: 0;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-bottom: 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Large enough for content */
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform var(--t-base) var(--ease-out);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: calc(50% - 1px);
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: calc(50% - 1px);
    top: 0;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon::before {
    transform: rotate(180deg);
}

/* =========================
   FOOTER
   ========================= */
.footer {
    padding: 48px 0 32px;
    background: #000000;
    color: #ffffff;
    border-top: none;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: #5b8def;
}

.footer h5 {
    color: rgba(255, 255, 255, 0.5);
}

.footer span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-main .footer-logo {
    height: 80px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.footer-main-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--t-fast) ease;
}

.footer-contact-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.6;
}

a.footer-contact-item:hover {
    color: #5b8def;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .service-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 64px;
    }

    .service-showcase.reverse {
        direction: ltr;
    }

    .service-media-wrapper img {
        height: 300px;
    }

    .service-number {
        font-size: 48px;
    }

    .service-info h3 {
        font-size: 26px;
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .process-timeline::before {
        display: none;
    }

    .catalog-previews {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-split {
        gap: 32px;
    }

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

@media (max-width: 768px) {

    /* --- Navbar Mobile --- */
    .navbar {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 8px 12px;
    }

    .nav-brand-full {
        display: none;
    }

    .nav-brand-short {
        display: inline-block;
    }

    .nav-links {
        display: none;
    }

    .nav-ctas .btn.btn-outline {
        display: none;
    }

    .theme-toggle {
        display: flex;
    }

    .nav-ctas {
        margin-left: auto;
        gap: 8px;
    }

    .nav-ctas .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* --- Hero Mobile --- */
    .hero {
        padding-top: 160px;
        padding-bottom: 60px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero h1 {
        font-size: clamp(34px, 8.5vw, 48px);
    }

    .hero-sub {
        padding: 0 16px;
        font-size: 17px;
    }

    .hero-sub-secondary {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 16px;
    }

    .large-stat .num {
        font-size: clamp(34px, 8.5vw, 48px);
    }

    .large-stat .label {
        font-size: 11px;
        text-align: center;
        line-height: 1.4;
        letter-spacing: 0;
        max-width: 90px;
    }

    .hero-marquee {
        margin-top: 32px;
        margin-bottom: 48px;
    }

    .marquee-slide {
        width: 220px;
        height: 220px;
    }

    .hero-tabs {
        padding: 4px;
    }

    .hero-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* --- Audience Panels Mobile --- */
    .audience-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .audience-image img {
        min-height: 220px;
    }

    .audience-text h3 {
        font-size: 24px;
    }

    /* --- Solutions --- */
    .service-showcase {
        gap: 24px;
        margin-bottom: 48px;
    }

    .service-media-wrapper img {
        height: 240px;
    }

    /* --- Process --- */
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- About --- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    /* --- Catalog --- */
    .catalog-previews {
        grid-template-columns: 1fr;
    }

    /* --- Testimonials --- */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* --- Footer --- */
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===================== WhatsApp FAB ===================== */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(12px);
    animation: whatsapp-enter 0.35s ease 0.5s forwards;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@keyframes whatsapp-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-fab:hover {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

.whatsapp-fab:focus-visible {
    outline: 3px solid #25D366;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 6px 10px;
    }

    .hero {
        padding: 120px 16px 48px;
    }

    .hero h1,
    .large-stat .num {
        font-size: clamp(34px, 9vw, 42px);
    }

    .hero-sub {
        font-size: 17px;
        padding: 0 12px;
    }

    .hero-sub-secondary {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 12px;
    }

    .marquee-slide {
        width: 176px;
        height: 176px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

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

    .audience-text h3 {
        font-size: 22px;
    }

    .audience-features li {
        font-size: 14px;
    }
}
/* ─── LANGUAGE SWITCHER ─────────────────────────────────────────────────────── */

.nav-lang-switcher {
    margin-left: 8px;
    position: relative;
    display: flex;
    align-items: center;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    border-radius: 50px;
    padding: 5px 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;
    transition: color var(--t-fast) ease, background var(--t-fast) ease;
}

.lang-switcher-btn:hover {
    color: var(--text-primary);
    background: var(--bg-alt);
}

.lang-globe-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lang-current {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 130px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 4px;
    z-index: 200;
    flex-direction: column;
}

.lang-menu.lang-menu-open {
    display: flex;
}

.lang-option {
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.lang-option:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.lang-option-active {
    font-weight: 600;
    color: var(--blue);
}

.lang-option-active:hover {
    color: var(--blue);
}

@media (max-width: 768px) {
    .lang-current {
        display: inline;
    }
    .lang-switcher-btn {
        padding: 5px 6px;
    }
}

/* === SERVICE EXPAND PANELS (home page inline product cards) === */

/* Spacing between service sections comes from showcase margin-bottom collapsing through each container */

.svc-expand-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 480ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .svc-expand-panel {
    background: var(--bg-alt);
}

[data-theme="dark"] .svc-carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #0F172A;
}

[data-theme="dark"] .svc-carousel-btn:hover {
    background: #fff;
}

.svc-expand-panel.open {
    grid-template-rows: 1fr;
}

.svc-expand-inner {
    overflow: hidden;
    padding: 0;
    transition: padding 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-expand-panel.open .svc-expand-inner {
    padding: 40px 0 40px;
}

.svc-after-panel {
    padding-top: 40px;
}

.svc-expand-panel.open + .svc-after-panel {
    padding-top: 40px;
}

/* Neutralize the margin-top that servicios.css adds to the grid */
.svc-expand-panel .svc-products-grid {
    margin-top: 0;
}

.svc-expand-toggle .expand-chevron {
    width: 18px;
    height: 18px;
    transition: transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.svc-expand-toggle[aria-expanded="true"] .expand-chevron {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .svc-expand-panel .svc-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .svc-expand-panel.open .svc-expand-inner {
        padding: 32px 0 32px;
    }
    .svc-expand-panel .svc-products-grid {
        margin-bottom: 48px;
    }
    .svc-after-panel {
        padding-top: 32px;
    }
    .svc-expand-panel.open + .svc-after-panel {
        padding-top: 32px;
    }
}

/* === SVC PRODUCT CARDS & CAROUSEL === */

.svc-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.svc-product-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

/* --- Carousel --- */
.svc-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.svc-carousel-track {
    display: flex;
    transition: transform 320ms ease;
}

.svc-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.svc-carousel-slide img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--bg-accent);
}

/* Navigation buttons */
.svc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    padding: 0;
    transition: background var(--t-fast);
    z-index: 2;
}

.svc-carousel-btn:hover {
    background: #fff;
}

.svc-carousel-btn svg {
    width: 16px;
    height: 16px;
}

.svc-carousel-btn.prev { left: 8px; }
.svc-carousel-btn.next { right: 8px; }

/* Dots */
.svc-carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.svc-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--t-fast);
}

.svc-carousel-dot.active {
    background: #fff;
}

/* Product info */
.svc-product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.svc-product-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.svc-product-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 12px;
}

.svc-product-bullets {
    list-style: disc;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: auto 0 0;
}

@media (max-width: 900px) {
    .svc-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .svc-products-grid {
        grid-template-columns: 1fr;
    }
    .svc-carousel-slide img {
        height: 240px;
    }
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}
.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1200px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close svg { width: 1.25rem; height: 1.25rem; }
.lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-nav svg { width: 1.5rem; height: 1.5rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    z-index: 2;
    font-family: var(--font-body);
}
.svc-carousel-slide img { cursor: zoom-in; }
