/* ===== FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Palette — soft tones from the original gradient */
    --blue-soft: #B8CCEE;
    --lavender: #CBBDE6;
    --pink-soft: #E2C0CE;
    --peach: #EEC4A4;
    --orange-soft: #E8AD82;

    /* Saturated accents (derived from palette) */
    --accent-blue: #6B8ADB;
    --accent-blue-dark: #5A79CA;
    --accent-lavender: #9B7FC7;
    --accent-rose: #D4849A;
    --accent-peach: #E89E6C;
    --accent-orange: #D4956A;

    /* Soft tinted backgrounds */
    --bg-blue: #eef2ff;
    --bg-lavender: #f3f0ff;
    --bg-rose: #fff0f3;
    --bg-peach: #fff7ed;

    /* Dark palette */
    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-lighter: #334155;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #B8CCEE 0%, #CBBDE6 25%, #E2C0CE 50%, #EEC4A4 75%, #E8AD82 100%);
    --gradient-text: linear-gradient(135deg, #7B9FE8 0%, #A98DD6 35%, #E2A0B4 65%, #EEB888 100%);
    --gradient-dark: linear-gradient(135deg, #3A4A6B 0%, #4A3A5E 25%, #5E3A48 50%, #6B4A3A 75%, #5E3A28 100%);

    /* Grays (Slate scale) */
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #FFFFFF;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.06); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.logo-mark {
    width: 30px;
    height: 26px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.nav-links > li > a:hover { color: var(--gray-900); }
.nav-links > li > a.active { color: var(--gray-900); font-weight: 600; }

/* Nav CTA button — smaller to fit within navbar */
.nav-links > li > a.btn.btn-primary {
    padding: 9px 22px;
    font-size: 14px;
    color: var(--white);
    line-height: 1.3;
    white-space: nowrap;
}

.nav-arrow { width: 12px; height: 12px; transition: transform 0.2s; }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%; left: -16px;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    list-style: none;
}

.nav-links > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links > li:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 8px;
    transition: all 0.15s;
}

.nav-dropdown li a:hover { background: var(--gray-50); color: var(--gray-900); }

/* ===== MEGA DROPDOWN ===== */
.has-mega { position: relative; }

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 740px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
}

.has-mega:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

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

.mega-col h5 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
}

.mega-col a {
    display: block;
    padding: 7px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
}

.mega-col a:hover { background: var(--gray-50); }

.mega-col a strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1px;
    line-height: 1.3;
}

.mega-col a span {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    line-height: 1.4;
}

.mega-col a:hover strong { color: var(--accent-blue); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(107,138,219,0.3);
}

.btn-primary:hover {
    background: var(--accent-blue-dark);
    box-shadow: 0 6px 20px rgba(107,138,219,0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.btn-outline-dark {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline-dark:hover {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-large { padding: 16px 40px; font-size: 17px; }

/* ===== MOBILE NAV ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== SECTION COMMONS ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--accent-blue);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ========================================
   HERO — Dark navy with gradient glow
   ======================================== */
.hero {
    padding: 160px 0 80px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Gradient glow — top right */
.hero::before {
    content: '';
    position: absolute;
    width: 900px; height: 900px;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.12;
    filter: blur(120px);
    top: -300px; right: -200px;
    pointer-events: none;
}

/* Second glow — bottom left */
.hero::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B8ADB 0%, #9B7FC7 100%);
    opacity: 0.07;
    filter: blur(100px);
    bottom: -200px; left: -150px;
    pointer-events: none;
}

/* Flowing gradient wave background graphics */
.hero-waves,
.section-waves {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated canvas background */
.hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Smooth section-to-footer transition */
.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--navy));
    pointer-events: none;
    z-index: 1;
}

/* Transparent decorative waves inside CTA */
.cta-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1060px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: #ffffff;
}

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

.hero p,
.hero .hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 44px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-tag.tag-blue {
    color: #7B9FE8;
    border: 1.5px solid rgba(123, 159, 232, 0.35);
    background: rgba(123, 159, 232, 0.06);
}
.hero-tag.tag-blue:hover {
    border-color: rgba(123, 159, 232, 0.7);
    background: rgba(123, 159, 232, 0.12);
    box-shadow: 0 0 20px rgba(123, 159, 232, 0.15);
}

.hero-tag.tag-lavender {
    color: #A98DD6;
    border: 1.5px solid rgba(169, 141, 214, 0.35);
    background: rgba(169, 141, 214, 0.06);
}
.hero-tag.tag-lavender:hover {
    border-color: rgba(169, 141, 214, 0.7);
    background: rgba(169, 141, 214, 0.12);
    box-shadow: 0 0 20px rgba(169, 141, 214, 0.15);
}

.hero-tag.tag-rose {
    color: #E2A0B4;
    border: 1.5px solid rgba(226, 160, 180, 0.35);
    background: rgba(226, 160, 180, 0.06);
}
.hero-tag.tag-rose:hover {
    border-color: rgba(226, 160, 180, 0.7);
    background: rgba(226, 160, 180, 0.12);
    box-shadow: 0 0 20px rgba(226, 160, 180, 0.15);
}

/* ========================================
   PAGE HERO — Inner pages, dark navy
   ======================================== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.08;
    filter: blur(100px);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-hero p,
.page-hero .subtitle,
.page-hero .hero-subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   SERVICES GRID — Homepage cards
   ======================================== */
.services { padding: 120px 0; }

.services h2,
.approach h2 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    margin-bottom: 56px;
    text-align: center;
    line-height: 1.1;
}

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

