/* 
  ═══════════════════════════════════════════════════
  HUDDLE RISE MEDIA — Elite Animated Luxury UI v7
  High-end Micro-Interactions & Form Redesign
  ═══════════════════════════════════════════════════
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ── Tokens ─────────────────────────────────────── */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #0A0A0B;
    /* Deeper, sleeker black */
    --bg-alt: #FAFAFB;
    /* Ultra-light sophisticated gray */
    --bg-surface: #FFFFFF;

    --text-primary: #0A0A0B;
    --text-muted: #888888;
    /* Softer for better hierarchy */
    --text-light: #FFFFFF;

    --gold: #B5932D;
    /* Deeper, more muted luxury gold */
    --gold-grad: linear-gradient(135deg, #A28427 0%, #B5932D 50%, #C9A435 100%);

    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --section-y: 100px;
    /* Tighter vertical breathing room */
    --container-w: 1300px;
    --max-w: 1400px;
    --border-subtle: 1px solid rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.04);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-blur: blur(20px) saturate(180%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(181, 147, 45, 0.03) 0%, transparent 70%);
    --ease: cubic-bezier(0.2, 0, 0, 1);
    --navy: #0B1C2C;
    --footer-bg: #F9FAFB;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    /* Looser line-height for luxury feel */
    letter-spacing: -0.015em;
    overflow-x: hidden;
    animation: bodyFadeIn 1.5s var(--ease) forwards;
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h4,
h5,
h6 {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}

p {
    max-width: 65ch;
    margin-bottom: 1.5rem;
}

/* Reduced paragraph width */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease);
}

ul {
    list-style: none;
}

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

/* ── Animated Background ────────────────────────── */
.page-canvas {
    position: fixed;
    inset: 0;
    z-index: -10;
    background: var(--bg-primary);
}

.page-canvas::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    /* Subtle global gradient overlay */
    filter: blur(100px);
    animation: floatOrb 25s ease-in-out infinite alternate;
}

.page-canvas::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(11, 28, 44, 0.05) 0%, transparent 70%);
    filter: blur(100px);
    animation: floatOrb 30s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-60px, 60px) scale(1.15);
    }

    /* Increased float */
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

/* ── Typography & Spacing ───────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 4rem;
    /* Adjusted for better desktop feel */
}

.section {
    padding: var(--section-y) 0;
    position: relative;
}

.section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-glow {
    background-image: var(--gradient-glow);
}

.section-alt {
    background-color: var(--bg-surface);
    box-shadow: 0 10px 80px rgba(0, 0, 0, 0.02);
}

/* Layered depth */

.text-gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline-hero {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.015em;
}

.headline-section {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    /* Extreme luxury spacing */
    color: var(--gold);
    margin-bottom: 1rem;
    display: inline-block;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 2;
    max-width: 700px;
}

/* ── Micro-Interaction Links ────────────────────── */
.link-hover {
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
    display: inline-block;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.6s var(--ease);
}

.link-hover:hover::after {
    width: 100%;
}

/* Icon interactions */
.icon,
.footer-social a,
.step-num {
    transition: transform 0.4s var(--ease), color 0.4s;
}

.icon:hover,
.footer-social a:hover {
    transform: translateY(-4px);
}

/* ── Navbar ──────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    /* Tighter default */
    transition: all 0.8s var(--ease);
    background: transparent;
}

.navbar.is-scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    height: 72px !important;
    width: auto !important;
    transition: all 0.5s var(--ease);
}

.navbar.is-scrolled .logo img {
    height: 56px !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-menu a:not(.btn) {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.7;
    transition: opacity 0.4s var(--ease);
    position: relative;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active {
    opacity: 1;
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn).active::after {
    width: 100%;
}

/* ── Animated Buttons ───────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(181, 147, 45, 0.3), 0 0 20px rgba(181, 147, 45, 0.2);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: #FFFFFF;
    transform: translateY(-4px);
}

.btn-outline:active {
    transform: translateY(0) scale(0.97);
}

/* ── High-End Form UI (Completely Redesigned) ───── */
.form-field {
    margin-bottom: 36px;
    position: relative;
}

.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 22px 28px;
    /* High padding inside inputs */
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    /* Soft borders */
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.5s var(--ease);
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.form-field textarea {
    border-radius: 4px;
    resize: vertical;
    min-height: 160px;
}

/* Form Interactivity */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
    /* Gold glow focus effect */
    transform: translateY(-2px);
    background: #FFFFFF;
}

.form-field input:focus+label,
.form-field textarea:focus+label {
    color: var(--gold);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #CBD5E1;
}

.form-card {
    background: var(--bg-surface);
    border-radius: 4px;
    padding: 80px 60px;
    box-shadow: var(--shadow-soft);
    border: none;
}

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

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ── Editorial Rows & Subtle Shadow Increase ────── */
.service-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 120px;
    padding: 100px 0;
    border-bottom: var(--border-subtle);
    align-items: flex-start;
    transition: all 0.6s var(--ease);
    text-decoration: none;
    color: inherit;
}

.service-row:first-child {
    border-top: var(--border-subtle);
}

