/* ============================================
   Jeffrey R Breiter, MD — Brand Styles
   Deep Navy (#0f1c3f) + Warm Gold (#c8a45e)
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy-950: #0a1229;
    --navy-900: #0f1c3f;
    --navy-800: #162550;
    --navy-700: #1e3168;
    --navy-600: #263d7d;
    --gold-500: #c8a45e;
    --gold-400: #d4b36a;
    --gold-300: #e0c278;
    --gold-200: #ecd18a;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ede6d8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(15, 28, 63, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 28, 63, 0.06);
    --shadow-lg: 0 8px 32px rgba(15, 28, 63, 0.08);
    --shadow-xl: 0 16px 48px rgba(15, 28, 63, 0.10);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--slate-700);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    border-bottom-color: var(--slate-200);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.logo-mark {
    color: var(--navy-900);
}

.logo-text {
    white-space: nowrap;
}

.logo-light {
    color: #fff;
}

.logo-light .logo-mark {
    color: #fff;
}

.nav {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--navy-900);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--navy-900);
    transition: transform var(--transition-base), opacity var(--transition-fast);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(199, 164, 94, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(30, 49, 104, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(10, 18, 41, 0.9) 0%, transparent 50%),
        linear-gradient(160deg, #0a1229 0%, #0f1c3f 35%, #162550 65%, #1a2d5c 100%);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a45e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline-accent {
    color: var(--gold-500);
    font-style: italic;
}

.hero-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-divider {
    width: 48px;
    height: 1px;
    background: var(--gold-500);
    margin: 0 auto 32px;
    opacity: 0.6;
}

.hero-meta {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

.hero-meta-item a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

.hero-meta-item a:hover {
    color: var(--gold-400);
}

.hero-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200, 164, 94, 0.3);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

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

.btn-dark {
    background: var(--navy-900);
    color: #fff;
}

.btn-dark:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 112px 0;
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy-900);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-title .accent {
    font-style: italic;
    color: var(--gold-500);
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.7;
}

.accent {
    font-style: italic;
    color: var(--gold-500);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream-50);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-md);
    opacity: 0.3;
    z-index: -1;
}

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

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

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

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

.value-item {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 16px;
}

.value-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    padding-top: 3px;
}

.value-text {
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.5;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: #fff;
}

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background: #fff;
}

.service-card:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: var(--navy-900);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    border-color: var(--gold-500);
    color: var(--gold-500);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-500);
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    background: var(--cream-50);
}

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

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

.approach-content .section-label {
    margin-bottom: 16px;
}

.approach-content .section-title {
    margin-bottom: 24px;
}

.approach-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 32px;
}

.approach-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-list li {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--slate-600);
}

.approach-list-marker {
    color: var(--gold-500);
    margin-right: 8px;
    font-weight: 500;
}

/* ============================================
   INSURANCE
   ============================================ */
.insurance {
    background: var(--navy-900);
    color: #fff;
}

.insurance .section-label {
    color: var(--gold-500);
}

.insurance .section-title {
    color: #fff;
}

.insurance-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.insurance-inner .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

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

.insurance-card {
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: left;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.03);
}

.insurance-card:hover {
    border-color: rgba(200, 164, 94, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.insurance-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: var(--gold-500);
}

.insurance-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.insurance-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: #fff;
}

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

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-500);
    margin-bottom: 40px;
}

.contact-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.contact-detail svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold-500);
}

.contact-detail a {
    color: var(--navy-900);
    transition: color var(--transition-fast);
}

.contact-detail a:hover {
    color: var(--gold-500);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

/* ============================================
   FORM
   ============================================ */
.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 16px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    color: var(--gold-500);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--gold-500);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

.footer-disclaimer {
    max-width: 480px;
    text-align: right;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .approach-layout,
    .contact-layout {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 0.9375rem;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 100px 24px 64px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .approach-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 400px;
    }

    .about-content {
        max-width: 100%;
    }

    .services-grid,
    .insurance-grid {
        grid-template-columns: 1fr;
    }

    .approach-image-wrap img {
        height: 320px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .container {
        padding: 0 20px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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