.service-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Colored top-border accent — unique per card */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before { opacity: 1; }

.service-card:nth-child(1)::before { background: var(--accent-blue); }
.service-card:nth-child(2)::before { background: var(--accent-peach); }
.service-card:nth-child(3)::before { background: var(--accent-lavender); }
.service-card:nth-child(4)::before { background: #10B981; }

.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg { width: 28px; height: 28px; }

.service-icon.blue { background: var(--bg-blue); }
.service-icon.blue svg { stroke: var(--accent-blue); }
.service-icon.orange { background: var(--bg-peach); }
.service-icon.orange svg { stroke: var(--accent-peach); }
.service-icon.purple { background: var(--bg-lavender); }
.service-icon.purple svg { stroke: var(--accent-lavender); }
.service-icon.green { background: rgba(16,185,129,0.08); }
.service-icon.green svg { stroke: #10B981; }

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.service-tag {
    padding: 5px 14px;
    background: var(--gray-50);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    border: 1px solid var(--gray-100);
}

/* ========================================
   APPROACH — Process steps
   ======================================== */
.approach { padding: 120px 0; background: var(--gray-50); }

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

/* Gradient connecting line */
.approach-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%; right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-lavender), var(--accent-peach), #10B981);
    opacity: 0.3;
}

.approach-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.step-number svg { width: 28px; height: 28px; }

/* Individual step colors — filled tint bg */
.step-number.s1 { background: var(--bg-blue); border-color: var(--accent-blue); }
.step-number.s1 svg { stroke: var(--accent-blue); }
.step-number.s2 { background: var(--bg-lavender); border-color: var(--accent-lavender); }
.step-number.s2 svg { stroke: var(--accent-lavender); }
.step-number.s3 { background: var(--bg-peach); border-color: var(--accent-peach); }
.step-number.s3 svg { stroke: var(--accent-peach); }
.step-number.s4 { background: rgba(16,185,129,0.08); border-color: #10B981; }
.step-number.s4 svg { stroke: #10B981; }

.approach-step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.approach-step p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ========================================
   EXPERTISE / TOOLS WE MASTER
   ======================================== */
.expertise-section {
    padding: 100px 0;
    text-align: center;
}

.expertise-section .section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 560px;
    margin: -20px auto 56px;
    line-height: 1.6;
}

.tools-tri-layout {
    display: grid;
    grid-template-columns: 2fr 1px 1.5fr 1px 1.5fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.tools-column {
    text-align: center;
    padding: 0 28px;
}

.tools-column-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
}

.tools-column-label.gtm {
    color: var(--accent-blue);
    background: rgba(123, 159, 232, 0.08);
}

.tools-column-label.auto {
    color: var(--accent-rose);
    background: rgba(226, 160, 180, 0.08);
}

.tools-column-label.ai {
    color: var(--accent-lavender);
    background: rgba(169, 141, 214, 0.08);
}

.tools-column-divider {
    width: 1px;
    min-height: 200px;
    align-self: center;
    background: linear-gradient(180deg, transparent 0%, var(--gray-200) 15%, var(--gray-200) 85%, transparent 100%);
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 36px;
    margin: 0 auto;
}

.expertise-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    transition: transform 0.3s;
}

.expertise-item:hover {
    transform: scale(1.06);
}

