/* ============================================
   Wiggins Family Chiropractic — Stylesheet
   Palette: Plum (#7B2D8E) + Amber (#F59E0B)
   Fonts: Outfit (headings) + Inter (body)
============================================ */

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

:root {
    --plum-900: #3D1047;
    --plum-800: #5A1D6B;
    --plum-700: #7B2D8E;
    --plum-600: #9B3FB5;
    --plum-500: #B55DD4;
    --plum-100: #F3E5F5;
    --plum-50:  #FBF0FD;

    --amber-600: #D97706;
    --amber-500: #F59E0B;
    --amber-400: #FBBF24;
    --amber-100: #FEF3C7;
    --amber-50:  #FFFBEB;

    --dark: #1A0A20;
    --dark-soft: #2D1535;
    --gray-900: #1C1917;
    --gray-700: #3F3A38;
    --gray-600: #57524E;
    --gray-500: #6B6562;
    --gray-400: #8C8580;
    --gray-200: #E7E4E1;
    --gray-100: #F5F3F0;
    --gray-50:  #FAFAF9;
    --white:    #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body:    'Inter', sans-serif;

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

    --shadow-sm: 0 1px 3px rgba(26, 10, 32, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 10, 32, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 10, 32, 0.14);
    --shadow-xl: 0 16px 48px rgba(26, 10, 32, 0.18);
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* ─── Decorative Geometric Shapes (global) ─── */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--plum-700);
    top: -200px;
    right: -200px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--amber-500);
    bottom: 10%;
    left: -150px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 120px 208px 120px;
    border-color: transparent transparent var(--plum-700) transparent;
    top: 45%;
    right: -60px;
    opacity: 0.03;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--amber-500) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 60%;
    left: 5%;
    opacity: 0.06;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum-700);
    border: 2px solid var(--plum-100);
}

.btn-secondary:hover {
    border-color: var(--plum-500);
    background: var(--plum-50);
    transform: translateY(-2px);
}

.btn-cta-primary {
    background: var(--amber-500);
    color: var(--dark);
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-cta-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
}

.btn-cta-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-form-submit {
    background: var(--plum-700);
    color: var(--white);
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(123, 45, 142, 0.3);
}

.btn-form-submit:hover {
    background: var(--plum-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 45, 142, 0.4);
}

/* ─── Section Shared ─── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-600);
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
}

.text-amber {
    color: var(--amber-500);
}

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

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

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ─── Navigation ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

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

.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: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--plum-700);
}

.nav-logo:hover {
    color: var(--plum-600);
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--plum-700);
    background: var(--plum-50);
}

.nav-cta {
    background: var(--plum-700) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px !important;
}

.nav-cta:hover {
    background: var(--plum-600) !important;
    color: var(--white) !important;
}

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 40%, var(--dark-soft) 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(123, 45, 142, 0.3) 0%, transparent 50%),
        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='0.02'%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");
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--amber-400);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-headline .text-amber {
    color: var(--amber-500);
}

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

/* Floating stat cards */
.hero-cards {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 420px;
}

.stat-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card--primary {
    background: var(--plum-700);
    color: var(--white);
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.stat-card--amber {
    background: var(--amber-500);
    color: var(--dark);
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 32px;
}

.stat-card--dark {
    background: var(--dark);
    color: var(--white);
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin-top: -16px;
}

.stat-card--plum {
    background: var(--plum-600);
    color: var(--white);
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-top: 16px;
}

.stat-card-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -20px;
    right: -20px;
}

.stat-card-content {
    position: relative;
    z-index: 1;
}

.stat-card-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.stat-card-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-geo {
    position: absolute;
    bottom: 40px;
    right: -40px;
    width: 280px;
    height: 280px;
    opacity: 0.4;
    pointer-events: none;
}

/* ─── Services ─── */
.services {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-700), var(--amber-500), var(--plum-700));
}

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

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

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--plum-100);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: var(--plum-700);
}

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

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

.service-card-desc {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.service-card-shape {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--plum-100);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-shape {
    opacity: 0.5;
}

/* ─── About ─── */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

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

.about-image-frame {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--amber-500);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.about-image-wrapper img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 640px;
    object-fit: cover;
}

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

.about-exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-400);
    margin-bottom: 4px;
}

.about-exp-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-content .section-title {
    margin-top: 8px;
}

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

.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.about-check {
    flex-shrink: 0;
}

.about-geo {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 8px;
    opacity: 0.15;
    pointer-events: none;
}

.geo-block {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.geo-block--amber { background: var(--amber-500); }
.geo-block--plum  { background: var(--plum-700); }
.geo-block--light { background: var(--plum-500); }

/* ─── Why Us ─── */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--dark-soft) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.why-us .section-tag {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--amber-400);
}

.why-us .section-title {
    color: var(--white);
}

.why-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
}

.why-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(245, 158, 11, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ─── Testimonials ─── */
.testimonials {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amber-500), var(--plum-700), var(--amber-500));
}

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

.testimonial-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-700), var(--amber-500));
}

.testimonial-quote-icon {
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.testimonial-author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.testimonial-author-location {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ─── CTA ─── */
.cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--dark) 100%);
    overflow: hidden;
}

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

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape--circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.08);
    top: -100px;
    right: -100px;
}

.cta-shape--circle-2 {
    width: 250px;
    height: 250px;
    background: rgba(123, 45, 142, 0.2);
    bottom: -80px;
    left: -80px;
}

.cta-shape--triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent rgba(245, 158, 11, 0.1) transparent;
    bottom: 60px;
    right: 15%;
    transform: rotate(-15deg);
}

.cta-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
}

.cta-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.12);
    position: absolute;
}

.cta-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.2);
    position: absolute;
}

.cta-dots {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--amber-400) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.5;
    position: absolute;
    top: 20px;
    left: 40px;
}

/* ─── Contact ─── */
.contact {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.contact-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

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

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

.contact-detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    font-weight: 500;
    line-height: 1.5;
}

.contact-detail-link {
    display: block;
    font-size: 0.95rem;
    color: var(--plum-700);
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-detail-link:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

.contact-form-wrapper {
    max-width: 100%;
}

.contact-form-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 16px;
}

.form-success span {
    font-size: 0.92rem;
    color: #166534;
    font-weight: 500;
}

/* ─── Map ─── */
.map-section {
    height: 320px;
    background: var(--gray-200);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

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

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-logo:hover {
    color: var(--amber-400);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.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 0.2s ease;
}

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

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

.footer-phone,
.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--amber-400);
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

    .hero-cards {
        max-width: 360px;
    }

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

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

    .about-image-wrapper {
        max-width: 480px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-visual {
        display: none;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

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

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    .stat-card--amber { margin-top: 24px; }
    .stat-card--dark { margin-top: -12px; }
    .stat-card--plum { margin-top: 12px; }

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }

    .about-image-frame {
        top: -10px;
        left: -10px;
    }

    .about-experience-badge {
        bottom: -12px;
        right: -12px;
        padding: 14px 18px;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 1.85rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .stat-card--amber,
    .stat-card--dark,
    .stat-card--plum {
        margin-top: 0;
        grid-column: 1 / -1;
    }

    .cta-actions {
        flex-direction: column;
    }

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

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

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
