/* ==========================================================================
   OkosGondoskodás Stylesheet
   Client: Rimóczi Anikó
   Colors: #2d3958 (Primary Dark Blue), #a6a6a6 (Secondary Gray)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --primary: #2d3958;
    --primary-light: #44547d;
    --primary-fade: rgba(45, 57, 88, 0.08);
    --secondary: #a6a6a6;
    --secondary-light: #e5e5e5;
    --secondary-dark: #787878;
    --bg-white: #ffffff;
    --bg-light: #f2f4f8;
    --bg-alt: #e8ecf2;
    --text-dark: #1c2230;
    --text-medium: #4e5668;
    --text-light: #8892a0;
    
    /* Layout */
    --container-width: 1200px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(45, 57, 88, 0.08), 0 4px 6px -2px rgba(45, 57, 88, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(45, 57, 88, 0.12), 0 10px 10px -5px rgba(45, 57, 88, 0.04);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Helper Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Header & Navigation */
/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.logo-white {
    filter: brightness(0) invert(1);
}

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

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-medium);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.login-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-medium);
    transition: var(--transition);
}

.login-link:hover {
    color: var(--primary);
}

/* Call Button - Hidden on Desktop */
.btn-call-header {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-fade);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

/* Bottom Tab Navigation Bar - Hidden on Desktop */
.bottom-nav {
    display: none;
    width: 100%;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: content-box;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    flex: 1;
    height: 100%;
}

.bottom-nav-item svg {
    color: var(--text-light);
    transition: var(--transition);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item:hover svg,
.bottom-nav-item.active svg {
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-pill:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 160px 0;
    background: linear-gradient(135deg, #f3f5f9 0%, #ffffff 50%, #eef1f6 100%);
    overflow: visible;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

/* Nested Email Capture Form (Pill shaped) */
.hero-form-pill {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    background: var(--bg-white);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
}

.hero-form-pill input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hero-form-pill input::placeholder {
    color: var(--text-light);
}

.btn-hero-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-hero-submit:hover {
    background-color: var(--primary-light);
}

/* Hero Image Column with Absolute Badges */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    width: 100%;
    max-width: 440px;
    height: 480px;
    background-color: var(--secondary-light);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.02);
}

/* Floating 24/7 Badge on Image Border */
.hero-info-badge {
    position: absolute;
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 110px;
    text-align: center;
    z-index: 10;
}

.badge-live-circle {
    width: 54px;
    height: 54px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.badge-live-circle svg {
    margin-bottom: 2px;
}

.live-tag-text {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.badge-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.badge-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.25;
}

/* Floating Navigation Tabs overlapping Hero bottom */
.hero-floating-tabs {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 8px 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 20;
}

.hero-floating-tabs .tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: var(--transition);
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-floating-tabs .tab-item svg {
    flex-shrink: 0;
}

.hero-floating-tabs .tab-item:hover {
    color: var(--primary);
    transform: none;
    box-shadow: none;
}

.hero-floating-tabs .tab-item.active {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(45, 57, 88, 0.2);
}

/* Partner Logos Section */
.partners {
    padding: 40px 0;
    border-top: 1px solid var(--secondary-light);
    border-bottom: 1px solid var(--secondary-light);
    background-color: var(--bg-light);
}

.partners-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.partners-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    color: var(--primary);
    opacity: 1;
}

/* Stack ordering helper to keep blobs in background */
header, main, footer {
    position: relative;
    z-index: 5;
}

/* Floating Background Blobs */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition);
}

.blob-1 {
    background-color: var(--primary); /* #2d3958 */
    top: 150px;
    right: -150px;
}

.blob-2 {
    background-color: var(--secondary); /* #a6a6a6 */
    top: 900px;
    left: -250px;
}

.blob-3 {
    background: radial-gradient(circle, var(--primary) 0%, rgba(255,255,255,0) 70%);
    top: 1700px;
    right: -200px;
    opacity: 0.12;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: #f7f9fc; /* Soft grey background like the screenshot */
    position: relative;
}

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

