/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary-dark: #061916;    /* Deepest forest green/black */
    --color-primary-mid: #0b2924;     /* Main brand dark green (from reference) */
    --color-primary-light: #164039;   /* Lighter variant for cards/hover */
    --color-sage: #c2d1be;            /* Main brand sage (from reference logo) */
    --color-sage-light: #e3eae0;      /* Soft pale green/sage for backgrounds */
    --color-gold: #dfd0b8;            /* Accent Champagne Gold (luxury feel) */
    --color-gold-dark: #bcae97;       /* Muted gold */
    --color-white: #ffffff;
    
    /* Text Colors */
    --color-text-white: #ffffff;
    --color-text-body-light: #e6ece5; /* High contrast body text for dark sections */
    --color-text-dark: #0b2924;
    --color-text-body-dark: #3a4b47;  /* High readability text for light sections */
    --color-text-muted: #80968d;
    
    /* Layout & Spaces */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max-width: 1200px;
    
    /* Shadow effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 40px rgba(6, 25, 22, 0.15);
    --shadow-glow: 0 0 30px rgba(194, 209, 190, 0.2);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

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

.small-container {
    max-width: 750px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-sage);
    margin-bottom: 12px;
}

.section-tag-light {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary-mid);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-gold) 100%);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-sage) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(223, 208, 184, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-sage);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.85rem;
    border: 1px solid var(--color-sage);
    color: var(--color-sage);
    background: transparent;
}

.btn-nav:hover {
    background-color: var(--color-sage);
    color: var(--color-primary-dark);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 25, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(194, 209, 190, 0.08);
    transition: background-color var(--transition-normal);
}

.navbar-header.scrolled {
    background-color: rgba(6, 25, 22, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height var(--transition-normal);
}

.navbar-header.scrolled .nav-container {
    height: 75px;
}

/* Logo Design */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
    transition: transform var(--transition-normal);
}

.nav-brand:hover .logo-wrapper {
    transform: rotate(10deg) scale(1.05);
}

.logo-icon {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 1px;
    color: var(--color-white);
}

.brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.45rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-sage);
    margin-top: 2px;
}

.brand-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.35rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

/* Nav Menu */
.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-body-light);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-gold));
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

/* Mobile Toggle Styles */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 170px;
    padding-bottom: 120px;
    background: radial-gradient(circle at 80% 20%, var(--color-primary-light) 0%, var(--color-primary-dark) 60%);
    overflow: hidden;
    position: relative;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--color-sage) 0.8px, transparent 0.8px);
    background-size: 32px 32px;
    opacity: 0.05;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(194, 209, 190, 0.08);
    border: 1px solid rgba(194, 209, 190, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-sage);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-body-light);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-sage);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Visual & Floating Badges */
.hero-visual {
    position: relative;
}

.image-wrapper-premium {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.image-wrapper-premium::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--color-sage);
    border-right: 3px solid var(--color-sage);
    border-radius: 0 var(--border-radius-lg) 0 0;
    pointer-events: none;
    z-index: 1;
}

.image-wrapper-premium::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid var(--color-gold);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 0 0 var(--border-radius-lg);
    pointer-events: none;
    z-index: 1;
}

.hero-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-slow);
}

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

/* Glassmorphism Floating Badges */
.glass-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(6, 25, 22, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 2;
    transition: transform var(--transition-normal);
}

.glass-badge:hover {
    transform: translateY(-5px);
}

.badge-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-size: 0.95rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--color-white);
}

