/* ============================================================
   VNS Freight — Concept 9: Mega Global Corporate
   A complete, premium design system.
   Sky Blue / Deep Navy / Rounded / Friendly / Enterprise.
   ============================================================ */

/* --- Design Tokens --- */
:root {
    /* Primary Palette */
    --primary: #0066FF;
    --primary-dark: #0050CC;
    --primary-light: #E8F1FF;
    --primary-glow: rgba(0, 102, 255, 0.12);

    /* Navy for text and dark backgrounds */
    --navy: #0A2540;
    --navy-light: #163A5F;

    /* Warm accent (used sparingly) */
    --accent: #FF8C00;
    --accent-light: #FFA733;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F7F9FC;
    --gray-100: #EEF2F7;
    --gray-200: #DCE3ED;
    --gray-300: #B8C4D6;
    --gray-400: #8896AB;
    --gray-500: #5E6E82;
    --gray-600: #3E4C5E;
    --gray-700: #2C3A4B;
    --gray-800: #1A2636;

    /* Functional */
    --green: #00C48C;
    --red: #FF4757;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --text-base: 1rem;
    --text-sm: 0.875rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;

    /* Spacing & Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(10, 37, 64, 0.06);
    --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.1);
    --shadow-xl: 0 24px 56px rgba(10, 37, 64, 0.14);

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.75;
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: var(--text-3xl);
    margin-bottom: 1.25rem;
}

h2 {
    font-size: var(--text-2xl);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

h3 {
    font-size: var(--text-xl);
    margin: 2rem 0 0.75rem;
    color: var(--primary);
}

h4 {
    font-size: var(--text-lg);
    margin: 1.5rem 0 0.5rem;
}

p {
    margin-bottom: 1.125rem;
}

strong {
    color: var(--navy);
}

/* ============================================================
   SITE HEADER / NAVIGATION
   ============================================================ */
.site-header {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

/* Logo — V&S in navy, Freight in primary blue */
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.logo span {
    color: var(--primary) !important;
}

.logo:hover {
    color: var(--navy) !important;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
}

.nav-links li a {
    padding: 0.5rem 0.85rem;
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.nav-links li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* Header CTA */
.header-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: var(--radius-full) !important;
    font-size: var(--text-sm) !important;
    transition: all var(--duration) var(--ease) !important;
}

.header-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.85rem 2rem;
    font-size: var(--text-sm);
    color: var(--gray-400);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs span {
    margin: 0 0.35rem;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
    width: 100%;
    min-height: 480px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 10;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image-fit {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: block;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--duration) var(--ease);
}

.hero-image-fit:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-title {
    color: var(--white);
    font-size: var(--text-3xl);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 1.5rem 0 0;
}

.hero-large {
    min-height: 560px;
}

.hero-large .hero-title {
    font-size: var(--text-4xl);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
    font-weight: 400;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.9rem 2.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.hero-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
}

.hero-fallback {
    min-height: 220px;
    background: linear-gradient(135deg, var(--navy), var(--primary-dark));
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-fallback .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
}

.hero-fallback .hero-title::after {
    margin: 1rem auto 0;
}

.hero-fallback .hero-visual {
    display: none;
}

/* ============================================================
   CONTENT IMAGES (inline in articles)
   ============================================================ */
.content-image {
    margin: 2rem auto;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.content-image:hover img {
    transform: scale(1.03);
}

/* ============================================================
   BLOG / RESOURCES INDEX GRID
   ============================================================ */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.index-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-xs);
    transition: all var(--duration) var(--ease);
}

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

.index-card h3 {
    font-size: var(--text-lg);
    margin: 0 0 0.5rem;
}

.index-card h3 a {
    color: var(--navy);
}

.index-card h3 a:hover {
    color: var(--primary);
}

.index-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.read-more {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

/* ============================================================
   CONTENT LAYOUT
   ============================================================ */
.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

.content-main {
    min-width: 0;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.content-main ul,
.content-main ol {
    margin: 0 0 1.25rem 1.5rem;
}

.content-main li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-main blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--gray-700);
    font-style: italic;
}

.content-main hr {
    border: none;
    border-top: 2px solid var(--gray-200);
    margin: 2.5rem 0;
}

.content-main code {
    background: var(--primary-light);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9em;
    color: var(--primary-dark);
}

.content-main pre {
    background: var(--navy);
    color: var(--gray-200);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 2rem 0;
}

.content-main pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ============================================================
   TABLES
   ============================================================ */
.content-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-200);
}

.content-main thead {
    background: var(--navy);
    color: var(--white);
}

.content-main th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-main td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.content-main tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.content-main tbody tr:hover {
    background: var(--primary-light);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--duration) var(--ease);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: var(--text-base);
    margin-bottom: 1rem;
    color: var(--navy);
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 0.25rem;
}

