/* ============================================
   Dr. Benjamin D. Robalino — Medical Website
   Vibrant Modern | Forest Green + Off-White
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --green-950: #041a0c;
    --green-900: #052e16;
    --green-800: #0a4322;
    --green-700: #0d5c2e;
    --green-600: #107a3d;
    --green-500: #16a34a;
    --green-400: #22c55e;
    --green-300: #4ade80;
    --green-200: #86efac;
    --green-100: #bbf7d0;
    --green-50:  #dcfce7;
    
    --cream-50:  #fafaf8;
    --cream-100: #f5f5f0;
    --cream-200: #e8e8df;
    --cream-300: #d4d4c8;
    
    --stone-50:  #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    --white: #ffffff;
    --black: #0a0a0a;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16), 0 8px 20px rgba(0,0,0,0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--stone-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--stone-900);
}

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-tag-light {
    color: var(--green-200);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--stone-900);
}

.section-title-light {
    color: var(--white);
}

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

.section-subtitle-light {
    color: rgba(255,255,255,0.8);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
}

.btn-ghost-light {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-ghost-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-green {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-300);
}

.btn-outline-green:hover {
    background: var(--green-50);
    border-color: var(--green-500);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 250, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green-800);
}

.logo-mark {
    color: var(--green-700);
}

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

.nav-links a:not(.nav-cta) {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--stone-600);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--green-700);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-500);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    background: var(--green-700);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--green-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream-50);
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 92, 46, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(13, 92, 46, 0.1);
    background: transparent;
    top: 20%;
    left: 15%;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--green-300) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.4;
    top: 15%;
    right: 38%;
}

.geo-stripe {
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(13, 92, 46, 0.03) 8px,
        rgba(13, 92, 46, 0.03) 16px
    );
    bottom: 15%;
    right: 5%;
    transform: rotate(15deg);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--stone-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--green-700);
    position: relative;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--green-200);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.6;
}

.hero-subheadline {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--stone-600);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--stone-600);
}

.trust-item svg {
    color: var(--green-600);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 5/6;
    background: var(--green-100);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 26, 12, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.card-doctor {
    bottom: 40px;
    left: -30px;
    background: var(--white);
    animation-delay: 0s;
}

.card-patient {
    top: 40px;
    right: -20px;
    background: var(--green-700);
    animation-delay: 2s;
}

.float-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-doctor .float-card-icon {
    background: var(--green-50);
    color: var(--green-700);
}

.icon-light {
    color: var(--green-200);
}

.float-card-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-patient .float-card-label {
    color: rgba(255,255,255,0.7);
}

.float-card-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--stone-800);
}

.card-patient .float-card-value {
    color: var(--white);
}

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

.services-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--green-600) 0px,
        var(--green-600) 40px,
        var(--green-400) 40px,
        var(--green-400) 80px,
        var(--green-200) 80px,
        var(--green-200) 120px
    );
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
}

.services .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    padding: 36px 30px;
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-200);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
    background: var(--white);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--stone-900);
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--stone-600);
}

.service-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover .service-accent {
    transform: scaleX(1);
}

/* CTA Block */
.services-cta {
    padding: 0 0 100px;
}

.cta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--green-800);
    border-radius: var(--radius-xl);
    padding: 56px 60px;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.cta-block::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.cta-block-text {
    position: relative;
    z-index: 1;
}

.cta-block-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 10px;
}

.cta-block-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta-block-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--cream-50);
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/6;
    background: var(--green-100);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
    aspect-ratio: 4/3;
    background: var(--green-200);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-geo-accent {
    position: absolute;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: var(--green-200);
    border-radius: var(--radius-md);
    top: -20px;
    left: -20px;
    z-index: -1;
}

.geo-square-2 {
    width: 50px;
    height: 50px;
    background: var(--green-500);
    border-radius: var(--radius-sm);
    top: 50%;
    right: -40px;
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    max-width: 500px;
}

.about-text-block {
    margin-bottom: 36px;
}

.about-text-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.5;
}

/* ---------- Approach ---------- */
.approach {
    position: relative;
    padding: 100px 0;
    background: var(--green-800);
    overflow: hidden;
}

.approach-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(22, 163, 74, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.approach-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.approach-header .section-title {
    max-width: 600px;
    margin: 0 auto 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.approach-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: var(--transition);
}

.approach-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.approach-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.approach-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
}

/* ---------- Insurance ---------- */
.insurance {
    padding: 100px 0;
    background: var(--white);
}

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

.insurance-content {
    max-width: 500px;
}

.insurance-steps {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.insurance-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insurance-step strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 2px;
}

.insurance-step span {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.5;
}

.insurance-visual {
    position: relative;
    min-height: 400px;
}

.insurance-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ins-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    transition: var(--transition);
}

.ins-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.ins-card-1:hover { border-color: var(--green-300); }
.ins-card-2:hover { border-color: var(--green-400); }
.ins-card-3:hover { border-color: var(--green-500); }

.ins-card-accent {
    width: 4px;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0;
}

.ins-card-1 .ins-card-accent { background: var(--green-500); }
.ins-card-2 .ins-card-accent { background: var(--green-600); }
.ins-card-3 .ins-card-accent { background: var(--green-700); }

.ins-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--stone-800);
}

.ins-card-content svg {
    color: var(--green-600);
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--green-800);
    overflow: hidden;
}

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

.contact-details {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-300);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--green-300);
}

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

.contact-form-wrap {
    max-width: 500px;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 0.92rem;
    color: var(--stone-500);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--stone-800);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green-50);
    border: 2px solid var(--green-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green-600);
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--stone-800);
}

.form-success p {
    font-size: 0.92rem;
    color: var(--stone-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
}

.footer-top {
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-mark {
    color: var(--green-400);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--stone-400);
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--stone-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--green-400);
}

.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact a {
    color: var(--stone-400);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--green-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--stone-500);
    text-align: center;
    line-height: 1.8;
}

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

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

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Non-JS fallback: ensure content is always visible */
.no-js [data-reveal],
.js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subheadline {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-float-card.card-doctor {
        left: 0;
    }
    
    .hero-float-card.card-patient {
        right: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insurance-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .insurance-content {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-links a:not(.nav-cta) {
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .hero-float-card {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-block {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }
    
    .cta-block-actions {
        justify-content: center;
        width: 100%;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-accent {
        right: -10px;
        bottom: -20px;
    }
    
    .contact-form-card {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-cta .cta-block-actions {
        flex-direction: column;
    }
    
    .services-cta .cta-block-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