.expertise-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.expertise-item:hover .expertise-img {
    opacity: 1;
}

/* ========================================
   WHY MANTYL — Dark section
   ======================================== */
.dark-section {
    padding: 120px 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient glow */
.dark-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.06;
    filter: blur(100px);
    bottom: -200px; right: -100px;
    pointer-events: none;
}

.dark-section h2 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 56px;
    text-align: center;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.dark-section .section-label { color: var(--peach); }
.dark-section .section-label::before { background: var(--peach); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-subtitle { color: rgba(255,255,255,0.65); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

/* Colored top accent per card */
.why-card:nth-child(1)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-blue); }
.why-card:nth-child(2)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-peach); }
.why-card:nth-child(3)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-lavender); }

.why-card .card-icon {
    width: 48px; height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card .card-icon svg { width: 28px; height: 28px; }

/* Individual card icon colors */
.why-card:nth-child(1) .card-icon svg { stroke: var(--accent-blue); }
.why-card:nth-child(2) .card-icon svg { stroke: var(--accent-peach); }
.why-card:nth-child(3) .card-icon svg { stroke: var(--accent-lavender); }

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.why-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION — The gradient showcase
   ======================================== */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section .container { max-width: 700px; position: relative; z-index: 1; }

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.cta-section p {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.cta-section .btn-primary:hover {
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

/* ========================================
   CONTENT SECTIONS — Services page etc.
   ======================================== */
.content-section { padding: 100px 0; }
.content-section.alt { background: var(--gray-50); }

.content-section .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.content-section .two-col.reverse { direction: rtl; }
.content-section .two-col.reverse > * { direction: ltr; }

.content-section .text-col h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.15;
}

.content-section .text-col p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section .text-col ul {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.content-section .text-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

.content-section .text-col ul li svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Visual column — default & per-service colours */
.visual-col {
    border-radius: var(--radius-lg);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue);
}

.visual-col svg {
    width: 80px; height: 80px;
    stroke: var(--accent-blue);
    opacity: 0.5;
}

/* Service-specific visual cols + check colours */
#revops .visual-col { background: var(--bg-blue); }
#revops .visual-col svg { stroke: var(--accent-blue); }
#revops .text-col ul li svg { stroke: var(--accent-blue); }

#outbound .visual-col { background: var(--bg-lavender); }
#outbound .visual-col svg { stroke: var(--accent-lavender); }
#outbound .text-col ul li svg { stroke: var(--accent-lavender); }

#ai-automation .visual-col { background: var(--bg-rose); }
#ai-automation .visual-col svg { stroke: var(--accent-rose); }
#ai-automation .text-col ul li svg { stroke: var(--accent-rose); }

#gtm .visual-col { background: var(--bg-peach); }
#gtm .visual-col svg { stroke: var(--accent-peach); }
#gtm .text-col ul li svg { stroke: var(--accent-peach); }

/* ========================================
   SERVICES PAGE — Category Sections
   ======================================== */
.service-category {
    padding: 80px 0;
}

.service-category.alt { background: var(--gray-50); }

.category-header {
    margin-bottom: 48px;
}

.category-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.category-label.blue { color: var(--accent-blue); }
.category-label.lavender { color: var(--accent-lavender); }
.category-label.rose { color: var(--accent-rose); }

.category-label::before {
    content: '';
    width: 20px; height: 2px;
}

.category-label.blue::before { background: var(--accent-blue); }
.category-label.lavender::before { background: var(--accent-lavender); }
.category-label.rose::before { background: var(--accent-rose); }

.category-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.15;
}

.category-header p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 640px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.capability-card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.capability-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.capability-card .cap-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.capability-card .cap-icon svg {
    width: 22px; height: 22px;
}

.capability-card .cap-icon.blue { background: var(--bg-blue); }
.capability-card .cap-icon.blue svg { stroke: var(--accent-blue); }
.capability-card .cap-icon.lavender { background: var(--bg-lavender); }
.capability-card .cap-icon.lavender svg { stroke: var(--accent-lavender); }
.capability-card .cap-icon.rose { background: var(--bg-rose); }
.capability-card .cap-icon.rose svg { stroke: var(--accent-rose); }

.capability-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.capability-card p {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.65;
}

.capability-card .cap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.capability-card .cap-tag {
    padding: 3px 10px;
    background: var(--gray-50);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

/* ========================================
   SERVICES INQUIRY FORM
   ======================================== */
.services-inquiry {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.services-inquiry::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.08;
    filter: blur(100px);
    top: -200px; right: -100px;
    pointer-events: none;
}

.inquiry-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: start;
}

.inquiry-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.inquiry-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 32px;
}

