/*
Theme Name: Sunny HQ
Theme URI: https://sunnyhq.io
Author: Sunny HQ
Description: Human-First WordPress theme for Sunny HQ
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: sunny-hq
*/

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Brand Colors */
    --navy: #020051;
    --navy-90: #1a1a6b;
    --navy-70: #33338a;
    --navy-50: #8180a8;
    --navy-30: #b3b3cc;
    --navy-10: #e8e8f0;
    --navy-05: #f4f4f8;
    --coral: #FF6048;
    --coral-hover: #e8553e;
    --coral-bg: #fff5f3;
    --deep-purple: #6248FF;
    --purple-bg: #f5f3ff;
    --white: #fff;
    --gradient: linear-gradient(135deg, #ff7448, #ff6048, #ff4848, #6248ff);

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;

    /* Semantic */
    --success: #059669;

    /* Typography */
    --font-h: 'Source Serif 4', 'Georgia', serif;
    --font-ui: 'DM Sans', sans-serif;
    --font-b: 'DM Sans', sans-serif;

    /* Layout */
    --max-w: 1200px;
    --max-w-wide: 1400px;
    --section-pad: 7rem;

    /* Borders */
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
}

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

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

body {
    font-family: var(--font-b);
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
}

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

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

/* ============================================
   Layout Containers
   ============================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    padding: .9rem 2.2rem;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    letter-spacing: .01em;
}

.btn-coral {
    background: var(--coral);
    color: #fff;
}

.btn-coral:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 96, 72, .3);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-90);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

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

.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

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

.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--coral);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 0;
}

.btn-ghost::after {
    content: '\2192';
    transition: transform .2s;
}

.btn-ghost:hover::after {
    transform: translateX(4px);
}

.btn-white {
    background: #fff;
    color: var(--navy);
    border: none;
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

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

/* ============================================
   Icon Boxes
   ============================================ */
.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.icon-box svg {
    width: 26px;
    height: 26px;
}

.icon-box-coral {
    background: var(--coral-bg);
}

.icon-box-coral svg {
    stroke: var(--coral);
}

.icon-box-purple {
    background: var(--purple-bg);
}

.icon-box-purple svg {
    stroke: var(--deep-purple);
}

.icon-box-navy {
    background: var(--navy-10);
}

.icon-box-navy svg {
    stroke: var(--navy);
}

.icon-box-dark {
    background: rgba(255, 96, 72, .1);
}

.icon-box-dark svg {
    stroke: var(--coral);
}

/* ============================================
   Promo Strip (above navigation)
   ============================================ */
.promo-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 44px;
    background: linear-gradient(135deg, #FF6048 0%, #FF8A65 50%, #FF6048 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    overflow: hidden;
}

.promo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.promo-strip-text {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.promo-strip-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    margin-left: 8px;
    transition: text-decoration-thickness 0.2s ease;
}

.promo-strip-link:hover {
    text-decoration-thickness: 2px;
}

.promo-strip-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 20px;
    line-height: 1;
}

.promo-strip-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Lens flare animation */
.promo-strip-flare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 55%
    );
    animation: promo-flare 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes promo-flare {
    0% { transform: translateX(-150%); }
    30% { transform: translateX(150%); }
    100% { transform: translateX(150%); }
}

/* Hide promo strip when dismissed */
.promo-strip.dismissed {
    display: none;
}

@media (max-width: 768px) {
    .promo-strip {
        height: 40px;
        padding: 0 40px 0 16px;
    }

    .promo-strip-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   Floating Navigation
   ============================================ */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 24px 0;
    transition: padding 0.3s ease, top 0.3s ease;
}

/* Admin bar offset */
body.admin-bar .nav-wrapper {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .nav-wrapper {
        top: 46px;
    }
}

.nav-wrapper.scrolled {
    padding: 10px 24px 0;
}

.nav-bar {
    max-width: 1280px;
    margin: 0 auto;
    /* DARK STATE: frosted navy glass (default, on dark hero) */
    background: rgba(20, 15, 90, 0.40);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

/* White frost haze layer */
.nav-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
}

