/* ============================================
   GRAMS SPECIALTIES — Editorial Style
   Palette: Plum (#5B2C6F) + Amber (#F59E0B)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #5B2C6F;
    --plum-900: #4a1a5c;
    --plum-950: #2d0f36;
    
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #F59E0B;
    --amber-600: #d97706;
    --amber-700: #b45309;
    
    --cream: #FFFBF5;
    --cream-dark: #F5F0E8;
    --warm-gray: #6B6560;
    --warm-gray-light: #9B9590;
    --warm-gray-dark: #3D3835;
    --white: #FFFFFF;
    --black: #1A1510;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --container-max: 1200px;
    --section-pad: clamp(4rem, 10vw, 8rem);
    --header-height: 80px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--warm-gray-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 245, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91, 44, 111, 0.08);
    transition: box-shadow 0.3s ease;
    height: var(--header-height);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(91, 44, 111, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--plum-800);
    color: var(--amber-500);
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--plum-800);
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-gray-dark);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.main-nav a:not(.btn):hover {
    color: var(--plum-800);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.8125rem 1.75rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-amber {
    background: var(--amber-500);
    color: var(--black);
    border-color: var(--amber-500);
}

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

.btn-light {
    background: var(--white);
    color: var(--plum-800);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--plum-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-dark {
    background: var(--plum-800);
    color: var(--white);
    border-color: var(--plum-800);
}

.btn-dark:hover {
    background: var(--plum-900);
    border-color: var(--plum-900);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.3);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: 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(45, 15, 54, 0.82) 0%,
        rgba(91, 44, 111, 0.72) 50%,
        rgba(74, 26, 92, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: var(--header-height);
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-400);
}

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

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

/* ============================================
   SECTION HELPERS
   ============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 1rem;
}

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

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-800);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

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

.lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--warm-gray);
    margin-bottom: 1.25rem;
}

/* ============================================
   INTRO
   ============================================ */
.intro {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

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

.intro-image-wrap img {
    width: 100%;
    height: clamp(400px, 50vw, 650px);
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(91, 44, 111, 0.15);
}

.intro-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--amber-500);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.5;
}

.intro-text {
    max-width: 520px;
}

.intro-text .section-headline {
    margin-bottom: 1.25rem;
}

.intro-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.intro-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(91, 44, 111, 0.12);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-800);
    line-height: 1.3;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--warm-gray-light);
    font-weight: 500;
}

/* ============================================
   SPECIALTIES
   ============================================ */
.specialties {
    padding: var(--section-pad) 0;
    background: var(--plum-950);
}

.specialties .section-eyebrow {
    color: var(--amber-400);
}

.specialties .section-headline {
    color: var(--white);
    margin-bottom: 3.5rem;
}

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

.specialty-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.specialty-img {
    height: 240px;
    overflow: hidden;
}

.specialty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.specialty-card:hover .specialty-img img {
    transform: scale(1.06);
}

.specialty-body {
    padding: 1.75rem;
}

.specialty-body h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

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

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    padding: var(--section-pad) 0;
    background: var(--plum-800);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band-inner {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-top: 1rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.visit-info {
    max-width: 480px;
}

.info-block {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(91, 44, 111, 0.1);
}

.info-block:first-child {
    padding-top: 2rem;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--plum-50);
    border: 1px solid rgba(91, 44, 111, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--plum-800);
}

.info-block h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 0.375rem;
}

.info-block p {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.65;
}

.info-block a {
    color: var(--plum-700);
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-block a:hover {
    color: var(--plum-500);
}

.visit-map {
    height: clamp(350px, 40vw, 500px);
    min-height: 350px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--plum-950);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.footer-brand .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.footer-copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

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

.footer-address a {
    color: var(--amber-400);
    transition: color 0.2s ease;
}

.footer-address a:hover {
    color: var(--amber-300);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--plum-800);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--plum-800);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .intro-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image-wrap {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .intro-text {
        max-width: 100%;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        padding: calc(var(--header-height) + 2rem) 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 0.875rem 0;
        font-size: 1.0625rem;
        border-bottom: 1px solid rgba(91, 44, 111, 0.08);
        width: 100%;
    }
    
    .main-nav .btn {
        margin-top: 1rem;
        justify-content: center;
        border-bottom: none;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .intro-accent {
        display: none;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9375rem;
    }
    
    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