.service-row h3 {
    font-size: 2.5rem;
    transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}

.service-row p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
}

.service-row:hover h3 {
    color: var(--gold);
}

/* Generic Card Interactions */
.card,
.stats-grid>div {
    background: var(--bg-surface);
    border-radius: 4px;
    /* Move to sharp but soft architectural look */
    padding: 60px 40px;
    box-shadow: var(--shadow-soft);
    transition: all 0.6s var(--ease);
    position: relative;
    border: none;
}

.card:hover,
.stats-grid>div:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card::before,
.stats-grid>div::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.02));
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

.card:hover::before,
.stats-grid>div:hover::before {
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

/* ── Form States & Animations ───────────────────── */
.form-card {
    position: relative;
    transition: all 0.6s var(--ease);
}

.form-loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-loading .btn-primary {
    position: relative;
    color: transparent !important;
}

.form-loading .btn-primary::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: fadeInUp 0.8s var(--ease) forwards;
}

.form-success-message i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 24px;
    display: block;
}

.form-success-message h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.form-success-message p {
    color: var(--text-muted);
    margin: 0 auto 32px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Scroll Animations (Staggered Fade-Up) ──────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}

.reveal.visible,
.reveal.no-anim {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: 0.7s;
    opacity: 1;
    transform: translateY(0);
}

/* ── Case Studies Hover ─────────────────────────── */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
}

.case-card {
    display: block;
    text-decoration: none;
    transition: all 0.6s var(--ease);
}

.case-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 32px;
    background: var(--bg-alt);
    box-shadow: var(--shadow-soft);
    transition: all 0.6s var(--ease);
}

.case-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
    will-change: transform;
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 28, 44, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

.case-card:hover .case-img-wrapper {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(11, 28, 44, 0.12);
}

.case-card:hover .case-img-wrapper img {
    transform: scale(1.1);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-content {
    padding: 0 4px;
}

.case-brand {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.case-title {
    font-family: var(--font-head);
    font-size: 2.25rem;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text-primary);
}

.case-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.case-results {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 28, 44, 0.06);
}

.result-item span:first-child {
    display: block;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.result-item span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── Steps Hover ────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.step-item {
    position: relative;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.6s var(--ease);
}

.step-item:hover {
    border-top-color: var(--gold);
}

.step-num {
    position: absolute;
    top: -30px;
    left: 0;
    font-family: var(--font-head);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    background: var(--bg-primary);
    padding-right: 16px;
    transition: transform 0.6s var(--ease);
}

.section-alt .step-num {
    background: var(--bg-surface);
}

.step-item:hover .step-num {
    transform: scale(1.1) translateY(-5px);
}

.step-item h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
    padding: 80px 0 40px;
    background: var(--footer-bg);
    color: var(--navy);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-brand .logo img {
    height: 90px !important;
    margin-bottom: 24px;
    transition: transform 0.4s var(--ease);
}

.footer-brand p {
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.8;
    max-width: 240px;
    margin-top: 0;
}

.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    margin-bottom: 28px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: var(--navy);
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 14px;
    transition: all 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--gold);
    opacity: 1;
    transform: translateX(6px);
}

.footer-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--navy);
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-info-item i {
    color: var(--gold);
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy);
    opacity: 0.6;
    font-size: 0.85rem;
}

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

.footer-legal a {
    color: var(--navy);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--navy);
    font-size: 1.1rem;
    transition: all 0.4s var(--ease);
}