/* Gradient accent line at bottom of nav */
.nav-bar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 32px;
    right: 32px;
    height: 2px;
    background: var(--gradient, linear-gradient(135deg, #ff7448, #ff6048, #ff4848, #6248ff));
    border-radius: 0 0 2px 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-wrapper.scrolled .nav-bar::after {
    opacity: 1;
}

/* SCROLLED STATE: purer blue frosted glass, high opacity to dominate over white bleed-through */
.nav-wrapper.scrolled .nav-bar {
    border-radius: 16px;
    background: rgba(30, 40, 120, 0.85);
    backdrop-filter: blur(26px) saturate(200%);
    -webkit-backdrop-filter: blur(26px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Logo — swap between dark and light versions */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.nav-logo-dark,
.nav-logo-light {
    height: 32px;
    width: auto;
    transition: opacity 0.4s ease;
}

/* Dark bar state (default, on hero): show light logo (white text) */
.nav-logo-dark {
    opacity: 0;
    position: absolute;
    left: 0;
}

.nav-logo-light {
    opacity: 1;
    position: relative;
}

/* Logo stays light/white in all states since nav is always dark glass */

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-family: var(--font-h);
    font-size: 0.95rem;
    font-weight: 500;
    /* Dark bar state (default): light text */
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Nav links stay white in all states since nav is always dark glass */

.nav-link .chevron {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-link:hover .chevron,
.nav-link.active .chevron {
    opacity: 0.8;
    transform: rotate(180deg);
}

/* Right side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.nav-phone {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    /* Dark bar state (default): light text */
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.4s ease;
    white-space: nowrap;
}

.nav-phone:hover {
    color: #fff;
}

/* Support link in nav (replaces phone) */
.nav-support-link {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.4s ease;
    white-space: nowrap;
}

.nav-support-link:hover {
    color: #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--coral);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--coral-hover, #e84e38);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 96, 72, 0.35);
}

/* Nav Center - contains links and inline search */
.nav-center {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Search Trigger */
.nav-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Dark bar state (default): white icon */
    color: #fff;
}

.nav-search-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Search trigger stays white in all states since nav is always dark glass */

.nav-search-trigger svg {
    stroke: currentColor;
}

/* Hide nav links when search is active */
.nav-search-active .nav-links,
.nav-search-active .nav-phone {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Inline Search (Kinsta-style) */
.nav-inline-search {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    overflow: hidden;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease;
    z-index: 10;
    border-radius: 12px;
    /* Transparent when inactive - no artifacts */
    background: transparent;
    border: none;
}

/* Dark bar state (default): dark search background when ACTIVE */
.nav-inline-search.active {
    width: 100%;
    background: rgba(2, 0, 81, 0.95);
}

/* Scrolled state uses same dark search background since nav is always dark glass */

.nav-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.25s ease 0.1s, transform 0.25s ease 0.1s;
}

.nav-inline-search.active .nav-search-form {
    opacity: 1;
    transform: translateX(0);
}

.nav-search-icon {
    position: absolute;
    left: 12px;
    pointer-events: none;
    flex-shrink: 0;
}

/* Dark bar state (default): light icon */
.nav-wrapper:not(.scrolled) .nav-search-icon {
    stroke: rgba(255, 255, 255, 0.5);
}

/* Search icon always white on blue glass */

#navSearchInput {
    width: 100%;
    padding: 10px 12px 10px 44px;
    font-family: var(--font-ui, 'DM Sans', sans-serif);
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

/* Search input always on blue glass - white text */
#navSearchInput {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#navSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#navSearchInput:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--coral, #FF6048);
}

.nav-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease 0.15s, transform 0.2s ease 0.15s, background 0.2s ease;
    color: #fff; /* Always white on blue glass */
}

.nav-inline-search.active .nav-search-close {
    opacity: 1;
    transform: scale(1);
}

.nav-search-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-search-close svg {
    stroke: currentColor;
}

/* Mobile toggle (hidden on desktop) */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    /* Dark bar state (default): white hamburger */
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile toggle always white on blue glass (scrolled state removed) */

/* When mobile menu is open, hamburger should be white (X icon on navy bg) */
body.mobile-menu-open .nav-mobile-toggle span {
    background: #fff;
}

/* ============================================
   Mega Menu Panel
   ============================================ */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mega-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mega-menu {
    position: fixed;
    top: 88px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    max-width: 1120px;
    width: calc(100% - 48px);
    background: rgba(30, 40, 120, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Invisible bridge to prevent hover gap between nav and menu */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -50px;
    right: -50px;
    height: 35px;
    background: transparent;
    pointer-events: auto;
}

/* Gradient accent line at bottom of mega menu */
.mega-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: var(--gradient, linear-gradient(135deg, #ff7448, #ff6048, #ff4848, #6248ff));
    border-radius: 3px 3px 0 0;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 280px;
    gap: 0;
    padding: 40px;
}

.mega-col {
    padding-right: 40px;
}

.mega-col:last-child {
    padding-right: 0;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-col-title {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 20px;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    margin: 0 -14px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.mega-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mega-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-item-icon.coral { background: rgba(255, 96, 72, 0.12); color: var(--coral); }
.mega-item-icon.purple { background: rgba(98, 72, 255, 0.12); color: var(--deep-purple); }
.mega-item-icon.navy { background: rgba(255, 255, 255, 0.06); color: var(--navy-30); }

.mega-item-icon svg {
    stroke: currentColor;
}

.mega-item-text h4 {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.mega-item-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Featured card in mega menu */
.mega-featured {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 20px;
    margin-top: 8px;
}

.mega-featured-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral);
    background: rgba(255, 96, 72, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.mega-featured h4 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.mega-featured p {
    font-size: 0.82rem;
    color: var(--navy-50);
    line-height: 1.5;
    margin-bottom: 16px;
}

.mega-featured-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--coral);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.mega-featured-link:hover {
    gap: 10px;
}

/* Mega Menu Contact Strip */
.mega-menu-contact-strip {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

.mega-menu-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-contact-item svg {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.mega-menu-contact-item a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.mega-menu-contact-item a:hover {
    color: #fff;
}

/* Dropdown Contact Strip (for simple dropdowns) */
.dropdown-contact-strip {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.dropdown-contact-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ============================================
   Simple Dropdown (for non-mega items)
   ============================================ */
.dropdown {
    position: fixed;
    top: 88px;
    background: rgba(30, 40, 120, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Invisible bridge to prevent hover gap between nav and dropdown */
.dropdown::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    height: 35px;
    background: transparent;
    pointer-events: auto;
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient, linear-gradient(135deg, #ff7448, #ff6048, #ff4848, #6248ff));
    border-radius: 2px;
}

.dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* ============================================
   Mobile Menu
   ============================================ */
body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 100px 24px 40px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-section {
    margin-bottom: 32px;
}

.mobile-menu-title {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
}

.mobile-menu-section a {
    display: block;
    padding: 10px 0;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-section a:hover {
    color: #fff;
}

.mobile-menu-link-primary {
    font-family: var(--font-h);
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #fff !important;
}

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

.mobile-support-link {
    display: block;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: var(--coral);
    text-decoration: none;
    margin-bottom: 12px;
}

.mobile-support-link:hover {
    color: #fff;
}

.mobile-phone {
    display: block;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
}

.mobile-contact-link {
    display: block;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: var(--coral);
    text-decoration: none;
    margin-bottom: 20px;
}

.mobile-contact-link:hover {
    color: #fff;
}

/* Mobile Menu Accordion */
.mobile-accordion .mobile-menu-links {
    display: none;
    padding-left: 0;
}

.mobile-accordion.open .mobile-menu-links {
    display: block;
}

.mobile-accordion .mobile-menu-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-accordion .mobile-menu-title::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--coral);
    transition: transform 0.2s ease;
}

.mobile-accordion.open .mobile-menu-title::after {
    content: '−';
}

.mobile-accordion .mobile-menu-links a {
    padding-left: 12px;
}

.mobile-menu-primary-links {
    margin-bottom: 16px;
}

.mobile-menu-primary-links .mobile-menu-link-primary {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile toggle active state */
.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Responsive Navigation
   ============================================ */
@media (max-width: 1024px) {
    .nav-links,
    .nav-phone {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-bar {
        padding: 0 20px;
    }

    .mega-menu,
    .dropdown {
        display: none;
    }
}

/* Mobile Header (768px and below) */
@media (max-width: 768px) {
    .nav-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
    }

    .nav-logo img {
        height: 28px;
    }

    /* Hide nav-center on mobile - links are in mobile menu */
    .nav-center {
        display: none;
    }

    /* Hide search trigger on mobile - search is in mobile menu */
    .nav-search-trigger {
        display: none;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0;
    }

    /* Compact CTA button on mobile */
    .nav-cta {
        font-size: 13px;
        padding: 8px 16px;
        white-space: nowrap;
    }

    .nav-mobile-toggle {
        margin-left: 0;
    }
}

/* Mobile Search in Menu */
.mobile-search {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.mobile-search-form input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 16px;
    color: #fff;
}

.mobile-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mobile-search-form input:focus {
    outline: none;
    border-color: var(--coral);
    background: rgba(255, 255, 255, 0.12);
}

/* Tighter Mobile Menu Sections */
@media (max-width: 768px) {
    .mobile-menu-section {
        margin-bottom: 20px;
    }

    .mobile-menu-title {
        margin-top: 20px;
        margin-bottom: 8px;
        padding-bottom: 0;
    }

    .mobile-menu-section:first-of-type .mobile-menu-title {
        margin-top: 0;
    }

    .mobile-menu-section a {
        padding: 8px 0;
        font-size: 15px;
    }

    .mobile-menu-cta {
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-support-link,
    .mobile-phone {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 20px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 32px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-brand img {
        margin: 0 auto;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand-phone {
        display: block;
        text-align: center;
    }

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

    .footer-col {
        margin-bottom: 24px;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 8px;
    }

    .footer-col a {
        padding: 6px 0;
    }

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

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 600px;
    background: var(--navy);
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding-bottom: 6rem;
    /* padding-top set dynamically by JS to clear fixed nav */
}

.hero-arcs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-label {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--coral);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.hero-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--coral);
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(3.25rem, 5.5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, #ff7448, #ff6048, #ff4848, #6248ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--navy-50);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-metric {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1.25rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-full);
}

.hero-metric-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.hero-metric span {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
}

.hero-metric strong {
    color: #fff;
    font-weight: 700;
}

.hero-photo {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-photo::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border: 40px solid rgba(255, 96, 72, .15);
    border-radius: 50%;
    pointer-events: none;
}

.ph-icon {
    font-size: 2.5rem;
    opacity: .2;
}

.ph-label {
    font-family: var(--font-ui);
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .2);
    text-align: center;
    padding: 0 1.5rem;
    line-height: 1.4;
}

.ph-label-light {
    color: var(--gray-400);
}

/* ============================================
   Trust Bar
   ============================================ */
.trust {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    position: relative;
    z-index: 2;
}

.trust .container-wide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.trust-label {
    font-family: var(--font-ui);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gray-400);
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
}

.trust-logos-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trust-logos-wrapper::-webkit-scrollbar {
    display: none;
}

.trust-logos-track {
    display: flex;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
    justify-content: center;
}

/* Hide duplicate logos on desktop */
.trust-logos-duplicate {
    display: none;
}

.trust-logo {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-300);
    white-space: nowrap;
}

.trust-logo-link {
    display: inline-flex;
    text-decoration: none;
}

.trust-logo-img {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.trust-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile marquee animation */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .trust {
        padding: 2rem 0;
    }

    .trust .container-wide {
        flex-direction: column;
        gap: 1.25rem;
        padding: 0;
    }

    /* trust-label inherits text-align: center from desktop */

    .trust-logos-wrapper {
        width: 100%;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .trust-logos-track {
        animation: scroll-logos 35s linear infinite;
        width: max-content;
    }

    .trust-logos-track:hover {
        animation-play-state: paused;
    }

    .trust-logos {
        flex-wrap: nowrap;
        gap: 2.5rem;
        padding: 0 1.25rem;
    }

    .trust-logos-duplicate {
        display: flex;
    }

    .trust-logo-img {
        height: 28px;
        width: auto;
        min-width: 80px;
        max-width: 100px;
    }
}

/* ============================================
   Section Typography
   ============================================ */
.section-label {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--coral);
    margin-bottom: .75rem;
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 600px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--navy-70);
    line-height: 1.7;
    max-width: 560px;
}

/* ============================================
   Promise Cards
   ============================================ */
.promise {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.promise-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

.promise-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 12px 48px rgba(2, 0, 81, .06);
    transform: translateY(-3px);
}

.promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity .3s;
}

.promise-card:nth-child(1)::before {
    background: var(--coral);
}

.promise-card:nth-child(2)::before {
    background: var(--deep-purple);
}

.promise-card:nth-child(3)::before {
    background: var(--navy);
}

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

.promise-card h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: .75rem;
}

.promise-card p {
    font-size: 1rem;
    color: var(--navy-70);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.promise-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.promise-features li {
    font-size: .9rem;
    color: var(--navy-70);
    padding: .45rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.promise-features li::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
    font-size: .8rem;
}

/* ============================================
   Solutions
   ============================================ */
.solutions {
    padding: var(--section-pad) 0;
    background: var(--navy-05);
    position: relative;
    overflow: hidden;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all .35s ease;
    overflow: hidden;
}

.solution-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 12px 48px rgba(2, 0, 81, .06);
    transform: translateY(-3px);
}

.solution-card-photo {
    aspect-ratio: 16/9;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.solution-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-card-body {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.solution-card h3 {
    font-family: var(--font-h);
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.solution-card p {
    font-size: 1rem;
    color: var(--navy-70);
    line-height: 1.65;
    flex: 1;
}

.solution-card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(2, 0, 81, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.solution-price {
    font-family: var(--font-ui);
    font-size: .8rem;
    color: var(--navy-50);
    white-space: nowrap;
}

.solution-price strong {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.solution-card-footer .btn-ghost {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   Difference Section
   ============================================ */
.difference {
    padding: var(--section-pad) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.difference-arc {
    position: absolute;
    pointer-events: none;
}

.difference-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.difference-statement h2 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.difference-statement h2 em {
    font-style: italic;
    color: var(--coral);
}

.difference-statement > p {
    font-size: 1.1rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 440px;
}

.difference-photo {
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
}

.difference-photo::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border: 35px solid rgba(255, 96, 72, .12);
    border-radius: 50%;
    pointer-events: none;
}

.difference-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.diff-point {
    background: var(--navy-05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all .3s;
}

.diff-point:hover {
    box-shadow: 0 8px 32px rgba(2, 0, 81, .05);
    transform: translateY(-2px);
}

.diff-point-number {
    font-family: var(--font-h);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--coral), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .5rem;
}

.diff-point h4 {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.diff-point p {
    font-size: .85rem;
    color: var(--navy-50);
    line-height: 1.5;
}

/* ============================================
   Platform Tools
   ============================================ */
.tools {
    padding: var(--section-pad) 0;
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 4rem;
}

.tool-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all .3s;
}

.tool-card:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-2px);
}

.tool-card h4 {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: #fff;
}

.tool-card p {
    font-size: .9rem;
    color: var(--navy-30);
    line-height: 1.55;
}

/* ============================================
   Testimonial / Proof
   ============================================ */
.proof {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.proof-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.proof-quote {
    font-family: var(--font-h);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--navy);
    margin-bottom: 2.5rem;
    position: relative;
}

.proof-quote::before {
    content: '\201C';
    font-family: var(--font-h);
    font-size: 6rem;
    font-weight: 700;
    color: var(--coral);
    opacity: .12;
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.proof-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}

.proof-name {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
}

.proof-title {
    font-size: .9rem;
    color: var(--navy-50);
}

/* ============================================
   Migration & Guarantee
   ============================================ */
.migrate {
    padding: 5rem 0;
    background: var(--navy-05);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.migrate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.migrate-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.migrate-card h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.migrate-card p {
    font-size: 1rem;
    color: var(--navy-70);
    line-height: 1.65;
}

.migrate-card p a {
    color: var(--coral);
    text-decoration: underline;
    text-decoration-color: rgba(255, 96, 72, 0.4);
    transition: text-decoration-color 0.2s ease;
}

.migrate-card p a:hover {
    text-decoration-color: var(--coral);
}

.migrate-card strong {
    color: var(--navy);
}

.migrate-card p a strong {
    color: inherit;
}

/* ============================================
   How It Works
   ============================================ */
.how {
    padding: var(--section-pad) 0;
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.how-step {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all .3s;
}

.how-step:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-3px);
}

.how-number {
    font-family: var(--font-ui);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--coral);
    margin-bottom: 1.5rem;
}

.how-step h3 {
    font-family: var(--font-h);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: #fff;
}

.how-step p {
    font-size: .95rem;
    color: var(--navy-30);
    line-height: 1.65;
}

/* ============================================
   Human First Section
   ============================================ */
.human {
    padding: var(--section-pad) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.human-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: center;
}

.human-content h2 {
    font-family: var(--font-h);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.human-content h2 em {
    font-style: italic;
    color: var(--coral);
}

.human-content p {
    font-size: 1.1rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.human-content p:last-of-type {
    margin-bottom: 2rem;
}

.human-photo {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
}

.human-photo::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 160px;
    height: 160px;
    border: 30px solid rgba(98, 72, 255, .1);
    border-radius: 50%;
    pointer-events: none;
}

.human-photo-figure {
    margin: 0;
}

.human-photo-caption {
    font-family: var(--font-ui);
    font-size: .875rem;
    color: var(--gray-500, #6b7280);
    text-align: center;
    margin-top: .75rem;
}

/* ============================================
   Floating CTA
   ============================================ */
.cta-float {
    padding: 5rem 0;
    background: var(--white);
}

.cta-float-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #ff7448, #ff6048, #ff4848, #6248ff);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-float-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.cta-float h2 {
    font-family: var(--font-h);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-float-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy);
    padding: 0;
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #ff7448, #ff6048, #ff4848, #6248ff);
}

.footer-main {
    padding: 5rem 0 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 1rem;
    color: var(--navy-50);
    line-height: 1.7;
    max-width: 300px;
}

.footer-brand-phone {
    display: block;
    margin-top: 1.25rem;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    transition: color .2s;
}

.footer-brand-phone:hover {
    color: var(--coral);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--coral);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-col h4 {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    font-size: .95rem;
    color: var(--navy-30);
    padding: .45rem 0;
    transition: color .2s;
    line-height: 1.3;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: .85rem;
    color: var(--navy-50);
    line-height: 1.5;
    max-width: 700px;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: .85rem;
    color: var(--navy-50);
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        display: flex;
        max-width: 500px;
        margin: 1rem auto 0;
    }

    .promise-grid,
    .solutions-grid,
    .tools-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .difference-grid,
    .human-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .how-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

@media (max-width: 640px) {
    :root {
        --section-pad: 4rem;
    }

    .nav-links {
        display: none;
    }

    .difference-points {
        grid-template-columns: 1fr;
    }

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

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

    .cta-float-inner {
        padding: 3rem 2rem;
    }
}

/* ============================================
   Page Template
   ============================================ */
.page-content {
    padding: calc(76px + var(--section-pad)) 0 var(--section-pad);
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--navy);
}

.page-body {
    max-width: 800px;
}

.page-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--navy-70);
    margin-bottom: 1.5rem;
}

.page-body h2 {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.page-body h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    color: var(--navy);
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--navy-70);
    margin-bottom: .5rem;
}

.page-body a {
    color: var(--coral);
    text-decoration: underline;
    text-decoration-color: rgba(255, 96, 72, .3);
    transition: text-decoration-color .2s;
}

.page-body a:hover {
    text-decoration-color: var(--coral);
}

.page-body img {
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.page-body blockquote {
    border-left: 4px solid var(--coral);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--navy-70);
}

/* ============================================
   Single Post Template
   ============================================ */
.single-post {
    /* padding-top set dynamically by JS to clear fixed nav */
}

.post-header {
    padding: 4rem 0 3rem;
    background: var(--navy-05);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-category {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--coral);
}

.post-date {
    font-family: var(--font-ui);
    font-size: .85rem;
    color: var(--navy-50);
}

.post-title {
    font-family: var(--font-h);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1rem;
    max-width: 800px;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--navy-70);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 2rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.post-author-info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.post-author-name {
    font-family: var(--font-ui);
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
}

.post-read-time {
    font-family: var(--font-ui);
    font-size: .85rem;
    color: var(--navy-50);
}

.post-featured-image {
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.post-featured-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    padding: 3rem 0;
}

.post-body {
    max-width: 700px;
}

.post-body p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--navy-70);
    margin-bottom: 1.75rem;
}

.post-body h2 {
    font-family: var(--font-h);
    font-size: 1.85rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.post-body h3 {
    font-family: var(--font-h);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    color: var(--navy);
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.post-body li {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--navy-70);
    margin-bottom: .5rem;
}

.post-body a {
    color: var(--coral);
    text-decoration: underline;
    text-decoration-color: rgba(255, 96, 72, .3);
    transition: text-decoration-color .2s;
}

.post-body a:hover {
    text-decoration-color: var(--coral);
}

.post-body img {
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.post-body blockquote {
    border-left: 4px solid var(--coral);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--navy-70);
}

.post-body pre {
    background: var(--navy);
    color: var(--navy-30);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 2rem 0;
    font-size: .9rem;
    line-height: 1.6;
}

.post-body code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: .9em;
    background: var(--navy-05);
    padding: .15em .4em;
    border-radius: 4px;
}

.post-body pre code {
    background: none;
    padding: 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.post-tags-label {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy-50);
}

.post-tag {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 500;
    color: var(--navy-70);
    background: var(--navy-05);
    padding: .35rem .75rem;
    border-radius: var(--radius-full);
    transition: all .2s;
}

.post-tag:hover {
    background: var(--navy-10);
    color: var(--navy);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share-label {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy-50);
}

.post-share-link {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 500;
    color: var(--navy-70);
    transition: color .2s;
}

.post-share-link:hover {
    color: var(--coral);
}

.post-navigation {
    padding: 3rem 0;
    background: var(--navy-05);
}

.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all .3s;
}

.post-nav-link:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 16px rgba(2, 0, 81, .06);
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--coral);
}

.post-nav-title {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

.post-nav-empty {
    visibility: hidden;
}

.post-comments {
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}

/* Post template responsive */
@media (max-width: 768px) {
    .post-nav-grid {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: left;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

/* Search Hero */
.search-hero {
    background: var(--navy);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.search-hero-arcs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.search-hero-arcs .arc {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.search-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
}

.search-hero-query {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--navy-30);
    margin-bottom: 2rem;
}

.search-hero-query strong {
    color: #fff;
}

.search-hero-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Search Form */
.search-form {
    width: 100%;
}

.search-form-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    font-family: var(--font-ui);
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--navy);
    outline: none;
    transition: box-shadow .2s;
}

.search-form-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 96, 72, .3);
}

