/* ============================================
   INTEGRITY MEDICAL GROUP
   Bold Editorial Style — Terracotta & Sand
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Terracotta Palette */
    --terra-50: #fdf0ed;
    --terra-100: #fce7e3;
    --terra-200: #f9d0c8;
    --terra-300: #f4a89a;
    --terra-400: #ed7566;
    --terra-500: #e0523e;
    --terra-600: #d13f2e;
    --terra-700: #b83225;
    --terra-800: #9a2a20;
    --terra-900: #7d231b;
    
    /* Primary Accent - Warm Terracotta */
    --accent: #B85D4B;
    --accent-light: #D4896F;
    --accent-dark: #9A4A3A;
    
    /* Sand Palette */
    --sand-50: #FDF8F4;
    --sand-100: #FAF0E8;
    --sand-200: #F5E6D6;
    --sand-300: #EDD4BA;
    --sand-400: #E4BE96;
    --sand-500: #D4A574;
    
    /* Neutrals */
    --neutral-50: #FAFAF8;
    --neutral-100: #F5F4F0;
    --neutral-200: #E8E6E0;
    --neutral-300: #D4D0C8;
    --neutral-400: #A8A29A;
    --neutral-500: #78716C;
    --neutral-600: #57534E;
    --neutral-700: #44403C;
    --neutral-800: #292524;
    --neutral-900: #1C1917;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background-color: var(--sand-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 248, 244, 0.98);
    border-bottom-color: var(--sand-200);
    box-shadow: 0 1px 20px rgba(184, 93, 75, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: var(--transition-fast);
}

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

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-base);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--accent);
    color: white !important;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition-base) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 93, 75, 0.3);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    transition: var(--transition-base);
    transform-origin: center;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--sand-50);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: var(--transition-slow);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--neutral-600);
    padding: 8px;
    transition: var(--transition-fast);
}

.mobile-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--neutral-800);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sand-200);
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--accent);
    padding-left: 1rem;
}

.mobile-divider {
    height: 1px;
    background: var(--sand-300);
    margin: 1rem 0;
}

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition-base);
}

.mobile-cta:hover {
    background: var(--accent-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    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(28, 25, 23, 0.82) 0%,
        rgba(28, 25, 23, 0.65) 50%,
        rgba(184, 93, 75, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    padding-top: 5rem;
    width: 100%;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tag-line {
    width: 48px;
    height: 2px;
    background: var(--terra-400);
}

.hero-tag span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terra-300);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-headline .accent {
    color: var(--terra-300);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(184, 93, 75, 0.3);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 93, 75, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

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

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

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

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-line {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollBounce 2s ease infinite;
}

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

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.section-header.light {
    color: white;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-header.light .section-tag {
    color: var(--terra-300);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--neutral-900);
    margin-bottom: 1.25rem;
}

.section-title .accent {
    color: var(--accent);
    font-style: italic;
}

.section-title .accent-light {
    color: var(--terra-300);
    font-style: italic;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

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

.service-card {
    background: white;
    border-radius: 16px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    transition: var(--transition-base);
    border: 1px solid var(--sand-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--terra-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(184, 93, 75, 0.1);
    border-color: var(--terra-200);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: 14px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

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

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: var(--transition-slow);
}

.image-frame:hover img {
    transform: scale(1.02);
}

.about-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--accent);
    color: white;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(184, 93, 75, 0.3);
}

.accent-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.accent-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.accent-text {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

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

.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: 8px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--neutral-800);
    margin-bottom: 0.25rem;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.5;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--neutral-900) 0%, #2a2520 100%);
    color: white;
}

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

.step {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    opacity: 0.8;
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.step-content a {
    color: var(--terra-300);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.step-content a:hover {
    color: white;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.4;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--sand-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    transition: var(--transition-base);
    border: 1px solid var(--sand-200);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(184, 93, 75, 0.08);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--neutral-800);
}

.author-detail {
    font-size: 0.8125rem;
    color: var(--neutral-400);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.contact-info {
    padding-top: 1rem;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: 12px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-400);
    margin-bottom: 0.375rem;
}

.contact-item p {
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

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

.contact-item a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--sand-50);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--sand-200);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--sand-300);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: white;
    transition: var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 93, 75, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

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

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: 50%;
    color: var(--accent);
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: clamp(4rem, 8vw, 6rem) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 4rem);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: white;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    transition: var(--transition-fast);
}

.footer-logo:hover {
    color: var(--terra-300);
}

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

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--terra-300);
    padding-left: 0.5rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--terra-300);
    transition: var(--transition-fast);
}

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

.footer-hours {
    margin-top: 1rem !important;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-legal {
    max-width: 400px;
    text-align: right;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-accent {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
        display: inline-block;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-legal {
        text-align: left;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        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;
    }
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
