/* ===================================================
   PUGLIESE NATURAL MEDICINE
   Modern Wellness — Clean, Professional Design
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --green:       #16a34a;
    --green-dark:  #15803d;
    --green-deep:  #052e16;
    --green-mid:   #166534;
    --green-light: #22c55e;
    --green-soft:  #86efac;
    --green-muted: #bbf7d0;
    --green-bg:    #f0fdf4;
    --green-pale:  #f7fef9;

    --cream:       #fafaf9;
    --cream-warm:  #f5f5f0;
    --white:       #ffffff;

    --text-dark:   #0a0f1e;
    --text-body:   #374151;
    --text-muted:  #6b7280;
    --text-light:  #9ca3af;
    --border:      #e5e7eb;
    --border-soft: #f3f4f6;

    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl:32px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-green: 0 4px 20px rgba(22,163,74,0.22);

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

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
p { line-height: 1.75; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 16px 0;
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    padding: 11px 0;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
    color: var(--text-dark); letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    font-size: 0.84rem; font-weight: 500;
    color: var(--text-muted); transition: color 0.18s;
    letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-dark); }

.header-cta {
    background: var(--green); color: var(--white);
    padding: 9px 22px; border-radius: var(--radius-full);
    font-size: 0.82rem; font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(22,163,74,0.28);
    letter-spacing: 0.005em;
}
.header-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(22,163,74,0.35);
    color: var(--white);
}

.menu-btn { display: none; width: 24px; height: 18px; position: relative; cursor: pointer; z-index: 1001; }
.menu-btn span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s ease; }
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-btn span:nth-child(3) { bottom: 0; }
.menu-btn.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; background: var(--white); z-index: 999;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity 0.28s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.mobile-menu a:hover { color: var(--green); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.84rem;
    border-radius: var(--radius-full); cursor: pointer;
    transition: var(--transition); letter-spacing: 0.01em;
    white-space: nowrap;
}
.btn-primary {
    background: var(--green); color: var(--white);
    padding: 12px 28px; box-shadow: var(--shadow-green);
}
.btn-primary:hover {
    background: var(--green-dark); transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(22,163,74,0.3); color: var(--white);
}
.btn-outline {
    padding: 11px 26px; border: 1.5px solid var(--border);
    color: var(--text-dark); background: transparent;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-bg); }

.btn-white {
    background: var(--white); color: var(--green);
    padding: 12px 28px; box-shadow: var(--shadow-md); font-weight: 700;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ===== HERO ===== */
.hero {
    padding: 112px 0 0;
    background: var(--cream);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -120px; right: -120px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, var(--green-bg) 0%, transparent 70%);
    opacity: 0.7;
}

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

.hero-content {
    display: flex; flex-direction: column; justify-content: center;
    padding: 48px 0 60px;
}

.hero-label {
    display: inline-block; width: fit-content;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--green); background: var(--green-bg);
    border: 1px solid var(--green-muted);
    padding: 6px 14px; border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 1.12; letter-spacing: -0.03em;
    margin-bottom: 18px; color: var(--text-dark);
}

.hero-desc {
    font-size: 0.97rem; color: var(--text-muted);
    margin-bottom: 36px; line-height: 1.8; max-width: 460px;
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 7px; }
.trust-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--green-bg); border: 1px solid var(--green-muted);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-icon svg { width: 13px; height: 13px; stroke: var(--green); fill: none; stroke-width: 2; }
.trust-item span { font-size: 0.78rem; font-weight: 500; color: var(--text-body); }

.hero-visual {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-img-main img {
    width: 100%; height: 450px;
    display: block; object-fit: cover;
}

/* ===== SECTIONS ===== */
.section { padding: clamp(72px, 9vw, 108px) 0; }

.section-label {
    display: inline-block;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--green); margin-bottom: 10px;
}

.section-head {
    text-align: center; max-width: 950px;
    margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    box-shadow: var(--shadow-md);
    margin-top: -48px; position: relative; z-index: 10;
}
.stat-item {
    text-align: center; padding: 0 20px;
    border-right: 1px solid var(--border-soft);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 800;
    color: var(--green); line-height: 1; margin-bottom: 5px;
    letter-spacing: -0.03em;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.01em; }

/* ===== FEATURE BOXES ===== */
.features-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.features-row-3 { grid-template-columns: repeat(3, 1fr); }

/* 7-item grid: row 1 = 4 cols, row 2 = 3 cols centered */
.features-row.seven-items {
    display: flex; flex-wrap: wrap; gap: 16px;
}
.features-row.seven-items .feature-box {
    flex: 0 0 calc(25% - 12px);
}
.features-row.seven-items .feature-box:nth-child(n+5) {
    flex: 0 0 calc(33.333% - 11px);
}

.feature-box {
    padding: 28px 22px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-muted);
}

