/* ==========================================================================
   Medical Lead Gen — Base Stylesheet
   Inspired by: Rowe Plastic Surgery, The Smile Code, Henry Meds, SkinSpirit
   Design language: Clean, clinical, trust-focused, warm minimalism
   ========================================================================== */

/* --- Font stack --- */
/* Heading: Playfair Display (serif, elegant) via Google Fonts */
/* Body: Inter (sans-serif, clean) via Google Fonts */

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

:root {
    /* Primary palette */
    --color-primary: #0d9488;       /* teal-600 */
    --color-primary-dark: #0f766e;  /* teal-700 */
    --color-primary-light: #ccfbf1; /* teal-100 */
    --color-accent: #0891b2;        /* cyan-600 */

    /* Neutrals */
    --color-white: #ffffff;
    --color-off-white: #f8fafc;     /* slate-50 */
    --color-light: #f1f5f9;         /* slate-100 */
    --color-border: #e2e8f0;        /* slate-200 */
    --color-muted: #64748b;         /* slate-500 */
    --color-text: #1e293b;          /* slate-800 */
    --color-text-light: #475569;    /* slate-600 */

    /* Trust colors */
    --color-trust-green: #16a34a;
    --color-star: #f59e0b;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-pad: 80px;
    --container-max: 1100px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* --- Disclosure Banner --- */
.disclosure-banner {
    background: var(--color-primary-light);
    border-bottom: 1px solid #99f6e4;
    padding: 10px 0;
    font-size: 0.825rem;
    color: var(--color-primary-dark);
    text-align: center;
    line-height: 1.5;
}

.disclosure-banner strong {
    font-weight: 600;
}

/* --- Header --- */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
}

.main-nav .nav-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    font-weight: 600;
}

.main-nav .nav-cta:hover {
    background: var(--color-primary-dark);
}

.header-phone {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

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

h1 { font-size: 2.75rem; letter-spacing: -0.5px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0f2fe 100%);
    padding: 64px 0 48px;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Page Content (inner pages) --- */
.page-content {
    padding: var(--section-pad) 0;
}

.content-block {
    margin-bottom: 48px;
}

.content-block h2 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary-light);
}

/* --- Hero (homepage) --- */
.hero {
    padding: 80px 0;
    background: linear-gradient(170deg, var(--color-off-white) 0%, var(--color-white) 50%, var(--color-primary-light) 100%);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--color-white);
    border: 1px solid var(--color-primary-light);
    color: var(--color-primary-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    max-width: 750px;
    margin: 0 auto 20px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--color-muted);
    max-width: 620px;
    margin: 0 auto 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--color-trust-green);
    font-weight: 500;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-outline {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary-dark);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.center-cta {
    text-align: center;
    margin-top: 32px;
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--color-white);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 48px;
}

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

.step {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    font-size: 0.95rem;
}

/* --- Services Grid --- */
.services-overview {
    padding: var(--section-pad) 0;
    background: var(--color-off-white);
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 12px;
}

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

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

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

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Why Us --- */
.why-us {
    padding: var(--section-pad) 0;
    background: var(--color-white);
}

.why-us h2 {
    text-align: center;
    margin-bottom: 48px;
}

.features-grid,
.do-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature,
.do-item,
.dont-item {
    padding: 24px;
}

.feature h3,
.do-item h3,
.dont-item h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.do-item h3 {
    color: var(--color-trust-green);
}

.dont-item h3 {
    color: var(--color-muted);
}

/* --- Dont List --- */
.dont-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* --- Areas Served --- */
.areas-served {
    padding: 64px 0;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.areas-served h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.areas-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.areas-served .btn-primary {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.areas-served .btn-primary:hover {
    background: var(--color-primary-light);
}

/* --- CTA Section (lead form) --- */
.cta-section {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0f2fe 100%);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 8px;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* --- Lead Form --- */
.lead-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.lead-form textarea {
    min-height: 100px;
    margin-bottom: 16px;
    resize: vertical;
}

.lead-form .btn-primary {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

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

/* --- Gallery --- */
.gallery-disclaimer {
    background: var(--color-off-white);
    border-left: 4px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

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

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0f2fe 100%);
    color: var(--color-primary-dark);
}

.gallery-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.gallery-placeholder p {
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

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

.blog-card {
    display: block;
    padding: 32px 24px;
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.blog-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* --- Blog Post --- */
.post-meta {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.blog-post-content {
    max-width: 720px;
    margin: 0 auto;
}

.blog-post-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-post-content li {
    color: var(--color-text-light);
    margin-bottom: 8px;
    line-height: 1.7;
}

.steps-list {
    padding-left: 24px;
}

.steps-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 720px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* --- FAQ --- */
.faq-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.faq-item p {
    margin: 0;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 0;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.footer-phone {
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

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

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.825rem;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--color-white);
}

.footer-disclosure {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    max-width: 700px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .steps-grid,
    .services-grid,
    .services-full-grid,
    .blog-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .main-nav {
        display: none; /* mobile: hamburger needed */
    }

    .hero h1 { font-size: 2rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}

@media (max-width: 600px) {
    .steps-grid,
    .services-grid,
    .services-full-grid,
    .blog-grid,
    .gallery-grid,
    .features-grid,
    .do-list,
    .dont-list,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas { flex-direction: column; align-items: center; }

    :root { --section-pad: 48px; }
}
