/* ============================================
   Rosalie L. Bair, MD — Style System
   Classic & Elegant · Terracotta + Sand
   ============================================ */

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

:root {
    --color-terracotta: #B8603C;
    --color-terracotta-dark: #9A4E2F;
    --color-terracotta-light: #D4845E;
    --color-sand: #F5F0E8;
    --color-sand-light: #FAF7F2;
    --color-sand-dark: #E8DFD0;
    --color-warm-white: #FDFCFA;
    --color-cream: #F9F5EE;
    --color-charcoal: #2C2420;
    --color-text: #3D302A;
    --color-text-muted: #7A6B63;
    --color-text-light: #A89890;
    --color-border: #E5DCD2;
    --color-border-light: #F0E8DE;
    --color-success: #4A7C59;
    --color-success-bg: #EEF4F0;
    
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06), 0 1px 2px rgba(44, 36, 32, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08), 0 2px 4px rgba(44, 36, 32, 0.04);
    --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.12), 0 4px 12px rgba(44, 36, 32, 0.06);
    --shadow-xl: 0 24px 60px rgba(44, 36, 32, 0.14);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-terracotta-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-charcoal);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1rem; }

.lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text);
}

/* ---------- Eyebrow ---------- */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
}

.section-eyebrow-light {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Section Titles ---------- */
.section-title {
    margin-bottom: var(--space-lg);
}

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

.section-header {
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.2;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

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

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

.btn-terracotta {
    background: var(--color-terracotta);
    color: #fff;
    border-color: var(--color-terracotta);
}

.btn-terracotta:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--color-charcoal);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--color-sand);
    border-color: var(--color-sand);
    color: var(--color-charcoal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* ---------- Links ---------- */
.link-terracotta {
    color: var(--color-terracotta);
    text-decoration: underline;
    text-decoration-color: rgba(184, 96, 60, 0.3);
    text-underline-offset: 3px;
}

.link-terracotta:hover {
    text-decoration-color: var(--color-terracotta);
}

.link-light {
    color: rgba(255, 255, 255, 0.85);
}

.link-light:hover {
    color: #fff;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--color-charcoal);
}

.logo-mark {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
}

.main-nav a:not(.btn) {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 450;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav a:not(.btn):hover {
    color: var(--color-terracotta);
    background: rgba(184, 96, 60, 0.06);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

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

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

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

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

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

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.88) 0%,
        rgba(61, 48, 42, 0.80) 50%,
        rgba(44, 36, 32, 0.85) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 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='%23ffffff' fill-opacity='1'%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");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: var(--space-3xl);
    width: 100%;
}

.hero-inner {
    max-width: 780px;
    padding: var(--space-3xl) 0;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-terracotta-light);
    margin-bottom: var(--space-xl);
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid rgba(212, 132, 94, 0.35);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.22;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--color-terracotta-light);
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 450;
}

.trust-item svg {
    color: var(--color-terracotta-light);
    flex-shrink: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero-scroll-indicator span {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(6px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--color-sand-light);
}

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

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px;
    height: 120px;
    background: var(--color-terracotta);
    opacity: 0.12;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: var(--space-xl) 0;
}

.about-content .lead {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-size: 1.0rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.value-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.value-icon {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-slow);
}

.service-card:hover {
    border-color: var(--color-terracotta-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    margin-bottom: var(--space-lg);
}

.service-title {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-charcoal);
}

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

/* ============================================
   PATIENT INFO
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.info-block {
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.info-block-icon {
    margin-bottom: var(--space-lg);
}

.info-block-title {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    font-size: 0.9375rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border-light);
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list li span:first-child {
    color: var(--color-text-muted);
    font-weight: 450;
}

.info-list li span:last-child {
    font-weight: 500;
    color: var(--color-charcoal);
}

.info-address {
    font-style: normal;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
}

.info-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--color-charcoal);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 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='%23ffffff' fill-opacity='1'%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");
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-content .section-eyebrow-light {
    margin-bottom: var(--space-md);
}

.cta-content .section-title {
    margin-bottom: var(--space-lg);
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: var(--space-lg);
}

.contact-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.contact-detail {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

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

.contact-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.contact-form-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-warm-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(184, 96, 60, 0.1);
}

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

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl);
    gap: var(--space-md);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-charcoal);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.logo-footer {
    color: #fff;
    margin-bottom: var(--space-md);
}

.logo-mark-footer {
    color: var(--color-terracotta-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-terracotta-light);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
    max-width: 600px;
    font-size: 0.75rem;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--color-warm-white);
        border-left: 1px solid var(--color-border);
        padding: 96px var(--space-xl) var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        z-index: 100;
        box-shadow: var(--shadow-xl);
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xs);
    }
    
    .main-nav a:not(.btn) {
        display: block;
        padding: var(--space-md);
        font-size: 1.0625rem;
        border-radius: var(--radius-md);
    }
    
    .main-nav .btn {
        margin-top: var(--space-lg);
        justify-content: center;
    }
    
    .hero-inner {
        padding: var(--space-2xl) 0;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-trust {
        gap: var(--space-md);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-frame img {
        height: 360px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-desc {
        margin: 0 auto;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-eyebrow {
        font-size: 0.6875rem;
    }
    
    .service-card {
        padding: var(--space-xl);
    }
    
    .contact-form-wrap {
        padding: var(--space-xl);
    }
}
