/* MSCCU (Mustard Seed Cooperative Credit Union) — Brand colors from logo */
:root {
    --color-primary: #1a4d2e;
    --color-primary-dark: #0f2e1a;
    --color-secondary: #5a9a3a;
    --color-accent: #c9a227;
    --color-accent-light: #e8c84a;
    --color-bg: #f8f9f5;
    --color-bg-alt: #eef3ea;
    --color-white: #ffffff;
    --color-text: #2c3e2d;
    --color-text-muted: #5a6b5c;
    --color-border: #d4ddd0;
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Source Sans 3', system-ui, sans-serif;
    --shadow-sm: 0 1px 3px rgba(26, 77, 46, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 77, 46, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 77, 46, 0.16);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    padding-top: var(--header-offset, 120px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-secondary); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
    position: absolute; top: -100%; left: 1rem; z-index: 9999;
    background: var(--color-accent); color: var(--color-primary-dark);
    padding: 0.5rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--color-primary); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--color-text-muted); }

body.nav-open { overflow: hidden; }

/* Buttons — 3D embossed */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.2;
    transform: translateY(0);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.2s ease,
        color 0.2s ease,
        filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}
.btn:active {
    transform: translateY(3px);
    transition-duration: 0.08s;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #2a6b42 0%, var(--color-primary) 48%, #143d24 100%);
    border-color: #0c2818;
    box-shadow:
        0 4px 0 #0a1f12,
        0 8px 18px rgba(15, 46, 26, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #0a1f12,
        0 12px 24px rgba(15, 46, 26, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.btn-primary:active {
    filter: brightness(0.98);
    box-shadow:
        0 1px 0 #0a1f12,
        0 3px 8px rgba(15, 46, 26, 0.22),
        inset 0 2px 4px rgba(0, 0, 0, 0.22);
}
.btn-outline {
    color: var(--color-primary);
    background: linear-gradient(180deg, #ffffff 0%, #f3f7f1 100%);
    border-color: #1a4d2e;
    box-shadow:
        0 4px 0 #143d24,
        0 8px 16px rgba(15, 46, 26, 0.12),
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(26, 77, 46, 0.08);
}
.btn-outline:hover {
    color: #fff;
    background: linear-gradient(180deg, #2a6b42 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #0a1f12,
        0 12px 22px rgba(15, 46, 26, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-outline:active {
    box-shadow:
        0 1px 0 #0a1f12,
        0 3px 8px rgba(15, 46, 26, 0.16),
        inset 0 2px 4px rgba(0, 0, 0, 0.18);
}
.btn-gold {
    color: var(--color-primary-dark);
    background: linear-gradient(180deg, #f0d56a 0%, var(--color-accent) 45%, #a8841a 100%);
    border-color: #8f7014;
    box-shadow:
        0 4px 0 #7a5f10,
        0 8px 18px rgba(201, 162, 39, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(120, 90, 10, 0.25);
}
.btn-gold:hover {
    color: var(--color-primary-dark);
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #7a5f10,
        0 14px 26px rgba(201, 162, 39, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -2px 0 rgba(120, 90, 10, 0.25);
}
.btn-gold:active {
    filter: brightness(0.98);
    box-shadow:
        0 1px 0 #7a5f10,
        0 3px 8px rgba(201, 162, 39, 0.28),
        inset 0 2px 4px rgba(90, 70, 10, 0.28);
}
.btn-sm { padding: 0.45rem 1.05rem; font-size: 0.85rem; border-radius: 8px; }
.btn-sm:active { transform: translateY(2px); }
.btn-block { width: 100%; }
.btn-danger {
    color: #fff;
    background: linear-gradient(180deg, #e05a4c 0%, #c0392b 50%, #9b2e22 100%);
    border-color: #7f241b;
    box-shadow:
        0 4px 0 #6b1e17,
        0 8px 16px rgba(192, 57, 43, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-danger:hover { color: #fff; filter: brightness(1.05); transform: translateY(-2px); }
.btn-danger:active {
    box-shadow:
        0 1px 0 #6b1e17,
        inset 0 2px 4px rgba(0, 0, 0, 0.25);
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta:active { transform: translateY(2px); }

/* Header — fixed professional bar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.22), 0 8px 28px rgba(15, 46, 26, 0.08);
    transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.3), 0 12px 32px rgba(15, 46, 26, 0.12);
}

.header-top {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.88);
    font-size: 0.8rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}
.header-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
}
.header-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
}
.header-contact-item svg { opacity: 0.7; flex-shrink: 0; }
.header-contact-item:hover { color: var(--color-accent-light); }
.header-tagline {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(232, 200, 74, 0.9);
    font-weight: 600;
}

.main-nav {
    padding: 0.35rem 0;
    background: #fff;
    position: relative;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    min-height: 72px;
}

.brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}
.logo {
    height: 78px;
    width: auto;
    max-width: min(280px, 46vw);
    object-fit: contain;
    display: block;
    background: transparent;
    filter: drop-shadow(0 3px 8px rgba(15, 46, 26, 0.14));
    transition: height 0.25s ease, filter 0.25s ease;
}
.site-header.is-scrolled .logo {
    height: 64px;
    filter: drop-shadow(0 2px 6px rgba(15, 46, 26, 0.12));
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 0.85rem 1.1rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 4px;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--color-primary); }

.nav-cta {
    flex-shrink: 0;
    border-radius: 6px;
    padding: 0.5rem 1.1rem;
    font-weight: 700;
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 0.6rem 0.65rem;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #2d6b42 100%);
    color: var(--color-white); padding: 4rem 0; overflow: hidden;
    position: relative;
}
.hero-has-slides {
    background: var(--color-primary-dark);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 0 4.5rem;
}
.hero-slides {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 6s ease-out;
}
.hero-slide.is-active .hero-slide-img {
    transform: scale(1.06);
}
.hero-slides-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2;
    background: linear-gradient(105deg, rgba(15,46,26,0.72) 0%, rgba(26,77,46,0.48) 48%, rgba(15,46,26,0.28) 100%);
    pointer-events: none;
}
.hero-has-slides .hero-grid { position: relative; z-index: 3; }
.hero-has-slides .hero-grid { grid-template-columns: 1fr; max-width: 720px; margin-left: 0; }
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: rgba(15,46,26,0.45);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.hero-slider-nav:hover {
    background: rgba(15,46,26,0.75);
    border-color: var(--color-accent-light);
}
.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }
.hero-slider-dots {
    display: flex; gap: 0.65rem; justify-content: center;
    position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 4;
}
.hero-slider-dot {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.85);
    padding: 0; background: transparent; cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.hero-slider-dot.active, .hero-slider-dot:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: scale(1.15);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge {
    display: inline-block; background: rgba(201,162,39,0.2); color: var(--color-accent-light);
    padding: 0.35rem 1rem; border-radius: 2rem; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1rem; border: 1px solid rgba(201,162,39,0.3);
}
.hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 1.5rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero .btn-outline {
    color: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 100%);
    border-color: rgba(255,255,255,0.75);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.hero .btn-outline:hover {
    color: var(--color-primary-dark);
    background: linear-gradient(180deg, #fff 0%, #f0f4ee 100%);
    border-color: #fff;
    box-shadow:
        0 6px 0 rgba(0, 0, 0, 0.22),
        0 12px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 #fff;
}
.hero .btn-primary {
    box-shadow:
        0 4px 0 #07140c,
        0 10px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
.stat strong { display: block; font-size: 1.25rem; color: var(--color-accent-light); font-family: var(--font-serif); }
.stat span { font-size: 0.85rem; opacity: 0.75; }
.hero-visual svg { width: 100%; max-width: 400px; margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2)); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header p { color: var(--color-text-muted); }
.section-cta { text-align: center; margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white); padding: 3rem 0; text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }
.page-hero-error { padding: 5rem 0; }

.breadcrumb { font-size: 0.9rem; margin-bottom: 1rem; opacity: 0.85; }
.breadcrumb a { color: var(--color-accent-light); }
.breadcrumb span { margin: 0 0.5rem; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
    background: var(--color-white); padding: 2rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 1rem; }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Why Choose slideshow */
.features-section {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
}
.features-slider {
    position: relative;
    margin: 0 auto;
    padding: 0 2.75rem;
}
.features-slider-viewport { overflow: hidden; }
.features-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}
.features-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
}
.feature-card-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.85rem 1.5rem 1.6rem;
    border: 1px solid var(--color-border);
    position: relative;
}
.feature-card-slide .feature-index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.85);
}
.feature-card-slide .feature-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1.1rem;
    padding: 0.7rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(238, 243, 234, 0.95), #fff);
    border: 1px solid rgba(212, 221, 208, 0.95);
}
.feature-card-slide h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}
.feature-card-slide p {
    flex: 1;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}
.feature-card-slide .btn { margin-top: auto; }
.features-slider-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 46, 26, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.features-slider-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.features-slider-prev { left: 0; }
.features-slider-next { right: 0; }
.features-slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.features-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--color-border);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.features-slider-dot.active,
.features-slider-dot:hover {
    background: var(--color-primary);
    transform: scale(1.15);
}

/* Product cards */
.products-preview {
    background:
        radial-gradient(ellipse at top right, rgba(201, 162, 39, 0.08), transparent 45%),
        radial-gradient(ellipse at bottom left, rgba(26, 77, 46, 0.06), transparent 40%),
        var(--color-bg);
}
.section-eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.section-eyebrow-light { color: var(--color-accent-light); }
.products-header { max-width: 640px; }
.products-empty {
    text-align: center;
    color: var(--color-text-muted);
    padding: 2rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
}

/* Products slideshow — single row */
.products-slider {
    position: relative;
    margin: 0 auto 0.5rem;
    padding: 0 2.75rem;
}
.products-slider-viewport {
    overflow: hidden;
}
.products-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}
.products-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
}
.products-slide .product-card {
    height: 100%;
}
.products-slider-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 46, 26, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.products-slider-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.products-slider-prev { left: 0; }
.products-slider-next { right: 0; }
.products-slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.products-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--color-border);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.products-slider-dot.active,
.products-slider-dot:hover {
    background: var(--color-primary);
    transform: scale(1.15);
}

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.products-grid-full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.product-group { margin-bottom: 3rem; }
.product-group:last-child { margin-bottom: 0; }
.product-group-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}
.product-group-header h2 { margin: 0; font-size: 1.35rem; }
.product-group-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.product-card {
    position: relative;
    background: var(--color-white);
    padding: 1.6rem 1.6rem 1.45rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 221, 208, 0.95);
    box-shadow: 0 1px 2px rgba(15, 46, 26, 0.04);
    display: flex;
    flex-direction: column;
    color: inherit;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(15, 46, 26, 0.12);
    border-color: rgba(201, 162, 39, 0.45);
    color: inherit;
}
.product-card:hover::before { opacity: 1; }
.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.product-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}
.product-index {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.85);
}
.product-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    padding: 0.7rem;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(238, 243, 234, 0.95), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(212, 221, 208, 0.9);
    box-shadow: inset 0 1px 0 #fff;
}
.product-icon svg { width: 100%; height: 100%; display: block; }
.product-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
    line-height: 1.3;
}
.product-tagline {
    margin: 0 0 0.55rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
}
.product-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    flex: 1;
}
.product-feature-preview {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.product-feature-preview li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.86rem;
    color: var(--color-text);
    line-height: 1.4;
}
.product-feature-preview li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}
.card-link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}
.product-card:hover .card-link { color: var(--color-secondary); }
.card-link span { transition: transform 0.2s ease; }
.product-card:hover .card-link span { transform: translateX(3px); }

