/*
Theme Name: Agentia Mea
Author: Tu
Description: Luxury Refined Dark Mode × High-Tech — Syne + Cormorant, glassmorphism, red glow.
Version: 7.0
Text Domain: agentia-mea
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,300;1,400&family=Syne:wght@400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    /* Backgrounds */
    --bg:              #060608;
    --bg-raised:       #0c0c0f;
    --bg-card:         rgba(255, 255, 255, 0.026);
    --bg-card-hover:   rgba(255, 255, 255, 0.042);

    /* Borders */
    --border:          rgba(255, 255, 255, 0.07);
    --border-hover:    rgba(255, 255, 255, 0.13);
    --border-accent:   rgba(255, 10, 10, 0.32);

    /* Accent — red to orange */
    --accent-from:     #FF0A0A;
    --accent-to:       #FA6526;
    --gradient:        linear-gradient(115deg, #FF0A0A 0%, #FA6526 100%);

    /* Text */
    --text:            #EDE9E2;
    --text-sub:        rgba(237, 233, 226, 0.52);
    --text-muted:      rgba(237, 233, 226, 0.28);

    /* Type */
    --font-sans:       'Syne', system-ui, sans-serif;
    --font-serif:      'Cormorant Garamond', Georgia, serif;

    /* Spacing */
    --section-py:      clamp(5rem, 10vw, 9rem);
    --container-max:   1200px;
    --gutter:          clamp(1.25rem, 4vw, 3rem);

    /* Shape */
    --r-sm:            6px;
    --r-md:            14px;
    --r-lg:            22px;
    --r-pill:          100px;

    /* Motion */
    --ease:            cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur:             0.35s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ── Atmospheric radial glows ──────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90vw 55vh at 50% -5%,  rgba(255, 10,  10,  0.06) 0%, transparent 70%),
        radial-gradient(ellipse 55vw 45vh at 90% 105%, rgba(250, 101, 38,  0.045) 0%, transparent 65%),
        radial-gradient(ellipse 40vw 40vh at 5%  80%,  rgba(255, 10,  10,  0.025) 0%, transparent 65%);
}

/* ── Industrial grain — image-based, html-level, permanent fixed lens ──
 * Attached to html::before so it's never clipped by body or any container.
 * z-index 9998 sits above all content but below cursor (99998/99999).
 * mix-blend-mode intentionally omitted — breaks dark backgrounds on Windows.
 * ──────────────────────────────────────────────────────────────────────── */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    background-image: url('assets/img/grain-img.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 0.03;
}

img, svg { max-width: 100%; display: block; }
a        { color: inherit; text-decoration: none; }
ul       { list-style: none; }
button   { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

h1 { font-size: clamp(3rem, 8.5vw, 7.2rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.65rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.02em; }

p {
    color: var(--text-sub);
    font-size: clamp(0.9rem, 1.5vw, 1.02rem);
    line-height: 1.75;
}

/* Gradient text */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Serif italic accent — Cormorant Garamond 300i */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.06em;
    letter-spacing: 0.01em;
    -webkit-text-fill-color: initial; /* allow parent gradient to override */
}

/* Section label chip */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-from);
    padding: 0.32rem 0.9rem;
    border: 1px solid rgba(255, 10, 10, 0.28);
    border-radius: var(--r-pill);
    background: rgba(255, 10, 10, 0.055);
    margin-bottom: 1rem;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
}

.section {
    padding-block: var(--section-py);
}

.section-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--border) 15%,
        var(--border) 85%,
        transparent
    );
    margin-inline: var(--gutter);
}

/* ============================================================
   5. ANIMATIONS
   ============================================================ */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.65); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}

/* Scroll fade-in */
@keyframes fadeInSafe {
    to { opacity: 1; transform: none; }
}

.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
    /* Fallback: dacă JS nu adaugă .visible, conținutul apare după 1.5s */
    animation: fadeInSafe 0.01s linear 1.5s forwards;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
    animation: none;
}
.fade-in-delay-1 { transition-delay: 0.11s; }
.fade-in-delay-2 { transition-delay: 0.22s; }
.fade-in-delay-3 { transition-delay: 0.33s; }
.fade-in-delay-4 { transition-delay: 0.44s; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.78rem 1.85rem;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn:hover { transform: translateY(-3px); }

/* Gradient fill */
.btn-gradient {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 22px rgba(255, 10, 10, 0.22);
}
.btn-gradient:hover {
    box-shadow: 0 10px 36px rgba(255, 10, 10, 0.42),
                0 2px 14px rgba(250, 101, 38, 0.28);
    filter: brightness(1.08);
}

/* Ghost outline */
.btn-outline {
    background: transparent;
    color: rgba(255, 80, 40, 0.9);
    border: 1px solid rgba(255, 10, 10, 0.38);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-outline .btn-icon {
    background: rgba(255, 10, 10, 0.12);
}
.btn-outline:hover {
    background: rgba(255, 10, 10, 0.1);
    border-color: rgba(255, 10, 10, 0.6);
    box-shadow: 0 0 22px rgba(255, 10, 10, 0.1);
}

/* Icon circle inside btn */
.btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Round plus button */
.btn-plus {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--text-muted);
    background: transparent;
    text-decoration: none;
    transition: all var(--dur) var(--ease-spring);
}
.btn-plus:hover {
    background: rgba(255, 10, 10, 0.12);
    border-color: rgba(255, 10, 10, 0.45);
    color: rgba(255, 80, 40, 0.95);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 18px rgba(255, 10, 10, 0.14);
}

/* ============================================================
   7. HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.4rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        padding 0.4s ease;
}
.site-header.scrolled {
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.header-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.header-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-sub);
    letter-spacing: 0.04em;
    transition: color var(--dur);
}
.header-nav a:hover,
.header-nav .current-menu-item > a {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--dur), opacity var(--dur);
    transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
    font-size: clamp(2rem, 7vw, 3rem);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    color: var(--text);
    transition: color var(--dur);
}
.mobile-nav a:hover { color: var(--accent-to); }

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

/* Fine inset corner frame */
.hero-frame {
    position: absolute;
    inset: 1.5rem;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--r-lg);
}
.hero-frame::before,
.hero-frame::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-style: solid;
    border-color: rgba(255, 10, 10, 0.5);
}
.hero-frame::before {
    top: -1px; left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 3px 0 0 0;
}
.hero-frame::after {
    bottom: -1px; right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 3px 0;
}

/* Floating badges */
.hero-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    white-space: nowrap;
}
.badge-agency {
    background: var(--gradient);
    color: #fff;
    top: 42%; left: 9%;
}
.badge-expert {
    background: rgba(12, 12, 16, 0.92);
    border: 1px solid var(--border);
    color: var(--text);
    top: 22%; right: 12%;
}
.badge-innovative {
    background: rgba(232, 217, 106, 0.07);
    border: 1px solid rgba(232, 217, 106, 0.24);
    color: #dcd159;
    bottom: 28%; right: 14%;
}
.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    animation: dotBlink 2.6s ease-in-out infinite;
}

/* Hero content (legacy alias — kept for compat) */
.hero-inner {
    position: relative;
    text-align: center;
    width: 100%;
}

/* ── Hero structure — open layout, no frame ───────────────
 * No border, no backdrop — the WebGL canvas + CSS glows
 * provide all the atmosphere.
 * ──────────────────────────────────────────────────────────── */