.inquiry-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.inquiry-benefits li svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    stroke: var(--accent-blue);
}

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

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

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

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

.inquiry-form label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--white);
    transition: all 0.2s;
}

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

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255,255,255,0.1);
}

.inquiry-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.inquiry-form select option {
    background: var(--navy);
    color: var(--white);
}

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

.inquiry-form .btn-primary {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 16px;
}

/* ========================================
   TEAM LOGOS — Background strip
   ======================================== */
.team-logos {
    padding: 44px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.team-logos-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.team-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 36px;
}

.team-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 40px;
    margin-bottom: 24px;
}

.team-logos-row:last-child {
    margin-bottom: 0;
}

.team-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 66px;
    transition: opacity 0.3s;
}

.team-logo-img {
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.team-logo-item:hover .team-logo-img {
    opacity: 1;
    transform: scale(1.06);
}

/* Clay profile link (inside certifications section) */
.clay-profile-link {
    text-align: center;
    margin-top: 36px;
}

.clay-profile-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: none;
    padding: 10px 22px;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    background: var(--white);
    transition: all 0.3s ease;
    letter-spacing: -0.1px;
}

.clay-profile-link a:hover {
    color: var(--gray-900);
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.clay-profile-link a svg {
    opacity: 0.5;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.clay-profile-link a:hover svg {
    opacity: 0.8;
}

.clay-profile-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.clay-profile-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-rose));
    padding: 3px 8px;
    border-radius: 4px;
}

/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */
.certifications-section {
    padding: 80px 0;
    background: var(--white);
}

.certifications-section .section-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.certifications-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* Certifications marquee */
.cert-marquee-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    margin-bottom: 32px;
    padding: 8px 0;
}

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

.cert-marquee-wrapper:hover .cert-marquee-track {
    animation-play-state: paused;
}

@keyframes cert-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 28px 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
}

.cert-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

.cert-badge-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: contain;
    background: transparent;
}

.cert-badge-img.cert-badge-tall {
    object-fit: contain;
    background: #ffffff;
    padding: 3px;
    border-radius: 12px;
}

.cert-badge-img.cert-badge-hubspot {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 0.5px var(--gray-200);
    box-sizing: content-box;
}

.cert-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cert-info p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========================================
   ABOUT PAGE — Values section on white bg
   ======================================== */
.values-section { background: var(--white); }

.values-section h2 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.1;
}

.values-section .why-grid { background: transparent; }

.values-section .why-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 36px;
    border-radius: var(--radius-lg);
}

.values-section .why-card:hover {
    background: var(--white);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.values-section .why-card h3 { color: var(--gray-900); }
.values-section .why-card p { color: var(--gray-500); }

/* Values card icon colors */
.values-section .why-card:nth-child(1) .card-icon svg { stroke: var(--accent-blue); }
.values-section .why-card:nth-child(2) .card-icon svg { stroke: var(--accent-peach); }
.values-section .why-card:nth-child(3) .card-icon svg { stroke: var(--accent-lavender); }

/* Coloured top accents for about values cards */
.values-section .why-card:nth-child(1)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-blue); }
.values-section .why-card:nth-child(2)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-peach); }
.values-section .why-card:nth-child(3)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-lavender); }

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}

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

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    color: var(--gray-900);
    transition: all 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(107,138,219,0.12);
}

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

