/* ============================================
   Anderson William W MD — Medical Practice Website
   Color Palette: Burgundy (#722F37) + Blush (#F5D5D0)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-burgundy: #722F37;
    --color-burgundy-dark: #5A242C;
    --color-burgundy-light: #8B3A44;
    --color-blush: #F5D5D0;
    --color-blush-light: #FDF2F0;
    --color-blush-mid: #F8E4E0;
    --color-cream: #FFF9F8;
    --color-text: #2D1F24;
    --color-text-light: #6B5460;
    --color-text-muted: #9B8490;
    --color-white: #FFFFFF;
    --color-border: #F0D0CB;
    --color-success: #2D7A4F;
    --color-error: #C0392B;

    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(114, 47, 55, 0.06);
    --shadow-md: 0 4px 20px rgba(114, 47, 55, 0.10);
    --shadow-lg: 0 8px 40px rgba(114, 47, 55, 0.14);
    --shadow-xl: 0 16px 60px rgba(114, 47, 55, 0.18);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* --- Focus Styles --- */
:focus-visible {
    outline: 3px solid var(--color-burgundy);
    outline-offset: 3px;
    border-radius: 4px;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

/* --- Accent Text --- */
.text-accent {
    color: var(--color-burgundy);
}

/* --- Section Label --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    background: var(--color-blush);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

/* --- Section Title --- */
.section-title {
    margin-bottom: 1.25rem;
}

/* --- Section Subtitle --- */
.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-burgundy);
    color: var(--color-white);
    border-color: var(--color-burgundy);
    box-shadow: 0 4px 16px rgba(114, 47, 55, 0.3);
}

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(114, 47, 55, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-burgundy);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 242, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

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

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-burgundy);
    text-decoration: none;
}

.logo:hover {
    color: var(--color-burgundy-dark);
}

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

.logo-light:hover {
    color: var(--color-blush);
}

.logo-icon {
    flex-shrink: 0;
}

/* --- Main Nav --- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul {
    display: none;
    align-items: center;
    gap: 4px;
}

.main-nav ul li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-decoration: none;
}

.main-nav ul li a:hover {
    color: var(--color-burgundy);
    background: var(--color-blush-light);
}

.nav-cta {
    display: none;
    margin-left: 8px;
    font-size: 0.9375rem;
    padding: 10px 22px;
}

/* --- Mobile Menu Button --- */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-burgundy);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--color-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-burgundy);
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}

.mobile-menu-overlay nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: var(--color-burgundy);
    background: var(--color-blush-light);
}

.mobile-cta {
    margin-top: 16px;
    font-size: 1.125rem;
    padding: 16px 32px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--color-burgundy-dark);
    overflow: hidden;
    padding-top: 76px;
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 36, 44, 0.95) 0%,
        rgba(114, 47, 55, 0.85) 50%,
        rgba(139, 58, 68, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 64px 0;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-blush);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-headline .text-accent {
    color: var(--color-blush);
}

.hero-subhead {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

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

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

/* --- About Section --- */
.about {
    padding: 80px 0;
    background: var(--color-blush-light);
}

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

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

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -16px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-blush-light);
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -16px;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-blush);
}

.exp-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.about-content .section-title {
    margin-bottom: 20px;
}

.about-text {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: 1.25rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

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

/* --- Services Section --- */
.services {
    padding: 80px 0;
    background: var(--color-cream);
}

.section-header {
    margin-bottom: 56px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-blush-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-burgundy);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-white);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- Patient Info Section --- */
.patient-info {
    padding: 80px 0;
    background: var(--color-blush-light);
}

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

.info-content .section-title {
    margin-bottom: 32px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--color-burgundy);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
}

.step strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.step p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.step a {
    font-weight: 600;
}

.info-visual {
    position: relative;
}

.info-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.info-stat-card {
    position: absolute;
    bottom: -24px;
    left: -16px;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.info-stat-card .stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* --- Testimonial Section --- */
.testimonial-section {
    padding: 80px 0;
    background: var(--color-burgundy);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    aria-hidden: true;
}

.testimonial-card {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 0.6;
    color: rgba(245, 213, 208, 0.25);
    margin-bottom: 8px;
}

.testimonial-card blockquote {
    margin-bottom: 32px;
}

.testimonial-card blockquote p {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-white);
    font-size: 1rem;
}

.author-detail {
    display: block;
    font-size: 0.875rem;
    color: var(--color-blush);
    margin-top: 2px;
}

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

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

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

.contact-intro {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--color-blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-item a {
    font-weight: 600;
    color: var(--color-burgundy);
}

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

.map-link {
    display: block;
    position: relative;
}

.map-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-burgundy);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.map-overlay:hover {
    background: var(--color-burgundy-dark);
    color: var(--color-white);
}

/* --- Contact Form --- */
.contact-form-wrap {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-intro {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-blush-light);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-burgundy);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(114, 47, 55, 0.1);
}

.form-group select {
    cursor: pointer;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 32px 16px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--color-blush);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.375rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-burgundy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-contact a {
    color: var(--color-blush);
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

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

.footer-legal {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal="left"] {
    transform: translateX(-24px);
}

.reveal[data-reveal="right"] {
    transform: translateX(24px);
}

.reveal.revealed[data-reveal],
.reveal.revealed[data-reveal="left"],
.reveal.revealed[data-reveal="right"] {
    opacity: 1;
    transform: none;
}

/* --- Responsive: Tablet --- */
@media (min-width: 768px) {
    .main-nav ul {
        display: flex;
    }

    .main-nav .nav-cta {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

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

    .info-split {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- Responsive: Desktop --- */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        min-height: 90vh;
    }
}

/* --- 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-reveal] {
        opacity: 1;
        transform: none;
    }

    .badge-dot {
        animation: none;
        opacity: 1;
    }
}

/* --- Print --- */
@media print {
    .site-header,
    .mobile-menu-overlay,
    .hero-wave,
    .contact-form-wrap {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
        background: var(--color-burgundy) !important;
        color: white !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}
