/* ========================================
   Jane Wheeler OD — Eye Care Website
   Deep Navy + Warm Gold Palette
   ======================================== */

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

:root {
    --navy-950: #0a1628;
    --navy-900: #1e3a5f;
    --navy-800: #264a73;
    --navy-700: #2d5580;
    --navy-600: #346090;
    --gold-500: #d4a843;
    --gold-400: #e0b855;
    --gold-300: #ebc86a;
    --gold-200: #f5dc9a;
    --gold-100: #fdf0cc;
    --cream-50: #fefcf7;
    --cream-100: #fdf8ed;
    --cream-200: #faf3e0;
    --warm-gray-50: #faf9f7;
    --warm-gray-100: #f5f3ef;
    --warm-gray-200: #ebe8e2;
    --warm-gray-300: #d4d0c8;
    --warm-gray-400: #a8a296;
    --warm-gray-500: #78716c;
    --warm-gray-600: #57534e;
    --warm-gray-700: #44403c;
    --warm-gray-800: #292524;
    --warm-gray-900: #1c1917;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.08), 0 1px 2px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 4px 16px rgba(30, 58, 95, 0.1), 0 2px 4px rgba(30, 58, 95, 0.06);
    --shadow-lg: 0 12px 40px rgba(30, 58, 95, 0.12), 0 4px 12px rgba(30, 58, 95, 0.08);
    --shadow-xl: 0 24px 60px rgba(30, 58, 95, 0.15), 0 8px 20px rgba(30, 58, 95, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--warm-gray-800);
    background-color: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    color: var(--navy-900);
    line-height: 1.25;
    font-weight: 600;
}

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

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-nav {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
    padding: 10px 22px;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn-gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-500);
    border-color: var(--gold-500);
}

.btn-outline-gold:hover {
    background: var(--gold-500);
    color: var(--navy-950);
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 252, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
    transition: all var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lora', serif;
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--navy-900);
}

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

.logo-light .logo-accent {
    color: var(--gold-400);
}

.logo-icon {
    color: var(--navy-900);
    flex-shrink: 0;
}

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

.logo-accent {
    color: var(--gold-500);
}

/* --- Navigation --- */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-list a {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    transition: all var(--transition);
}

.nav-list a:hover {
    color: var(--navy-900);
    background: rgba(30, 58, 95, 0.06);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-900);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--navy-900);
    left: 0;
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--navy-950);
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 40%, #2d5580 70%, #1a3d6e 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--white) 1px, transparent 0);
    background-size: 32px 32px;
}

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

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 85, 128, 0.6), transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero-orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.2), transparent 70%);
    bottom: 20%;
    right: 30%;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--gold-300);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 600;
}

.text-gold {
    color: var(--gold-400);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

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

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

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

.hero-image {
    position: relative;
}

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

.hero-img-wrapper img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    display: block;
}

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

.float-card--1 {
    bottom: 80px;
    left: -30px;
}

.float-card--2 {
    top: 60px;
    right: -20px;
}

.hero-float-card svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

.hero-float-card strong {
    display: block;
    font-size: 0.875rem;
    color: var(--navy-900);
    line-height: 1.3;
}

.hero-float-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--warm-gray-500);
    line-height: 1.3;
}

/* --- Section Shared --- */
.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

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

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--warm-gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--warm-gray-200);
    transition: all var(--transition);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(30, 58, 95, 0.04));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy-900);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.65;
}

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

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

.about-image {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-img-accent img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience .exp-number {
    display: block;
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 4px;
}

.about-experience .exp-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

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

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

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 28px 0 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-gray-800);
}

.value-check {
    width: 22px;
    height: 22px;
    background: rgba(212, 168, 67, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    flex-shrink: 0;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid var(--warm-gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.why-number {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(30, 58, 95, 0.07);
    line-height: 1;
    margin-bottom: 12px;
}

.why-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.65;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--warm-gray-200);
    transition: all var(--transition);
    position: relative;
}

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

.testimonial-quote {
    font-family: 'Lora', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold-500);
    opacity: 0.4;
    position: absolute;
    top: 16px;
    left: 24px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--warm-gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-top: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--navy-900);
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--warm-gray-500);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--navy-950);
}

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

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2d5580 100%);
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

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

.detail-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(30, 58, 95, 0.04));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

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

.contact-detail a:hover {
    color: var(--gold-400);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--warm-gray-200);
}

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

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-gray-200);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 16px;
    color: var(--navy-900);
    font-size: 0.9375rem;
}

.form-success svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

/* --- Map --- */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    filter: saturate(0.7) contrast(1.05);
}

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

/* --- Footer --- */
.footer {
    background: var(--navy-950);
    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-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

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

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

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--gold-400);
    font-weight: 600;
    transition: color var(--transition);
}

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

.footer-hours {
    margin-top: 12px !important;
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

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

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

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

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Default visible state for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        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-float-card--1 {
        left: 0;
    }

    .hero-float-card--2 {
        right: 0;
    }

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

    .about-img-accent {
        right: 20px;
        bottom: -20px;
    }

    .about-experience {
        left: 20px;
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(254, 252, 247, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(30, 58, 95, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

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

    .nav-list a {
        padding: 12px 16px;
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

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

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero-img-wrapper img {
        height: 420px;
    }

    .hero-float-card {
        display: none;
    }

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

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

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

    .about-img-main img {
        height: 400px;
    }

    .about-img-accent {
        width: 200px;
        height: 140px;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

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

@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;
    }
}
