/* Styles for B. Kay Law Office - Alberta Car Accident & Personal Injury Claims Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root {
    /* Color Palette */
    --primary: #b91c1c;       /* Deep Crimson Red – primary brand */
    --primary-hover: #991b1b;
    --primary-light: #fef2f2;
    --primary-dark: #7f1d1d;
    --accent: #dc2626;        /* Bright Crimson – hover/CTA accent */
    --accent-hover: #b91c1c;
    --accent-light: #fee2e2;
    --dark-section: #111827;  /* Dark Charcoal – dark section backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;

    /* Text Colors */
    --text-dark: #0f172a;     /* Dark Slate (Headings) */
    --text-main: #334155;     /* Dark Slate Gray (Body - highly readable) */
    --text-light: #64748b;    /* Slate Gray */
    --text-muted: #94a3b8;

    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Shadow constants */
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(185, 28, 28, 0.06), 0 2px 4px -1px rgba(185, 28, 28, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(185, 28, 28, 0.1), 0 8px 10px -6px rgba(185, 28, 28, 0.06);
    --shadow-accent: 0 10px 15px -3px rgba(185, 28, 28, 0.35), 0 4px 6px -2px rgba(185, 28, 28, 0.18);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.08);

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* Typography Helper Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
/* Grid Helper Classes */
.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* Section Base */
.section {
    padding: 5.5rem 0;
    position: relative;
}
.section-light {
    background-color: var(--bg-light);
}
.section-dark {
    background-color: var(--primary);
    color: var(--bg-light);
}
.section-dark h2, .section-dark h3, .section-dark p {
    color: var(--bg-light);
}
.section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}
.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}
.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}
/* Button & CTA Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -3px rgba(185, 28, 28, 0.4), 0 6px 8px -2px rgba(185, 28, 28, 0.2);
}
/* Pulse Animation on Load */
.btn-pulse {
    animation: pulse-glow 2.5s infinite;
}
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}
/* Shimmer Effect */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
    animation: shimmer 4s infinite linear;
}
@keyframes shimmer {
    0% {
        left: -150%;
    }
    30% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}
/* 1. Two-Tier Sticky Header */

/* Outer wrapper — fixed, contains both tiers */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow var(--transition-slow);
}
.header-wrapper.scrolled {
    box-shadow: var(--shadow-header);
}

/* ── Top strip: crimson background, logo + contact ── */
.header-top-bar {
    background-color: var(--primary);
    padding: 0.5rem 0;
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}
.header-contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.header-contact-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.header-contact-link:hover {
    color: #ffffff;
}

/* ── Bottom strip: white sticky navbar ── */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 1.5rem;
}
.nav-menu {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    flex: 1;
}
.nav-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-dark);
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}
.nav-link:hover {
    color: var(--primary);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-book-btn {
    white-space: nowrap;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.85rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
    flex-shrink: 0;
}
.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all var(--transition-normal);
}
/* 2. Hero Section */
.hero {
    padding: 10rem 0 7rem 0;
    background: radial-gradient(circle at 80% 20%, #fef2f2 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 64, 175, 0.1);
}
.hero-badge svg {
    margin-right: 0.5rem;
    color: var(--accent);
}
.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}
.hero-title span {
    color: var(--primary);
}
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 650px;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.trust-badge-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.trust-badge-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
}
.trust-badge-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}
.hero-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    position: relative;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-card h3 svg {
    color: var(--primary);
}
.hero-card-list {
    display: grid;
    gap: 1rem;
}
.hero-card-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.hero-card-item svg {
    flex-shrink: 0;
    color: #22c55e;
    margin-top: 4px;
}
.hero-card-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-main);
}
/* 3. The Injury Case Scope */
.scope-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}
.scope-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 64, 175, 0.2);
}
.scope-card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}
.scope-card:hover .scope-card-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}
.scope-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.scope-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}
.scope-focus-grid {
    margin-top: 4.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.scope-focus-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.scope-focus-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}