.search-form-input::placeholder {
    color: var(--navy-50);
}

.search-form-submit {
    position: absolute;
    right: .75rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.search-form-submit:hover {
    background: var(--coral-hover);
    transform: scale(1.05);
}

.search-form-submit svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* Search Results Section */
.search-results-section {
    background: var(--warm-bg, #F8F7F4);
    padding: 4rem 0;
    min-height: 50vh;
}

.search-results-meta {
    margin-bottom: 2rem;
}

.search-results-count {
    font-family: var(--font-ui);
    font-size: .9rem;
    color: var(--navy-50);
}

/* Search Results List */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Search Result Item */
.search-result-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: box-shadow .2s, transform .15s;
}

.search-result-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.search-result-header {
    margin-bottom: .75rem;
}

.search-result-type {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--coral);
    background: rgba(255, 96, 72, .1);
    padding: .25rem .625rem;
    border-radius: var(--radius-sm);
}

.search-result-title {
    font-family: var(--font-h);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.search-result-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color .2s;
}

.search-result-title a:hover {
    color: var(--coral);
}

.search-result-excerpt {
    font-family: var(--font-ui);
    font-size: .95rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin-bottom: .75rem;
}

.search-result-excerpt mark {
    background: rgba(255, 96, 72, .15);
    color: var(--coral);
    padding: 0 .125rem;
    border-radius: 2px;
}

