/* ============================================
   SIEGLER DAVID MEDICAL — STYLES
   Forest Green + Off-White | Vibrant Modern
   ============================================ */

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

:root {
    --green-900: #0B3D1A;
    --green-800: #1A5F2A;
    --green-700: #227A36;
    --green-600: #2D9B46;
    --green-500: #4ADE80;
    --green-400: #86EFAC;
    --green-100: #DCFCE7;
    --green-50:  #F0FDF4;

    --cream:     #FAFAF5;
    --cream-dark:#F2F2EA;
    --white:     #FFFFFF;
    --off-white: #F8F8F0;

    --text-dark:  #0F1A0F;
    --text-mid:   #2A3A2A;
    --text-light: #5A6B5A;
    --text-muted: #8A9A8A;

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  22px;
    --radius-xl:  32px;

    --shadow-sm:  0 1px 3px rgba(11,61,26,0.06), 0 1px 2px rgba(11,61,26,0.04);
    --shadow-md:  0 4px 16px rgba(11,61,26,0.08), 0 2px 4px rgba(11,61,26,0.04);
    --shadow-lg:  0 12px 40px rgba(11,61,26,0.12), 0 4px 12px rgba(11,61,26,0.06);
    --shadow-xl:  0 24px 60px rgba(11,61,26,0.15), 0 8px 20px rgba(11,61,26,0.08);

    --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif:   'Playfair Display', Georgia, serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---------- GEOMETRIC ACCENTS (global) ---------- */
.geo-accent {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}
.geo-accent--top-left {
    top: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: var(--green-100);
    border-radius: 50%;
    opacity: 0.5;
}
.geo-accent--bottom-right {
    bottom: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--green-50);
    border-radius: 50%;
    opacity: 0.4;
}

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-100);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.text-highlight {
    color: var(--green-700);
    position: relative;
}
.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--green-100);
    z-index: -1;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
}
.btn svg {
    transition: transform var(--transition);
}
.btn:hover svg {
    transform: translate(4px, -2px);
}

.btn--primary {
    background: var(--green-800);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26,95,42,0.3);
}
.btn--primary:hover {
    background: var(--green-700);
    box-shadow: 0 6px 24px rgba(26,95,42,0.4);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-800);
}
.btn--ghost:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--text-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn--dark:hover {
    background: var(--green-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--outline {
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-800);
}
.btn--outline:hover {
    background: var(--green-800);
    color: var(--white);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

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

/* ---------- LINKS ---------- */
.link-underline {
    color: var(--green-700);
    text-decoration: underline;
    text-decoration-color: var(--green-400);
    text-underline-offset: 3px;
    transition: var(--transition);
}
.link-underline:hover {
    color: var(--green-600);
    text-decoration-color: var(--green-700);
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250,250,245,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26,95,42,0.08);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}
.logo--light .logo-name { color: var(--white); }
.logo--light .logo-sub { color: rgba(255,255,255,0.7); }

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--green-700);
    background: var(--green-50);
}
.nav-link--cta {
    background: var(--green-800);
    color: var(--white) !important;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(26,95,42,0.25);
}
.nav-link--cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}
.nav-link--cta svg {
    animation: ring 2s ease-in-out infinite;
}
@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px 0;
    z-index: 110;
}
.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    background: var(--green-800);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-400);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-label-dot {
    width: 10px;
    height: 10px;
    background: var(--green-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: 560px;
}
.hero-headline em {
    font-style: italic;
    color: var(--green-400);
}

.hero-description {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}
.hero-actions .btn--ghost {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}
.hero-actions .btn--ghost:hover {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 680px;
}
.hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 370px;
    height: 480px;
    border-radius: var(--radius-xl) var(--radius-sm) var(--radius-xl) var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-img-accent {
    position: absolute;
    bottom: 60px;
    left: -20px;
    width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--green-800);
}
.hero-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-badge {
    position: absolute;
    top: 40px;
    left: -10px;
    background: var(--white);
    color: var(--green-800);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.hero-badge svg {
    color: var(--green-600);
}
.hero-geo-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 2px dashed rgba(74,222,128,0.2);
    pointer-events: none;
}

/* ========== SERVICES ========== */
.services {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid rgba(26,95,42,0.06);
    transition: var(--transition);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--green-50);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover .service-card-accent {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 22px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green-800);
    color: var(--white);
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.service-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

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

.about-visual {
    position: relative;
    height: 640px;
}
.about-img-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 440px;
    border-radius: var(--radius-xl) var(--radius-sm) var(--radius-xl) var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-img-secondary {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-geo-shape {
    position: absolute;
    top: 60px;
    right: 60px;
    width: 120px;
    height: 120px;
    background: var(--green-800);
    border-radius: 50%;
    opacity: 0.06;
}
.about-geo-shape::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--green-500);
    border-radius: 50%;
    opacity: 0.15;
}