/* Contact info cards */
.contact-card {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

.contact-card .contact-icon {
    width: 32px; height: 32px;
    stroke: var(--accent-blue);
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-card a { color: var(--accent-blue); transition: color 0.2s; }
.contact-card a:hover { color: var(--accent-blue-dark); }

/* Individual contact card accents */
.contact-card:nth-child(1) .contact-icon { stroke: var(--accent-blue); }
.contact-card:nth-child(2) .contact-icon { stroke: var(--accent-lavender); }
.contact-card:nth-child(3) .contact-icon { stroke: var(--accent-peach); }

/* Form success state */
.form-success {
    text-align: center;
    padding: 60px 24px;
}
.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.form-success p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   RESOURCE CARDS — Varied colours
   ======================================== */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.resource-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}

.resource-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.resource-card .card-image {
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.resource-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.resource-card:hover .card-image img {
    transform: scale(1.05);
}

.resource-card .card-body { padding: 28px; }

/* Pill-shaped tags with varied colours */
.resource-card .card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.resource-card:nth-child(1) .card-tag { color: var(--accent-blue); background: var(--bg-blue); }
.resource-card:nth-child(2) .card-tag { color: var(--accent-lavender); background: var(--bg-lavender); }
.resource-card:nth-child(3) .card-tag { color: var(--accent-rose); background: var(--bg-rose); }
.resource-card:nth-child(4) .card-tag { color: var(--accent-peach); background: var(--bg-peach); }
.resource-card:nth-child(5) .card-tag { color: var(--accent-blue); background: var(--bg-blue); }
.resource-card:nth-child(6) .card-tag { color: var(--accent-lavender); background: var(--bg-lavender); }

.resource-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.35;
}

.resource-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ========================================
   FOUNDER PROFILE CARD — About page
   ======================================== */
.founder-section {
    padding: 40px 0 20px;
    text-align: center;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.founder-photo-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: block;
    cursor: pointer;
}

.founder-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-lavender) 50%, var(--accent-rose) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.founder-avatar span {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    user-select: none;
}

.founder-headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-bio-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.founder-photo-wrap:hover .founder-bio-overlay {
    opacity: 1;
    pointer-events: auto;
}

.founder-photo-wrap:hover .founder-avatar {
    transform: scale(1.05);
}

.founder-bio-overlay p {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 12px;
}

.founder-linkedin-cta {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 0.3px;
}

.founder-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.founder-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

/* ========================================
   LATEST RESOURCES — Homepage preview
   ======================================== */
.latest-resources {
    padding: 100px 0;
    background: var(--gray-50);
}

.latest-resources .section-subtitle {
    margin: -10px auto 56px;
}

.resources-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.resource-preview-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
    text-decoration: none;
    align-items: flex-start;
}

.resource-preview-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.rp-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.rp-icon.blue {
    background: var(--bg-blue);
}

.rp-icon.blue svg {
    stroke: var(--accent-blue);
}

.rp-icon.lavender {
    background: var(--bg-lavender);
}

.rp-icon.lavender svg {
    stroke: var(--accent-lavender);
}

.rp-content {
    flex: 1;
}

.rp-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.rp-tag.blue {
    color: var(--accent-blue);
    background: var(--bg-blue);
}

.rp-tag.lavender {
    color: var(--accent-lavender);
    background: var(--bg-lavender);
}

.rp-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.35;
}

.rp-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 14px;
}

.rp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
    transition: gap 0.2s;
}

.resource-preview-card:hover .rp-link {
    gap: 10px;
}

.rp-link svg {
    stroke: var(--accent-blue);
}

/* Homepage logos variant — less padding */
.homepage-logos {
    padding: 48px 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 72px 0 32px;
    background: var(--navy);
    color: var(--gray-400);
    position: relative;
}

/* When footer follows a non-CTA section (like contact page),
   add a subtle top overlap for smoother transition */
.footer::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--navy));
    pointer-events: none;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-400);
    max-width: 280px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 15px;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--gray-500);
}

.footer-socials { display: flex; gap: 12px; }

.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-socials a svg { width: 16px; height: 16px; fill: var(--gray-400); }
.footer-socials a:hover { background: var(--accent-blue); }
.footer-socials a:hover svg { fill: var(--white); }

/* ========================================
   NAV-ITEM / NAV-LINK fallback (div-based)
   ======================================== */