.search-result-url {
    font-family: var(--font-ui);
    font-size: .8rem;
    color: var(--navy-50);
    word-break: break-all;
}

/* Search Pagination */
.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.search-pagination a,
.search-pagination span {
    font-family: var(--font-ui);
    font-size: .9rem;
    padding: .5rem 1rem;
    border-radius: var(--radius-md);
    transition: all .2s;
}

.search-pagination a {
    color: var(--navy);
    background: #fff;
    text-decoration: none;
    border: 1px solid var(--gray-200);
}

.search-pagination a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.search-pagination .current {
    background: var(--coral);
    color: #fff;
    border: 1px solid var(--coral);
}

.search-pagination .dots {
    color: var(--navy-50);
    background: transparent;
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--navy-30);
}

.search-no-results-icon svg {
    width: 100%;
    height: 100%;
}

.search-no-results h2 {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .75rem;
}

.search-no-results > p {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.search-no-results strong {
    color: var(--navy);
}

.search-no-results-form {
    max-width: 400px;
    margin: 0 auto 3rem;
}

.search-no-results-form .search-form-input {
    border: 1px solid var(--gray-200);
}

.search-quick-links {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.search-quick-links h3 {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--navy-50);
    margin-bottom: 1.25rem;
}

.search-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.search-quick-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--navy);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: .95rem;
    font-weight: 500;
    transition: all .2s;
}