.service-card {
    background: var(--bg-white);
    border: none;
    border-radius: 24px;
    padding: 40px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center elements in card */
    text-align: center; /* Center text align */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(45, 57, 88, 0.08);
    transform: translateY(-8px);
}

.service-card.highlighted {
    border-bottom: 4px solid var(--primary); /* Thick blue border at the bottom like "Standard Coverage" in screenshot */
    transform: translateY(-4px); /* Slightly raised by default */
}

.service-card.highlighted:hover {
    transform: translateY(-10px);
}

.card-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%; /* Circle shape icon badge */
    background-color: #f0f2f5; /* Light grey/silver circle badge */
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .card-icon-container {
    background-color: var(--primary-fade);
    color: var(--primary);
}

.service-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-medium);
    font-size: 0.925rem;
    line-height: 1.5;
    margin-bottom: 28px;
    flex-grow: 1;
}

.card-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    color: var(--primary-light);
}

.card-features {
    list-style-type: none;
    margin: 0 0 32px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 250px;
}

.card-features li {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-medium);
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Reviews Section */
.reviews {
    padding: 120px 0;
    background-color: var(--bg-white); /* White background below services wave/divider */
}

.reviews-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.reviews-title-block h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.reviews-title-block p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.reviews-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.btn-nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-nav-arrow.prev {
    border: 1px solid var(--secondary);
    background: transparent;
    color: var(--text-medium);
}

.btn-nav-arrow.prev:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-nav-arrow.next {
    background-color: var(--primary); /* #2d3958 */
    color: var(--bg-white);
    border: none;
}

