/* ============================================
   SPRINGFIELD EYE EXAM — STYLESHEET
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #faf5fb;
    --plum-100: #f3e8f5;
    --plum-200: #e8d4eb;
    --plum-300: #d4b5d8;
    --plum-400: #b88cc0;
    --plum-500: #9c6aa6;
    --plum-600: #7B4A8C;
    --plum-700: #623a72;
    --plum-800: #4e2f5a;
    --plum-900: #3d2547;

    --amber-50: #fffbf0;
    --amber-100: #fff4d6;
    --amber-200: #ffe9a8;
    --amber-300: #ffd36b;
    --amber-400: #f5b82e;
    --amber-500: #d49a1e;
    --amber-600: #b07a12;
    --amber-700: #8c5f0e;

    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

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

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

    --transition: 0.3s 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-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-800);
    background-color: var(--plum-50);
    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;
}

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-600);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    background: var(--plum-100);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-title .accent {
    color: var(--plum-600);
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-600);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(123, 74, 140, 0.3);
}

.btn-primary:hover {
    background: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 74, 140, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum-600);
    border: 1.5px solid var(--plum-200);
}

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

.btn-nav {
    background: var(--amber-400);
    color: var(--gray-900);
    padding: 10px 22px;
    font-size: 14px;
}

.btn-nav:hover {
    background: var(--amber-500);
    transform: translateY(-1px);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 245, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--plum-100);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(250, 245, 251, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

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

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

.nav-menu li a:not(.btn-nav) {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu li a:not(.btn-nav):hover {
    color: var(--plum-600);
    background: var(--plum-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--plum-600);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

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

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

.nav-toggle[aria-expanded="true"] .hamburger: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-700) 0%, var(--plum-800) 40%, var(--plum-900) 100%);
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(156, 106, 166, 0.4) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(212, 154, 30, 0.15) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 120px;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--amber-300);
    background: rgba(245, 184, 46, 0.15);
    border: 1px solid rgba(245, 184, 46, 0.3);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--plum-200);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 32px;
}

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

.hero-actions .btn-primary {
    background: var(--amber-400);
    color: var(--gray-900);
    box-shadow: 0 4px 20px rgba(245, 184, 46, 0.4);
}

.hero-actions .btn-primary:hover {
    background: var(--amber-500);
    box-shadow: 0 8px 28px rgba(245, 184, 46, 0.5);
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--plum-200);
}

/* Hero Image */
.hero-image {
    position: relative;
}

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

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

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-xl);
    background: var(--amber-400);
    opacity: 0.3;
    z-index: -1;
}

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

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

.hero-card-text {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
}

.hero-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--plum-600);
    transition: var(--transition);
}

.hero-card-link:hover {
    color: var(--plum-700);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

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

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

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

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

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

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

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

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

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

.service-card:nth-child(even) .service-icon {
    background: var(--amber-50);
}

.service-card:nth-child(even):hover .service-icon {
    background: var(--amber-100);
}

.service-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--plum-600);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 8px;
    color: var(--plum-700);
}

/* --- About --- */
.about {
    background: var(--white);
    padding: 96px 0;
}

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

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

.about-image-wrap img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 160px;
    height: 160px;
    border-radius: var(--radius-xl);
    background: var(--plum-200);
    opacity: 0.4;
    z-index: -1;
}

.about-stat-card {
    position: absolute;
    bottom: 24px;
    right: -16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-stat-card .stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-600);
}

.about-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.about-content .section-label {
    margin-bottom: 12px;
}

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

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

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

.about-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature:nth-child(even) .about-feature-icon {
    background: var(--amber-50);
}

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

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    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='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.why-us .section-label {
    background: rgba(255, 255, 255, 0.12);
    color: var(--amber-300);
}

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

.why-us .section-title .accent {
    color: var(--amber-400);
}

.why-us .section-subtitle {
    color: var(--plum-200);
    margin: 0 auto;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber-400);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}

.why-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.why-desc {
    font-size: 0.95rem;
    color: var(--plum-200);
    line-height: 1.75;
}

/* --- Insurance --- */
.insurance {
    background: var(--plum-50);
    padding: 96px 0;
}

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

.insurance-content .section-label {
    margin-bottom: 12px;
}

.insurance-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.insurance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

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

.insurance-visual {
    position: relative;
    height: 420px;
}

.insurance-card-stack {
    position: relative;
    width: 280px;
    height: 320px;
    margin: 0 auto;
}

.insurance-card {
    position: absolute;
    width: 260px;
    height: 160px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.insurance-card--back {
    background: linear-gradient(135deg, var(--plum-300), var(--plum-500));
    top: 0;
    left: 0;
    transform: rotate(-6deg);
}

.insurance-card--mid {
    background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
    top: 60px;
    right: 0;
    transform: rotate(4deg);
}

.insurance-card--front {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-800));
    top: 80px;
    left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.insurance-card-content {
    text-align: center;
}

.insurance-card-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin-top: 12px;
}

.insurance-cta-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 320px;
}

.insurance-cta-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.insurance-cta-phone {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-600);
    display: block;
    margin-bottom: 4px;
    transition: var(--transition);
}

.insurance-cta-phone:hover {
    color: var(--plum-700);
}

.insurance-cta-sub {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* --- Contact --- */
.contact {
    background: var(--white);
    padding: 96px 0;
}

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

.contact-info .section-label {
    margin-bottom: 12px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

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

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

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

.contact-detail-value {
    font-size: 1rem;
    color: var(--gray-800);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--plum-600);
    font-weight: 500;
    transition: var(--transition);
}

.contact-detail-value a:hover {
    color: var(--plum-700);
}

/* --- Contact Form --- */
.contact-form-wrap {
    background: var(--plum-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--plum-100);
}

.form-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--plum-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(156, 106, 166, 0.1);
}

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

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin: 0 auto 16px;
}

.success-title {
    font-size: 1.5rem;
    color: var(--plum-600);
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* --- Map --- */
.map-section {
    background: var(--plum-50);
    padding: 0 0 96px;
}

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

/* --- Footer --- */
.footer {
    background: var(--plum-900);
    color: var(--plum-200);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--plum-300);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber-400);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--plum-300);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--plum-300);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--amber-400);
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--plum-400);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--plum-600);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--plum-700);
    transform: translateY(-2px);
}

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

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .hero-card {
        left: 50%;
        transform: translateX(-50%);
    }

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

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

    .about-image-wrap {
        max-width: 520px;
        margin: 0 auto;
    }

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

    .insurance-visual {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--plum-50);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--plum-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li a:not(.btn-nav) {
        padding: 12px 14px;
    }

    .nav-menu li .btn-nav {
        text-align: center;
        justify-content: center;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

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

    .hero-card {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 16px;
    }

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

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

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

    .about-stat-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

    .insurance-card-stack {
        width: 100%;
        height: 280px;
    }

    .insurance-card {
        width: 220px;
        height: 130px;
    }

    .insurance-card--front {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-form-wrap {
        padding: 24px;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

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

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

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

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .services,
    .about,
    .why-us,
    .insurance,
    .contact {
        padding: 64px 0;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .back-to-top {
        transition: none;
    }
}
