/* ============================================
   Ohio University Credit Union — Stylesheet
   Palette: Deep Navy (#0A2342) + Warm Gold (#D4A84B)
   ============================================ */

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

:root {
    --navy: #0A2342;
    --navy-light: #13315C;
    --navy-dark: #061829;
    --gold: #D4A84B;
    --gold-light: #E8C478;
    --gold-dark: #B8912E;
    --cream: #F7F3EB;
    --cream-dark: #EDE8DC;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-mid: #4A4A5A;
    --text-light: #7A7A8A;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(10, 35, 66, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 35, 66, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 35, 66, 0.14);
    --shadow-gold: 0 8px 30px rgba(212, 168, 75, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    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;
}

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

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

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

.btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

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

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.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);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

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

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

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 243, 235, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 35, 66, 0.06);
    transition: all var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

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

.logo-line1 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.logo-line2 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    color: var(--gold-dark);
    font-weight: 400;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-list a {
    padding: 8px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-mid);
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--navy);
    background: rgba(10, 35, 66, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.875rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: all var(--transition);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    margin-left: 8px;
}

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

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

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

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

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

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

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(10, 35, 66, 0.08);
    box-shadow: var(--shadow-md);
    z-index: 99;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

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

.mobile-nav-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mobile-nav a:hover {
    background: rgba(10, 35, 66, 0.06);
    color: var(--navy);
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    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: 10px;
    padding: 8px 20px;
    background: rgba(212, 168, 75, 0.12);
    border: 1px solid rgba(212, 168, 75, 0.25);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    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-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

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

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

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

/* Floating Stat Cards */
.hero-cards {
    position: relative;
    height: 480px;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: float 6s ease-in-out infinite;
}

.stat-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(212, 168, 75, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.stat-card-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--navy);
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-card--1 {
    top: 0;
    right: 40px;
    animation-delay: 0s;
}

.stat-card--2 {
    top: 130px;
    right: -20px;
    animation-delay: -1.5s;
}

.stat-card--3 {
    bottom: 130px;
    left: 0;
    animation-delay: -3s;
}

.stat-card--4 {
    bottom: 0;
    right: 60px;
    animation-delay: -4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ---------- Section Shared ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
}

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

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(10, 35, 66, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

.service-card-visual {
    width: 72px;
    height: 72px;
    background: rgba(10, 35, 66, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-card-visual {
    background: var(--gold);
}

.service-card:hover .service-card-visual svg {
    stroke: var(--navy);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-mid);
    margin-bottom: 20px;
}

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

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-mid);
}

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

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

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gold);
    color: var(--navy);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.about-experience-badge .experience-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 4px;
}

.about-experience-badge .experience-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

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

.about-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-body {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 36px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 75, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

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

/* ---------- Why Choose Us ---------- */
.why-choose {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.why-header .section-tag {
    color: var(--gold-light);
}

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

.why-header .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-4px);
}

.why-card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(212, 168, 75, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 12px;
}

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

/* ---------- Community ---------- */
.community {
    padding: 100px 0;
    background: var(--cream);
}

.community-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.community-text .section-title {
    margin-bottom: 24px;
}

.community-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.community-text .btn {
    margin-top: 12px;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
}

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

.stat-ring {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    position: relative;
}

.stat-ring text {
    font-family: var(--font-body);
    font-size: 11px;
    fill: var(--navy);
}

.stat-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--navy);
}

.stat-ring-label {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

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

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

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 40px;
}

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

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

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

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

.contact-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 40px;
}

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

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

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: rgba(212, 168, 75, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

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

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

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

/* Contact Form */
.contact-form-wrapper {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 44px;
    border: 1px solid rgba(10, 35, 66, 0.06);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    color: var(--navy);
    margin-bottom: 28px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(10, 35, 66, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.12);
}

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

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

.form-group select {
    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='%230A2342' stroke-width='3' 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 16px center;
    padding-right: 44px;
}

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

.form-success .success-icon {
    width: 72px;
    height: 72px;
    background: rgba(212, 168, 75, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.6;
}

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

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

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

.logo-footer .logo-line2 {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    color: var(--white);
    margin-bottom: 20px;
}

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

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

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
}

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

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

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

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

.footer-legal {
    font-size: 0.75rem !important;
}

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

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

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

    .about-grid {
        gap: 48px;
    }

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

    .community-content {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav, .nav-actions .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-inner {
        height: 70px;
    }

    .mobile-nav {
        top: 70px;
    }

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

    .hero-cards {
        display: none;
    }

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

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

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

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

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

    .about-image-accent {
        width: 60%;
        right: -10px;
        bottom: -20px;
    }

    .about-experience-badge {
        top: -10px;
        left: -10px;
        padding: 14px 18px;
    }

    .about-experience-badge .experience-number {
        font-size: 2rem;
    }

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

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

    .community-stats {
        flex-direction: row;
        justify-content: center;
    }

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

    .contact-form-wrapper {
        position: static;
    }

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

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

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

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

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

    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .services, .about, .why-choose, .community, .contact {
        padding: 72px 0;
    }

    .service-card {
        padding: 28px 24px;
    }

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

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
