/* HCOWA public site. Brand tokens taken from the original Elementor kit. */
:root {
    --brand: #4851d5;
    --brand-dark: #242f65;
    --brand-bright: #2575fc;
    --brand-tint: #f3f3ff;
    --accent: #8dc63f;        /* button green (from the HCOWA logo) */
    --accent-dark: #76ad2c;
    --accent-ink: #ffffff;    /* button text (owner choice: white on green) */
    --ink: #1d2340;
    --text: #4a4f63;
    --muted: #7b8096;
    --line: #e4e6f0;
    --bg: #ffffff;
    --surface: #f8f8fc;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(36, 47, 101, .25);
    --container: 1200px;
    --font-body: "Roboto", system-ui, sans-serif;
    --font-head: "Montserrat", "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-bright); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; text-shadow: 0 1px 1px rgba(40,70,0,.35); font-family: var(--font-body); font-size: .92rem; text-transform: none; border: 2px solid var(--accent); transition: .2s ease; cursor: pointer; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--accent-ink) !important; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(118,173,44,.7); }
.btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--accent); color: var(--accent-ink) !important; border-color: var(--accent); }
.btn-light { background: var(--accent); color: var(--accent-ink) !important; border-color: var(--accent); }

/* Top bar + header */
.topbar { background: var(--brand-dark); color: #c9cdea; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #c9cdea; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; }
.social { display: flex; gap: .4rem; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: inherit; transition: .2s; }
.social a:hover { background: var(--brand); color: #fff; }
.social svg, .ico { width: 15px; height: 15px; fill: currentColor; flex: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.logo img { height: 56px; width: auto; }
.site-footer .logo img { height: 64px; }
.logo-mark { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-bright)); display: grid; place-items: center; color: #fff; font: 800 1.15rem var(--font-head); }
.logo-text strong { display: block; font: 800 1.35rem/1 var(--font-head); color: var(--brand-dark); letter-spacing: .02em; }
.logo-text small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav > ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav li { position: relative; }
.nav a { display: block; padding: .6rem .9rem; border-radius: 8px; color: var(--ink); font: 600 .93rem var(--font-body); }
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-tint); }
.nav .has-children > a::after { content: ""; display: inline-block; margin-left: .4rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav .submenu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav { position: fixed; inset: 78px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 78px); overflow: auto; display: none; padding: 1rem 20px 1.5rem; box-shadow: var(--shadow); }
    .nav.open { display: block; }
    .nav > ul { flex-direction: column; align-items: stretch; }
    .nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
    .header-cta { display: none; }
    .topbar-info .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--brand-dark) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,26,64,.72) 0%, rgba(36,47,101,.45) 50%, rgba(36,47,101,.08) 100%); z-index: -1; }