.hero-structure {
    position: relative;
    isolation: isolate;
    text-align: center;
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
}
/* Primary glow bloom — centered, red core fading to orange */
.hero-structure::before {
    content: '';
    position: absolute;
    inset: -35% -25%;
    background: radial-gradient(
        ellipse 70% 60% at 50% 48%,
        rgba(255, 10, 10, 0.11) 0%,
        rgba(250, 101, 38, 0.055) 40%,
        transparent 68%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
/* Secondary glow — offset lower-right, warmer tone */
.hero-structure::after {
    content: '';
    position: absolute;
    inset: -20% -18%;
    background: radial-gradient(
        ellipse 55% 45% at 62% 72%,
        rgba(250, 101, 38, 0.065) 0%,
        transparent 62%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Dot-grid texture — sits above canvas, below text */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* H1 — mixed case, tight tracking */
.hero-title {
    font-size: clamp(3rem, 7.5vw, 6.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.07;
    color: var(--text);
    margin: 0 0 1.6rem;
}
.hero-title .line { display: block; }

/* Italic cinematic subline — Cormorant Garamond */
.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.28rem);
    font-weight: 300;
    color: var(--text-sub);
    line-height: 1.7;
    margin: 0 auto 2.8rem;
    max-width: 480px;
}

/* ── Dual CTA row ────────────────────────────────────────── */
.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Secondary outline pill — fills with gradient on hover */
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.85rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition:
        background var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        color var(--dur) var(--ease),
        transform var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease);
}
.btn-hero-secondary:hover {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(255, 10, 10, 0.38);
}

/* Warm pseudo-glow suppressed — WebGL canvas handles atmosphere */
.hero::after { display: none; }

@media (max-width: 768px) {
    .hero-structure { padding: 2.5rem 1.25rem 3.5rem; }
    .hero-title { letter-spacing: 0.02em; }
    .hero-ctas  { gap: 0.75rem; }
}
@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn,
    .btn-hero-secondary { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================================
   9. ABOUT
   ============================================================ */
.about {
    background: var(--bg-raised);
    text-align: center;
}
.about h2 {
    max-width: 700px;
    margin: 0.5rem auto 1.4rem;
}
.about-text {
    max-width: 620px;
    margin: 0 auto 2.8rem;
    font-size: clamp(0.97rem, 1.8vw, 1.12rem);
    color: rgba(237, 233, 226, 0.7);
    line-height: 1.85;
}

/* ============================================================
   10. TECH STACK — MARQUEE
   ============================================================ */
.techstack {
    padding-block: clamp(3rem, 5vw, 5rem);
    overflow: hidden;
    background: var(--bg);
}
.techstack-label { margin-bottom: 1.75rem; }

.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
    will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 2rem;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    transition: color var(--dur);
    flex-shrink: 0;
    cursor: default;
}
.marquee-item:hover { color: var(--text-sub); }

.marquee-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.marquee-icon svg { width: 100%; height: 100%; }

.marquee-name {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   11. SERVICES — HORIZONTAL SCROLL
   ============================================================ */
.services-hscroll {
    height: 350vh;
    position: relative;
}

.hscroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(3rem, 5vw, 5rem) 2rem;
}

.hscroll-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.services-title h2 { line-height: 1.08; }
.services-title .normal-line { display: block; }
.services-title .italic-line {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.05em;
    color: var(--text-sub);
    letter-spacing: 0.01em;
}

.hscroll-track-wrap {
    overflow: hidden;
    padding-inline: var(--gutter);
}
.hscroll-track {
    display: flex;
    gap: 1.4rem;
    will-change: transform;
}

/* ── Service Card (glassmorphism) ──────────────────────────── */
.service-card {
    min-width: 320px;
    max-width: 340px;
    flex-shrink: 0;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease), border-color 0.4s, background 0.4s;
}

/* Subtle top-edge glow — visible on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 10, 10, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 10, 10, 0.08),
        0 0 64px rgba(255, 10, 10, 0.15);
}
.service-card:hover::before,
.service-card:hover::after { opacity: 1; }

.service-num {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--accent-from);
    display: block;
}

.service-card h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    font-family: var(--font-sans);
    font-weight: 600;
    flex: 1;
}

.service-desc {
    font-size: 0.86rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}
.tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.26rem 0.65rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    transition: color var(--dur), border-color var(--dur);
}
.service-card:hover .tag {
    border-color: rgba(255, 10, 10, 0.18);
    color: var(--text-sub);
}

.service-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

/* Progress bar */
.hscroll-progress-wrap { margin-top: 2.2rem; }
.hscroll-progress-bar {
    width: 100%;
    height: 1px;
    background: var(--border);
    border-radius: 1px;
    overflow: hidden;
}
.hscroll-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 1px;
    transition: width 0.06s linear;
}

/* ============================================================
   12. PORTFOLIO
   ============================================================ */
.portfolio { background: var(--bg-raised); }

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}
.portfolio-header h2 { margin-top: 0.4rem; }

.portfolio-grid-asym {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.portfolio-item--large {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 6;
}
.portfolio-item--small { aspect-ratio: 4 / 3; }

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow:
        0 24px 62px rgba(0, 0, 0, 0.6),
        0 0 38px rgba(255, 10, 10, 0.08);
}

.portfolio-item-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.05);
    background:
        repeating-linear-gradient(
            -48deg,
            rgba(255, 255, 255, 0.01) 0px,
            rgba(255, 255, 255, 0.01) 1px,
            transparent 1px,
            transparent 10px
        );
    user-select: none;
    transition: color var(--dur);
}
.portfolio-item:hover .portfolio-item-inner {
    color: rgba(255, 255, 255, 0.09);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 6, 8, 0.9) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.8rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-cta-wrap {
    display: flex;
    justify-content: center;
}

/* ============================================================
   13. PROCESS
   ============================================================ */
.process h2 { margin-block: 0.5rem 3rem; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    padding: 2.2rem 1.8rem;
    border-left: 1px solid var(--border);
    position: relative;
    transition: background 0.4s;
}
.process-step:first-child { border-left: none; }
.process-step::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
/* Gradient accent bar on top */
.process-step::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.5s var(--ease);
}
.process-step:hover { background: rgba(255, 10, 10, 0.02); }
.process-step:hover::after { width: 100%; }

.process-num {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-from);
    display: block;
    margin-bottom: 1.1rem;
}
.process-step h4 { margin-bottom: 0.65rem; }
.process-step p { font-size: 0.87rem; color: var(--text-sub); }

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg); }
.testimonials h2 { margin-block: 0.5rem 3rem; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at bottom right, rgba(250, 101, 38, 0.06), transparent 60%);
    pointer-events: none;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.5),
        0 0 32px rgba(255, 10, 10, 0.07);
}

.testimonial-quote-icon { flex-shrink: 0; opacity: 0.85; }

.testimonial-stars { display: flex; gap: 2px; }
.star {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.star--filled {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-text {
    font-size: clamp(0.88rem, 1.3vw, 0.96rem);
    color: rgba(237, 233, 226, 0.68);
    line-height: 1.8;
    font-style: normal;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 0.15rem;
}
.testimonial-role {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ============================================================
   15. FAQ
   ============================================================ */
.faq { background: var(--bg-raised); }

.faq-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.faq-heading h2 {
    margin-top: 0.5rem;
    position: sticky;
    top: 2rem;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.3rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    font-weight: 500;
    color: var(--text);
    transition: color var(--dur);
}
.faq-question:hover { color: #fff; }
.faq-question[aria-expanded="true"] { color: var(--accent-to); }

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.faq-question:hover .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon {
    border-color: var(--border-accent);
    background: rgba(255, 10, 10, 0.07);
    color: var(--accent-to);
}

.faq-line-v {
    transition: transform 0.32s var(--ease), opacity 0.32s;
    transform-origin: center;
    transform-box: fill-box;
}
.faq-question[aria-expanded="true"] .faq-line-v {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease);
}
.faq-answer:not([hidden]) { max-height: 500px; }
.faq-answer[hidden] { display: block !important; max-height: 0; }

.faq-answer p {
    padding: 0 0 1.5rem;
    font-size: clamp(0.84rem, 1.3vw, 0.94rem);
    color: var(--text-sub);
    line-height: 1.8;
}

/* ============================================================
   16. PRICING
   ============================================================ */
.pricing { background: var(--bg); }

.pricing-header {
    text-align: center;
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 4rem;
}
.pricing-header h2 { margin-block: 0.5rem 1rem; }
.pricing-subtitle {
    font-size: clamp(0.86rem, 1.4vw, 0.97rem);
    color: var(--text-muted);
    line-height: 1.75;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 22px 62px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(255, 10, 10, 0.06);
}

/* Popular card */
.pricing-card--popular {
    border-color: rgba(255, 10, 10, 0.35);
    transform: scale(1.034);
    box-shadow:
        0 12px 48px rgba(255, 10, 10, 0.15),
        0 0 0 1px rgba(255, 10, 10, 0.12);
    z-index: 1;
}
.pricing-card--popular:hover {
    transform: scale(1.034) translateY(-5px);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.7),
        0 0 55px rgba(255, 10, 10, 0.2);
}

/* Glow blob */
.pricing-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(
        ellipse at 55% 35%,
        rgba(250, 80, 20, 0.42) 0%,
        rgba(255, 30, 8, 0.18) 35%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
    animation: glowPulse 3.5s ease-in-out infinite;
}

.pricing-hex {
    position: absolute;
    top: -18px; right: -18px;
    width: 150px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.pricing-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%) translateY(-1px);
    background: var(--gradient);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 1rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    z-index: 2;
    white-space: nowrap;
}

.pricing-card-inner {
    position: relative;
    z-index: 1;
    padding: clamp(1.8rem, 3vw, 2.3rem);
    padding-top: clamp(2.3rem, 3vw, 2.8rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-to);
}

.pricing-name {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.025em;
}

.pricing-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0.25rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.pricing-amount {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: -0.04em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.pricing-currency {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: rgba(237, 233, 226, 0.65);
    line-height: 1.4;
}
.pricing-check {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ============================================================
   17. CONTACT
   ============================================================ */
.contact { background: var(--bg-raised); text-align: center; }

.contact-inner {
    max-width: 620px;
    margin-inline: auto;
}
.contact-inner h2 { margin-block: 0.5rem 1rem; }
.contact-inner > p { margin-bottom: 3rem; }

.contact-form-wrap {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    text-align: left;
}

/* CF7 dark overrides */
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form textarea,
.contact-form-wrap .wpcf7-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.88rem 1.15rem;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--dur), box-shadow var(--dur);
    margin-bottom: 1rem;
}
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px rgba(255, 10, 10, 0.08);
}
.contact-form-wrap .wpcf7-form textarea { min-height: 130px; resize: vertical; }