.sidebar-card li a {
    font-size: var(--text-sm);
    display: block;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    color: var(--gray-600);
}

.sidebar-card li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 1rem;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    text-align: center;
}

.cta-card h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.cta-card .phone {
    display: block;
    margin-top: 0.75rem;
    color: var(--white);
    font-size: var(--text-lg);
    font-weight: 700;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--duration) var(--ease);
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

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

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: var(--gray-400);
    margin-top: 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
    color: var(--white) !important;
}

.footer-brand .logo span {
    color: var(--primary) !important;
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-brand a {
    color: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--gray-400);
    font-size: var(--text-sm);
    transition: all var(--duration) var(--ease);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--gray-400);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title::after {
        margin: 1rem auto;
    }

    .hero-large .hero-title {
        font-size: var(--text-3xl);
    }

    .content-image img {
        max-width: 100%;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }


    .content-main {
        padding: 2rem;
    }

    .sidebar {
        position: static;
    }

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

    h1 {
        font-size: var(--text-2xl);
    }

    .trust-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 0.75rem 1rem;
        width: 100%;
        color: var(--gray-700);
    }

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

    .hero-large .hero-title {
        font-size: var(--text-2xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }


    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    h1 {
        font-size: 1.75rem;
    }

    .content-wrapper {
        padding: 1.5rem 1rem;
    }

    .content-main {
        padding: 1.5rem;
    }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {

    .site-header,
    .sidebar,
    .site-footer,
    .breadcrumbs {
        display: none;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .content-main {
        box-shadow: none;
        border: none;
        padding: 0;
    }

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* ============================================================
   TRUST METRICS (Animated Counters)
   ============================================================ */
.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.trust-metric h3 {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.35rem;
    line-height: 1;
    border: none;
    padding: 0;
}

.trust-metric p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
    margin: 0;
}

/* =================================================================
   FLOATING CTA BUTTON
   ================================================================= */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: var(--text-sm);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(16,185,129,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: float-pulse 3s ease-in-out infinite;
}
.floating-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(16,185,129,0.5);
    color: #fff;
}
.floating-cta-icon { font-size: 1.2rem; }
@keyframes float-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(16,185,129,0.4); }
    50% { box-shadow: 0 4px 30px rgba(16,185,129,0.6); }
}

/* =================================================================
   CTA BAR (before footer)
   ================================================================= */
.cta-bar {
    background: linear-gradient(135deg, var(--navy) 0%, #0F172A 100%);
    padding: 3rem 1.5rem;
    text-align: center;
}
.cta-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cta-bar-text { text-align: left; }
.cta-bar-text h3 {
    font-family: var(--heading-font);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.35rem;
    border: none;
    padding: 0;
}
.cta-bar-text p {
    color: rgba(255,255,255,0.7);
    font-size: var(--text-sm);
    margin: 0;
}
.cta-bar-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn-phone {
    background: #10B981;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.cta-btn-phone:hover { box-shadow: 0 6px 20px rgba(16,185,129,0.4); color: #fff; }
.cta-btn-quote {
    background: var(--sky);
    color: #fff;
    box-shadow: 0 4px 12px rgba(56,189,248,0.3);
}
.cta-btn-quote:hover { box-shadow: 0 6px 20px rgba(56,189,248,0.4); color: #fff; }

@media (max-width: 768px) {
    .cta-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-bar-text { text-align: center; }
    .cta-bar-actions { flex-direction: column; width: 100%; }
    .cta-btn { justify-content: center; }
}

/* =================================================================
   HERO PHONE CTA
   ================================================================= */
.hero-cta-phone {
    background: transparent;
    border: 2px solid #10B981;
    color: #10B981;
}
.hero-cta-phone:hover {
    background: #10B981;
    color: #fff;
}

/* =================================================================
   CONTACT FORM
   ================================================================= */
.contact-form-wrapper {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}
.contact-form-wrapper h2 {
    font-size: var(--text-2xl);
    margin-bottom: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group-full {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}
.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.form-group .req { color: #EF4444; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-family: var(--body-font);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #F9FAFB;
    color: var(--navy);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.radio-group {
    display: flex;
    gap: 1.5rem;
    padding-top: 0.4rem;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--text-sm);
    cursor: pointer;
    font-weight: 500;
}
.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--sky) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,102,255,0.25);
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,255,0.35);
}
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.form-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--gray-400);
    margin-top: 0.75rem;
}
.form-note a { color: var(--sky); }

/* Form validation */
.form-field-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important;
}
.field-error {
    font-size: var(--text-xs);
    color: #EF4444;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Form feedback */
.form-feedback {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: var(--text-sm);
    line-height: 1.5;
}
.form-feedback-success {
    background: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
}
.form-feedback-error {
    background: #FEF2F2;
    border: 1px solid #EF4444;
    color: #991B1B;
}
.form-feedback a { font-weight: 600; }

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 1.5rem 1rem; }
}