/* ============================================
   Murali M Angirekula MD PA — Style System
   Deep Navy (#0A1F44) + Warm Gold (#C9A84C)
   ============================================ */

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

:root {
    --navy-950: #050E1E;
    --navy-900: #0A1F44;
    --navy-800: #0F2A5C;
    --navy-700: #153574;
    --navy-600: #1B408C;
    --gold-500: #C9A84C;
    --gold-400: #D4B85E;
    --gold-300: #DFC870;
    --gold-600: #B8943F;
    --cream-50: #FAFAF8;
    --cream-100: #F5F4F0;
    --cream-200: #EDEBE6;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --easeInOut: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-eyebrow--light {
    color: var(--gold-400);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--white);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 2px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: none;
}

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

.btn--gold:hover {
    background-color: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.btn--outline {
    background-color: transparent;
    color: var(--navy-900);
    border-color: var(--navy-900);
}

.btn--outline:hover {
    background-color: var(--navy-900);
    color: var(--white);
}

.btn--white {
    background-color: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn--white:hover {
    background-color: var(--cream-100);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn--full {
    width: 100%;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(10, 31, 68, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-mark {
    display: flex;
    align-items: center;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-500);
    transition: width 0.3s var(--ease-out);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 1.5px;
    background-color: var(--navy-900);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    top: 72px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--navy-900);
    padding: 12px 24px;
    display: block;
    transition: color 0.25s ease;
}

.mobile-nav-link:hover {
    color: var(--gold-500);
}

.mobile-nav-cta {
    margin-top: 24px;
}

.mobile-nav-cta .btn {
    font-size: 1rem;
    padding: 16px 40px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    padding-top: 72px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0 120px;
    flex: 1;
}

.hero-content {
    padding-right: 16px;
}

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--navy-900);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-credentials {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.credential-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.credential-desc {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--navy-900);
}

.credential-divider {
    width: 1px;
    height: 32px;
    background-color: var(--gray-200);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 620/780;
}

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

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    z-index: -1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0 120px;
    background-color: var(--navy-900);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

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

.service-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 40px 32px;
    transition: all 0.35s var(--ease-out);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 2px;
    margin-bottom: 24px;
    color: var(--gold-500);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 120px 0;
    background-color: var(--white);
}

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

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

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 560/700;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    z-index: -1;
}

.about-content-col {
    padding: 16px 0;
}

.about-eyebrow {
    margin-bottom: 20px;
}

.about-title {
    margin-bottom: 32px;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 20px;
}

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

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

.value-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
}

.value-desc {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--navy-900);
}

/* ============================================
   Approach Section
   ============================================ */
.approach {
    padding: 120px 0;
    background-color: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 80px;
}

.approach-item {
    position: relative;
    padding-left: 48px;
}

.approach-number {
    position: absolute;
    left: 0;
    top: -8px;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.25);
    line-height: 1;
}

.approach-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.approach-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 420px;
}

.approach-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.approach-cta-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

.contact-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    color: var(--gold-500);
    flex-shrink: 0;
}

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

.contact-detail-value {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--navy-900);
    line-height: 1.6;
}

.contact-link {
    transition: color 0.25s ease;
}

.contact-link:hover {
    color: var(--gold-600);
}

/* Contact Form */
.contact-form-col {
    background-color: var(--white);
    border-radius: 4px;
    padding: 48px;
    box-shadow: 0 4px 40px rgba(10, 31, 68, 0.06);
    border: 1px solid var(--gray-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.form-input {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-800);
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    padding: 14px 16px;
    transition: all 0.25s ease;
    outline: none;
    width: 100%;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:focus {
    border-color: var(--gold-500);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.5;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

.success-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--navy-900);
}

.success-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 320px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--navy-950);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s ease;
}

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

.footer-phone {
    font-size: 1.125rem;
    font-family: var(--font-serif);
    color: var(--gold-500);
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.footer-phone:hover {
    color: var(--gold-300);
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    max-width: 480px;
    text-align: right;
    line-height: 1.5;
}

/* ============================================
   Scroll Reveal Animations
   Progressive enhancement — content visible without JS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-split {
        gap: 48px;
    }
    
    .approach-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-actions .btn--gold {
        display: none;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 60px 0 100px;
        gap: 48px;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-image-frame {
        aspect-ratio: 4/5;
    }
    
    .hero-accent {
        top: -12px;
        right: -12px;
        width: 80px;
        height: 80px;
    }
    
    .hero-headline {
        font-size: clamp(1.875rem, 6vw, 2.75rem);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-credentials {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .credential-divider {
        width: 40px;
        height: 1px;
    }
    
    .services {
        padding: 80px 0 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 32px 28px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-col {
        max-width: 480px;
    }
    
    .about-image-accent {
        width: 120px;
        height: 120px;
        bottom: -10px;
        left: -10px;
    }
    
    .approach {
        padding: 80px 0;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .approach-item {
        padding-left: 40px;
    }
    
    .approach-number {
        font-size: 2.25rem;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-col {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-inner {
        padding: 48px 0 80px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .contact-form-col {
        padding: 24px 20px;
    }
}