.about-content .section-title {
    margin-bottom: 28px;
}
.about-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}
.about-body p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}
.about-body p:first-child {
    font-size: 1.08rem;
    color: var(--text-mid);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}
.about-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-mid);
}
.about-value-icon {
    width: 36px;
    height: 36px;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 80px 0;
    background: var(--green-800);
    position: relative;
    overflow: hidden;
}
.cta-geo-1 {
    position: absolute;
    top: -80px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(74,222,128,0.1);
    border-radius: 50%;
}
.cta-geo-2 {
    position: absolute;
    bottom: -100px;
    left: 5%;
    width: 200px;
    height: 200px;
    background: rgba(74,222,128,0.07);
    border-radius: 50%;
}
.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.cta-content {
    flex: 1;
}
.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
}
.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* ========== INSURANCE ========== */
.insurance {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.insurance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.insurance-content .section-title {
    margin-bottom: 20px;
}
.insurance-content .section-subtitle {
    margin-bottom: 32px;
}

.insurance-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.insurance-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-mid);
}
.insurance-list li svg {
    flex-shrink: 0;
}

.insurance-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.insurance-visual {
    position: relative;
    height: 420px;
}
.insurance-card {
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    background: var(--green-800);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.insurance-card-pattern {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(74,222,128,0.15);
    border-radius: 50%;
}
.insurance-card svg {
    color: var(--green-400);
    margin-bottom: 20px;
    opacity: 0.8;
}
.insurance-card-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}
.insurance-dots {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--green-600) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.4;
}

/* ========== CONTACT ========== */
.contact {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.contact-info .section-title {
    margin-bottom: 16px;
}
.contact-info .section-subtitle {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}
.contact-detail {
    display: flex;
    gap: 18px;
}
.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green-700);
    margin-bottom: 4px;
}
.contact-detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}
.contact-detail a {
    color: var(--green-700);
    text-decoration: underline;
    text-decoration-color: var(--green-400);
    text-underline-offset: 3px;
}
.contact-detail a:hover {
    color: var(--green-600);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.contact-map iframe {
    display: block;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}
.contact-form-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    border: 1px solid rgba(26,95,42,0.06);
    box-shadow: var(--shadow-md);
}
.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
}
.form-group label .required {
    color: #DC2626;
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid rgba(26,95,42,0.15);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(45,155,70,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea {
    resize: vertical;
    min-height: 110px;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6B5A' stroke-width='2.5' 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 14px center;
    padding-right: 40px;
}

.form-error {
    font-size: 0.8rem;
    color: #DC2626;
    display: none;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #DC2626;
}
.form-group.error .form-error {
    display: block;
}

/* Success State */
.form-success {
    text-align: center;
    padding: 20px 0;
}
.form-success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.form-success-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--green-800);
}
.form-success p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-sub {
    color: rgba(255,255,255,0.5);
}
.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav strong,
.footer-contact strong,
.footer-hours strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-400);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-nav a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--green-400);
}
.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    gap: 16px;
}
.footer-hours li span:last-child {
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.footer-bottom a:hover {
    color: var(--green-400);
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        height: 480px;
        max-width: 480px;
        margin: 0 auto;
    }
    .hero-img-main {
        width: 280px;
        height: 380px;
    }
    .hero-img-accent {
        width: 180px;
    }
    .hero-geo-circle {
        width: 380px;
        height: 380px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-visual {
        height: 480px;
        max-width: 500px;
        margin: 0 auto;
    }

    .insurance-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .insurance-visual {
        height: 320px;
        max-width: 480px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }
    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    .nav-list.open {
        transform: translateX(0);
    }
    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
    }
    .nav-link--cta {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
        text-align: center;
    }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero-visual {
        display: none;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-stat-number {
        font-size: 1.4rem;
    }

    /* Services */
    .services {
        padding: 72px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card {
        padding: 28px 24px;
    }

    /* About */
    .about {
        padding: 72px 0;
    }
    .about-visual {
        height: 380px;
    }
    .about-img-block {
        width: 240px;
        height: 320px;
    }
    .about-img-secondary {
        width: 180px;
    }
    .about-values {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* CTA */
    .cta-banner {
        padding: 60px 0;
    }
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    .cta-actions {
        flex-direction: row;
        width: 100%;
    }
    .cta-actions .btn {
        flex: 1;
        justify-content: center;
    }

    /* Insurance */
    .insurance {
        padding: 72px 0;
    }
    .insurance-visual {
        height: 260px;
    }

    /* Contact */
    .contact {
        padding: 72px 0;
    }
    .contact-form-card {
        padding: 28px 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .hero-stat-divider {
        display: none;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .cta-title {
        font-size: 1.5rem;
    }
}