.scope-focus-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}
.scope-faq-list {
    display: grid;
    gap: 1.5rem;
}
.scope-faq-item {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.scope-faq-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.scope-faq-item p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
}
/* 4. Risk Financial Guarantee & Home Visits */
.guarantee-section {
    background: var(--dark-section);
    color: var(--bg-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.guarantee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.15) 0%, transparent 40%);
    pointer-events: none;
}
.guarantee-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.guarantee-box {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-normal);
}
.guarantee-box:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}
.guarantee-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(220, 38, 38, 0.2);
    border: 2px solid var(--accent);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.guarantee-box-accent .guarantee-icon {
    background-color: rgba(30, 64, 175, 0.3);
    border: 2px solid var(--bg-white);
}
.guarantee-text h3 {
    font-size: 1.35rem;
    color: var(--bg-white);
    margin-bottom: 0.75rem;
}
.guarantee-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}
/* 5. "HOW TO GET LEGAL HELP" (The 3-Step Process) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.process-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 64, 175, 0.2);
}
.process-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-headings);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
    border: 4px solid var(--bg-white);
}
.process-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0.5rem auto 1.5rem auto;
}
.process-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.process-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}
/* Staggered Scroll Reveal CSS classes */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-item.stagger-container {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* 6. About, Location & Contact Intake Section */
.about-contact-grid {
    display: grid !important;
    grid-template-columns: 55fr 45fr !important;
    gap: 4rem;
    align-items: stretch;
}
.about-info {
    width: 100%;
}
.location-sidebar-column {
    width: 100%;
}
.about-section-header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}
.profile-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
}
.location-sidebar-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}
.about-contact-grid .location-map-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
}
.location-sidebar-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.25rem;
}
.location-sidebar-card p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.location-sidebar-card a {
    color: var(--primary);
    font-weight: 600;
}
.location-sidebar-card a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}
.location-sidebar-cta {
    width: 100%;
    margin-top: 1rem;
}
.location-sidebar-map {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.75rem;
    overflow: hidden;
}
.about-contact-grid .location-map-wrap iframe {
    width: 100%;
    height: 100%;
    flex-grow: 1;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-top: 0;
    display: block;
}
.profile-header {
    background-color: var(--primary);
    padding: 1.5rem 2rem;
    color: var(--bg-white);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}
.profile-avatar-placeholder {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}
.profile-title h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    text-align: center;
}
.profile-title p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}
.profile-body {
    padding: 1.5rem 2rem;
    text-align: center;
}
.profile-body p {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}
.profile-credentials {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}
.credential-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.credential-item svg {
    color: var(--primary);
    flex-shrink: 0;
}
.credential-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}
/* Multilingual badge */
.languages-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
}
.lang-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-right: 0.5rem;
}
.lang-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(30, 64, 175, 0.08);
}
/* Contact Details */
.office-details-box {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.detail-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.detail-row-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}
.detail-row-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.detail-row-content p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}
.detail-row-content a:hover {
    color: var(--accent);
    text-decoration: underline;
}
/* Modern Form styles with Floating Labels */
.contact-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
}
.contact-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.contact-card > p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}
.form-grid {
    display: grid;
    gap: 1.5rem;
}
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    position: relative;
    width: 100%;
}
.form-control {
    width: 100%;
    padding: 1.2rem 1rem 0.6rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition-normal);
}
.form-control:focus {
    background-color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
/* Floating Label Logic */
.form-group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all var(--transition-normal);
}
.form-group.textarea label {
    top: 1.2rem;
    transform: none;
}
.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    top: 0.4rem;
    transform: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}