.nav-item { position: relative; }
.nav-link {
    font-size: 15px; font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
    display: flex; align-items: center;
    gap: 4px; padding: 8px 0;
}
.nav-link:hover { color: var(--gray-900); }
.nav-link.active { color: var(--gray-900); font-weight: 600; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 52px; letter-spacing: -2px; }
    .page-hero h1 { font-size: 40px; }
    .section-title { font-size: 36px; }
    .services h2, .approach h2, .dark-section h2, .values-section h2 { font-size: 36px; }
    .services-grid { grid-template-columns: 1fr; }
    .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .approach-steps::before { display: none; }
    .why-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .content-section .two-col { grid-template-columns: 1fr; gap: 40px; }
    .content-section .two-col.reverse { direction: ltr; }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 40px; }
    .mega-dropdown { width: 600px; gap: 20px; padding: 24px; }
    .mega-col a strong { font-size: 13px; }
    .mega-col a span { font-size: 11.5px; }
    .inquiry-layout { grid-template-columns: 1fr; gap: 48px; }
    .capability-grid { grid-template-columns: repeat(2, 1fr); }
    .category-header h2 { font-size: 30px; }
    .cert-card { min-width: 260px; max-width: 260px; padding: 24px 16px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        padding: 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        gap: 8px;
    }

    .nav-links.active .nav-dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none;
        padding: 0 0 0 16px;
    }

    /* Mobile mega-dropdown: stack to single column */
    .nav-links.active .mega-dropdown {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none; border: none;
        padding: 8px 0 8px 16px;
        grid-template-columns: 1fr;
        gap: 16px;
        background: transparent;
    }

    .nav-links.active .mega-col h5 {
        font-size: 10px;
        margin-bottom: 8px;
        padding-bottom: 6px;
        color: var(--gray-400);
    }

    .nav-links.active .mega-col a {
        padding: 5px 8px;
        margin: 0 -8px;
    }

    .nav-links.active .mega-col a span { display: none; }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 40px; letter-spacing: -1.5px; }
    .hero p, .hero .hero-subtitle { font-size: 17px; }
    .hero-tags { gap: 8px; margin-top: 20px; }
    .hero-tag { padding: 5px 14px; font-size: 11px; }
    .page-hero { padding: 130px 0 60px; }
    .page-hero h1 { font-size: 34px; letter-spacing: -1px; }
    .section-title { font-size: 30px; }
    .services h2, .approach h2, .dark-section h2, .values-section h2 { font-size: 30px; }
    .cta-section h2 { font-size: 32px; }
    .approach-steps { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .tools-tri-layout { grid-template-columns: 1fr; gap: 40px; }
    .tools-column-divider { display: none; }
    .tools-column { padding: 0; }
    .expertise-grid { gap: 22px 28px; }
    .expertise-img { height: 28px; max-width: 120px; }
    .expertise-item { height: 40px; }
    .expertise-section { padding: 60px 0; }
    .expertise-section .section-subtitle { font-size: 15px; margin-bottom: 36px; }
    .visual-col { height: 240px; }
    .services, .approach, .dark-section { padding: 80px 0; }
    .content-section { padding: 80px 0; }
    .service-category { padding: 60px 0; }
    .capability-grid { grid-template-columns: 1fr; }
    .category-header h2 { font-size: 26px; }
    .inquiry-layout { grid-template-columns: 1fr; gap: 40px; }
    .inquiry-form .form-row { grid-template-columns: 1fr; }
    .inquiry-text h2 { font-size: 28px; }
    .services-inquiry { padding: 80px 0; }
    .cta-section { padding: 80px 0; }
    .team-logos { padding: 40px 0; }
    .team-logos-grid { gap: 18px 24px; }
    .team-logos-row { gap: 14px 24px; margin-bottom: 16px; }
    .team-logo-img { height: 32px; max-width: 150px; }
    .team-logo-item { height: 48px; }
    .certifications-section { padding: 60px 0; }
    .cert-card { min-width: 240px; max-width: 240px; padding: 20px 16px; }
    .cert-badge-img { width: 72px; height: 72px; }
    .cert-marquee-track { gap: 16px; }
    .resources-preview-grid { grid-template-columns: 1fr; }
    .resource-preview-card { flex-direction: column; gap: 16px; }
    .latest-resources { padding: 60px 0; }
    .founder-section { padding: 32px 0 16px; }
    .founder-photo-wrap { width: 180px; height: 180px; }
    .founder-avatar span { font-size: 52px; }
    .founder-bio-overlay { width: 280px; padding: 22px 18px; }
    .founder-bio-overlay p { font-size: 12.5px; }
    .homepage-logos { padding: 36px 0; }
}

/* ========================================
   NAV — "Try Free Tool" button
   ======================================== */
.nav-links > li > a.btn.btn-tool {
    padding: 9px 22px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    background: transparent;
    color: var(--accent-peach);
    border: 1.5px solid var(--accent-peach);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links > li > a.btn.btn-tool:hover {
    background: var(--accent-peach);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(232, 158, 108, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   TOOL BANNER — Top-of-page promo strip
   ======================================== */
.tool-banner {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(90deg,
        var(--accent-blue) 0%,
        var(--accent-lavender) 40%,
        var(--accent-rose) 70%,
        var(--accent-peach) 100%);
    border-bottom: none;
    padding: 14px 0;
    animation: bannerSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden;
}

/* Gleam sweep animation */
.tool-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    animation: bannerGleam 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bannerGleam {
    0%   { left: -60%; }
    100% { left: 160%; }
}

.tool-banner.hidden {
    display: none;
}

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

.tool-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.tool-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    position: relative;
}

.tool-banner-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tool-banner-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.tool-banner-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    position: relative;
}

.tool-banner-text strong {
    color: var(--white);
    font-weight: 700;
}

.tool-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    padding: 8px 22px;
    border: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    position: relative;
}

