/* Immanuel Professions – public site styles */
:root {
    --navy-950: #070f24;
    --navy-900: #0d1b3d;
    --navy-800: #12244f;
    --navy-700: #1b3168;
    --navy-600: #2a4585;
    --gold: #e3a83b;
    --gold-400: #f0c065;
    --gold-600: #c68b1e;
    --gold-50: #fdf6e7;
    --cream: #faf8f3;
    --paper: #ffffff;
    --ink: #141c33;
    --body: #3d4660;
    --muted: #6b7389;
    --line: #e7e3d9;
    --line-soft: #f0ede6;
    --success: #1f9d6b;
    --danger: #d64545;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 61, .06), 0 2px 8px rgba(13, 27, 61, .05);
    --shadow: 0 10px 30px -12px rgba(13, 27, 61, .22), 0 4px 10px -6px rgba(13, 27, 61, .08);
    --shadow-lg: 0 30px 60px -20px rgba(13, 27, 61, .35);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
    font: 700 .95rem/1.2 var(--font); cursor: pointer; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
    background: var(--paper); color: var(--ink); border-color: var(--line);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold)); color: var(--navy-950); border-color: transparent; box-shadow: 0 8px 20px -10px rgba(227, 168, 59, .8); }
.btn-gold:hover { color: var(--navy-950); box-shadow: 0 14px 28px -12px rgba(227, 168, 59, .9); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--navy-800); }
.btn-outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { color: #fff; background: #1fb957; }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy-700); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(13, 27, 61, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); background: rgba(10, 21, 48, .97); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .93rem; }
.main-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav ul a.active { color: var(--navy-950); background: var(--gold); }
.nav-cta { padding: .65em 1.15em; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: rgba(255, 255, 255, .82); padding: 72px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, #3355b0, transparent 70%); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(227, 168, 59, .55), transparent 70%); bottom: -200px; left: -100px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(227, 168, 59, .12); border: 1px solid rgba(227, 168, 59, .3); color: var(--gold-400); font-size: .85rem; font-weight: 600; margin-bottom: 22px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { font-size: 1.15rem; max-width: 560px; color: rgba(255, 255, 255, .75); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }

.search-bar { display: flex; align-items: stretch; gap: 6px; background: #fff; padding: 7px; border-radius: 999px; box-shadow: var(--shadow-lg); margin: 30px 0 18px; max-width: 640px; }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--muted); min-width: 0; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1rem var(--font); color: var(--ink); background: transparent; padding: 12px 0; }
.search-select { display: flex; align-items: center; border-left: 1px solid var(--line); padding-left: 6px; }
.search-select select { border: 0; outline: 0; font: 600 .92rem var(--font); color: var(--ink); background: transparent; padding: 10px 28px 10px 10px; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7389' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; max-width: 190px; }
.search-bar .btn { padding-inline: 1.7em; }
.search-bar.compact { margin: 26px 0 0; box-shadow: var(--shadow); border: 1px solid var(--line); }
.search-bar.narrow { max-width: 520px; }
.empty-state .search-bar { margin-inline: auto; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; }
.hero-tags span { color: rgba(255, 255, 255, .55); margin-right: 4px; }
.hero-tags a { color: rgba(255, 255, 255, .85); padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.hero-tags a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.hero-visual { position: relative; min-height: 380px; }
.float-card { position: absolute; background: rgba(255, 255, 255, .97); color: var(--body); border-radius: 20px; box-shadow: var(--shadow-lg); }
.float-card.main { top: 50%; left: 50%; width: min(340px, 100%); transform: translate(-50%, -50%) rotate(-2deg); padding: 24px; animation: bob 7s ease-in-out infinite; }
.fc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.fc-head b { display: block; color: var(--ink); font-size: 1.05rem; }
.fc-head small { color: var(--muted); }
.fc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--gold-400); }
.fc-icon .icon { width: 26px; height: 26px; }
.float-card.main p { font-size: .95rem; margin-bottom: 16px; }
.fc-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.fc-verified { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--success); }
.float-card.mini { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.float-card.mini .icon { color: var(--gold-600); }
.float-card.one { top: 6%; left: 2%; animation: bob 6s ease-in-out infinite .5s; }
.float-card.two { bottom: 10%; right: 0; animation: bob 8s ease-in-out infinite 1s; }
.float-card.three { bottom: 2%; left: 8%; animation: bob 7s ease-in-out infinite 2s; }
@keyframes bob { 50% { translate: 0 -10px; } }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats > div { padding: 26px 0; text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats dt { font-size: .85rem; color: rgba(255, 255, 255, .55); order: 2; }
.hero-stats > div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: #fff; line-height: 1.1; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.pt-0 { padding-top: 0; }
.section.pt-sm { padding-top: 32px; }
.section-tint { background: linear-gradient(180deg, #f3efe5, var(--cream)); }
.section-navy { background: var(--navy-900); position: relative; overflow: hidden; }
.section-navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 0%, rgba(51, 85, 176, .45), transparent), radial-gradient(500px 300px at 100% 100%, rgba(227, 168, 59, .18), transparent); }
.section-navy .container { position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { margin: 0; }
.section-head.light h2 { color: #fff; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-600); margin-bottom: 10px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { --c: hsl(var(--hue) 55% 45%); display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: hsl(var(--hue) 70% 60% / .08); transition: transform .4s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::after { transform: scale(1.6); }
.cat-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: hsl(var(--hue) 70% 55% / .12); color: var(--c); margin-bottom: 12px; flex: none; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.cat-count { font-size: .85rem; color: var(--muted); }
.cat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-row { --c: hsl(var(--hue) 55% 45%); display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.cat-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-row .cat-icon { margin: 0; }
.cat-row-text { flex: 1; min-width: 0; }
.cat-row-text b { display: block; color: var(--ink); }
.cat-row-text small { color: var(--muted); display: block; line-height: 1.4; }
.cat-row .cat-count { background: var(--line-soft); color: var(--ink); font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* Professional cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pro-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pro-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, hsl(var(--hue) 45% 28%), var(--navy-900)); }
.pro-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pro-card:hover .pro-card-media img { transform: scale(1.06); }
.pro-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.pro-card-placeholder::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .14), transparent 40%), radial-gradient(circle at 85% 90%, hsl(var(--hue) 80% 60% / .35), transparent 45%); }
.pro-card-placeholder .icon { width: 56px; height: 56px; stroke-width: 1.5; position: relative; transition: transform .5s; }
.pro-card:hover .pro-card-placeholder .icon { transform: scale(1.12) rotate(-4deg); }
.badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.badge-gold { background: var(--gold); color: var(--navy-950); }
.pro-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; position: relative; }
.pro-card-logo { position: absolute; right: 20px; top: -30px; width: 60px; height: 60px; border-radius: 14px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); background: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--gold-50); color: var(--gold-600); font-size: .78rem; font-weight: 700; margin-bottom: 10px; }
.pill:hover { background: var(--gold); color: var(--navy-950); }
.pro-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.pro-card h3 a { color: var(--ink); }
.pro-card h3 a:hover { color: var(--navy-600); }
.verified { color: var(--success); display: inline-flex; }
.verified .icon { width: 1em; height: 1em; }
.verified.lg .icon { width: .7em; height: .7em; }
.pro-card-tag { color: var(--muted); font-size: .93rem; margin-bottom: 12px; }
.pro-card-meta { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; font-size: .88rem; }
.pro-card-meta li { display: flex; gap: 8px; align-items: center; }
.pro-card-meta .icon { color: var(--gold-600); }
.pro-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.rating small { color: var(--muted); }
.stars { display: inline-flex; gap: 1px; }
.star .icon { width: 15px; height: 15px; stroke: none; fill: #d9d4c7; }
.star.full .icon { fill: var(--gold); }
.star.half .icon { fill: var(--gold); opacity: .5; }
.rating.big .star .icon { width: 20px; height: 20px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; counter-increment: s; }
.steps li::after { content: "0" counter(s); position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--line); line-height: 1; }
.step-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--gold-400); margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(13, 27, 61, .6); }
.step-icon .icon { width: 26px; height: 26px; }
.steps p { margin: 0; color: var(--muted); }

