/* ========================================
   太原阿庆嫂婚介 - 主样式表
   ======================================== */

/* === CSS Variables / 变量 === */
:root {
    /* 主色调 */
    --primary: #C41E3A;
    --primary-dark: #A01830;
    --primary-light: #F8D7DA;
    --primary-bg: #FFF5F5;

    /* 辅色调 */
    --gold: #D4A574;
    --gold-light: #F5E6D3;
    --gold-dark: #B8860B;

    /* 中性色 */
    --text: #2D2D2D;
    --text-light: #666;
    --text-muted: #999;
    --bg: #FFF8F5;
    --bg-white: #FFFFFF;
    --border: #E8E0DB;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);

    /* 尺寸 */
    --header-height: 76px;
    --container-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    /* 字体 */
    --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

/* === Reset / 重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Section / 通用区块 === */
.section {
    padding: 90px 0;
}

.section-bg {
    background: var(--bg);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* === Buttons / 按钮 === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #E83750);
    color: #fff;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.4);
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

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

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

.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; }

/* === Header / 顶部导航 === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 2rem;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
}

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

.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

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

.nav-link {
    display: block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === Hero / 横幅 === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 36px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.35);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #fff;
    width: 36px;
    border-radius: 6px;
}

/* Animations */
.animate-fadeUp {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fadeUp.delay-1 { animation-delay: 0.2s; }
.animate-fadeUp.delay-2 { animation-delay: 0.4s; }
.animate-fadeUp.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Quick Search / 快速搜索 === */
.quick-search {
    margin-top: -36px;
    position: relative;
    z-index: 100;
}

.search-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: var(--shadow-lg);
}

.search-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.search-form .form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 120px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-select,
.form-input {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--bg-white);
    transition: border-color 0.3s;
    outline: none;
    width: 100%;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

.search-form .btn {
    height: 44px;
    flex-shrink: 0;
}

/* === About / 关于我们 === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img-placeholder {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-bg), var(--gold-light));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-img-icon {
    font-size: 5rem;
    margin-bottom: 12px;
}

.about-img-placeholder p {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about-desc {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.8;
}

.about-desc strong {
    color: var(--primary);
}

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

.feature-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* === Services / 服务项目 === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.service-card.featured {
    border-color: var(--primary);
    border-width: 2px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, #fff 40%);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary), #E83750);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 18px;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* === Members / 会员风采 === */
.member-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--bg-white);
    color: var(--text);
    border: 1.5px solid var(--border);
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.member-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

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

.member-avatar {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(180deg, var(--primary-bg), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.member-avatar.female { background: linear-gradient(180deg, #FFF0F5, #FFE4E1); }
.member-avatar.male { background: linear-gradient(180deg, #F0F8FF, #E6F0FA); }

.member-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

.member-info {
    padding: 18px 14px;
}

.member-info h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.member-info .member-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    justify-content: center;
}

.member-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 20px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.member-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.members-more {
    text-align: center;
    margin-top: 40px;
}

/* === Stories / 成功故事 === */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.story-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.story-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.story-body {
    padding: 24px 20px;
}

.story-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary-bg);
    color: var(--primary);
    margin-bottom: 10px;
}

.story-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.story-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-date {
    display: block;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* === Testimonials / 用户评价 === */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.testimonial-avatar {
    font-size: 3rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding: 0 8px;
    margin-bottom: 16px;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: -12px;
    left: 0;
}

.testimonial-card h4 {
    font-size: 1rem;
    color: var(--text);
}

.testimonial-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* === Register CTA === */
.register-cta {
    background: var(--bg);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-content > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

.cta-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.cta-form .form-input,
.cta-form .form-select {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    outline: none;
    transition: border-color 0.3s;
}

.cta-form .form-input:focus,
.cta-form .form-select:focus {
    border-color: var(--primary);
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    outline: none;
    resize: vertical;
    margin-bottom: 16px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.cta-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-img-placeholder {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3/4;
    background: linear-gradient(180deg, #FFE4E1 0%, var(--primary-bg) 50%, var(--bg-white) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.cta-img-placeholder span {
    font-size: 5rem;
}

.cta-img-placeholder p {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

/* === Contact / 联系我们 === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-map {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.map-card {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-bg), #fff);
    border-bottom: 1px solid var(--border);
}

.map-pin {
    font-size: 2rem;
    flex-shrink: 0;
}

.map-card-header h4 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 2px;
}

.map-card-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-card-body {
    padding: 24px;
}

.map-address-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-line {
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.map-card-footer {
    padding: 0 24px 20px;
}

.map-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* === Footer === */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

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

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

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

.qrcode-img {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.2);
    display: block;
}

.qrcode-wrap p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* === Back to Top / 回到顶部 === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(196,30,58,0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196,30,58,0.5);
}

/* ========================================
   Responsive / 响应式
   ======================================== */


/* 手机菜单里的操作按钮（桌面端隐藏） */
.nav-actions-mobile {
    display: none;
}
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .members-grid { grid-template-columns: repeat(3, 1fr); }
    .stories-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }

    /* Mobile Nav */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 12px 24px;
    }

    .header-actions {
        display: none;
    }
    .nav.open .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 24px;
    }
    .nav.open .nav-actions-mobile .btn {
        width: 200px;
        text-align: center;
    }


    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero */
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .slider-arrow { width: 36px; height: 36px; font-size: 1rem; }

    /* Sections */
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }

    /* Grids */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .services-grid { grid-template-columns: 1fr; }
    .members-grid { grid-template-columns: repeat(2, 1fr); }
    .stories-grid { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .cta-wrapper { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .quick-search { margin-top: -20px; }
    .search-card { padding: 20px; }
    .search-form .form-row { flex-direction: column; }
    .search-form .btn { width: 100%; }
    .about-features { grid-template-columns: 1fr; }
    .cta-form .form-row { flex-direction: column; }
}

@media (max-width: 480px) {
    .members-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero-title { font-size: 1.8rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .member-info h4 { font-size: 0.9rem; }
}