.tool-banner-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    color: var(--navy);
}

.tool-banner-cta svg {
    stroke: currentColor;
}

.tool-banner-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    margin-left: 12px;
    transition: color 0.2s;
    line-height: 1;
    position: relative;
}

.tool-banner-close:hover {
    color: var(--white);
}

/* Push hero down when banner is visible */
body:has(.tool-banner:not(.hidden)) .hero {
    padding-top: 210px;
}

body:has(.tool-banner:not(.hidden)) .page-hero {
    padding-top: 210px;
}

body:has(.tool-banner:not(.hidden)) .svc-hero {
    padding-top: 210px;
}

body:has(.tool-banner:not(.hidden)) .about-hero {
    padding-top: 210px;
}

body:has(.tool-banner:not(.hidden)) .res-featured {
    padding-top: 210px;
}

body:has(.tool-banner:not(.hidden)) .contact-hero {
    padding-top: 210px;
}

/* ========================================
   SEQUENCER PROMO — Homepage
   ======================================== */
.seq-promo {
    padding: 36px 0 32px;
}

.seq-promo-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, var(--bg-peach) 0%, #fff7ed 50%, var(--bg-rose) 100%);
    border: 1px solid rgba(232,158,108,0.2);
    border-radius: 14px;
    padding: 18px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.seq-promo-card:hover {
    border-color: rgba(232,158,108,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,158,108,0.12);
}

.seq-promo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(232,158,108,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-peach);
}

.seq-promo-icon svg {
    width: 22px;
    height: 22px;
}

.seq-promo-body {
    flex: 1;
    min-width: 0;
}

.seq-promo-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.seq-promo-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 2px 9px;
    border-radius: 50px;
    background: rgba(232,158,108,0.15);
    color: var(--accent-orange);
}

.seq-promo-free {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.seq-promo-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.seq-promo-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.45;
    max-width: 520px;
}

.seq-promo-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-peach);
    padding: 8px 18px;
    border: 1px solid rgba(232,158,108,0.3);
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}

.seq-promo-card:hover .seq-promo-arrow {
    background: var(--accent-peach);
    color: var(--white);
    border-color: var(--accent-peach);
}

@media (max-width: 768px) {
    .seq-promo-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }
    .seq-promo-desc { max-width: 100%; }
    .seq-promo-top { justify-content: center; }
}

/* ========================================
   SOPHIE AI PROMO — Homepage (kept for tools page reuse)
   ======================================== */
.sophie-promo {
    padding: 48px 0 0;
}

.sophie-promo-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 60%, #1e2d4a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.sophie-promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,138,219,0.06) 0%, rgba(155,127,199,0.06) 50%, rgba(212,133,154,0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.sophie-promo-card:hover {
    border-color: rgba(107,138,219,0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.sophie-promo-card:hover::before {
    opacity: 1;
}

.sophie-promo-visual {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.sophie-promo-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107,138,219,0.25) 0%, rgba(155,127,199,0.15) 50%, transparent 70%);
    animation: sophieGlow 3s ease-in-out infinite;
}

@keyframes sophieGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.sophie-promo-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(107,138,219,0.3);
}

.sophie-promo-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.sophie-promo-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sophie-promo-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(107,138,219,0.15);
    color: var(--accent-blue);
}

.sophie-promo-free {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #4ade80;
}

.sophie-promo-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.sophie-promo-role {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
}

.sophie-promo-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    margin-bottom: 14px;
    max-width: 540px;
}

.sophie-promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sophie-promo-feat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.sophie-promo-feat svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.sophie-promo-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(107,138,219,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.sophie-promo-card:hover .sophie-promo-arrow {
    background: var(--accent-blue);
    color: #fff;
    transform: translateX(4px);
}

/* Sophie Promo — responsive */
@media (max-width: 768px) {
    .sophie-promo-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }
    .sophie-promo-name {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .sophie-promo-desc {
        max-width: 100%;
    }
    .sophie-promo-features {
        justify-content: center;
    }
    .sophie-promo-arrow {
        display: none;
    }
}

/* ========================================
   FEATURED TOOL SECTION — Resources page
   ======================================== */
.featured-tool-section {
    padding: 0 0 40px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.featured-tool-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.featured-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-peach), var(--accent-rose), var(--accent-lavender));
}