.contact-form-wrap .wpcf7-form input[type="submit"] {
    background: var(--gradient);
    border: none;
    border-radius: var(--r-pill);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.88rem 2.5rem;
    cursor: pointer;
    transition: transform var(--dur), box-shadow var(--dur);
    margin-bottom: 0;
    width: auto;
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 10, 10, 0.38);
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.footer-brand p {
    margin-top: 0.8rem;
    max-width: 250px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links h4 {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-sub);
    transition: color var(--dur);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.76rem; color: var(--text-muted); }

.social-links { display: flex; gap: 0.7rem; }
.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.social-link:hover {
    border-color: var(--border-accent);
    color: var(--accent-to);
    background: rgba(255, 10, 10, 0.06);
}

/* ============================================================
   19. SCROLLBAR + SELECTION
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 10, 10, 0.35); }

::selection {
    background: rgba(255, 10, 10, 0.28);
    color: #fff;
}

/* ============================================================
   20. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .services-hscroll     { height: auto; }
    .hscroll-sticky       { position: static; height: auto; overflow: visible; }
    .hscroll-track-wrap   { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
    .hscroll-track        { transform: none !important; padding-bottom: 0.5rem; }
    .service-card         { scroll-snap-align: start; }
    .hscroll-progress-wrap { display: none; }

    .process-grid         { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
    .faq-inner            { grid-template-columns: 1fr; gap: 2rem; }
    .faq-heading h2       { position: static; }

    .pricing-grid         { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
    .pricing-card--popular { transform: none; }
    .pricing-card--popular:hover { transform: translateY(-5px); }
}

/* ============================================================
   21. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .header-nav           { display: none; }
    .hamburger            { display: flex; }
    .btn-contact-header   { display: none; }

    .badge { font-size: 0.66rem; padding: 0.3rem 0.7rem; }
    .badge-agency    { top: 36%; left: 1.5%; }
    .badge-expert    { top: 15%; right: 1.5%; }
    .badge-innovative { bottom: 26%; right: 1.5%; }

    .portfolio-grid-asym  { grid-template-columns: 1fr; }
    .portfolio-item--large { grid-column: auto; aspect-ratio: 16 / 8; }
    .portfolio-header     { flex-direction: column; align-items: flex-start; }

    .process-grid         { grid-template-columns: 1fr 1fr; }
    .testimonials-grid    { grid-template-columns: 1fr; }
    .footer-top           { flex-direction: column; gap: 2rem; }
    .footer-bottom        { flex-direction: column-reverse; align-items: flex-start; }
}

/* ============================================================
   22. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .process-grid { grid-template-columns: 1fr; }
    .hero-badges  { display: none; }
    .hero-frame   { inset: 0.75rem; }
    h1            { font-size: clamp(2.4rem, 13vw, 3.2rem); }
    .btn          { padding: 0.7rem 1.4rem; font-size: 0.75rem; }
}

/* ============================================================
   A. CUSTOM CURSOR
   ============================================================ */
* { cursor: none !important; }

.cursor-dot {
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
    will-change: left, top;
}
.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.28s var(--ease),
                height 0.28s var(--ease),
                border-color 0.28s var(--ease),
                box-shadow 0.28s var(--ease),
                opacity 0.2s;
    will-change: left, top;
}
.cursor-ring.is-hover {
    width: 54px;
    height: 54px;
    border-color: rgba(255, 10, 10, 0.75);
    box-shadow: 0 0 18px rgba(255, 10, 10, 0.28),
                0 0 38px rgba(250, 101, 38, 0.12);
}
.cursor-dot.is-hidden,
.cursor-ring.is-hidden { opacity: 0; }

@media (hover: none) {
    * { cursor: auto !important; }
    .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   B. TECH STACK — GRAYSCALE + OPACITY REVEAL
   ============================================================ */
.marquee-item {
    opacity: 0.3;
    filter: grayscale(100%);
    color: var(--text-muted);
    transition: opacity 0.4s var(--ease),
                filter 0.4s var(--ease),
                color 0.4s var(--ease);
}
.marquee-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text);
}

/* ============================================================
   C. HIGH-TECH GRID LINES — PRECISION DIVIDERS
   ============================================================ */
.section-divider {
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.04) 15%,
        rgba(255, 255, 255, 0.04) 85%,
        transparent
    );
    margin-inline: 0;
}
/* Extra sub-pixel line inside hero for layered depth */
.hero-frame {
    border-color: rgba(255, 255, 255, 0.035);
}

/* ============================================================
   D. 3D MOCKUP TILT
   ============================================================ */
.mockup-tilt {
    transform: perspective(1000px) rotateX(2deg) rotateY(-4deg);
    box-shadow:
        -24px 24px 70px rgba(0, 0, 0, 0.55),
        -8px 8px 28px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(255, 10, 10, 0.05);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    border-radius: var(--r-md);
    overflow: hidden;
}
.mockup-tilt:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(255, 10, 10, 0.07);
}

/* ============================================================
   E. SITE FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

/* ── Massive CTA ────────────────────────────────────────── */
.footer-cta {
    padding: clamp(6rem, 12vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
}
.footer-cta__label { margin-bottom: 1.5rem; }

.footer-headline {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 8vw, 9rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: var(--text);
    margin: 0 0 3rem;
}
.footer-headline .serif-italic { display: inline; }

.footer-start-btn {
    font-size: 0.88rem;
    padding: 1rem 2.8rem;
}

/* ── 4-col grid ─────────────────────────────────────────── */
.footer-grid-wrap {
    border-top: 1px solid var(--border);
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
}
.footer-col__heading {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 1.5rem;
}
.footer-col nav,
.footer-col address {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-style: normal;
}
.footer-col a,
.footer-col p {
    font-size: 0.88rem;
    color: var(--text-sub);
    text-decoration: none;
    transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
    line-height: 1.5;
    margin: 0;
}
.footer-col a:hover { color: var(--text); }

/* ── Bottom bar ─────────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
}
.footer-bottom span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    /* Scale the massive headline down without overflow */
    .footer-headline { font-size: clamp(2.4rem, 10vw, 4.5rem); }

    /* Luxury directory layout:
       RNBDESIGNS (brand)  — full width
       PEOPLE | SOCIALS    — 2-col
       STUDIO              — full width, separated
    */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.75rem 2rem;
    }

    /* RNBDESIGNS brand col — full width anchor */
    .footer-col:first-child {
        grid-column: span 2;
        padding-bottom: 0.25rem;
        border-bottom: 1px solid var(--border);
    }

    /* STUDIO col — full width at bottom, separated */
    .footer-col:last-child {
        grid-column: span 2;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
    }

    /* Headings: small caps, accent, generous tracking */
    .footer-col__heading {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        color: var(--accent-from);
        margin-bottom: 1.25rem;
    }

    /* Links: Cormorant Garamond for editorial, serif elegance */
    .footer-col a {
        font-family: var(--font-serif);
        font-size: 1.05rem;
        font-style: normal;
        line-height: 1.8;
        padding-block: 0;
    }

    /* Body text / address lines keep sans */
    .footer-col p {
        line-height: 1.9;
        padding-block: 0;
    }

    .footer-col nav,
    .footer-col address {
        gap: 0.15rem;
    }
}
@media (max-width: 480px) {
    .footer-headline { font-size: clamp(2rem, 12vw, 3.5rem); }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ============================================================
   F. PAGE SERVICII — ZIG-ZAG GLASSMORPHISM LAYOUT (v2.3)
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.servicii-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: var(--section-py);
    overflow: hidden;
}
.servicii-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60vw 45vh at 50% 20%, rgba(255, 10, 10, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40vw 35vh at 80% 80%, rgba(250, 101, 38, 0.05) 0%, transparent 65%);
}
.servicii-hero__inner {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}
.servicii-hero__title {
    font-family: var(--font-sans);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0;
    color: var(--text);
}
.servicii-hero__subtitle {
    max-width: 580px;
    font-size: clamp(0.9rem, 1.5vw, 1.04rem);
    color: var(--text-sub);
    line-height: 1.8;
    margin: 0;
}