.feature-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: var(--icon-bg, #2e5a6b); margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--icon-color, #c8dce4); fill: none; stroke-width: 1.8; }

.feature-box h3 { font-size: 0.92rem; margin-bottom: 7px; color: var(--text-dark); }
.feature-box p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }

/* ===== SPLIT SECTION ===== */
.split-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}

.split-img {
    position: relative; border-radius: var(--radius-2xl);
    overflow: hidden; height: 700px;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}
.split-img img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.split-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5,46,22,0.08) 100%);
    pointer-events: none;
}

.split-body { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.split-body .section-label { margin-bottom: 8px; }
.split-body h2 { margin-bottom: 16px; }
.split-body > p {
    color: var(--text-muted); margin-bottom: 28px;
    line-height: 1.78; font-size: 0.93rem;
}

.split-list { display: flex; flex-direction: column; gap: 6px; }
.split-list-item {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 14px; border-radius: var(--radius-sm);
    background: var(--border-soft);
    transition: background 0.18s;
}
.split-list-item:hover { background: var(--green-bg); }
.split-list-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--green); flex-shrink: 0;
}
.split-list-item span { font-size: 0.84rem; color: var(--text-body); font-weight: 500; }

/* ===== FULL-BLEED SPLIT ===== */
.split-fullbleed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 560px;
}

.split-fullbleed .split-fb-img {
    position: relative;
    overflow: hidden;
}
.split-fullbleed .split-fb-img img {
    width: 100%; height: 850px;
    object-fit: cover; object-position: center;
    display: block;
}

.split-fullbleed .split-fb-body {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(48px, 3vw, 80px) clamp(40px, 3vw, 80px);
    background: #f0fdf4;
}

.split-fullbleed .split-fb-body h2 { margin-bottom: 16px; }
.split-fullbleed .split-fb-body > p {
    color: var(--text-muted); margin-bottom: 28px;
    line-height: 1.78; font-size: 0.93rem;
}

.split-fullbleed.reverse { direction: rtl; }
.split-fullbleed.reverse .split-fb-img,
.split-fullbleed.reverse .split-fb-body { direction: ltr; }

@media (max-width: 1024px) {
    .split-fullbleed { grid-template-columns: 1fr; }
    .split-fullbleed .split-fb-img { height: 360px; }
    .split-fullbleed.reverse { direction: ltr; }
}

/* ===== SERVICE CARDS ===== */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card-img { height: 210px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body { padding: 24px 22px; }
.service-card-body h3 { margin-bottom: 10px; font-size: 1.02rem; color: var(--text-dark); }
.service-card-body p {
    font-size: 0.83rem; color: var(--text-muted);
    line-height: 1.72;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Reversed split: image right, text left */
.split-reverse { direction: rtl; }
.split-reverse .split-img,
.split-reverse .split-body { direction: ltr; }

/* Italic footnote inside split body */
.split-footer-note {
    margin-top: 20px; font-size: 0.85rem;
    font-style: italic; color: var(--text-muted); line-height: 1.7;
}

/* CTA bottom spacing */
.cta-wrap { margin-bottom: 88px; }

/* ===== HOUSE CALLS SECTION ===== */
/* ===== HOUSE CALLS + TELEMEDICINE GRID ===== */
.hc-tele-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.hc-tele-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hc-tele-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.hc-tele-icon {
    width: 40px; height: 40px;
    background: var(--icon-bg, #2e5a6b);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hc-tele-icon svg {
    width: 20px; height: 20px;
    stroke: var(--icon-color, #c8dce4);
}
.hc-tele-card-body {
    display: flex; flex-direction: column;
}
.hc-tele-card h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.2;
}
.hc-tele-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}
@media (max-width: 768px) {
    .hc-tele-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== ABOUT TEXT BLOCK ===== */
.about-text-block {
    max-width: 780px; margin: 0 auto; text-align: center;
}
.about-text-block h2 { margin-bottom: 20px; }
.about-text-block p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.85; }

/* ===== COMMITMENT SECTION ===== */
.commitment-section {
    background: var(--cream);
    padding: clamp(72px, 9vw, 108px) 28px;
    text-align: center;
}
.commitment-inner {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.commitment-inner h2 { color: var(--text-dark); }
.commitment-inner p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.85; }

/* ===== TAG LIST ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag-item {
    display: inline-flex; align-items: center;
    padding: 10px 20px;
    background: var(--tag-bg, #2e5a6b);
    color: var(--tag-text, #c8dce4);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0;
    transition: var(--transition);
}
.tag-item:hover { opacity: 0.85; }

/* ===== SECTION FOOTER TEXT ===== */
.section-footer-text {
    font-size: 0.94rem; color: var(--text-muted);
    line-height: 1.78; max-width: 640px;
    margin: 32px auto 0;
    text-align: center;
}

/* ===== PROVIDERS ===== */
.providers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.provider-card {
    border-radius: var(--radius-xl); overflow: hidden;
    background: var(--white); border: 1px solid var(--border);
    transition: var(--transition);
}
.provider-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }

.provider-img { overflow: hidden; }
.provider-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s ease; }
.provider-card:hover .provider-img img { transform: scale(1.03); }
.provider-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--cream), var(--green-bg));
    display: flex; align-items: center; justify-content: center;
}