/* Rates banner */
.rates-banner {
    position: relative;
    overflow: hidden;
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 3.5rem 0;
}
.rates-banner-has-slides {
    background: var(--color-primary-dark);
    min-height: 320px;
}
.rates-banner .hero-slides { z-index: 0; }
.rates-banner .hero-slides-overlay {
    background: linear-gradient(100deg, rgba(12, 36, 22, 0.88) 0%, rgba(15, 46, 26, 0.78) 45%, rgba(15, 46, 26, 0.62) 100%);
}
.rates-banner .hero-slider-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}
.rates-banner .hero-slider-prev { left: 1rem; }
.rates-banner .hero-slider-next { right: 1rem; }
.rates-banner .hero-slider-dots {
    bottom: 1.1rem;
}
.rates-banner-inner {
    position: relative;
    z-index: 3;
}
.rates-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.75rem;
}
.rates-content h2 { color: var(--color-white); margin-bottom: 0.5rem; }
.rates-content p { opacity: 0.9; margin: 0; }

.rates-slider {
    position: relative;
    padding: 0 2.75rem;
}
.rates-slider-viewport { overflow: hidden; }
.rates-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s ease;
    will-change: transform;
}
.rates-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;
}
.rate-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(201,162,39,0.35);
    backdrop-filter: blur(6px);
    padding: 1.5rem 1.25rem 1.35rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.rate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 200, 74, 0.7);
    background: rgba(255,255,255,0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.rate-label { display: block; font-size: 0.82rem; opacity: 0.8; letter-spacing: 0.02em; }
.rate-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-light);
    font-family: var(--font-serif);
    line-height: 1.1;
}
.rate-note {
    display: block;
    font-size: 0.78rem;
    opacity: 0.7;
    margin-bottom: 0.65rem;
}
.rate-card .btn { margin-top: 0.25rem; }
.rate-note-spacer { visibility: hidden; }
.rates-empty {
    text-align: center;
    color: rgba(255,255,255,0.8);
    margin: 0;
    padding: 1.5rem;
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
}
.rates-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(15, 46, 26, 0.55);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.rates-slider-nav:hover {
    background: rgba(15, 46, 26, 0.85);
    border-color: var(--color-accent-light);
}
.rates-slider-prev { left: 0; }
.rates-slider-next { right: 0; }
.rates-slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.35rem;
}
.rates-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.55);
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.rates-slider-dot.active,
.rates-slider-dot:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: scale(1.12);
}