/* Hero CTA extra breathing room (btn already styled globally) */
.servicii-hero__inner .btn {
    margin-top: 0.6rem;
}

/* ── Section Wrapper ──────────────────────────────────────── */
.services-grid-wrapper {
    background: var(--bg);
}

/* ── Single Row ───────────────────────────────────────────── */
.service-zigzag-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}
/* Zig-Zag: even rows reverse direction (class set in PHP to avoid nth-child
   mismatch from .svc-row-divider siblings) */
.service-zigzag-row--reverse {
    flex-direction: row-reverse;
}

/* Row divider spacing */
.svc-row-divider {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* ── Content Side ─────────────────────────────────────────── */
.service-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.svc-zz-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
    margin: 0;
}

.svc-zz-desc {
    font-size: clamp(0.88rem, 1.4vw, 0.98rem);
    color: var(--text-sub);
    line-height: 1.8;
    max-width: 480px;
    margin: 0;
}

.svc-zz-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.svc-zz-bullets li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(237, 233, 226, 0.65);
    line-height: 1.4;
}
.svc-zz-bullets li svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

/* ── Visual Side ──────────────────────────────────────────── */
.service-visual {
    flex: 1;
    min-width: 0;
    position: relative;
    isolation: isolate;  /* CLAUDE.md: keeps glows inside stacking context */
}

/* Primary ambient glow */
.service-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

/* Secondary wider glow layer */
.service-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.service-zigzag-row:hover .service-visual::before { opacity: 0.32; }

/* Glow colors */
.glow-red::before,    .glow-red::after    { background: #FF0A0A; }
.glow-blue::before,   .glow-blue::after   { background: #3878FF; }
.glow-green::before,  .glow-green::after  { background: #22C55E; }
.glow-purple::before, .glow-purple::after { background: #A855F7; }
.glow-cyan::before,   .glow-cyan::after   { background: #06B6D4; }
.glow-orange::before, .glow-orange::after { background: #FA6526; }

/* ── Glass Card ───────────────────────────────────────────── */
.glass-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.032);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    transform: perspective(1200px) rotateX(1.5deg) rotateY(-1.5deg);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s var(--ease),
        border-color 0.4s var(--ease);
}
.glass-card:hover {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.06) inset,
        0 32px 80px rgba(0, 0, 0, 0.55);
}

/* ── Ghost watermark number ───────────────────────────────── */
.gc-watermark {
    position: absolute;
    top: -0.15em;
    left: clamp(1rem, 2.5vw, 1.8rem);
    font-family: var(--font-sans);
    font-size: clamp(5rem, 11vw, 9rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.055);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ── Card Header (num + title) ────────────────────────────── */
.gc-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}
.gc-header .service-num {
    font-size: 0.72rem;
    opacity: 0.5;
}
.gc-title {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

/* ── Metrics Row ──────────────────────────────────────────── */
.gc-metrics {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}
.gc-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    padding: 0.6rem 0.4rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 10px;
}
.gc-metric__value {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gc-metric__label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(237, 233, 226, 0.4);
    text-align: center;
}

/* ── Tag chips ────────────────────────────────────────────── */
.gc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

/* ── Diagonal grid decoration ─────────────────────────────── */
.gc-decor {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -48deg,
            rgba(255, 255, 255, 0.016) 0px,
            rgba(255, 255, 255, 0.016) 1px,
            transparent 1px,
            transparent 12px
        );
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .service-zigzag-row { gap: 3rem; }
    .svc-row-divider    { margin-top: 3rem; margin-bottom: 3rem; }
}

@media (max-width: 768px) {
    .servicii-hero            { min-height: auto; padding-top: 5.5rem; }
    .servicii-hero__title     { font-size: clamp(2rem, 10vw, 3rem); }

    .service-zigzag-row,
    .service-zigzag-row--reverse {
        flex-direction: column;
        gap: 2.5rem;
    }
    .svc-row-divider { margin-top: 2rem; margin-bottom: 2rem; }
    .glass-card      { aspect-ratio: 4 / 3; }
    .gc-watermark    { font-size: clamp(5rem, 22vw, 8rem); }
    .gc-metric__value { font-size: 1rem; }
}

/* ============================================================
   G. PAGE PORTOFOLIU (v2 — unified gradient hover, editorial)
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.portofoliu-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: var(--section-py);
    overflow: hidden;
}
.portofoliu-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70vw 50vh at 50% 15%, rgba(255, 10, 10, 0.08) 0%, transparent 65%),
        radial-gradient(ellipse 45vw 40vh at 85% 90%, rgba(250, 101, 38, 0.05) 0%, transparent 60%);
}
.portofoliu-hero__inner {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}
.portofoliu-hero__title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.02;
    color: var(--text);
    margin: 0;
}
.portofoliu-hero__subtitle {
    max-width: 580px;
    font-size: clamp(0.88rem, 1.4vw, 1.02rem);
    color: var(--text-sub);
    line-height: 1.8;
    margin: 0;
}
.portofoliu-hero__cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Hero stat bar ───────────────────────────────────────── */
.hero-stat-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-wrap: wrap;
    justify-content: center;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}
.hero-stat__val {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat__lbl {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.hero-stat-bar__sep {
    width: 1px;
    height: 1.75rem;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Section header ──────────────────────────────────────── */
.pf-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 5rem;
}
.pf-section-header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}

/* ── Projects Grid ─────────────────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 3.5vw, 3rem);
}

/* ── Project card ──────────────────────────────────────────── */
.project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition:
        border-color 0.45s var(--ease),
        box-shadow 0.45s var(--ease),
        transform 0.45s var(--ease-spring);
}
.project-card:hover {
    border-color: rgba(255, 10, 10, 0.38);
    box-shadow:
        0 0 0 1px rgba(255, 10, 10, 0.05),
        0 0 60px rgba(255, 10, 10, 0.11),
        0 24px 52px rgba(0, 0, 0, 0.45);
    transform: translateY(-6px);
}

/* ── Card image wrapper ────────────────────────────────────── */
.project-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}

/* Inset red glow */
.project-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 80px rgba(255, 10, 10, 0);
    transition: box-shadow 0.5s var(--ease);
    z-index: 2;
    pointer-events: none;
}
.project-card:hover .project-card__image::before {
    box-shadow:
        inset 0 0 80px rgba(255, 10, 10, 0.1),
        inset 0 -50px 50px rgba(250, 101, 38, 0.06);
}

/* Bottom scrim */
.project-card__image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(
        to top,
        rgba(6, 6, 8, 0.88) 0%,
        rgba(6, 6, 8, 0.35) 40%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    transform: scale(1.03);
    transition: transform 0.75s var(--ease);
}
.project-card:hover .project-card__image img {
    transform: scale(1.09);
}

/* Ghost project number */
.pv-num {
    position: absolute;
    bottom: 0.75rem;
    left: 1.25rem;
    font-family: var(--font-sans);
    font-size: clamp(3.5rem, 5.5vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 1;
    color: rgba(237, 233, 226, 0.06);
    z-index: 3;
    pointer-events: none;
    user-select: none;
}

/* "View Project" pill */
.pv-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--r-pill);
    z-index: 4;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    pointer-events: none;
}
.project-card:hover .pv-overlay {
    opacity: 1;
    transform: translateY(0);
}
.pv-overlay__label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1;
}
.pv-overlay svg {
    color: var(--text);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}