/* Split CTAs */
.section-split { padding-top: 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { border-radius: 24px; padding: 44px; position: relative; overflow: hidden; }
.split-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.split-card p { max-width: 460px; margin-bottom: 26px; }
.split-card.dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.split-card.dark h2 { color: #fff; }
.split-card.gold { background: linear-gradient(135deg, #f6d48c, var(--gold)); color: rgba(13, 27, 61, .8); }
.split-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; bottom: -110px; border: 40px solid rgba(255, 255, 255, .06); }
.split-card.gold::after { border-color: rgba(255, 255, 255, .25); }
.split-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(255, 255, 255, .1); color: var(--gold-400); }
.split-card.gold .split-icon { background: rgba(13, 27, 61, .1); color: var(--navy-900); }
.split-icon .icon { width: 26px; height: 26px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { margin: 0; padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); display: flex; flex-direction: column; backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.testimonial:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.testimonial h3 { color: #fff; margin: 16px 0 8px; font-size: 1.1rem; }
.testimonial blockquote { margin: 0 0 22px; font-size: 1rem; line-height: 1.7; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testimonial figcaption b { color: #fff; display: block; }
.testimonial figcaption small { color: rgba(255, 255, 255, .55); }
.testimonial figcaption a { color: var(--gold-400); }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); font-weight: 800; }

/* Deals */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; padding: 26px; color: #fff; background: linear-gradient(135deg, hsl(var(--hue) 50% 32%), var(--navy-900) 75%); transition: transform .3s, box-shadow .3s; isolation: isolate; }
.deal-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 90% 10%, rgba(227, 168, 59, .35), transparent 50%); }
.deal-card.has-image::before { background: linear-gradient(0deg, rgba(7, 15, 36, .9), rgba(7, 15, 36, .1) 70%); z-index: 0; }
.deal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s; }
.deal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.deal-card:hover img { transform: scale(1.05); }
.deal-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.deal-tag { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--gold-400); }
.deal-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; font-weight: 600; }
.deal-card .link-arrow { color: #fff; font-size: .9rem; margin-top: 6px; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: linear-gradient(135deg, hsl(var(--hue) 40% 85%), hsl(var(--hue) 50% 70%)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(13, 27, 61, .5); }
.post-card-placeholder .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card time, .post-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .83rem; color: var(--muted); margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; }
.post-lead { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-bottom: 28px; color: var(--body); transition: box-shadow .3s; }
.post-lead:hover { box-shadow: var(--shadow-lg); color: var(--body); }
.post-lead-media { min-height: 300px; display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--hue) 45% 30%), var(--navy-900)); color: rgba(255, 255, 255, .7); position: relative; }
.post-lead-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-lead-media .icon { width: 64px; height: 64px; stroke-width: 1.3; }
.post-lead-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.post-lead-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.2; font-weight: 600; }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px; border-radius: 28px; color: rgba(255, 255, 255, .78); background: radial-gradient(500px 240px at 100% 0%, rgba(227, 168, 59, .35), transparent), linear-gradient(135deg, var(--navy-700), var(--navy-950)); box-shadow: var(--shadow-lg); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 56px 0 48px; }
.page-hero h1 { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.title-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--gold-400); }
.title-icon .icon { width: 32px; height: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-600); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.panel > h2 { font-size: 1.5rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { margin: 0; font-size: 1.5rem; }
.panel-navy { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, .8); }
.panel-navy h2, .panel-navy h3 { color: #fff; }
.panel-navy a { color: var(--gold-400); }
.note-box { margin-top: 36px; padding: 22px 26px; border-radius: var(--radius); background: var(--gold-50); border: 1px dashed var(--gold); text-align: center; }
.note-box p { margin: 0; }

/* Find */
.find-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.filters h2 { font-family: var(--font); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 0 10px; margin-bottom: 10px; }
.filters ul { list-style: none; padding: 0; margin: 0; }
.filters a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--body); font-weight: 600; font-size: .93rem; }
.filters a span { margin-left: auto; font-size: .78rem; color: var(--muted); background: var(--line-soft); padding: 1px 8px; border-radius: 999px; }
.filters a:hover { background: var(--cream); color: var(--ink); }
.filters a.active { background: var(--navy-900); color: #fff; }
.filters a.active span { background: rgba(255, 255, 255, .15); color: #fff; }
.filters .icon { color: var(--gold-600); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.results-bar p { margin: 0; }
.results-bar b { color: var(--ink); }
.sort-form label { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.sort-form select { font: 600 .9rem var(--font); padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.find-layout .card-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.empty-state { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state > .icon { width: 48px; height: 48px; color: var(--gold-600); margin: 0 auto 14px; }
.empty-state.big { border: 0; background: transparent; }
.code404 { display: block; font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--gold); font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; color: var(--ink); }
.pagination .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pagination .dots { border: 0; background: none; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-600); }

/* Profile */
.admin-preview { background: #fff4d6; color: #7a5800; text-align: center; padding: 10px 20px; font-size: .9rem; border-bottom: 1px solid #f0d58c; }
.profile-hero { position: relative; }
.profile-cover { height: clamp(220px, 30vw, 360px); background: linear-gradient(135deg, hsl(var(--hue) 35% 26%), var(--navy-950) 70%); position: relative; overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 15, 36, .55)); }
.profile-cover-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .12); background-image: radial-gradient(circle at 15% 30%, hsl(var(--hue) 80% 60% / .4), transparent 40%), radial-gradient(circle at 85% 70%, rgba(227, 168, 59, .3), transparent 40%); }
.profile-cover-art .icon { width: 220px; height: 220px; stroke-width: 1; }
.profile-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end; margin-top: -70px; z-index: 2; }
.profile-logo { width: 140px; height: 140px; border-radius: 28px; background: var(--paper); border: 5px solid var(--paper); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center; }
.profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-logo span { font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; color: var(--navy-800); background: linear-gradient(135deg, var(--gold-50), #fff); width: 100%; height: 100%; display: grid; place-items: center; }
.profile-title { padding-top: 84px; }
.profile-title h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 6px; }
.profile-title .lead { margin-bottom: 12px; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .93rem; }
.profile-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.profile-meta .pill { margin: 0; }
.profile-meta .icon { color: var(--gold-600); }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.profile-side .sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.details { margin: 0 0 20px; display: grid; gap: 0; }
.details > div { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.details dt { display: flex; align-items: center; gap: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.details dt .icon { color: var(--gold-600); }
.details dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.side-actions { display: grid; gap: 10px; }
.share { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.share span { font-size: .85rem; font-weight: 700; color: var(--muted); }
.share > div { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy-800); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.share button.copied { background: var(--success); color: #fff; border-color: var(--success); }
.share.inline { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin: 40px 0 70px; background: var(--paper); }
.check-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 4px; }
.check-list.light .icon { color: var(--gold-400); }
.panel .check-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.form-aside .check-list { grid-template-columns: 1fr; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .82rem; font-weight: 600; }
.map-wrap { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--line-soft); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.review-list { display: grid; gap: 0; margin-bottom: 20px; }
.review { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.review:first-child { padding-top: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 4px; }
.review-head b { color: var(--ink); }
.review-head time { font-size: .82rem; color: var(--muted); }
.review h3 { font-size: 1rem; margin: 4px 0; }
.review p { margin: 0; }
.review-form { margin-top: 10px; }
.review-form summary { list-style: none; display: inline-flex; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form[open] summary { margin-bottom: 20px; }
.star-input { border: 0; padding: 0; margin: 0 0 18px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { width: 100%; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 6px; float: left; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: #d9d4c7; transition: transform .15s, color .15s; }
.star-input label .icon { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 3px solid var(--gold); border-radius: 6px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.form label small { font-weight: 500; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form select, .form textarea {
    width: 100%; font: 500 1rem var(--font); color: var(--ink); background: #fcfbf8; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgba(42, 69, 133, .12); }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form label.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy-800); }
.form .btn { justify-self: start; }
.file-input input { font: 500 .9rem var(--font); padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; background: #fcfbf8; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.form-section { display: flex; align-items: center; gap: 12px; font-family: var(--font); font-size: 1.1rem; margin: 14px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-size: .9rem; }
.alert { padding: 13px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; font-size: .93rem; }
.alert-error { background: #fdecec; color: #a42828; border: 1px solid #f6c8c8; }
.alert-success { background: #e7f7ef; color: #11704b; border: 1px solid #bfe8d4; }
.success-state { text-align: center; padding: 40px 10px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: #e7f7ef; color: var(--success); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.success-icon .icon { width: 38px; height: 38px; stroke-width: 2.5; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--line-soft); border-radius: 999px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs a { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); font-size: .9rem; text-align: center; }
.tabs a.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; word-break: break-word; }
.contact-list .icon { color: var(--gold-400); }

/* Prose */
.prose { color: var(--body); font-size: 1.04rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-600); }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.post-hero { padding-bottom: 30px; }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.post-hero .post-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.post-hero .post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-cover { width: 100%; border-radius: 22px; margin-bottom: 36px; box-shadow: var(--shadow); }
.post-body { font-size: 1.1rem; line-height: 1.8; }

/* About */
.about-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.prose-panel { padding: 40px; }
.about-stats { display: grid; gap: 18px; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats b { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-400); line-height: 1.1; }
.verse-panel { text-align: center; }
.verse-panel > .icon { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 12px; }
.verse-panel p { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); line-height: 1.5; }
.verse-panel span { font-weight: 700; color: var(--gold-600); font-size: .9rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.value-card .step-icon { margin: 0 auto 16px; }
.value-card h3 { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); padding: 0 0 26px; position: relative; }
.footer-verse { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-verse > .icon { color: var(--gold); width: 26px; height: 26px; }
.footer-verse p { margin: 0; font-family: var(--font-display); font-size: 1.2rem; color: rgba(255, 255, 255, .9); }
.footer-verse span { font-family: var(--font); font-size: .85rem; color: var(--gold-400); margin-left: 8px; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer-about img { height: 50px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.socials a:hover { background: var(--gold); color: var(--navy-950); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .87rem; }
.footer-bottom p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 25, .92); display: grid; place-items: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 82vh; max-width: min(1100px, 100%); border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; }
.lightbox .lb-next { right: 20px; top: 50%; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav ul a { padding: 8px 10px; }
    .nav-cta { display: none; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
    .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .nav-open .nav-toggle .open { display: none; }
    .nav-open .nav-toggle .close { display: block; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: 13px 16px; font-size: 1.05rem; }
    .nav-cta { display: inline-flex; }
    .hero-inner { grid-template-columns: 1fr; gap: 20px; }
    .hero-visual { display: none; }
    .card-grid, .card-grid.cols-3, .post-grid, .deal-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; }
    .find-layout, .profile-layout, .form-layout, .about-layout { grid-template-columns: 1fr; }
    .filters { position: static; max-height: none; padding: 12px; }
    .filters h2 { display: none; }
    .filters ul { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
    .filters a { white-space: nowrap; border: 1px solid var(--line); }
    .profile-head { grid-template-columns: auto 1fr; }
    .profile-actions { grid-column: 1 / -1; }
    .profile-side .sticky { position: static; }
    .cat-list { grid-template-columns: repeat(2, 1fr); }
    .post-lead { grid-template-columns: 1fr; }
    .post-lead-media { min-height: 220px; }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .container, .container.narrow { width: calc(100% - 32px); }
    .section { padding: 64px 0; }
    .hero { padding-top: 48px; }
    .search-bar { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
    .search-field { flex-basis: 100%; padding: 4px 10px; }
    .search-select { border-left: 0; border-top: 1px solid var(--line); flex: 1; padding-left: 0; }
    .search-select select { max-width: none; width: 100%; }
    .search-bar .btn { flex: 1; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats > div:nth-child(2) { border-right: 0; }
    .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-card { padding: 18px; }
    .card-grid, .card-grid.cols-3, .find-layout .card-grid.cols-3, .post-grid, .deal-grid, .testimonials, .cat-list, .value-grid { grid-template-columns: 1fr; }
    .split-card, .cta-band { padding: 32px 24px; }
    .panel, .prose-panel { padding: 22px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .profile-head { grid-template-columns: 1fr; margin-top: -56px; gap: 14px; }
    .profile-logo { width: 104px; height: 104px; border-radius: 22px; }
    .profile-title { padding-top: 0; }
    .profile-actions .btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-verse { flex-direction: column; }
    .post-lead-body { padding: 26px; }
    .brand img { height: 38px; }
}