.btn-nav-arrow.next:hover {
    background-color: var(--primary-light);
    transform: scale(1.05);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left aligned content */
    text-align: left;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-fade);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.author-info h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.author-info span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-text {
    font-family: 'Inter', sans-serif;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.review-stars {
    color: #ff9800; /* Gold color for review stars */
    font-size: 1.15rem;
    line-height: 1;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--secondary-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.faq-arrow {
    color: var(--text-medium);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: transparent;
}

.faq-content p {
    padding: 0 32px 28px 32px;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Active State for Accordion matching screenshot 1:1 offset shadow */
.faq-item.active {
    border: 2px solid var(--primary);
    box-shadow: 5px 5px 0px var(--primary);
}

.faq-item.active .faq-trigger {
    color: var(--primary);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-content {
    max-height: 1000px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

/* Contact Form Section */
/* ==========================================================================
   Contact / Lead Generator Form
   ========================================================================== */

.contact {
    padding: 100px 0 120px;
    background: var(--bg-light);
}

.contact-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-section-header h2 { font-size: 2.4rem; margin-bottom: 12px; }
.contact-section-header p { font-size: 1.05rem; color: var(--text-medium); }

/* Two-column grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

/* ── INFO PANEL (left) ── */
.contact-info-panel {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 90px;
}

.cip-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cip-photo {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.2);
    flex-shrink: 0;
}

.cip-head strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.cip-head span {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-top: 2px;
    display: block;
}

.cip-trust-list { display: flex; flex-direction: column; gap: 16px; }

.cip-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cip-trust-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.cip-trust-item strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.cip-trust-item span {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    line-height: 1.4;
}

.cip-direct-label {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.cip-phone-btn,
.cip-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 14px 20px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: all .2s;
    text-decoration: none;
}

.cip-phone-btn:hover,
.cip-email-btn:hover {
    background: rgba(255,255,255,.22);
    transform: translateY(-2px);
}

.cip-social-proof {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
}

.cip-stars {
    color: #f5c842;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.cip-social-proof p {
    font-size: .85rem;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 8px;
}

.cip-social-proof span {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
    font-weight: 600;
}

/* ── FORM PANEL (right) ── */
.contact-form-panel {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Progress steps */
.form-progress {
    padding: 24px 32px;
    background: var(--bg-light);
    border-bottom: 1px solid #e8eaf0;
}

.fp-steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.fp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.fp-step-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #e0e4ee;
    color: var(--text-medium);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem;
    font-weight: 700;
    transition: all .3s;
    font-family: 'Outfit', sans-serif;
}

.fp-step.active .fp-step-dot,
.fp-step.done .fp-step-dot {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(45,57,88,.3);
}

.fp-step span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: .5px;
}

.fp-step.active span { color: var(--primary); }

.fp-line {
    flex: 1;
    height: 2px;
    background: #e0e4ee;
    margin: 0 12px;
    margin-bottom: 22px;
    transition: background .3s;
}

.fp-line.done { background: var(--primary); }

/* Form steps */
.lead-form { display: block; }

.form-step {
    display: none;
    padding: 36px 32px 40px;
    animation: stepIn .3s ease;
}

.form-step.active { display: block; }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.step-sub {
    font-size: .9rem;
    color: var(--text-medium);
    margin-bottom: 28px;
}

/* Topic card grid */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 20px 12px;
    border: 2px solid #e0e4ee;
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
    transition: all .2s;
    font-family: 'Outfit', sans-serif;
}

.topic-card:hover {
    border-color: var(--primary-light);
    background: var(--primary-fade);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.topic-card.selected {
    border-color: var(--primary);
    background: var(--primary-fade);
    box-shadow: 0 0 0 3px rgba(45,57,88,.12);
}

.tc-icon { font-size: 28px; line-height: 1; }
.topic-card strong { font-size: .82rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.tc-desc { font-size: .72rem; color: var(--text-medium); }

/* Validation msg */
.step-validation-msg {
    font-size: .8rem;
    color: #e74c3c;
    display: none;
    margin-bottom: 12px;
}

.step-validation-msg.visible { display: block; }

/* Next / Back buttons */
.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-top: 4px;
}

.btn-next:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-next svg { transition: transform .2s; }
.btn-next:hover svg { transform: translateX(4px); }

/* Step 2 fields */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.field-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.optional-tag {
    font-size: .7rem;
    font-weight: 500;
    color: var(--secondary);
    background: #f0f2f5;
    padding: 2px 8px;
    border-radius: 20px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    pointer-events: none;
    z-index: 1;
}

.input-wrap input,
.input-wrap select {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid #e0e4ee;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    color: var(--text-dark);
    background: white;
    outline: none;
    transition: all .2s;
    appearance: none;
}

.input-wrap input:focus,
.input-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,57,88,.08);
}

.input-wrap input.invalid,
.input-wrap select.invalid { border-color: #e74c3c; }

.input-wrap input::placeholder { color: #b0b8c8; }

.microcopy {
    font-size: .75rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Custom checkbox */
.gdpr-row { margin-top: 8px; margin-bottom: 12px; }

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.custom-checkbox input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px; height: 20px; flex-shrink: 0;
    border: 2px solid #e0e4ee;
    border-radius: 5px;
    margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    background: white;
}

.custom-checkbox input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox input:checked + .checkmark::after {
    content: '';
    width: 5px; height: 9px;
    border: 2px solid white;
    border-top: none; border-left: none;
    transform: rotate(45deg);
    display: block;
    margin-top: -2px;
}

.gdpr-text { font-size: .8rem; color: var(--text-medium); line-height: 1.55; }
.gdpr-text a { color: var(--primary); text-decoration: underline; }

/* Submit row */
.form-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-medium);
    font-family: 'Outfit', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
    transition: color .2s;
}
.btn-back:hover { color: var(--primary); }

.btn-submit-lead {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .3px;
}

.btn-submit-lead:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45,57,88,.25);
}

.btn-submit-lead:active { transform: translateY(0); }
.btn-submit-lead.loading { opacity: .7; cursor: not-allowed; }