/* News */
.news-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, #fff 100%);
}
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card {
    background: var(--color-white); padding: 1.75rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.news-card.has-cover {
    padding: 0;
    border-left: none;
}
/* Shared media fill — blur fills frame; sharp image fits fully on top */
.media-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #1a4d2e;
    pointer-events: none;
}
.media-fill::before {
    content: '';
    position: absolute;
    inset: -22%;
    background-color: inherit;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.2) brightness(0.9);
}
.media-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 46, 26, 0.1), rgba(15, 46, 26, 0.24));
}
.news-card-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a4d2e;
}
.news-card-cover-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    box-sizing: border-box;
}
.news-card-cover img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.45s ease;
}
.news-card:hover .news-card-cover img {
    transform: scale(1.03);
}
.news-card:hover .media-fill::before {
    filter: blur(22px) saturate(1.25) brightness(0.95);
}
.news-card-body { padding: 1.35rem 1.5rem 1.45rem; }
.news-card:not(.has-cover) .news-card-body { padding: 0; }
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-tag {
    display: inline-block; background: var(--color-primary); color: var(--color-white);
    font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 3px;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem;
}
.news-tag.tag-blog { background: var(--color-accent); color: var(--color-primary-dark); }
.news-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.news-card h3 a { color: var(--color-primary); }
.news-card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.news-card time { font-size: 0.85rem; color: var(--color-text-muted); }

