/* ============================================
   Marmer Ellen L MD — Primary Care Website
   Palette: Terracotta + Sand + Neutral
   ============================================ */

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

:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A04E2E;
    --terracotta-light: #D4845E;
    --sand: #FAF6F1;
    --sand-mid: #F0E8DD;
    --sand-dark: #E8DFD0;
    --charcoal: #2A2420;
    --charcoal-light: #4A403A;
    --warm-gray: #7A6E66;
    --warm-gray-light: #A89890;
    --white: #FFFFFF;
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(42, 36, 32, 0.06);
    --shadow-md: 0 8px 30px rgba(42, 36, 32, 0.10);
    --shadow-lg: 0 16px 50px rgba(42, 36, 32, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--sand);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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: 600;
    line-height: 1.25;
    color: var(--charcoal);
}

.section__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.7;
}

.section__header--centered {
    text-align: center;
}

.section__header--centered .section__subtitle {
    margin: 0 auto;
}

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

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

.btn--primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.35);
}

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

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn--nav {
    background: var(--terracotta);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.88rem;
}

.btn--nav:hover {
    background: var(--terracotta-dark);
}

.btn--cta {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    font-size: 1.05rem;
    padding: 18px 36px;
}

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.1);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    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: 600;
    font-size: 1.05rem;
    color: var(--charcoal);
}

.nav__logo:hover {
    color: var(--terracotta);
}

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

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: var(--transition);
    position: relative;
}

.nav__links a:not(.btn):hover {
    color: var(--terracotta);
}

.nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition);
}

.nav__links a:not(.btn):hover::after {
    width: 100%;
}

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

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #C0603A 0%,
        #D4845E 30%,
        #E8A878 50%,
        #C0603A 70%,
        #8B4226 100%
    );
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(232, 168, 120, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(139, 66, 38, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(160, 78, 46, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 80px;
}

.hero__content {
    color: var(--white);
}

.hero__eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero__headline {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
    max-width: 560px;
}

.hero__sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 480px;
    margin-bottom: 36px;
}

.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-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.trust-item svg {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.hero__image {
    position: relative;
}

.hero__image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ---------- Section ---------- */
.section {
    padding: 100px 0;
}

/* ---------- Services ---------- */
.services {
    background: var(--sand);
}

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

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid rgba(192, 96, 58, 0.08);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 96, 58, 0.18);
}

.card--service {
    display: flex;
    flex-direction: column;
}

.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192, 96, 58, 0.1), rgba(192, 96, 58, 0.05));
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.card__title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.card__body {
    font-size: 0.93rem;
    color: var(--warm-gray);
    line-height: 1.7;
    flex: 1;
}

/* ---------- About ---------- */
.about {
    background: var(--white);
}

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

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about__image-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(192, 96, 58, 0.08), transparent);
    pointer-events: none;
}

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

.about__text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
}

.stat__label {
    font-size: 0.82rem;
    color: var(--warm-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand-dark);
}

/* ---------- Approach ---------- */
.approach {
    background: var(--sand);
}

.approach__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
    align-items: start;
}

.step {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition);
}

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

.step__number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(192, 96, 58, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.step__title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.step__body {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.step__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
}

.step__connector::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(192, 96, 58, 0.2), rgba(192, 96, 58, 0.4));
    border-radius: 2px;
}

/* ---------- Insurance ---------- */
.insurance {
    background: var(--white);
}

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

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

.insurance__text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

.insurance__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.insurance__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.insurance__visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ---------- Contact ---------- */
.contact {
    background: var(--sand);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 56px;
    align-items: stretch;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(192, 96, 58, 0.08);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 96, 58, 0.18);
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-card__label {
    font-family: var(--font-body);