.form-error-msg {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
}
.form-group.has-error .form-control {
    border-color: var(--accent);
    background-color: #fef2f2;
}
.form-group.has-error .form-error-msg {
    display: block;
}
/* Interactive Map block */
.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e2e8f0;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.map-placeholder svg {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.map-placeholder span {
    font-weight: 600;
    color: var(--text-dark);
}
.map-placeholder p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

/* 6b. Office Location Section */
.location-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
.location-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.25rem;
}
.location-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
.location-card > p {
    color: var(--text-light);
    margin-bottom: 1.75rem;
}
.location-contact-list {
    display: grid;
    gap: 1rem;
}
.location-contact-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}
.location-contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}
.location-contact-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-main);
}
.location-contact-item a {
    color: var(--primary);
    font-weight: 600;
}
.location-contact-item a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}
.location-map-wrap {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-height: 100%;
    height: 100%;
}
.location-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}
/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}
.success-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.success-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}
.success-overlay.active .success-card {
    transform: scale(1);
}
.success-icon-circle {
    width: 72px;
    height: 72px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    margin: 0 auto 1.5rem auto;
}
.success-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.success-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}
/* 7. Footer & Legal Disclaimer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
    border-top: 4px solid var(--primary);
}
.footer h3, .footer h4 {
    color: var(--bg-white);
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
    margin-bottom: 1.25rem;
}
.footer-logo-text {
    font-family: var(--font-headings);
    color: var(--bg-white);
    font-size: 1.35rem;
    font-weight: 700;
}
.footer-logo-text span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer-about p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
}
.footer-links-list {
    display: grid;
    gap: 0.75rem;
}
.footer-links-list a {
    font-size: 0.9rem;
    color: #94a3b8;
}
.footer-links-list a:hover {
    color: var(--bg-white);
    transform: translateX(3px);
}
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.footer-contact-list {
    display: grid;
    gap: 1rem;
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
}
.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-contact-item span {
    color: #94a3b8;
}
.footer-contact-item a:hover {
    color: var(--bg-white);
}
.footer-disclaimer {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.disclaimer-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
}
.disclaimer-box h5 {
    color: var(--bg-white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.disclaimer-box p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}
.tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}
/* =============================================
   Hero Accent Ticker
   ============================================= */
.hero-ticker {
    background-color: var(--primary);
    overflow: hidden;
    padding: 0.7rem 0;
    white-space: nowrap;
}
.hero-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    animation: ticker-scroll 28s linear infinite;
    font-family: var(--font-headings);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    padding-left: 2rem;
}
.ticker-star {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   Twin Split: "What Our Clients Say" + FAQ
   ============================================= */
.twin-split-section {
    overflow: hidden;
}
.twin-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.twin-testimonials {
    background-color: var(--dark-section);
}
.twin-faq {
    background-color: var(--primary);
}
.twin-section-inner {
    padding: 5rem 3.5rem;
}
.twin-section-header {
    margin-bottom: 2.5rem;
}
.twin-section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: #ffffff;
}
.twin-accent-line {
    width: 48px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}
.testimonial-list {
    display: grid;
    gap: 1.25rem;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: background-color var(--transition-fast);
}
.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.testimonial-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.testimonial-quote {
    font-size: 0.925rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 600;
}
.testimonial-author span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}
.faq-list {
    display: grid;
    gap: 1rem;
}
.faq-item {
    background-color: rgba(0, 0, 0, 0.18);
    border-left: 3px solid rgba(255, 255, 255, 0.45);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.faq-item h4 {
    font-size: 0.925rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.faq-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .twin-split-grid {
        grid-template-columns: 1fr;
    }
    .twin-section-inner {
        padding: 3.5rem 1.5rem;
    }
}

/* Footer brand row */
.footer-brand {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
    padding-top: 0.25rem;
}
.footer-services h4 {
    font-size: 1.1rem;
    color: var(--bg-white);
    margin-bottom: 1.25rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero {
        padding-top: 8rem;
    }
    .guarantee-wrapper {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .process-card {
        padding: 2.5rem 1.5rem;
    }
}
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 991px) {
    .about-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .about-info,
    .location-sidebar-column {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 4rem 0;
    }

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

    /* Navigation responsive mobile menu */
    .mobile-toggle {
        display: flex;
    }

    /* On mobile, hide the contact info in the top bar */
    .header-contact-info {
        display: none;
    }

    /* Shrink logo in top bar on mobile */
    .logo-img {
        height: 36px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 5rem 2.5rem 2rem 2.5rem;
        gap: 1.25rem;
        transition: right var(--transition-normal);
        z-index: 1005;
        align-items: flex-start;
        flex: none;
    }

    .nav-menu.active {
        right: 0;
    }

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

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

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

    /* Hide desktop book button on mobile */
    .nav-book-btn {
        display: none;
    }

    .nav-menu .nav-cta-mobile {
        display: block !important;
        margin-top: 1.5rem;
        width: 100%;
    }

    .scope-focus-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .location-card {
        padding: 1.5rem;
    }

    .location-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .location-map-wrap iframe {
        min-height: 320px;
    }
}
/* Overlay back-layer for active mobile menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