.project-card:hover .pv-overlay svg {
    transform: translate(2px, -2px);
}

/* ── Card body ─────────────────────────────────────────────── */
.project-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    flex: 1;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.project-num {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.project-meta__sep {
    color: var(--text-muted);
    font-size: 0.68rem;
}
.project-category-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.project-title {
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
    margin: 0;
}

.project-desc {
    font-size: clamp(0.86rem, 1.3vw, 0.96rem);
    color: var(--text-sub);
    line-height: 1.8;
    margin: 0;
}

/* ── Metrics grid ──────────────────────────────────────────── */

/* Use 1px gap trick: container bg = border color, cells = bg color */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.metric-item {
    background: var(--bg);
    padding: 0.9rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-value {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
}
.metric-value--positive {
    color: #00E56B;
}
.metric-label {
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}

/* Case-study link under tech tags */
.project-case-study {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-sub);
    text-decoration: none;
    opacity: 0.65;
    background-image: linear-gradient(115deg, var(--accent-from), var(--accent-to));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: opacity 0.3s var(--ease), background-size 0.35s var(--ease);
}
.project-case-study svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}
.project-case-study:hover {
    opacity: 1;
    background-size: 100% 1px;
}
.project-case-study:hover svg {
    transform: translate(3px, -3px);
}

/* ── Tech tags ────────────────────────────────────────────── */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.tech-tag {
    display: inline-block;
    padding: 0.28rem 0.82rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-sub);
    transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.project-card:hover .tech-tag {
    border-color: rgba(255, 10, 10, 0.22);
    color: var(--text);
}
.tech-tag:hover {
    border-color: var(--border-accent) !important;
    background: rgba(255, 10, 10, 0.07) !important;
    color: var(--text) !important;
}

/* ── Testimonials ─────────────────────────────────────────── */
.pf-testimonials__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
}
.pf-testimonials__header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s var(--ease),
        transform 0.4s var(--ease-spring),
        box-shadow 0.4s var(--ease);
}

/* Left gradient line on testimonial cards */
.testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 2px;
    background: var(--gradient);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s var(--ease), top 0.4s var(--ease), bottom 0.4s var(--ease);
}
.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 10, 10, 0.06);
}
.testimonial-card:hover::before {
    opacity: 1;
    top: 8%;
    bottom: 8%;
}
.testimonial-stars {
    display: flex;
    gap: 0.3rem;
}
.testimonial-quote {
    font-size: clamp(0.84rem, 1.3vw, 0.92rem);
    line-height: 1.75;
    color: var(--text-sub);
    flex: 1;
    font-style: normal;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}
.testimonial-name {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}
.testimonial-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .projects-grid        { gap: 1.75rem; }
    .hero-stat-bar        { gap: 1.25rem; padding: 0.75rem 1.5rem; }
    .project-title        { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
    .pv-num               { font-size: clamp(3rem, 5vw, 5rem); }
    .project-card__body   { padding: 1.4rem; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hero */
    .portofoliu-hero            { min-height: auto; padding-top: 5.5rem; }
    .portofoliu-hero__inner     { gap: 1.25rem; }
    .portofoliu-hero__title     { font-size: clamp(2rem, 9vw, 3rem); }
    .portofoliu-hero__subtitle  { font-size: 0.88rem; }
    .portofoliu-hero__cta-group { flex-direction: column; align-items: stretch; }
    .portofoliu-hero__cta-group .btn { justify-content: center; }

    /* Stat bar */
    .hero-stat-bar      { gap: 0.9rem 1.5rem; padding: 0.75rem 1.25rem; }
    .hero-stat-bar__sep { display: none; }
    .hero-stat__val     { font-size: 0.9rem; }

    /* Section header */
    .pf-section-header  { margin-bottom: 3.5rem; }

    /* Single-column grid */
    .projects-grid      { grid-template-columns: 1fr; gap: 3rem; }
    .project-card__body { padding: 1.25rem; }
    .pv-num             { font-size: clamp(2.8rem, 14vw, 4.5rem); }

    /* Typography */
    .project-title      { font-size: clamp(1.35rem, 5vw, 1.75rem); }
    .project-desc       { font-size: 0.88rem; }

    /* Metrics */
    .metrics-grid       { grid-template-columns: 1fr 1fr; }
    .metric-item        { padding: 0.8rem 0.9rem; }
    .metric-value       { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
    .metric-label       { font-size: 0.6rem; }

    /* Testimonials */
    .testimonials-grid          { grid-template-columns: 1fr; gap: 1rem; }
    .pf-testimonials__header h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-stat-bar   { flex-wrap: wrap; justify-content: center; }
    .metrics-grid    { grid-template-columns: 1fr 1fr; gap: 1px; }
    .metric-item     { padding: 0.75rem 0.8rem; }
    .tech-tags       { gap: 0.35rem; }
    .tech-tag        { font-size: 0.65rem; padding: 0.24rem 0.66rem; }
    .pv-overlay      { display: none; }  /* too small to be useful */
}


/* ============================================================
   H. PAGE ABOUT
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.about-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: var(--section-py);
    overflow: hidden;
}
.about-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80vw 55vh at 50% 10%, rgba(255, 10, 10, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse 50vw 40vh at 85% 90%, rgba(250, 101, 38, 0.055) 0%, transparent 60%);
}
.about-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    max-width: 760px;
}
.about-hero__title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.02;
    color: var(--text);
    margin: 0;
}
.about-hero__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--text-sub);
    line-height: 1.8;
    max-width: 520px;
    margin: 0;
}

/* ── Story 2-col ──────────────────────────────────────────── */
.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
}
.about-story__left {
    position: sticky;
    top: 8rem;
}
.about-story__stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.about-story__stat {
    background: var(--bg);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.about-story__stat-val {
    font-family: var(--font-sans);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #FFFFFF;
}
.about-story__stat-lbl {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}
.about-story__heading {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 1.75rem;
}
.about-story__right p {
    color: var(--text-sub);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.85;
    margin-bottom: 1.1rem;
}
.about-story__right p:last-child {
    margin-bottom: 0;
}

/* ── Help cards ───────────────────────────────────────────── */
.about-help {
    position: relative;
    overflow: hidden;
}
.about-help__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70vw 60vh at 50% 50%, rgba(255, 10, 10, 0.06) 0%, transparent 65%);
}
.about-help__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
}
.about-help__header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}
.help-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.help-card {
    /* glassmorphism — matches service-card variables */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    isolation: isolate;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
        border-color 0.4s var(--ease),
        transform 0.4s var(--ease-spring),
        box-shadow 0.4s var(--ease);
}
/* Top gradient accent line */
.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.help-card:hover {
    border-color: var(--border-accent);
    transform: translate3d(0, -5px, 0);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(255, 10, 10, 0.07);
}
.help-card:hover::before {
    opacity: 1;
}
.help-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.help-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: rgba(255, 10, 10, 0.08);
    border: 1px solid rgba(255, 10, 10, 0.14);
    color: var(--accent-from);
    flex-shrink: 0;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.help-card:hover .help-card__icon {
    background: rgba(255, 10, 10, 0.14);
    border-color: rgba(255, 10, 10, 0.28);
}
.help-card__num {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.help-card__title {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}
.help-card__text {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: var(--text-sub);
    line-height: 1.75;
    margin: 0;
}

/* ── Core Values ──────────────────────────────────────────── */
.about-values__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
}
.about-values__header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.value-item {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background 0.35s var(--ease);
}
/* Remove right border on even items, bottom border on last two */
.value-item:nth-child(2n) {
    border-right: none;
}
.value-item:nth-last-child(-n+2) {
    border-bottom: none;
}
.value-item:hover {
    background: var(--bg-card);
}
.value-item__line {
    width: 28px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    margin-bottom: 1.25rem;
}
.value-item__title {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0 0 0.65rem;
    line-height: 1.2;
}
.value-item__text {
    font-size: clamp(0.82rem, 1.2vw, 0.88rem);
    color: var(--text-sub);
    line-height: 1.75;
    margin: 0;
}