.footer-social a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    :root {
        --section-y: 100px;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-y: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 16px 0;
    }

    .navbar.is-scrolled {
        padding: 12px 0;
    }

    .navbar .logo img {
        height: 54px !important;
        min-height: 54px !important;
        width: auto !important;
    }

    .navbar.is-scrolled .logo img {
        height: 48px !important;
    }

    .mobile-toggle {
        display: flex !important;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s var(--ease);
        z-index: 1000;
        backdrop-filter: blur(24px);
        gap: 20px;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a:not(.btn) {
        font-size: 1.5rem;
        margin: 10px 0;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.4s var(--ease);
    }

    .nav-menu.open a:not(.btn) {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu.open a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.open a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.open a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.open a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.open a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.open a:nth-child(6) {
        transition-delay: 0.35s;
    }

    .tagline {
        margin-bottom: 0.75rem;
        letter-spacing: 0.2em;
    }

    .layout-grid,
    .stats-grid,
    .footer-grid,
    .form-row,
    .form-row-3,
    .steps-grid,
    .case-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .stats-grid>div {
        border-left: none !important;
        border-right: none !important;
        padding: 0 !important;
    }

    .form-card,
    .card,
    .stats-grid>div {
        padding: 32px 20px;
        text-align: center;
    }

    .section-full {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .btn {
        width: 100% !important;
        justify-content: center;
        margin: 0 0 16px 0 !important;
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 16px 32px;
        font-size: 1rem;
    }

    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .headline-hero {
        font-size: clamp(2.25rem, 12vw, 3rem);
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    .headline-section {
        font-size: clamp(1.75rem, 10vw, 2.25rem);
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .reveal {
        transition-duration: 0.6s;
    }

    .testimonial-slide {
        padding: 0 10px;
    }

    .testimonial-slide .card {
        padding: 40px 20px;
    }

    .testimonial-slide p {
        font-size: 1.25rem !important;
    }

    .lead {
        font-size: 1.1rem;
        line-height: 1.7;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer {
        padding: 80px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto 0;
    }

    .footer-info-item {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .case-title {
        font-size: 1.75rem;
    }

    .case-results {
        gap: 20px;
        flex-direction: column;
    }

    .price-card,
    .program-card {
        padding: 40px 24px;
    }

    /* Paragraph overrides */
    p {
        max-width: 100%;
    }
}

/* ── Scroll Progress ───────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-grad);
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ── Magnetic & Smooth Transitions ────────────── */
.btn,
.logo,
.footer-social a {
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* ── Kinetic Image Revel ──────────────────────── */
.img-reveal {
    overflow: hidden;
    position: relative;
    background: var(--bg-alt);
}

.img-reveal img {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.img-reveal.visible img {
    opacity: 1;
    transform: scale(1);
}

/* ── Luxury Text Styling ───────────────────────── */
.text-gold-italic {
    font-family: var(--font-head);
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

/* ── Global Utility for Widows/Hierarchy ───────── */
.no-wrap {
    white-space: nowrap;
}

.text-mask {
    overflow: hidden;
    display: block;
}

.text-mask span {
    display: block;
    transform: translateY(105%);
    transition: transform 0.8s var(--ease);
}

.visible .text-mask span,
.no-animation .text-mask span {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .text-mask span {
        transition-duration: 0.6s;
    }
}

/* ── Testimonial Slider ────────────────────────── */
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.8s var(--ease);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    opacity: 0.3;
    transform: scale(0.9);
    transition: all 0.8s var(--ease);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.star-rating {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

/* ── FAQ & Content Blocks ───────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-head);
    font-size: 1.25rem;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), margin 0.4s var(--ease);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    margin-top: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.4s var(--ease);
}

/* ── Process Steps ──────────────────────────────── */
.process-step {
    border-left: 1px solid var(--border-subtle);
    padding-left: 40px;
    position: relative;
    padding-bottom: 60px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.step-num {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 12px;
}

/* ── Badge / Icon Grid ──────────────────────────── */
.icon-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.icon-badge {
    padding: 30px;
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.4s var(--ease);
}

.icon-badge:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

/* ── WhatsApp CTA ────────────────────────────────── */
/* Urgency Strip */
.whatsapp-urgency-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: linear-gradient(90deg, #075E54 0%, #128C7E 50%, #075E54 100%);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: stripSlideDown 0.6s var(--ease) forwards;
    box-shadow: 0 2px 20px rgba(7, 94, 84, 0.4);
}

.whatsapp-urgency-strip .strip-icon {
    font-size: 1.1rem;
    animation: stripPulse 1.5s ease-in-out infinite;
}

.whatsapp-urgency-strip .strip-cta {
    background: #25D366;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.whatsapp-urgency-strip .strip-cta:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

.whatsapp-urgency-strip .strip-close {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.whatsapp-urgency-strip .strip-close:hover {
    color: #fff;
}

@keyframes stripSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes stripPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.3); }
}

/* Floating WhatsApp Button */
.whatsapp-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.5s var(--ease);
}

.whatsapp-bubble {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
    position: relative;
    animation: waPulse 2.5s ease-in-out infinite;
}

/* Urgency red dot badge */
.whatsapp-bubble::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #FF3B30;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: badgePop 1s ease-in-out infinite alternate;
}

/* Ripple ring 1 */
.whatsapp-bubble::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: ripple 2s linear infinite;
}

/* Ripple ring 2 (extra urgency layer) */
.whatsapp-ring2 {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 211, 102, 0.3);
    animation: ripple 2s linear 0.7s infinite;
    pointer-events: none;
}

.whatsapp-text {
    background: white;
    padding: 10px 18px 10px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #075E54;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 3px solid #25D366;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s var(--ease);
    pointer-events: none;
}

.whatsapp-text .wa-urgent {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #FF3B30;
    font-weight: 800;
}

.whatsapp-text .wa-main {
    font-size: 0.88rem;
    color: #075E54;
    font-weight: 700;
}

.whatsapp-cta:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.whatsapp-cta:hover .whatsapp-bubble {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 18px 50px rgba(37, 211, 102, 0.55);
    animation: none;
}

@keyframes waPulse {
    0%   { box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 0 0 0   rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0);   }
    100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 0 0 0   rgba(37,211,102,0);   }
}

@keyframes ripple {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes badgePop {
    from { transform: scale(0.85); }
    to   { transform: scale(1.15); }
}

@media (max-width: 768px) {
    .whatsapp-cta {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-bubble {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }
    .whatsapp-text {
        display: none;
    }
    .whatsapp-urgency-strip {
        font-size: 0.72rem;
        padding: 9px 40px 9px 16px;
        gap: 8px;
    }
}