.hero .container { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.hero h1, .page-hero h1 { text-shadow: 0 2px 18px rgba(10,14,40,.45); }
.hero p, .page-hero p, .hero .kicker { text-shadow: 0 1px 10px rgba(10,14,40,.5); }
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.hero p { color: #f1f2fb; font-size: 1.1rem; max-width: 640px; }
.kicker { display: inline-block; font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-bright); background: rgba(37,117,252,.12); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero .kicker { color: #fff; background: rgba(255,255,255,.14); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.play { width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; justify-self: center; color: #fff; position: relative; transition: .2s; }
.play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); animation: pulse 2.4s infinite; }
.play:hover { background: var(--brand); color: #fff; }
.play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 5px; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@media (max-width: 800px) { .hero .container { grid-template-columns: 1fr; } .play { justify-self: start; width: 80px; height: 80px; } }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--brand-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media img { border-radius: 24px; }
.lead { font-size: 1.12rem; color: var(--text); }

.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; }
.info-card { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(36,47,101,.45); color: inherit; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.info-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tone); transform: scaleY(0); transform-origin: bottom; transition: transform .3s ease; }
a.info-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(36,47,101,.45); border-color: transparent; color: inherit; }
a.info-card:hover::after { transform: scaleY(1); }
a.info-card:focus-visible { outline: 3px solid var(--tone); outline-offset: 2px; }
.info-card.tone-brand { --tone: var(--brand); --tone-from: #5b64e6; --tone-to: #2575fc; }
.info-card.tone-accent { --tone: var(--accent); --tone-from: #a3d65a; --tone-to: #6fa625; }
.info-card .icon { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--tone-from), var(--tone-to)); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 10px 20px -10px var(--tone); transition: transform .3s ease; }
a.info-card:hover .icon { transform: rotate(-6deg) scale(1.05); }
.info-card .icon svg { width: 22px; height: 22px; fill: currentColor; }
.info-card .info-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.info-card small { font: 700 .7rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card strong { font: 700 1.02rem/1.35 var(--font-body); color: var(--ink); word-break: break-word; margin-top: .15rem; }
.info-arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--muted); font-weight: 700; flex: none; transition: .25s ease; }
a.info-card:hover .info-arrow { background: var(--tone); color: #fff; transform: translateX(3px); }

/* Cards */
.grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--brand-tint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .5rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--brand); }
.card-body p { color: var(--text); font-size: .95rem; flex: 1; }
.card-link { font: 600 .9rem var(--font-body); display: inline-flex; gap: .35rem; align-items: center; }
.card-link::after { content: "→"; transition: .2s; }
.card:hover .card-link::after { transform: translateX(4px); }
.meta { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.chip { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: .75rem; font-weight: 600; }
.chip:hover { background: var(--brand); color: #fff; }

.partners-static { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
@media (max-width: 640px) { .partners-static .partner { width: 100%; max-width: 340px; } }
.partner-slider { overflow: hidden; padding: .6rem 0 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partner-track { display: flex; gap: 1.5rem; width: max-content; animation: partner-scroll var(--partner-duration, 30s) linear infinite; }
.partner-slider:hover .partner-track, .partner-slider:focus-within .partner-track { animation-play-state: paused; }
@keyframes partner-scroll { to { transform: translateX(calc(-50% - .75rem)); } }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.6rem; display: grid; place-items: center; width: 340px; flex: none; transition: box-shadow .25s ease, border-color .25s ease; }
.partner:hover { box-shadow: var(--shadow); border-color: transparent; }
.partner img { width: 100%; height: 90px; object-fit: contain; }
@media (max-width: 640px) { .partner { width: 240px; padding: 1rem; } .partner img { height: 64px; } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .partner[aria-hidden="true"] { display: none; } }

.cta { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #d8dbf3; margin: 0; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Page header */
.page-hero { background: var(--brand-dark) center/cover; position: relative; color: #fff; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,26,64,.7) 0%, rgba(36,47,101,.4) 60%, rgba(36,47,101,.15) 100%); z-index: -1; }
.page-hero .container { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 900px; }
.page-hero p { color: #f1f2fb; max-width: 720px; margin: 0; }
.breadcrumb { font-size: .85rem; color: #aeb3dc; margin-bottom: .8rem; }
.breadcrumb a { color: #fff; }

/* Rich content */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .content-layout { grid-template-columns: 1fr; } }
.prose { color: var(--text); font-size: 1.04rem; max-width: 820px; }
.prose.wide { max-width: none; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose figure { margin: 1.5em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--brand); background: var(--brand-tint); border-radius: 0 12px 12px 0; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { width: 100%; min-height: 380px; border: 0; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin: 1.8em 0; }
.prose .gallery img, .prose .gallery figure { margin: 0; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose .gallery figure img { height: 100%; }

/* Content building blocks (usable in any page via the editor's HTML tab) */
.prose .eyebrow { font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: .6rem; }
.prose .center { text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }
.prose h2.center { margin-top: 0; }
.prose .about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin: 0 0 clamp(3.5rem, 8vw, 6rem); }
.prose .about-intro.reverse { grid-template-columns: .9fr 1.1fr; margin-top: clamp(3.5rem, 8vw, 6rem); margin-bottom: 0; }
.prose .about-intro h2 { margin-top: 0; }
.prose .about-intro > img { margin: 0; width: 100%; border-radius: 24px; }
.prose .about-intro.reverse > img { aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 860px) { .prose .about-intro, .prose .about-intro.reverse { grid-template-columns: 1fr; } .prose .about-intro.reverse > img { order: 2; } }
/* Full-width tinted band inside page content: bleeds to the screen edges, content stays aligned. */
.prose .band { margin: clamp(3.5rem, 8vw, 6rem) calc(50% - 50vw); padding: clamp(3rem, 7vw, 5rem) calc(50vw - 50%); background: linear-gradient(180deg, var(--brand-tint), #e9ebff); position: relative; }
.prose .band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(141,198,63,.14), transparent 40%), radial-gradient(circle at 88% 80%, rgba(72,81,213,.12), transparent 45%); pointer-events: none; }
.prose .band > * { position: relative; }
.prose .band .feature { border-color: transparent; box-shadow: 0 6px 20px -14px rgba(36,47,101,.35); }
.prose .band .feature::before { background: var(--brand); color: #fff; }
.prose .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin: 2.2rem 0 0; }
.prose .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; position: relative; transition: .25s ease; counter-increment: feature; }
.prose .feature-grid { counter-reset: feature; }
.prose .feature::before { content: "0" counter(feature); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); font: 800 .95rem var(--font-body); margin-bottom: 1rem; }
.prose .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.prose .feature h3 { margin: 0 0 .5rem; font-size: 1.08rem; }
.prose .feature p { margin: 0; font-size: .96rem; }
.prose ul.chip-grid { list-style: none; padding: 0; margin: 1.8rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; max-width: 980px; }
.prose ul.chip-grid li { margin: 0; padding: .65rem 1.2rem .65rem 2.4rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-dark); font: 600 .93rem var(--font-body); position: relative; }
.prose ul.chip-grid li::before { content: ""; position: absolute; left: 1rem; top: 50%; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.prose > .about-intro + .gallery { margin-top: -1.5rem; margin-bottom: 0; }
.prose > .gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.prose .equipment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin: 2.2rem 0 0; }
@media (max-width: 980px) { .prose .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .prose .equipment-grid { gap: .8rem; } }
.prose figure.equipment { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: .25s ease; }
.prose figure.equipment img { margin: 0; border-radius: 0; width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 1rem; background: #fff; transition: transform .4s ease; }
.prose figure.equipment figcaption { margin: 0; padding: .9rem 1rem; text-align: center; font: 700 .98rem var(--font-body); color: var(--ink); border-top: 1px solid var(--line); background: var(--surface); position: relative; transition: .25s ease; }
.prose figure.equipment figcaption::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin: 0 auto .55rem; transition: width .25s ease; }
.prose figure.equipment:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.prose figure.equipment:hover img { transform: scale(1.06); }
.prose figure.equipment:hover figcaption { color: var(--brand); }
.prose figure.equipment:hover figcaption::before { width: 48px; }
.prose ul.checklist { list-style: none; padding: 0; display: grid; gap: .8rem; }
.prose ul.checklist li { position: relative; padding-left: 2.1rem; margin: 0; }
.prose ul.checklist li::before { content: "✓"; position: absolute; left: 0; top: .1rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.prose ul.checklist strong { color: var(--ink); }

.sidebar { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.widget h3 { font-size: 1rem; margin-bottom: 1rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { border-top: 1px solid var(--line); }
.widget li a { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem 0; color: var(--ink); font-size: .93rem; }
.widget li a:hover, .widget li a.active { color: var(--brand); }
.widget-cta { background: linear-gradient(140deg, var(--brand-dark), var(--brand)); color: #fff; border: 0; }
.widget-cta h3 { color: #fff; }
.widget-cta p { color: #d8dbf3; font-size: .93rem; }
.mini-post { display: grid; grid-template-columns: 72px 1fr; gap: .8rem; align-items: center; padding: .55rem 0; }
.mini-post img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.mini-post span { font-size: .87rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.search-form { display: flex; gap: .4rem; }
.search-form input { flex: 1; min-width: 0; }

.post-hero-img { border-radius: 20px; margin: 0 0 2rem; width: 100%; max-height: 520px; object-fit: cover; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { font: 600 .85rem var(--font-body); color: var(--ink); display: block; margin-bottom: .35rem; }
input, textarea, select { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(72,81,213,.12); }
.error { color: #c0392b; font-size: .85rem; margin-top: .3rem; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; background: #e8f7ee; color: #1e7a46; border: 1px solid #bfe6cf; margin-bottom: 1.2rem; }
.hp { position: absolute; left: -9999px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.map { border: 0; width: 100%; height: 420px; border-radius: 20px; display: block; }
.map-full { line-height: 0; border-top: 1px solid var(--line); }
.map-full .map { height: clamp(360px, 50vw, 520px); border-radius: 0; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .8rem; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .disabled { opacity: .4; }

/* Footer */
.site-footer { background: #141a40; color: #aeb3d6; padding-top: 4rem; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.site-footer a { color: #aeb3d6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { margin-top: .35rem; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .social a { background: rgba(255,255,255,.08); color: #fff; width: 36px; height: 36px; }
.site-footer .social a:hover { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.admin-bar { position: fixed; bottom: 16px; right: 16px; z-index: 100; display: flex; gap: .4rem; }
.admin-bar a { background: var(--ink); color: #fff; padding: .55rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); }
.admin-bar a:hover { background: var(--brand); color: #fff; }
.draft-banner { background: #fff4d6; color: #7a5a00; text-align: center; padding: .5rem; font-size: .85rem; font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