.featured-tool-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 20px;
    background: var(--bg-peach);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-tool-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-peach);
}

.featured-tool-content {
    flex: 1;
}

.featured-tool-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.featured-tool-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(232, 158, 108, 0.12);
    color: var(--accent-peach);
}

.featured-tool-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.featured-tool-content > p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 640px;
}

.featured-tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.featured-tool-features span {
    padding: 5px 14px;
    background: var(--gray-50);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    border: 1px solid var(--gray-100);
}

.featured-tool-content .btn svg {
    stroke: currentColor;
}

/* ========================================
   HOMEPAGE — Latest Resources 3-col variant
   ======================================== */
.resources-preview-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
}

/* Rose icon for the tool card */
.rp-icon.rose {
    background: var(--bg-rose);
}

.rp-icon.rose svg {
    stroke: var(--accent-rose);
}

.rp-tag.rose {
    color: var(--accent-rose);
    background: var(--bg-rose);
}

/* Featured resource preview card — subtle highlight */
.featured-rp-card {
    border-color: rgba(212, 132, 154, 0.25);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 240, 243, 0.3) 100%);
}

.featured-rp-card:hover {
    border-color: transparent;
}

/* ========================================
   RESPONSIVE — New components
   ======================================== */
@media (max-width: 1024px) {
    .resources-preview-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-tool-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 36px;
    }

    .featured-tool-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .tool-banner-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tool-banner-text {
        font-size: 13px;
    }

    .tool-banner-badge {
        font-size: 9px;
        padding: 3px 10px;
    }

    body:has(.tool-banner:not(.hidden)) .hero {
        padding-top: 180px;
    }

    body:has(.tool-banner:not(.hidden)) .page-hero {
        padding-top: 180px;
    }

    body:has(.tool-banner:not(.hidden)) .svc-hero {
        padding-top: 180px;
    }

    body:has(.tool-banner:not(.hidden)) .about-hero {
        padding-top: 180px;
    }

    body:has(.tool-banner:not(.hidden)) .res-featured {
        padding-top: 180px;
    }

    body:has(.tool-banner:not(.hidden)) .contact-hero {
        padding-top: 180px;
    }

    .featured-tool-section {
        margin-top: -20px;
    }

    .featured-tool-card {
        padding: 28px;
    }

    .featured-tool-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .featured-tool-icon svg {
        width: 28px;
        height: 28px;
    }

    .featured-tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .featured-tool-header h2 {
        font-size: 22px;
    }

    .resources-preview-grid-3 {
        grid-template-columns: 1fr;
    }

    /* Mobile nav tool button */
    .nav-links.active > li > a.btn.btn-tool {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================================
   SITE ANIMATIONS — Scroll Reveals, Stagger, Hover, Parallax
   ============================================================ */

/* ---------- Base: Hidden State (before reveal) ---------- */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade.revealed {
    opacity: 1;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Stagger Children ---------- */
.stagger-child {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-child.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Hover Lift ---------- */
.hover-lift {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hover-lift:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10),
                0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

/* ---------- Hero Text Reveal ---------- */
.hero-text-reveal {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero subtitle + CTA stagger */
.hero .hero-subtitle,
.page-hero .subtitle {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero .hero-ctas {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* ---------- Logo Float (subtle breathing) ---------- */
.logo-float {
    animation: logoFloat 3s ease-in-out infinite alternate;
}
@keyframes logoFloat {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

/* ---------- Parallax SVG waves ---------- */
.section-waves,
.cta-waves {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ---------- Active nav highlight ---------- */
.nav-links a.section-active {
    color: #7B9FE8;
}

/* ---------- Reduced Motion Override ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-fade,
    .reveal-left,
    .stagger-child {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hover-lift:hover {
        transform: none !important;
    }
    .hero-text-reveal,
    .hero .hero-subtitle,
    .page-hero .subtitle,
    .hero .hero-ctas {
        animation: none !important;
        opacity: 1 !important;
    }
    .logo-float {
        animation: none !important;
    }
}