.provider-body { padding: 24px 26px 28px; }
.provider-body h3 { font-size: 1.2rem; margin-bottom: 4px; color: var(--text-dark); }
.provider-role {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.provider-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.78; }

/* ===== CONTACT GRID ===== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.contact-card {
    text-align: center; padding: 28px 18px;
    border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--border);
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-muted); }

.contact-icon {
    width: 46px; height: 46px; border-radius: var(--radius);
    background: var(--green-bg); border: 1px solid var(--green-muted);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; }
.contact-card h4 {
    font-family: var(--font-body); font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-light); margin-bottom: 6px;
}
.contact-card p { font-size: 0.84rem; font-weight: 600; color: var(--text-dark); }
.contact-card a { color: var(--green); }
.contact-card a:hover { color: var(--green-dark); }
.contact-card .sub { font-size: 0.74rem; color: var(--text-light); margin-top: 4px; font-weight: 400; }

/* ===== CTA BLOCK ===== */
.cta-section {
    background: var(--cta-bg, var(--green-deep));
    padding: clamp(56px, 7vw, 88px) clamp(28px, 5vw, 72px);
    text-align: center; border-radius: 0;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    top: -100px; right: -100px;
    width: 340px; height: 340px; border-radius: 50%;
    background: rgba(34,197,94,0.07);
}
.cta-section::after {
    content: ''; position: absolute;
    bottom: -80px; left: -60px;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(34,197,94,0.05);
}
.cta-section h2 {
    color: var(--white); margin-bottom: 14px;
    position: relative; font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.cta-section p {
    color: rgb(255,255,255);
    max-width: 1000px; margin: 0 auto 28px;
    position: relative; line-height: 1.78; font-size: 0.92rem;
}
.cta-section .btn { position: relative; }

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 136px 0 72px; background: var(--cream);
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, var(--green-bg) 0%, transparent 70%);
    opacity: 0.6;
}

/* Abstract bg variant for About & Contact */
.page-hero-abstract {
    background-image: url('../images/abstract-green.jpeg');
    background-size: cover;
    background-position: center;
}
.page-hero-abstract::before { display: none; }
.page-hero-abstract::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(2px);
}
.page-hero-abstract .page-hero-inner { position: relative; z-index: 3; }
.page-hero-inner {
    position: relative; z-index: 2;
    max-width: 1000px; margin: 0 auto; padding: 0 28px;
}
.page-hero-inner .section-label { margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 16px; color: var(--text-dark); }
.page-hero p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; max-width: 1000px; margin: 0 auto; }

/* ===== FULL IMAGE ===== */
.full-img { width: 100%; height: clamp(260px, 36vw, 420px); overflow: hidden; }
.full-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== SCHEDULE ===== */
.schedule-cta { text-align: center; padding: 8px 0 24px; }
.schedule-msg {
    margin-top: 20px; padding: 16px 24px;
    background: var(--green-pale);
    border: 1px solid var(--green-muted); border-radius: var(--radius);
    display: inline-block; opacity: 0; transform: translateY(8px);
    transition: all 0.36s ease; pointer-events: none;
}
.schedule-msg.show { opacity: 1; transform: none; pointer-events: all; }
.schedule-msg a { color: var(--green); font-weight: 700; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0;
}

.footer-top {
    display: flex; flex-direction: column; align-items: center;
    gap: 0; padding: 52px 28px 32px;
    text-align: center;
}
.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    color: var(--text-dark); letter-spacing: -0.02em;
}

.footer-divider {
    border: none; border-top: 1px solid var(--border);
    margin: 0;
}

.footer-mid {
    display: flex; flex-direction: column; align-items: center;
    gap: 24px; padding: 36px 28px;
}
.footer-nav {
    display: flex; gap: 36px; flex-wrap: wrap; justify-content: center;
}
.footer-nav a {
    font-size: 0.86rem; font-weight: 500;
    color: var(--text-muted); transition: color 0.18s;
}
.footer-nav a:hover { color: var(--text-dark); }

.footer-contact-row {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.footer-contact-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 16px; border-radius: var(--radius-full);
    border: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.8rem;
    transition: all 0.18s; background: transparent;
}
.footer-contact-pill svg { width: 13px; height: 13px; stroke: var(--text-light); flex-shrink: 0; }
.footer-contact-pill:hover {
    color: var(--green); border-color: var(--green-muted);
    background: var(--green-bg);
}
.footer-contact-pill:hover svg { stroke: var(--green); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 28px; text-align: center;
}
.footer-bottom p { color: var(--text-light); font-size: 0.72rem; }

