/* ============================================
   CLINICA QUIROPRÁCTICA DE WICHITA
   Stylesheet — Burgundy + Blush Palette
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --burgundy-50:  #fdf2f4;
    --burgundy-100: #f9e4e9;
    --burgundy-200: #f2c5d0;
    --burgundy-300: #e89aad;
    --burgundy-400: #d96b8a;
    --burgundy-500: #c44468;
    --burgundy-600: #a83252;
    --burgundy-700: #8a2943;
    --burgundy-800: #6e2136;
    --burgundy-900:  #4a141f;
    --blush-50:   #fff8f9;
    --blush-100:  #fff0f3;
    --blush-200:  #ffe0e8;
    --blush-300:  #ffc8d6;
    --blush-400:  #ff9db5;
    --blush-500:  #ff6b94;
    --cream-50:   #fffbfc;
    --cream-100:  #fff5f7;
    --cream-200:  #ffeaef;
    --warm-gray-50: #faf8f7;
    --warm-gray-100: #f5f0ee;
    --warm-gray-200: #ebe4e0;
    --warm-gray-300: #d6ccc6;
    --warm-gray-400: #b8aaa2;
    --warm-gray-500: #8a7b73;
    --warm-gray-600: #6b5d55;
    --warm-gray-700: #4a3f38;
    --warm-gray-800: #2d2620;
    --warm-gray-900: #1a1510;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(74, 20, 31, 0.06), 0 1px 2px rgba(74, 20, 31, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 20, 31, 0.08), 0 2px 6px rgba(74, 20, 31, 0.05);
    --shadow-lg: 0 12px 40px rgba(74, 20, 31, 0.12), 0 4px 12px rgba(74, 20, 31, 0.06);
    --shadow-xl: 0 24px 60px rgba(74, 20, 31, 0.14), 0 8px 20px rgba(74, 20, 31, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

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

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy-600);
    background: var(--burgundy-100);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--warm-gray-900);
    margin-bottom: 16px;
}

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

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

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy-600);
    color: #fff;
    box-shadow: 0 4px 16px rgba(168, 50, 82, 0.3);
}

.btn-primary:hover {
    background: var(--burgundy-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 50, 82, 0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: var(--warm-gray-800);
    border: 1px solid var(--warm-gray-200);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--burgundy-300);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--burgundy-700);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 252, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 68, 104, 0.08);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 251, 252, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--warm-gray-900);
}

.nav-logo-icon {
    color: var(--burgundy-600);
    display: flex;
    align-items: center;
}

.nav-logo-text {
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--burgundy-600);
    background: var(--burgundy-50);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--burgundy-600);
    border-radius: 50px;
    margin-left: 8px;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--burgundy-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--blush-50) 50%, var(--burgundy-50) 100%);
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--burgundy-100);
    top: -200px;
    right: -100px;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: var(--blush-200);
    bottom: -100px;
    left: -100px;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    background: var(--burgundy-200);
    top: 40%;
    left: 45%;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--burgundy-200);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--burgundy-700);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--burgundy-500);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--warm-gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline-accent {
    color: var(--burgundy-600);
    font-style: italic;
    position: relative;
}

.hero-headline-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--burgundy-200);
    border-radius: 3px;
    z-index: -1;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--warm-gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 460px;
}

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

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

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--burgundy-700);
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--warm-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--warm-gray-200);
}

/* Hero Image Column */
.hero-image-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 500/640;
}

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(74, 20, 31, 0.15) 100%);
    border-radius: var(--radius-xl);
}

.hero-image-float {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-50);
    aspect-ratio: 320/200;
}

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

.hero-card {
    position: absolute;
    top: 30px;
    right: -20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(196, 68, 104, 0.1);
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--burgundy-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
    flex-shrink: 0;
}

.hero-card-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    line-height: 1.4;
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.service-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--warm-gray-100);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy-400), var(--burgundy-600));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card-accent {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--burgundy-50);
    transition: all var(--transition-base);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-card-accent {
    transform: scale(1.5);
    background: var(--burgundy-100);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--burgundy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

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

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 10px;
}

.service-description {
    font-size: 0.92rem;
    color: var(--warm-gray-500);
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--warm-gray-600);
}

.service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--burgundy-400);
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--blush-50) 0%, var(--cream-50) 100%);
}

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

.about-images {
    position: relative;
}

.about-image-primary {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 480/560;
}

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

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--blush-100);
    aspect-ratio: 340/280;
}

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

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--burgundy-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--warm-gray-600);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius-md);
    border: 1px solid var(--warm-gray-100);
}

.about-value-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--burgundy-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
    flex-shrink: 0;
}

.about-value span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--warm-gray-700);
}

/* ---------- Approach ---------- */
.approach {
    padding: 100px 0;
    background: #fff;
}

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

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

.approach-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.approach-step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--burgundy-200);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-step-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--burgundy-200), transparent);
    margin-bottom: 16px;
}

.approach-step:last-child .approach-step-line {
    display: none;
}

.approach-step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 8px;
}

.approach-step-text {
    font-size: 0.88rem;
    color: var(--warm-gray-500);
    line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--burgundy-700) 0%, var(--burgundy-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 157, 181, 0.2);
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 200, 214, 0.15);
    bottom: -80px;
    right: -80px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.contact-info {
    padding-top: 10px;
}

.contact-description {
    font-size: 1rem;
    color: var(--warm-gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--burgundy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
    flex-shrink: 0;
}

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

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--warm-gray-800);
    font-weight: 500;
}

.contact-detail-value a:hover {
    color: var(--burgundy-600);
}

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

.contact-map iframe {
    width: 100%;
    height: 220px;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 10px;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--warm-gray-100);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 6px;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--warm-gray-500);
    margin-bottom: 28px;
}

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

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--burgundy-400);
    background: #fff;
    box-shadow: 0 0 0 3px var(--burgundy-100);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a7b73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--burgundy-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
    margin: 0 auto 20px;
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 0.92rem;
    color: var(--warm-gray-500);
}

.contact-form.hidden {
    display: none;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--warm-gray-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.footer-logo-icon {
    color: var(--burgundy-400);
}

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

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

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

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

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--burgundy-400);
}

.footer-contact-list a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
    color: var(--burgundy-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image-col {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .approach-step-line {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 251, 252, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--warm-gray-100);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition-base);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        width: 100%;
        display: block;
        padding: 14px 22px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-image-float {
        left: -10px;
        bottom: -20px;
    }

    .hero-card {
        right: 0;
        top: auto;
        bottom: -10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-image-secondary {
        right: -10px;
        bottom: -15px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .contact-form-card {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stat-divider {
        width: 36px;
        height: 1px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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