.search-quick-link:hover {
    border-color: var(--coral);
    color: var(--coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.search-quick-link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-quick-link-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* Search Page Responsive */
@media (max-width: 768px) {
    .search-hero {
        padding: 6rem 0 3rem;
    }

    .search-results-section {
        padding: 2rem 0 3rem;
    }

    .search-result-item {
        padding: 1.25rem;
    }

    .search-result-title {
        font-size: 1.15rem;
    }

    .search-quick-links-grid {
        grid-template-columns: 1fr;
    }

    .search-no-results h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.25rem;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 10vw, 3.25rem);
        line-height: 1.1;
    }

    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .hero-photo {
        display: flex;
        margin-top: 1rem;
    }

    /* Page Hero */
    .page-hero-content {
        max-width: 100%;
        padding: 0 1.25rem;
    }

    .page-hero h1 {
        font-size: clamp(2.25rem, 9vw, 2.75rem);
        line-height: 1.1;
    }

    /* Feature Grids */
    .feature-grid,
    .features-grid,
    .audit-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Stats Rows */
    .stats-row,
    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow: hidden;
    }

    .stat-card {
        padding: 1.25rem;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Promise Cards */
    .promise-grid {
        grid-template-columns: 1fr;
    }

    /* Solution Cards */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonial Cards */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Sections */
    .cta-float-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cta-float-actions .btn {
        width: 100%;
    }

    /* Contact Page */
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Support Page */
    .support-cards-grid {
        grid-template-columns: 1fr;
    }

    .support-form-card {
        padding: 1.5rem;
    }

    /* Pricing Page */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-toggle {
        flex-direction: row;
        justify-content: center;
    }

    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table table {
        min-width: 600px;
    }

    /* Speed Audit Page */
    .audit-hero-content {
        padding: 0 1.25rem;
    }

    .audit-preview-grid,
    .audit-why-grid {
        grid-template-columns: 1fr;
    }

    .audit-steps-grid {
        grid-template-columns: 1fr;
    }

    /* SEOOptimer Form Mobile */
    .speed-audit-form-wrapper {
        padding: 0 1rem;
    }

    #so-fieldswrapso1756393272 {
        width: 100% !important;
    }

    /* Inner Page Content Sections */
    .content-section-grid {
        grid-template-columns: 1fr;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-card {
        margin-bottom: 1.5rem;
    }

    /* Buttons - ensure tap targets */
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    /* Container padding */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Section padding */
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 16px;
    }

    /* Trusted By Logos - horizontal scroll */
    .trust-logos {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        flex-wrap: nowrap;
    }

    .trust-logos img {
        flex-shrink: 0;
    }
}

/* Extra small screens (375px and below) */
@media (max-width: 375px) {
    .nav-cta {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stats-row,
    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}