/* Success state */
.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: popIn .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.success-state h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-sub {
    font-size: .95rem;
    color: var(--text-medium);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.next-steps {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: left;
    margin-bottom: 28px;
}

.next-steps-title {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 16px;
}

.next-step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e8eaf0;
    font-size: .88rem;
    color: var(--text-medium);
}

.next-step-item:last-child { border-bottom: none; }
.ns-icon { font-size: 20px; flex-shrink: 0; }

.btn-success-faq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    padding: 13px 26px;
    font-family: 'Outfit', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    transition: all .2s;
    text-decoration: none;
}

.btn-success-faq:hover { background: var(--primary-light); transform: translateY(-2px); }

/* Status messages (legacy compat) */
.status-message {
    margin-top: 16px;
    padding: 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.status-message.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.12);
    border: 1px solid #2ecc71;
    color: #27ae60;
}

.status-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.12);
    border: 1px solid #e74c3c;
    color: #c0392b;
}

/* Mobile */
@media (max-width: 960px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-panel { position: static; }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .form-step { padding: 28px 20px 32px; }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-step span { display: none; }
}



.contact-box {
    background: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.contact-box h2 {
    color: var(--bg-white);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 8px;
}

.contact-sub {
    text-align: center;
    color: var(--secondary-light);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary-light);
}

.form-group input, 
.form-group select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--bg-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

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

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Custom styling for dropdown select */
.form-group select option {
    background-color: var(--primary);
    color: var(--bg-white);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-group input {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--bg-white);
}

.checkbox-group label {
    font-size: 0.8rem;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--bg-white);
    text-decoration: underline;
}

.btn-submit {
    background-color: var(--bg-white);
    color: var(--primary);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-submit:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit svg {
    transition: var(--transition);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

.field-microcopy {
    font-size: 0.725rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 400;
}

.form-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary-light);
    margin-top: 10px;
    opacity: 0.9;
}

.form-trust-badge svg {
    flex-shrink: 0;
    color: var(--secondary-light);
}

/* Form status message */
.status-message {
    margin-top: 20px;
    padding: 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.status-message.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.status-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Footer Section */
.footer {
    background-color: #1a2233;
    color: var(--secondary-light);
    padding: 80px 0 0;
    border-top: 4px solid var(--primary);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-info .logo {
    color: var(--bg-white);
}

.footer-info p {
    color: var(--secondary);
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--secondary);
}

.footer-contact strong {
    color: var(--secondary-light);
}

.footer-contact a {
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bg-white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--secondary-dark);
}

.developer-signature {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--secondary-dark);
}

.developer-signature a {
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
}