/* News slideshow */
.news-slider {
    position: relative;
    margin: 0 auto 0.5rem;
    padding: 0 2.75rem;
}
.news-slider-viewport {
    overflow: hidden;
    width: 100%;
}
.news-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.news-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
    box-sizing: border-box;
}
.news-card-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem 1.45rem;
}
.news-card-slide.has-cover {
    padding: 0;
}
.news-card-slide .news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-slide h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--color-primary);
}
.news-card-slide p {
    flex: 1;
    margin-bottom: 0.85rem;
}
.news-card-slide time {
    display: block;
    margin-bottom: 1rem;
}
.news-card-slide .btn {
    align-self: flex-start;
    margin-top: auto;
}
.news-slider-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 46, 26, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.news-slider-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.news-slider-prev { left: 0; }
.news-slider-next { right: 0; }
.news-slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.news-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--color-border);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.news-slider-dot.active,
.news-slider-dot:hover {
    background: var(--color-primary);
    transform: scale(1.15);
}

/* CTA section */
.cta-section { background: var(--color-bg-alt); }
.cta-inner { display: flex; align-items: center; gap: 3rem; }
.cta-visual { width: 120px; flex-shrink: 0; }
.cta-visual svg { width: 100%; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.about-visual svg { width: 100%; max-width: 360px; margin: 0 auto 1.5rem; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat-card {
    background: var(--color-white); padding: 1.25rem; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow-sm);
}
.about-stat-card strong { display: block; color: var(--color-primary); margin-top: 0.5rem; }
.about-stat-card span { font-size: 0.85rem; color: var(--color-text-muted); }
.values-list, .features-list, .steps-list { margin: 1rem 0 1.5rem 1.25rem; }
.values-list li, .features-list li, .steps-list li { margin-bottom: 0.5rem; }

.team-slider { position: relative; max-width: 960px; margin: 0 auto; }
.team-slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.team-track {
    display: flex; gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}
.team-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    background: var(--color-white); padding: 1.75rem 1.25rem 1.5rem;
    border-radius: var(--radius-lg); text-align: center;
    box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
}
.team-photo {
    width: 110px; height: 140px; margin: 0 auto 1rem;
    border-radius: 6px; overflow: hidden;
    border: 3px solid var(--color-accent);
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.35rem;
    color: var(--color-text-muted); font-size: 0.75rem; font-weight: 600;
}
.team-photo-placeholder svg { width: 36px; height: 36px; color: var(--color-primary); opacity: 0.45; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.team-role { color: var(--color-accent); font-size: 0.9rem; font-weight: 500; display: block; }
.team-bio {
    margin: 0.65rem 0 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}
.team-slider-dots {
    display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem;
}
.team-slider-dot {
    width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0;
    background: var(--color-border); cursor: pointer; transition: background var(--transition);
}
.team-slider-dot.active, .team-slider-dot:hover { background: var(--color-primary); }

/* Service detail */
.service-hero-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; text-align: left; }
.service-hero-icon { width: 100px; flex-shrink: 0; }
.service-hero-icon svg { width: 100%; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.service-cta-box {
    background: var(--color-bg-alt); padding: 2rem; border-radius: var(--radius-lg);
    margin-top: 2rem; border-left: 4px solid var(--color-accent);
}
.sidebar-card {
    background: var(--color-white); padding: 1.5rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.sidebar-card h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 0.5rem; }
.sidebar-links a { font-size: 0.95rem; }

/* Articles — editorial 2-col cards */
.articles-list {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.article-item {
    position: relative;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 46, 26, 0.06);
    overflow: hidden;
    border: 1px solid rgba(26, 77, 46, 0.08);
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 46, 26, 0.12);
    border-color: rgba(26, 77, 46, 0.16);
}
.article-item.has-cover {
    padding: 0;
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    align-items: stretch;
    min-height: 248px;
}
.article-item-media {
    position: relative;
    display: block;
    min-height: 248px;
    overflow: hidden;
    background: #1a4d2e;
}
.article-item-media::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
    z-index: 3;
}
.article-item-media-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.15rem;
    box-sizing: border-box;
}
.article-item-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.5s ease;
}
.article-item:hover .article-item-media img {
    transform: scale(1.035);
}
.article-item:hover .media-fill::before {
    filter: blur(22px) saturate(1.25) brightness(0.95);
}
.article-item-body {
    min-width: 0;
    position: relative;
}
.article-item.has-cover .article-item-body {
    padding: 1.85rem 2rem 1.9rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(244, 248, 242, 0.85) 0%, transparent 18%),
        #fff;
}
.article-item .article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
    margin-bottom: 0.85rem;
}
.article-item .article-meta time {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.article-item .article-meta time::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 0.65rem;
    border-radius: 50%;
    background: #b7c9b0;
    vertical-align: middle;
}
.article-item h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    margin-bottom: 0.55rem;
    line-height: 1.28;
    letter-spacing: -0.015em;
}
.article-item h2 a {
    color: var(--color-primary);
    transition: color 0.2s ease;
}
.article-item h2 a:hover { color: var(--color-secondary); }
.article-item-body > p {
    color: var(--color-text-muted);
    margin-bottom: 1.1rem;
    line-height: 1.6;
    font-size: 1.02rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    align-self: flex-start;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(26, 77, 46, 0.07);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.92rem;
    transition: background 0.25s ease, color 0.25s ease, gap 0.25s ease;
}
.article-item-cta span {
    transition: transform 0.25s ease;
}
.article-item:hover .article-item-cta,
.article-item-cta:hover {
    background: var(--color-primary);
    color: #fff;
}
.article-item:hover .article-item-cta span,
.article-item-cta:hover span {
    transform: translateX(3px);
}