/* ── About page responsive ────────────────────────────────── */
@media (max-width: 1024px) {
    .help-cards-grid        { grid-template-columns: repeat(2, 1fr); }
    .about-story__left      { position: static; }
    .about-story__grid      { gap: 3rem; }
}
@media (max-width: 768px) {
    .about-hero             { min-height: auto; padding-top: 6rem; }
    .about-hero__title      { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .about-hero__subtitle   { font-size: 0.9rem; max-width: 100%; }
    .about-story__grid      { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-story__stats     { grid-template-columns: 1fr 1fr; }
    .help-cards-grid        { grid-template-columns: 1fr; gap: 1rem; }
    .values-grid            { grid-template-columns: 1fr; }
    .value-item             { border-right: none; }
    .value-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
    .value-item:last-child  { border-bottom: none; }
}
@media (max-width: 480px) {
    .about-story__stats     { grid-template-columns: 1fr 1fr; }
    .help-card              { padding: 1.25rem; }
}

/* ── Team section ─────────────────────────────────────────── */
.about-team__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 4rem;
}
.about-team__header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}
.team-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.team-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    isolation: isolate;
    transition: border-color 0.4s var(--ease);
}
.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
    transform: scale(1.03);
}
.team-card:hover .team-card__image {
    border-color: rgba(255, 10, 10, 0.28);
}
.team-card:hover .team-card__image img {
    filter: grayscale(60%);
    transform: scale(1.07);
}
/* Soft bottom vignette */
.team-card__image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(6, 6, 8, 0.55) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.team-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.team-card__name {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
    line-height: 1.15;
}
.team-card__role {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}
.team-card__bio {
    font-size: clamp(0.84rem, 1.3vw, 0.92rem);
    color: var(--text-sub);
    line-height: 1.78;
    margin: 0;
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; gap: 3rem; }
    .team-card__image { aspect-ratio: 4 / 3; }
}



/* ============================================================
   I. PAGE HOSTING
   ============================================================ */

/* -- Design token: hosting blue ----------------------------- */
:root {
    --hosting-blue:        rgb(26, 103, 171);
    --hosting-blue-light:  rgba(26, 103, 171, 0.18);
    --hosting-blue-glow:   rgba(26, 103, 171, 0.32);
    --hosting-blue-border: rgba(26, 103, 171, 0.42);
}

/* -- Blue CTA button (hosting only) ------------------------- */
.hosting-btn-blue {
    background: var(--hosting-blue);
    color: #fff;
    box-shadow: 0 4px 22px var(--hosting-blue-glow);
    width: 100%;
    justify-content: center;
    margin-top: auto;
}
.hosting-btn-blue:hover {
    background: rgb(34, 122, 200);
    box-shadow: 0 10px 36px var(--hosting-blue-glow), 0 2px 14px rgba(26, 103, 171, 0.2);
    filter: brightness(1.06);
}

/* ------------------------------------------------------------ */
/*  HERO                                                        */
/* ------------------------------------------------------------ */
.hosting-hero {
    position: relative;
    padding-top: clamp(8rem, 16vw, 13rem);
    padding-bottom: clamp(5rem, 10vw, 9rem);
    overflow: hidden;
}
.hosting-hero__inner {
    max-width: 820px;
}
.hosting-hero__title {
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 0 0 1.6rem;
}
.hosting-hero__sub {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: var(--text-sub);
    max-width: 560px;
    margin-bottom: 2.4rem;
}

/* Ambient blue orb */
.hosting-hero__orb {
    position: absolute;
    top: -10%;
    right: -8%;
    width: clamp(300px, 55vw, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,103,171,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ------------------------------------------------------------ */
/*  FEATURES GRID                                               */
/* ------------------------------------------------------------ */
.hosting-features__header {
    max-width: 640px;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.hosting-features__header h2 {
    margin: 0.5rem 0 1rem;
}
.hosting-features__sub {
    color: var(--text-sub);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}

.hosting-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* Feature card */
.hosting-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.8rem, 3vw, 2.6rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hosting-feat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--hosting-blue-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 103, 171, 0.09);
}

/* Featured variant */
.hosting-feat-card--featured {
    border-color: var(--hosting-blue-border);
    background: rgba(26, 103, 171, 0.05);
}
.hosting-feat-card--featured:hover {
    background: rgba(26, 103, 171, 0.09);
}

/* Badge */
.hosting-feat-card__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hosting-blue);
    background: var(--hosting-blue-light);
    border: 1px solid var(--hosting-blue-border);
    border-radius: var(--r-pill);
    padding: 0.22rem 0.7rem;
}

/* Icon */
.hosting-feat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--hosting-blue-light);
    border: 1px solid var(--hosting-blue-border);
    color: var(--hosting-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Blue neon glow */
    box-shadow: 0 0 18px rgba(26, 103, 171, 0.28), inset 0 0 8px rgba(26, 103, 171, 0.12);
    animation: hostingGlow 3s ease-in-out infinite;
}
@keyframes hostingGlow {
    0%, 100% { box-shadow: 0 0 18px rgba(26,103,171,0.28), inset 0 0 8px rgba(26,103,171,0.12); }
    50%       { box-shadow: 0 0 32px rgba(26,103,171,0.52), inset 0 0 12px rgba(26,103,171,0.22); }
}

.hosting-feat-card__title {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}
.hosting-feat-card__text {
    font-size: clamp(0.85rem, 1.3vw, 0.94rem);
    color: var(--text-sub);
    line-height: 1.72;
    margin: 0;
    flex-grow: 1;
}
.hosting-feat-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--text-sub);
}
.hosting-feat-card__list li::before {
    content: '�';
    color: var(--hosting-blue);
    margin-right: 0.5rem;
    font-weight: 700;
}

/* ------------------------------------------------------------ */
/*  PRICING CARDS                                               */
/* ------------------------------------------------------------ */
.hosting-pricing__header {
    max-width: 580px;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.hosting-pricing__header h2 {
    margin: 0.5rem 0 1rem;
}
.hosting-pricing__sub {
    color: var(--text-sub);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}

.hosting-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
    padding-top: 1.2rem; /* space for featured card badge overflow */
}

/* Pricing card */
.hosting-price-card {
    background: var(--bg-card);
    border: 1px solid var(--hosting-blue-border);
    border-radius: var(--r-lg);
    padding: clamp(1.8rem, 3vw, 2.4rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hosting-price-card:hover {
    background: rgba(26, 103, 171, 0.06);
    border-color: var(--hosting-blue);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26, 103, 171, 0.14);
}

/* Featured pricing card */
.hosting-price-card--featured {
    border-color: var(--hosting-blue);
    background: rgba(26, 103, 171, 0.07);
    box-shadow: 0 0 40px rgba(26, 103, 171, 0.12);
}
.hosting-price-card--featured:hover {
    background: rgba(26, 103, 171, 0.12);
}

.hosting-price-card__badge {
    position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: var(--hosting-blue);
    border-radius: var(--r-pill);
    padding: 0.28rem 1rem;
    white-space: nowrap;
}

.hosting-price-card__tier {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hosting-blue);
}
.hosting-price-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    line-height: 1;
}
.hosting-price-card__amount {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    color: var(--text);
}
.hosting-price-card__period {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.hosting-price-card__desc {
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.65;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.hosting-price-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: var(--text-sub);
    flex-grow: 1;
}
.hosting-price-card__feature--dim {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(237,233,226,0.15);
}

/* Check / dash markers */
.hosting-check,
.hosting-dash {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 0.55rem;
    vertical-align: middle;
    flex-shrink: 0;
}
.hosting-check {
    background: var(--hosting-blue-light);
    border: 1px solid var(--hosting-blue-border);
    position: relative;
}
.hosting-check::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 6px;
    height: 4px;
    border-left: 1.5px solid var(--hosting-blue);
    border-bottom: 1.5px solid var(--hosting-blue);
    transform: rotate(-45deg) translateY(-1px);
}
.hosting-dash {
    background: rgba(237,233,226,0.06);
    border: 1px solid var(--border);
    position: relative;
}
.hosting-dash::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 6px;
    height: 1.5px;
    background: var(--text-muted);
}

/* ------------------------------------------------------------ */
/*  TRUST SECTION                                               */
/* ------------------------------------------------------------ */
.hosting-trust__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
}
.hosting-trust__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}
.hosting-trust__copy h2 {
    margin: 0.25rem 0 0;
}
.hosting-trust__brand {
    color: var(--hosting-blue);
}
.hosting-trust__copy p {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.78;
}
.hosting-trust__copy strong {
    color: var(--text);
    font-weight: 600;
}