.developer-signature a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.heart-pulse {
    display: inline-block;
    animation: heartPulse 1.2s infinite;
    transform-origin: center;
    will-change: transform;
    vertical-align: middle;
    margin: 0 4px;
    line-height: 1;
    color: #ff4757;
    font-size: 1.15rem;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1.1); }
    45% { transform: scale(1.25); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-floating-tabs {
        width: calc(100% - 32px);
        bottom: -40px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 8px 16px;
    }
    
    .hero-floating-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .hero-info-badge {
        left: -20px;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }
    
    .nav {
        display: none;
    }
    
    .hero-image-container {
        height: 380px;
    }
    
    .partners-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .partner-logos {
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero-form-pill {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 12px;
        border-radius: 0;
    }
    
    .hero-form-pill input {
        border: 1px solid var(--secondary);
        border-radius: 50px;
        background-color: var(--bg-white);
        width: 100%;
        padding: 14px 24px;
    }
    
    .btn-hero-submit {
        width: 100%;
        padding: 14px;
        border-radius: 50px;
    }
    
    .hero-image-container {
        height: 320px;
    }
    
    .hero-info-badge {
        left: -10px;
        padding: 16px 12px;
        width: 90px;
    }
    
    .badge-live-circle {
        width: 44px;
        height: 44px;
    }
    
    .badge-number {
        font-size: 1.35rem;
    }
}

/* Premium Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    z-index: 2;
    transform: translateY(40px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open .modal-wrapper {
    transform: translateY(0) scale(1);
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-light);
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: rotate(90deg) scale(1.1);
}

.modal-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    padding: 32px 32px 20px 32px;
    border-bottom: 1px solid var(--secondary-light);
    margin: 0;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Modal Content Rich Formatting */
.modal-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-body h3:first-of-type {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    font-size: 0.925rem;
}

.modal-body blockquote {
    background-color: var(--primary-fade);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 12px 12px 0;
}

.modal-body blockquote p {
    margin: 0;
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 768px) {
    /* Sticky Bottom Nav display on mobile */
    .bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(60px + env(safe-area-inset-bottom)) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
        box-sizing: border-box !important;
        z-index: 9998 !important; /* sit above page content, below cookie/modal */
        transform: translate3d(0, 0, 0); /* hardware acceleration for iOS scroll stability */
    }
    
    /* Call button display on mobile */
    .btn-call-header {
        display: flex;
    }
    
    /* Header layout adjustments for mobile */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9997 !important;
        padding: 8px 16px;
        height: 64px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }
    .header-container {
        padding: 0;
        max-width: 100%;
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
    }
    .header-container .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    .logo-img {
        height: 40px;
    }
    .nav {
        display: none; /* Hide top nav links on mobile */
    }
    .header-actions .login-link,
    .header-actions .btn-header-offer {
        display: none; /* Hide login and offer button on mobile header */
    }
    
    /* Native-like Full Screen Modal overrides on mobile */
    .modal {
        align-items: flex-end;
        overflow: hidden;
    }
    
    .modal-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100vh !important;
        transform: translateY(100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1001;
    }
    
    .modal.open .modal-wrapper {
        transform: translateY(0) !important;
    }
    
    .modal-content {
        height: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .modal-content h2 {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        padding: 16px 16px 16px 64px !important; /* Leave room for back button */
        border-bottom: 1px solid var(--secondary-light) !important;
        min-height: 64px !important;
        display: flex;
        align-items: center;
        background-color: var(--bg-white);
        position: relative;
    }
    
    .modal-close {
        left: 16px !important;
        right: auto !important;
        top: 12px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 0 !important; /* Hide original × sign */
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--bg-light) !important;
        border-radius: 50% !important;
        color: var(--primary) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        z-index: 11 !important;
        margin: 0;
        transition: all 0.2s ease !important;
    }
    
    .modal-close::before {
        content: '←';
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 1;
        display: block;
    }
    
    .modal-close:hover {
        background-color: var(--primary) !important;
        color: var(--bg-white) !important;
        transform: scale(1) !important;
    }

    .modal-body {
        padding: 24px 20px 80px 20px !important; /* Spacing for scrolling and bottom safe area */
        height: calc(100vh - 64px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Body padding to prevent content overlap with sticky bottom nav */
    body {
        padding-bottom: 74px;
    }
    
    /* Hide background blobs on mobile to prevent horizontal overflow and GPU performance lag */
    .blob-bg {
        display: none !important;
    }

    /* Rest of the mobile styling overrides */
    .hero {
        padding: 80px 0 40px 0; /* Add top padding to clear the sticky header */
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding: 0 16px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.25rem !important;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-form-pill {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-image-wrapper {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .hero-image-container {
        max-width: 320px;
        height: 340px;
        border-radius: 32px;
    }

    .hero-info-badge {
        left: -12px;
        padding: 16px 12px;
        width: 95px;
        border-radius: 20px;
    }

    .badge-live-circle {
        width: 42px;
        height: 42px;
    }

    .badge-number {
        font-size: 1.3rem;
    }

    .hero-floating-tabs {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin: 32px auto 0 !important;
        padding: 16px 8px;
        gap: 8px;
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .hero-floating-tabs::-webkit-scrollbar {
        display: none;
    }

    .hero-floating-tabs .tab-item {
        padding: 10px 18px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .services {
        padding: 60px 0;
    }

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

    .service-card {
        padding: 32px 20px;
    }

    .reviews {
        padding: 60px 0;
    }

    .reviews-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        margin-bottom: 32px;
    }

    .reviews-title-block h2 {
        font-size: 2rem;
    }

    .reviews-title-block p {
        font-size: 0.95rem;
    }

    .reviews-nav {
        display: none;
    }

    .reviews-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 24px;
    }

    .faq {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .faq-trigger {
        padding: 20px 24px;
        font-size: 1rem;
    }

    .faq-content p {
        padding: 0 24px 20px 24px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-box {
        padding: 32px 20px;
        border-radius: 32px;
    }

    .contact-box h2 {
        font-size: 1.85rem;
    }

    .contact-sub {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

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

    .form-group input, 
    .form-group select {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 48px 0 24px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

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

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

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 9999;
    background: rgba(20, 26, 40, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

#cookie-banner.visible {
    transform: translateY(0);
}

/* Push up above bottom nav on mobile */
@media (max-width: 768px) {
    #cookie-banner { bottom: 64px; }
}


.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.cookie-text {
    flex: 1;
    min-width: 0;              /* allow shrinking below content size */
    max-width: 100%;
}

.cookie-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
}

.cookie-text a {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover { color: #ffffff; }

.cookie-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Toggle switches */
.cookie-toggles {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-toggle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cookie-toggle-item span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.toggle-switch {
    position: relative;
    width: 38px;
    height: 22px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 22px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(16px);
}

.toggle-switch input:disabled + .toggle-slider {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Buttons */
.btn-cookie {
    padding: 10px 18px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-cookie-save {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-cookie-save:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

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

.btn-cookie-accept:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-inner {
        padding: 14px 16px;
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-icon { display: none; }          /* hide emoji on tiny screens */
    .cookie-text { min-width: 0; width: 100%; }
    .cookie-text p { display: none; }        /* hide long text, keep title */
    .cookie-controls {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .cookie-toggles { display: none; }       /* hide toggles — accept/save only */
    .btn-cookie {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
    }
}

/* iOS Style Bottom Sheet Drawer (Mobile only) */
.ios-sheet {
    position: fixed;
    inset: 0;
    z-index: 10000; /* sits above top-nav, bottom-nav and normal modals */
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s;
}

.ios-sheet.open {
    visibility: visible;
    pointer-events: auto;
}

.ios-sheet-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.ios-sheet.open .ios-sheet-backdrop {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ios-sheet-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
}

.ios-sheet.open .ios-sheet-container {
    transform: translateY(0);
}

.ios-sheet-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 16px 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ios-sheet-handle {
    width: 36px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 2.5px;
    margin-bottom: 10px;
}

.ios-sheet-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.ios-sheet-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
}

.ios-sheet-list {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ios-sheet-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 16px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s;
}

.ios-sheet-item:last-child {
    border-bottom: none;
}

.ios-sheet-item:active {
    background-color: rgba(0, 0, 0, 0.08);
}

.ios-sheet-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-sheet-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 2px;
}

.ios-sheet-text strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.925rem;
    color: var(--primary);
    font-weight: 700;
}

.ios-sheet-text span {
    font-family: 'Inter', sans-serif;
    font-size: 0.775rem;
    color: var(--text-medium);
}

.ios-sheet-chevron {
    color: rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s;
}

.ios-sheet-item:active .ios-sheet-chevron {
    transform: translateX(3px);
}

.ios-sheet-cancel {
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100%;
    padding: 15px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ff3b30; /* iOS standard red cancel color */
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: background-color 0.2s;
}

.ios-sheet-cancel:active {
    background-color: rgba(0, 0, 0, 0.05);
}

