/* ============================================
   GERI MASSOTT — Medical & Health Website
   Clean Minimalist | Plum + Amber Palette
   ============================================ */

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

:root {
    --plum-50:  #f9f5f9;
    --plum-100: #f3ecf3;
    --plum-200: #e8d5e8;
    --plum-300: #d4b0d4;
    --plum-400: #bf8abf;
    --plum-500: #a05ea0;
    --plum-600: #6B3F6B;
    --plum-700: #5a345a;
    --plum-800: #4a2c4a;
    --plum-900: #3a223a;
    --plum-950: #1a0e1a;

    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;

    --white: #ffffff;
    --off-white: #faf8f7;
    --gray-50: #f7f7f5;
    --gray-100: #f0efed;
    --gray-200: #e2e0dc;
    --gray-300: #c4c1bb;
    --gray-400: #9e9a93;
    --gray-500: #6e6a64;
    --gray-600: #4a4640;
    --gray-700: #2e2b27;
    --gray-800: #1a1815;
    --gray-900: #0f0e0c;

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

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 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;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
    color: var(--gray-800);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.8;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 var(--gray-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

.nav.scrolled .nav-logo-mark {
    color: var(--plum-600);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color 0.4s ease;
}

.nav.scrolled .nav-logo-text {
    color: var(--gray-800);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav.scrolled .nav-links a {
    color: var(--gray-500);
}

.nav-links a:hover {
    color: var(--white);
}

.nav.scrolled .nav-links a:hover {
    color: var(--plum-600);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-out);
}

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

.nav-cta {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    color: var(--amber-400) !important;
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--amber-400);
}

.nav.scrolled .nav-cta {
    color: var(--amber-700) !important;
    border-color: rgba(180, 83, 9, 0.3);
}

.nav.scrolled .nav-cta:hover {
    background: rgba(180, 83, 9, 0.05);
    border-color: var(--amber-600);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav.scrolled .nav-toggle-line {
    background: var(--gray-700);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 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(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--plum-900);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-menu-links a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--amber-300);
}

.mobile-menu-cta {
    font-family: var(--font-sans) !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    color: var(--amber-400) !important;
    margin-top: 1rem;
    display: inline-block;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 14, 26, 0.82) 0%,
        rgba(107, 63, 107, 0.70) 50%,
        rgba(26, 14, 26, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-line {
    width: 60px;
    height: 1px;
    background: var(--amber-400);
    margin-bottom: 1.75rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    max-width: 820px;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--gray-900);
    border-color: var(--amber-500);
}

.btn-primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--plum-600);
    border-color: var(--plum-600);
    display: inline-flex;
}

.btn-outline:hover {
    background: var(--plum-600);
    color: var(--white);
}

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

/* --- Hero Scroll --- */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Services --- */
.services {
    padding: 8rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.service-card:hover {
    background: var(--plum-50);
}

.service-card:hover .service-icon {
    color: var(--plum-600);
    transform: scale(1.05);
}

.service-icon {
    color: var(--plum-600);
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease-out);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--off-white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--plum-200);
    border-radius: 2px;
    z-index: -1;
}

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

.about-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-text:first-of-type {
    margin-top: 0;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.value-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--plum-300);
}

.value-label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-700);
    letter-spacing: 0.02em;
}

/* --- Approach --- */
.approach {
    padding: 8rem 0;
    background: var(--white);
}

.approach-header {
    text-align: center;
    margin-bottom: 4rem;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.approach-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.approach-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1rem;
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--plum-100);
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-step h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* --- Quote Section --- */
.quote-section {
    padding: 6rem 0;
    background: var(--plum-900);
    text-align: center;
}

.quote-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    color: var(--plum-400);
    margin-bottom: 1.5rem;
}

.quote-content blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quote-source {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-400);
}

/* --- Contact --- */
.contact {
    padding: 8rem 0;
    background: var(--off-white);
}

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

.contact-info {
    max-width: 440px;
}

.contact-intro {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    color: var(--plum-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--plum-600);
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--plum-700);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    padding: 0.85rem 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(107, 63, 107, 0.08);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--plum-50);
    border: 1px solid var(--plum-200);
    border-radius: 2px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--plum-700);
}

.form-success svg {
    color: var(--plum-600);
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2.5rem;
    background: var(--gray-900);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--plum-400);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 0.5rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--amber-500);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--amber-400);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal[data-state="hidden"] {
    opacity: 0;
    transform: translateY(24px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .approach-step:not(:last-child)::after {
        display: none;
    }

    .about-layout {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }

    .hero-scroll {
        display: none;
    }

    .services {
        padding: 5rem 0;
    }

    .about {
        padding: 5rem 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image img {
        height: 350px;
    }

    .about-image-accent {
        display: none;
    }

    .approach {
        padding: 5rem 0;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .approach-step {
        padding: 1.5rem 0;
    }

    .quote-section {
        padding: 4rem 0;
    }

    .contact {
        padding: 5rem 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrap {
        padding: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-inner {
        padding: 0 1.25rem;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal[data-state="hidden"] {
        opacity: 1;
        transform: none;
    }
}