.hosting-trust__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.hosting-trust__metric {
    background: var(--bg-card);
    border: 1px solid var(--hosting-blue-border);
    border-radius: var(--r-lg);
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hosting-trust__metric:hover {
    background: rgba(26, 103, 171, 0.06);
    border-color: var(--hosting-blue);
}
.hosting-trust__metric-val {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
}
.hosting-trust__metric-val span {
    font-size: 0.6em;
    color: var(--hosting-blue);
    letter-spacing: 0;
    margin-left: 0.1em;
}
.hosting-trust__metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ------------------------------------------------------------ */
/*  RESPONSIVE                                                  */
/* ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .hosting-features__grid  { grid-template-columns: repeat(2, 1fr); }
    .hosting-pricing__grid   { grid-template-columns: repeat(2, 1fr); }
    .hosting-trust__inner    { grid-template-columns: 1fr; }
    .hosting-trust__metrics  { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .hosting-hero__title     { font-size: clamp(2.6rem, 12vw, 4.5rem); }
    .hosting-features__grid  { grid-template-columns: 1fr; }
    .hosting-pricing__grid   { grid-template-columns: 1fr; }
    .hosting-trust__metrics  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hosting-trust__metrics  { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hosting-trust__metric   { padding: 1.2rem; }
}
/* ============================================================
   J. PAGE CONTACT
   ============================================================ */

/* -- Hero ------------------------------------------------- */
.contact-page-hero {
    padding-top: clamp(8rem, 16vw, 13rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}
.contact-page-hero__inner {
    max-width: 700px;
}
.contact-page-hero__title {
    font-size: clamp(3.2rem, 9vw, 7.5rem);
    letter-spacing: -0.045em;
    line-height: 1.0;
    margin: 0.4rem 0 1.4rem;
}
.contact-page-hero__sub {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: var(--text-sub);
    max-width: 480px;
    margin: 0;
}

/* -- 2-col grid ------------------------------------------- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

/* -- Left: Details ---------------------------------------- */
.contact-page-details {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    padding-top: 0.25rem;
}

.contact-detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contact-detail-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-detail-value {
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    color: var(--text);
    font-style: normal;
    text-decoration: none;
    line-height: 1.6;
    transition: color var(--dur) var(--ease);
}
a.contact-detail-value:hover {
    color: var(--accent-from);
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contact-socials a {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: var(--text-sub);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}
.contact-socials a:hover { color: var(--text); }

/* Availability badge */
.contact-availability {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.1rem;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--r-pill);
    width: fit-content;
}
.contact-availability__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    flex-shrink: 0;
    animation: dotBlink 2.4s ease-in-out infinite;
}
.contact-availability__text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(34, 197, 94, 0.9);
}

/* -- Right: Form card ------------------------------------- */
.contact-page-form-wrap {
    position: relative;
    isolation: isolate;
}

/* Atmospheric red/orange glow behind the card */
.contact-page-glow {
    position: absolute;
    inset: -15% -10%;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%,
            rgba(255, 10, 10, 0.08) 0%,
            rgba(250, 101, 38, 0.04) 50%,
            transparent 75%);
    pointer-events: none;
    border-radius: 50%;
}

/* Override contact-form-wrap for the dedicated page:
   remove the max-width centering it inherits via .contact-inner */
.contact-page-form-wrap .contact-form-wrap {
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* -- Responsive ------------------------------------------- */
@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .contact-page-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .contact-detail-group {
        min-width: 180px;
        flex: 1;
    }
    .contact-availability {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .contact-page-hero__title { font-size: clamp(2.8rem, 14vw, 4.5rem); }
    .contact-page-details {
        flex-direction: column;
        gap: 2rem;
    }
}
/* ============================================================
   K. BLOCK PATTERN � CASE STUDY ZIG-ZAG
   ============================================================ */

/* -- Section label chip (reuse site .section-label style) -- */
.cs-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem !important;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-from);
    padding: 0.32rem 0.9rem;
    border: 1px solid rgba(255, 10, 10, 0.28);
    border-radius: var(--r-pill);
    background: rgba(255, 10, 10, 0.055);
    margin-bottom: 1rem !important;
    line-height: 1.4;
}

/* -- Hero ------------------------------------------------- */
.cs-hero {
    padding-top: clamp(8rem, 16vw, 12rem) !important;
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
    position: relative;
}
.cs-hero__inner {
    text-align: center;
}
.cs-hero__title {
    font-family: var(--font-sans) !important;
    font-size: clamp(2.8rem, 7vw, 6rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.05 !important;
    color: var(--text) !important;
    margin: 0 0 0.5rem !important;
}
.cs-hero__subtitle {
    font-family: var(--font-serif) !important;
    font-style: italic;
    font-weight: 300 !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    margin: 0 0 1.5rem !important;
}
.cs-hero__subtitle em {
    font-style: italic;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cs-hero__meta {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 0.06em;
    margin-bottom: 3rem !important;
}
.cs-hero__image {
    margin-top: 3rem;
}

/* -- Sections --------------------------------------------- */
.cs-section {
    padding-block: clamp(5rem, 10vw, 9rem) !important;
    max-width: 1280px !important;
    margin-inline: auto !important;
    padding-inline: clamp(1.25rem, 4vw, 3rem) !important;
    box-sizing: border-box;
}
.cs-section--alt {
    background: var(--bg-raised);
}
.cs-divider {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(
        to right,
        transparent,
        var(--border) 15%,
        var(--border) 85%,
        transparent
    ) !important;
    margin-inline: 0 !important;
}

/* -- Zig-zag rows ----------------------------------------- */
.cs-row {
    gap: clamp(2.5rem, 6vw, 6rem) !important;
    align-items: center !important;
}
.cs-col--text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cs-row__title {
    font-family: var(--font-sans) !important;
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.1 !important;
    color: var(--text) !important;
    margin: 0 0 0.25rem !important;
}
.cs-row__sub {
    font-family: var(--font-serif) !important;
    font-style: italic;
    font-weight: 300 !important;
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    letter-spacing: 0.01em !important;
    color: var(--text-sub) !important;
    margin: 0 0 0.5rem !important;
    line-height: 1.4 !important;
}
.cs-col--text p {
    font-size: clamp(0.9rem, 1.4vw, 1rem) !important;
    color: var(--text-sub) !important;
    line-height: 1.78 !important;
}

/* -- Glassmorphism image card ----------------------------- */
.zigzag-image-card {
    width: 100% !important;
    position: relative;
    isolation: isolate;
}
.zigzag-image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--r-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.5);
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s var(--ease),
        border-color 0.4s var(--ease);
}
.zigzag-image-card img:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.06) inset,
        0 32px 80px rgba(0, 0, 0, 0.6);
}
/* Atmospheric red/orange glow behind each image card */
.zigzag-image-card::before {
    content: '';
    position: absolute;
    inset: -20% -12%;
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        rgba(255, 10, 10, 0.07) 0%,
        rgba(250, 101, 38, 0.04) 45%,
        transparent 72%
    );
    pointer-events: none;
    border-radius: 50%;
}

/* -- Metrics grid ----------------------------------------- */
.cs-metrics-section {
    text-align: center;
}
.cs-metrics__title {
    font-family: var(--font-sans) !important;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    color: var(--text) !important;
    margin-bottom: 3rem !important;
}
.cs-metrics-grid {
    gap: clamp(1rem, 2.5vw, 2rem) !important;
}
.cs-metric-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-lg) !important;
    padding: clamp(1.6rem, 3vw, 2.2rem) !important;
    text-align: center !important;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cs-metric-card:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-hover) !important;
    transform: translateY(-3px);
}
.cs-metric__val {
    font-family: var(--font-sans) !important;
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    margin: 0 0 0.5rem !important;
}
.cs-metric__val--positive { color: #00E56B !important; }
.cs-metric__val--negative { color: #00E56B !important; }
.cs-metric__label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

/* -- Blockquote ------------------------------------------- */
.cs-blockquote {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-left: 3px solid var(--accent-from) !important;
    border-radius: var(--r-md) !important;
    padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.8rem, 4vw, 3rem) !important;
    margin: 0 !important;
}
.cs-blockquote p {
    font-family: var(--font-serif) !important;
    font-style: italic;
    font-weight: 300 !important;
    font-size: clamp(1.1rem, 2vw, 1.45rem) !important;
    color: var(--text) !important;
    line-height: 1.7 !important;
    letter-spacing: 0.01em !important;
    margin-bottom: 1.2rem !important;
}
.cs-blockquote cite {
    font-family: var(--font-sans) !important;
    font-style: normal !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
}

/* -- CTA button (matches .btn-gradient) ------------------- */
.cs-cta-btn .wp-block-button__link {
    background: var(--gradient) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-pill) !important;
    font-family: var(--font-sans) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    padding: 0.78rem 1.85rem !important;
    box-shadow: 0 4px 22px rgba(255, 10, 10, 0.22) !important;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter 0.3s ease !important;
}
.cs-cta-btn .wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 36px rgba(255, 10, 10, 0.42) !important;
    filter: brightness(1.08) !important;
}