@media (max-width: 768px) {
    .footer-nav { gap: 20px; }
    .footer-contact-row { gap: 8px; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }

.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.07s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.14s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.21s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.28s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.35s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.42s; }
.stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.49s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .stagger > * { transition: none; opacity: 1; transform: none; }
}

/* ===== SCHEDULE MODAL ===== */
.schedule-modal {
    display: none;
    position: fixed; inset: 0;
    z-index: 9999;
    align-items: center; justify-content: center;
}
.schedule-modal.active { display: flex; }
.schedule-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.schedule-modal-content {
    position: relative;
    width: 90vw; max-width: 1000px;
    height: 85vh;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.schedule-modal-close {
    position: absolute; top: 12px; right: 16px;
    z-index: 10;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    width: 36px; height: 36px;
    font-size: 1.4rem; line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}
.schedule-modal-close:hover { background: var(--cream); }
.schedule-modal-content iframe {
    width: 100%; height: 100%; border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { padding: 110px 0 60px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { padding: 16px 0 8px; align-items: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .hero-img-main img { height: 400px; }
    .split-section { grid-template-columns: 1fr; gap: 36px; }
    .split-img { min-height: 300px; }
    .features-row { grid-template-columns: repeat(2, 1fr); }
    .service-cards { grid-template-columns: 1fr 1fr; }
    .providers-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -32px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-soft); padding: 16px 0; }
    .stat-item:nth-child(2n) { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .header-cta { display: none; }
    .menu-btn { display: block; }
    .features-row { grid-template-columns: 1fr 1fr; }
    .service-cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 20px 24px; }
    .cta-section { border-radius: var(--radius-xl); }
    .section-head { max-width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .features-row { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { border-bottom: 1px solid var(--border-soft); border-right: none; padding: 14px 0; }
    .hero h1 { font-size: 1.8rem; }
    .hero-img-main img { height: 300px; }
    .cta-section { border-radius: var(--radius-lg); }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; justify-content: center; }
}

/* ===== CONTACT LAYOUT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: start;
}

.contact-form-col h2 { margin-bottom: 10px; }
.contact-form-intro {
    color: var(--text-muted); font-size: 0.93rem;
    line-height: 1.75; margin-bottom: 32px;
}

/* Form fields */
.cf-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-bottom: 16px;
}
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cf-field label {
    font-size: 0.82rem; font-weight: 600; color: var(--text-dark);
    letter-spacing: 0.01em;
}
.cf-field label span { color: var(--green); }
.cf-field input,
.cf-field textarea {
    font-family: var(--font-body); font-size: 0.88rem;
    padding: 11px 14px; border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--white); color: var(--text-dark);
    transition: border-color 0.18s, box-shadow 0.18s;
    outline: none; width: 100%;
}
.cf-field input:focus,
.cf-field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--text-light); }
.cf-field textarea { resize: vertical; min-height: 130px; }

.cf-status {
    font-size: 0.87rem; padding: 12px 16px;
    border-radius: var(--radius); margin-bottom: 16px; display: none;
}
.cf-status.cf-success {
    display: block; background: var(--green-bg);
    color: var(--green-mid); border: 1px solid var(--green-muted);
}
.cf-status.cf-error {
    display: block; background: #fef2f2;
    color: #b91c1c; border: 1px solid #fecaca;
}

.cf-submit { margin-top: 4px; }

/* Contact Info sidebar */
.contact-info-col {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    border: 1px solid var(--border);
    position: sticky; top: 100px;
}
.contact-info-col h3 {
    font-size: 1.2rem; margin-bottom: 10px; color: var(--text-dark);
}
.contact-info-col > p {
    font-size: 0.85rem; color: var(--text-muted);
    line-height: 1.72; margin-bottom: 28px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 14px;
    color: inherit; transition: var(--transition);
}
a.contact-info-item:hover .contact-info-value { color: var(--green); }

.contact-info-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: var(--radius); background: var(--white);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg {
    width: 17px; height: 17px; stroke: var(--green);
}
.contact-info-label {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-light); margin-bottom: 2px;
}
.contact-info-value {
    font-size: 0.88rem; font-weight: 600; color: var(--text-dark);
    transition: color 0.18s;
}
.contact-info-sub {
    font-size: 0.78rem; color: var(--text-muted); margin-top: 2px;
}

@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-info-col { position: static; }
    .cf-row { grid-template-columns: 1fr; }
}

/* ===== FOCUS & SELECTION ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--green-soft); outline-offset: 3px; border-radius: 4px;
}
::selection { background: var(--green-bg); color: var(--green-mid); }