.badge-text span {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.floating-badge-1 {
    top: 25%;
    left: -40px;
    animation: floating-anim 6s ease-in-out infinite alternate;
}

.floating-badge-2 {
    bottom: 15%;
    right: -30px;
    animation: floating-anim 6s ease-in-out infinite alternate-reverse;
}

/* ==========================================================================
   LABORATÓRIO DIGITAL SECTION
   ========================================================================== */
.lab-section {
    background-color: var(--color-primary-mid);
    border-top: 1px solid rgba(255,255,255,0.02);
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lab-img {
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-sage);
    pointer-events: none;
    animation: ripple 2s linear infinite;
    z-index: 1;
}

.lab-info {
    padding-left: 20px;
}

.info-intro {
    font-size: 1.2rem;
    color: var(--color-sage-light);
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(194, 209, 190, 0.08);
    border: 1px solid rgba(194, 209, 190, 0.15);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon-box {
    background-color: var(--color-sage);
    color: var(--color-primary-dark);
    transform: scale(1.05);
}

.feature-text h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   GRID DE ESPECIALIDADES
   ========================================================================== */
.specialties-section {
    background-color: var(--color-primary-dark);
}

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

.specialty-card {
    position: relative;
    background-color: rgba(22, 64, 57, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.card-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(194, 209, 190, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(194, 209, 190, 0.05);
    border: 1px solid rgba(194, 209, 190, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-sage);
    margin-bottom: 28px;
    transition: all var(--transition-normal);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    flex-grow: 1;
}

.card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-sage);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.card-link i {
    transition: transform var(--transition-fast);
}

/* Specialties Hover Effects */
.specialty-card:hover {
    transform: translateY(-10px);
    background-color: rgba(22, 64, 57, 0.55);
    border-color: rgba(194, 209, 190, 0.3);
    box-shadow: var(--shadow-medium);
}

.specialty-card:hover .card-bg-gradient {
    opacity: 1;
}

.specialty-card:hover .card-icon-wrapper {
    background-color: var(--color-sage);
    color: var(--color-primary-dark);
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(194, 209, 190, 0.3);
}

.specialty-card:hover .card-title {
    color: var(--color-gold);
}

.specialty-card:hover .card-link {
    color: var(--color-gold);
}

.specialty-card:hover .card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   ACORDOS E SEGURADORAS SECTION
   ========================================================================== */
.insurance-section {
    background-color: var(--color-sage-light);
    color: var(--color-text-dark);
}

.insurance-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.insurance-info {
    padding-right: 20px;
}

.insurance-title {
    color: var(--color-primary-mid);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.insurance-highlight {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 24px;
}

.insurance-desc {
    font-size: 1.05rem;
    color: var(--color-text-body-dark);
}

.insurance-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.insurance-logo-card {
    background-color: rgba(6, 25, 22, 0.04);
    border: 1px solid rgba(6, 25, 22, 0.08);
    border-radius: var(--border-radius-md);
    padding: 30px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: all var(--transition-normal);
}

.insurance-logo-svg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
    transition: all var(--transition-normal);
}

.logo-txt {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-primary-mid);
    text-transform: uppercase;
}

.logo-txt.bold-txt {
    font-weight: 800;
}

.gold-accent-text {
    color: #a48c63;
}

.logo-sub {
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

/* Insurance card Hover */
.insurance-logo-card:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-color: rgba(194, 209, 190, 0.4);
    transform: translateY(-4px);
}

.insurance-logo-card:hover .insurance-logo-svg {
    opacity: 1;
    transform: scale(1.03);
}

/* Adjust grid layout of insurance logos (last row centering) */
.insurance-logos-grid .insurance-logo-card:nth-child(4) {
    grid-column: 1 / span 1.5; /* Offset simulated layout */
}
.insurance-logos-grid .insurance-logo-card:nth-child(5) {
    grid-column: 2 / span 2;
}

/* ==========================================================================
   FORMULÁRIO DE PRÉ-MARCAÇÃO SECTION
   ========================================================================== */
.booking-section {
    background-color: var(--color-primary-dark);
    overflow: hidden;
}

.booking-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glow-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.glow-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: var(--color-sage);
}

.glow-2 {
    bottom: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    background-color: var(--color-gold);
}

.booking-form-wrapper {
    position: relative;
    z-index: 1;
    background-color: rgba(22, 64, 57, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-medium);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-sage-light);
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--color-sage);
    opacity: 0.7;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 18px 16px 48px;
    background-color: rgba(6, 25, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
    -webkit-appearance: none; /* Reset Safari default dropdown styling */
}

/* Custom styled country prefix */
.country-prefix {
    position: absolute;
    left: 18px;
    color: var(--color-sage);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    pointer-events: none;
}

/* Spacing adjustment for phone input due to prefix width */
.form-group input[type="tel"] {
    padding-left: 64px;
}

/* For Custom select arrows */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2d1be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

.form-group input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-sage);
    background-color: rgba(6, 25, 22, 0.7);
    box-shadow: 0 0 15px rgba(194, 209, 190, 0.1);
}

.form-submit-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.btn-submit {
    width: 100%;
    max-width: 450px;
    padding: 16px 36px;
    font-size: 1.05rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Styling dropdown options (mainly dark backgrounds) */
.form-group select option {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 10px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: var(--color-primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr 0.9fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

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

.footer-links h3,
.footer-contact h3,
.footer-hours h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-hours h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-sage);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-sage);
    padding-left: 4px;
}

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

.contact-list li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-list i {
    color: var(--color-sage);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-list a:hover {
    color: var(--color-sage);
}

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-hours strong {
    color: var(--color-white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 30px 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

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

/* ==========================================================================
   SUCCESS MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 25, 22, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: var(--color-primary-light);
    border: 1px solid rgba(194, 209, 190, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-glow);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-icon {
    font-size: 3.5rem;
    color: #25d366;
    margin-bottom: 20px;
}

.modal-box h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-box p {
    font-size: 0.95rem;
    color: var(--color-text-body-light);
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-box .btn {
    width: 100%;
    margin-bottom: 12px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--color-white);
}

/* ==========================================================================
   ANIMATIONS (CSS CLASSES)
   ========================================================================== */
@keyframes floating-anim {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-12px);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* Scroll Animation Hooks (triggered via JS using IntersectionObserver) */
.animate-fade-in,
.animate-slide-up,
.animate-scale-up,
.animate-fade-in-delay,
.animate-fade-in-delay-2,
.animate-fade-in-delay-3 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-scale-up {
    transform: scale(0.95) translateY(20px);
}

.animate-scale-up.animated {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.animate-fade-in-delay.animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.animate-fade-in-delay-2.animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.animate-fade-in-delay-3.animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet viewports */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .floating-badge-1 {
        left: -20px;
    }
    
    .floating-badge-2 {
        right: -15px;
    }
    
    .lab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .lab-info {
        padding-left: 0;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insurance-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .insurance-info {
        padding-right: 0;
    }
    
    .insurance-logos-grid {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
}

/* Mobile viewports (large and small) */
@media (max-width: 768px) {
    /* Header menu mobile toggle */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-primary-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        padding: 120px 40px 40px;
        display: flex;
        flex-direction: column;
        transition: right var(--transition-normal);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 28px;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .nav-actions {
        margin-right: 12px;
    }
    
    .btn-nav {
        display: none; /* Hide on small screen header to reduce clutter */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .booking-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-title {
        font-size: 1.95rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Re-center logos on 2 cols */
    .insurance-logos-grid .insurance-logo-card:nth-child(4) {
        grid-column: span 1;
    }
    .insurance-logos-grid .insurance-logo-card:nth-child(5) {
        grid-column: span 2;
    }
    
    .floating-badge-1 {
        left: -10px;
        top: 10%;
    }
    
    .floating-badge-2 {
        right: -10px;
        bottom: 5%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