/* -- Responsive ------------------------------------------- */
@media (max-width: 768px) {
    .cs-row { gap: 2.5rem !important; }
    .cs-row--image-left .cs-col--image { order: -1; }
    .cs-metrics-grid { gap: 1rem !important; }
    .cs-hero__title { font-size: clamp(2.2rem, 11vw, 3.5rem) !important; }
}
/* ============================================================
   L. HALO GRADIENT — HERO CANVAS
   ============================================================ */

/*
 * .hero gains an isolated stacking context so z-index: -1 on
 * the canvas stays contained within the hero — never bleeds
 * behind the body background.
 */
.hero {
    isolation: isolate;
    background: #000;  /* pure black so bottom mask-fade blends seamlessly */
}

/*
 * Suppress the warm-orange pseudo-element glow — the WebGL
 * halo handles all atmosphere. (Override lives in Section 8.)
 */
.hero::after { background: none; }

#gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: block;

    /* Fade bottom edge smoothly into the page's black background */
    -webkit-mask-image: linear-gradient(to bottom, black 45%, transparent 92%);
    mask-image:         linear-gradient(to bottom, black 45%, transparent 92%);
}

/* Respect prefers-reduced-motion — fall back to plain dark bg */
@media (prefers-reduced-motion: reduce) {
    #gradient-canvas { display: none; }
}

/* Mobile — subtle opacity reduction; k is handled in JS */
@media (max-width: 767px) {
    #gradient-canvas { opacity: 0.55; }
}

/* ============================================================
   N. DISCOVERY CALL — HOMEPAGE CTA
   ============================================================ */
.discovery {
    background: var(--bg);
    text-align: center;
}

.discovery-inner {
    max-width: 840px;
    margin-inline: auto;
}
.discovery-inner h2 { margin-block: 0.5rem 1rem; }
.discovery-inner > p {
    margin-bottom: 3rem;
    color: var(--text-sub);
    max-width: 540px;
    margin-inline: auto;
}

/* Glass card wrapping the Amelia widget */
.discovery-card {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    isolation: isolate;
    text-align: left;
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.45);
}

/* ── Amelia: tap-highlight, outline reset + scroll containment ──
 * Prevents double-border tap glitch on iOS/Android.
 * overscroll-behavior: contain stops page scroll when user scrolls
 * inside the calendar widget.
 * ─────────────────────────────────────────────────────────────── */
.amelia-v2-booking *,
.am-body * {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
.amelia-v2-booking,
.am-body {
    overscroll-behavior: contain;
}
/* Target Amelia's internal scrollable step/calendar containers so scroll
   stays inside the widget and does not propagate to the page. */
.amelia-v2-booking .am-step-container,
.amelia-v2-booking .am-calendar,
.amelia-v2-booking [class*='am-scroll'],
.amelia-v2-booking [class*='am-step'],
.am-body .am-step-container,
.am-body .am-calendar {
    overscroll-behavior: contain;
    -ms-scroll-chaining: none;
}
/* Allow natural touch-pan inside the widget on mobile */
.amelia-v2-booking,
.amelia-v2-booking * {
    touch-action: pan-y;
}

/* ============================================================
   O. CONTACT PAGE — AMELIA CARD + SECONDARY CF7
   ============================================================ */

/* Amelia booking glass card — right column of .contact-page-grid.
   overflow: visible so Amelia's internal calendar is never clipped.
   Glow is delivered via box-shadow (avoids isolation+backdrop conflicts). */
.contact-amelia-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(155, 0, 0, 0.18),
        0 0 140px rgba(250, 101, 38, 0.07);
}

.contact-booking-title {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 1.75rem;
    color: var(--text);
}

/* Secondary CF7 section — intentionally subdued */
.contact-page-cf7 {
    background: var(--bg-raised);
    padding-bottom: var(--section-py);
}

.contact-page-cf7__inner {
    max-width: 620px;
}

.contact-page-cf7__title {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-block: 0.5rem 2rem;
    color: var(--text-sub);
}

/* More subdued card than the primary form */
.contact-form-wrap.cf7-secondary {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

@media (max-width: 768px) {
    .contact-booking-title,
    .contact-page-cf7__title { font-size: 1.35rem; }

    /* Give the calendar room to breathe on small screens */
    .contact-amelia-wrap,
    .discovery-card {
        padding: 1.5rem 1rem;
        overflow: visible;
    }
}

/* ============================================================
   P. UNIVERSAL ANIMATION ENGINE — v3
      P1 — Text Reveal  (.reveal-text → .line-mask > .line-inner)
      P2 — Entry Reveal (.reveal-entry — luxury fade + scale)
      P3 — Parallax     (.parallax-el + [data-parallax-speed])
      P4 — Lenis reset
   ============================================================ */

/* ── P1: Text Reveal ──────────────────────────────────────── */

/*
 * .reveal-text never clips itself — each visual line gets its own
 * .line-mask (overflow:hidden) injected by animations.js.
 */
.reveal-text {
    overflow: visible;
}

.line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;  /* prevent descenders (g, y, p) clipping */
    line-height: inherit;
}

.line-inner {
    display: block;
    will-change: transform, opacity;
    line-height: inherit;
}

/* Legacy word-level masks (backward compat) */
.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: inherit;
}

.word-inner {
    display: inline-block;
    will-change: transform, opacity;
}

/* Screen-reader visually-hidden copy */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── P2: Entry Reveal ─────────────────────────────────────── */

/*
 * .reveal-entry — luxury entrance: opacity 0→1, y 24→0, scale 0.96→1.
 * GSAP sets initial state in JS; CSS only declares perf hints.
 * overflow:visible is critical — scale animations must NOT be clipped.
 * Use on: cards, buttons, images, booking forms, any block element.
 */
.reveal-entry {
    will-change: opacity, transform;
    overflow: visible;  /* never clip the scale transform */
}

/* ── P3: Parallax ─────────────────────────────────────────── */

/*
 * .parallax-el — add to any element for a gentle float on scroll.
 * Default speed = 0.08 (set in JS). Override with data-parallax-speed.
 *
 * [data-parallax-speed] — explicit speed, also works standalone
 * without the class, for backward compatibility.
 */
.parallax-el,
[data-parallax-speed] {
    will-change: transform;
}

/* ── P4: Lenis reset ──────────────────────────────────────── */

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;  /* Lenis owns momentum, not CSS */
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* ── Reduced-motion: instant reveal, no motion ───────────── */
@media (prefers-reduced-motion: reduce) {
    .line-inner,
    .word-inner {
        transform: none !important;
        opacity: 1 !important;
    }

    .reveal-entry {
        opacity: 1 !important;
        transform: none !important;
    }

    .parallax-el,
    [data-parallax-speed] {
        will-change: auto;
        transform: none !important;
    }
}

/* ============================================================
   M. PORTFOLIO PAGINATION
   ============================================================ */

.pf-pagination {
    display: flex;
    justify-content: center;
    padding-block: clamp(2.5rem, 5vw, 4rem) 0;
}

.pf-pagination__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pf-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.625rem;
    height: 2.625rem;
    padding-inline: 0.75rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(237, 233, 226, 0.1);
    background: var(--bg-card);
    color: var(--text-sub);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                transform var(--dur) var(--ease-spring);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pf-pagination__link:hover {
    background: rgba(255, 10, 10, 0.12);
    border-color: rgba(255, 10, 10, 0.4);
    color: var(--text);
    transform: translateY(-2px);
}

.pf-pagination__link--active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    pointer-events: none;
}

.pf-pagination__link--prev,
.pf-pagination__link--next {
    padding-inline: 0.625rem;
}

.pf-pagination__link--prev svg,
.pf-pagination__link--next svg {
    display: block;
}

/* -- Responsive ------------------------------------------- */
@media (max-width: 480px) {
    .pf-pagination__list {
        gap: 0.375rem;
    }

    .pf-pagination__link {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
}