.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }

/* Full article page — image beside content after Read more */
.article-page {
    max-width: 760px;
    margin: 0 auto;
}
.article-page.has-cover {
    max-width: 1060px;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
    gap: 2.25rem;
    align-items: start;
}
.article-visual {
    position: sticky;
    top: 6.5rem;
}
.article-visual-frame {
    position: relative;
    display: block;
    min-height: 320px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    background: #1a4d2e;
    border: 1px solid rgba(26, 77, 46, 0.08);
    box-shadow: 0 12px 32px rgba(15, 46, 26, 0.08);
}
.article-visual-frame img {
    position: absolute;
    inset: 1.1rem;
    z-index: 1;
    width: calc(100% - 2.2rem);
    height: calc(100% - 2.2rem);
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.article-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}
.article-page.has-cover .article-body {
    max-width: none;
    margin: 0;
    padding-top: 0.25rem;
}
.article-body p { margin-bottom: 1.15rem; }
.article-body h2, .article-body h3 { margin-top: 1.5rem; }
.article-cover {
    margin: 0 0 1.75rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #e8f0e4;
    aspect-ratio: 21 / 9;
    max-height: 420px;
}
.article-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.article-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.empty-state { text-align: center; color: var(--color-text-muted); padding: 3rem; }

@media (max-width: 860px) {
    .article-page.has-cover {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 680px;
    }
    .article-visual {
        position: static;
        top: auto;
    }
    .article-visual-frame {
        min-height: 240px;
        aspect-ratio: 4 / 3;
    }
    .article-visual-frame img {
        inset: 0.9rem;
        width: calc(100% - 1.8rem);
        height: calc(100% - 1.8rem);
    }
}

@media (max-width: 720px) {
    .article-item.has-cover {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .article-item-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    .article-item-media::after {
        width: 100%;
        height: 4px;
        inset: auto 0 0 0;
    }
    .article-item-media-frame {
        padding: 0.85rem;
    }
    .article-item.has-cover .article-item-body {
        padding: 1.4rem 1.35rem 1.55rem;
        background: #fff;
    }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-visual { width: 100px; margin-bottom: 1.5rem; }
.contact-visual svg { width: 100%; }
.contact-item { margin-bottom: 1.25rem; }
.contact-item strong { display: block; color: var(--color-primary); margin-bottom: 0.25rem; }

.contact-form, .membership-form {
    background: var(--color-white); padding: 2rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--color-primary); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-family: inherit; font-size: 1rem;
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(90,154,58,0.15);
}
.form-note { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }

.alert { padding: 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert-success { background: #e8f5e9; border: 1px solid var(--color-secondary); color: var(--color-primary); }
.alert-error { background: #fdecea; border: 1px solid #c0392b; color: #922b21; }

/* Membership */
.membership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.membership-visual { width: 80px; margin-bottom: 1rem; }
.membership-visual svg { width: 100%; }

/* Footer */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo {
    height: 96px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.footer-brand p { font-size: 0.95rem; opacity: 0.8; }
.footer-links h4, .footer-contact h4 { color: var(--color-accent-light); margin-bottom: 1rem; font-family: var(--font-serif); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.85); }
.footer-links a:hover, .footer-contact a:hover { color: var(--color-accent-light); }
.footer-contact p { font-size: 0.95rem; margin-bottom: 0.4rem; }
.footer-contact .hours { opacity: 0.7; font-size: 0.85rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid, .membership-grid, .service-detail-grid { grid-template-columns: 1fr; }
    .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
    .products-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
    .team-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .rates-slide { flex: 0 0 calc((100% - 1.25rem) / 2); }
    .news-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
    .service-hero-grid { flex-direction: column; text-align: center; }
    .rates-inner { flex-direction: column; text-align: center; }
    .header-tagline { display: none; }
    .logo { height: 68px; max-width: min(240px, 42vw); }
    .site-header.is-scrolled .logo { height: 58px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem 1.25rem 1.25rem;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 28px rgba(15, 46, 26, 0.12);
        z-index: 20;
    }
    .nav-panel.open { display: flex; }
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.15rem;
    }
    .nav-link {
        width: 100%;
        border-radius: 6px;
        padding: 0.85rem 1rem;
    }
    .nav-link:hover,
    .nav-link.active { background: var(--color-bg-alt); }
    .nav-link::after { display: none; }
    .nav-cta { width: 100%; justify-content: center; }
    .main-nav { position: relative; }
    .logo { height: 60px; max-width: min(210px, 55vw); }
    .site-header.is-scrolled .logo { height: 52px; }
    .nav-inner { min-height: 60px; }
    .features-grid, .products-grid { grid-template-columns: 1fr; }
    .features-slider { padding: 0 2.4rem; }
    .features-slide { flex: 0 0 100%; }
    .products-slider { padding: 0 2.4rem; }
    .products-slide { flex: 0 0 100%; }
    .rates-slider { padding: 0 2.4rem; }
    .rates-slide { flex: 0 0 100%; }
    .news-slider { padding: 0 2.4rem; }
    .news-slide { flex: 0 0 100%; }
    .team-card { flex: 0 0 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 2.5rem 0; }
    .hero-stats { gap: 1rem; }
    .section { padding: 2.5rem 0; }
    .about-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .header-contact-item span { font-size: 0.78rem; }
    .logo { height: 52px; max-width: min(180px, 58vw); }
    .site-header.is-scrolled .logo { height: 46px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .nav-banking { width: 100%; justify-content: center; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* FAQ accordion */
.faq-section { background: var(--color-white); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 8px 22px rgba(15, 46, 26, 0.08);
    background: #fff;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    color: var(--color-accent);
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background: rgba(201, 162, 39, 0.18);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 1.25rem;
    color: var(--color-text-muted);
}
.faq-item.is-open .faq-answer {
    max-height: 240px;
    padding: 0 1.25rem 1.15rem;
}

/* Back to top — 3D */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #8f7014;
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    background: linear-gradient(180deg, #f0d56a 0%, var(--color-accent) 45%, #a8841a 100%);
    box-shadow:
        0 4px 0 #7a5f10,
        0 10px 20px rgba(15, 46, 26, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.55);
    transition: opacity 0.25s ease, transform 0.25s ease, filter 0.2s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}
.back-to-top:active {
    transform: translateY(3px);
    box-shadow:
        0 1px 0 #7a5f10,
        inset 0 2px 4px rgba(90, 70, 10, 0.28);
}

.nav-banking {
    margin-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .btn, .product-card, .feature-card, .news-card, .rate-card, .back-to-top {
        transition: none !important;
    }
}
