/* Domain Industries — public website theme */
:root {
    --brand: #d9480f;
    --brand-dark: #a33609;
    --accent: #fbbf24;
    --accent-dark: #d5a21f;
    --ink: #231712;
    --night: #1f130c;
    --text: #3d322c;
    --muted: #75675e;
    --line: #f0e4da;
    --bg-alt: #fdf6f0;
    --radius: 16px;
    --shadow: 0 20px 48px rgba(60, 28, 8, .14);
    --heading: "Plus Jakarta Sans", system-ui, sans-serif;
    --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --c1: var(--brand);
    --c1-dark: var(--brand-dark);
    --c2: var(--brand);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--text); background: #fff; }
body.nav-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 800; line-height: 1.22; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 26px; border-radius: 12px; font: 700 15px/1.3 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(217, 72, 15, .3); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #1c1403; box-shadow: 0 10px 24px rgba(251, 191, 36, .35); }
.btn-accent:hover { background: var(--accent-dark); color: #1c1403; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* Top bar and header */
.topbar { background: var(--night); color: #e7d8cc; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.topbar a:first-child { margin-left: 0; }
.topbar a:hover { color: var(--accent); }
.topbar svg { vertical-align: -2px; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: block; text-decoration: none; flex-shrink: 0; }
.brand-logo { max-height: 58px; width: auto; }
.brand-text { font: 800 22px var(--heading); color: var(--ink); }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; border-radius: 10px; white-space: nowrap; }
.main-nav > ul > li > a:hover, .main-nav a.active { background: var(--bg-alt); color: var(--brand); }
.nav-cta { margin-left: 8px; }
.main-nav .nav-cta a { color: #fff; padding: 9px 16px; }
.main-nav .nav-cta a:hover { background: var(--brand-dark); color: #fff; }
.has-sub { position: relative; }
.caret { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-weight: 500; }
.sub a:hover { background: var(--bg-alt); color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; color: #fff; padding: 76px 0 0; background: radial-gradient(circle at 85% 10%, rgba(251, 191, 36, .22), transparent 40%), linear-gradient(130deg, var(--night), var(--brand-dark) 60%, var(--brand)); background-size: cover; background-position: center; overflow: hidden; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(31, 19, 12, .92), rgba(31, 19, 12, .55)); }
.hero > .container { position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 30px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.8vw, 54px); margin-bottom: 16px; }
.hero-lead { font-size: 18px; color: #fbe9dc; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 22px 0 0; font-size: 14.5px; color: #fbe9dc; }
.hero-points li::before { content: "\2713"; color: #fde68a; font-weight: 800; margin-right: 7px; }
.hero-art svg { width: 100%; max-width: 440px; margin-left: auto; display: block; }
.led { animation: blink 2.6s infinite; }
.led-1 { animation-delay: .7s; }
.led-2 { animation-delay: 1.4s; }
@keyframes blink { 50% { opacity: .35; } }
.domain-box { background: #fff; color: var(--ink); border-radius: 18px 18px 0 0; padding: 22px 26px; margin-top: 48px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .15); }
.domain-box label { display: block; font: 800 18px var(--heading); margin-bottom: 12px; }
.domain-row { display: flex; gap: 10px; }
.domain-row input { flex: 1; min-width: 0; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: 15px var(--body); }
.domain-row input:focus { outline: 2px solid rgba(217, 72, 15, .25); border-color: var(--brand); }

/* Highlights */
.stat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 24px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font: 800 28px/1.2 var(--heading); color: var(--brand); }
.stat-item span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(25px, 3.2vw, 36px); position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.section-head a { font-weight: 700; text-decoration: none; }
.related-head { margin-top: 44px; font-size: 24px; }

/* Pricing plans */
.plan-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); align-items: stretch; }
.plan-count-1 { max-width: 380px; margin: 0 auto; }
.plan-count-2 { max-width: 760px; margin: 0 auto; }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 30px 24px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-card.is-featured { border-color: var(--brand); box-shadow: 0 18px 44px rgba(217, 72, 15, .18); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #1c1403; font-size: 12.5px; font-weight: 800; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.plan-card h3 { font-size: 20px; margin-bottom: 10px; }
.plan-price { margin: 0 0 4px; color: var(--ink); }
.plan-price strong { font: 800 38px/1.1 var(--heading); letter-spacing: -.02em; }
.plan-price .cur { font-weight: 700; font-size: 20px; vertical-align: 12px; margin-right: 2px; }
.plan-price .per { font-size: 14px; color: var(--muted); margin-left: 4px; }
.plan-note { font-size: 13px; color: var(--muted); margin: 0; min-height: 40px; }
.plan-features { list-style: none; padding: 16px 0 0; margin: 14px 0 22px; border-top: 1px solid var(--line); font-size: 14.5px; flex: 1; }
.plan-features li { position: relative; padding: 4px 0 4px 24px; }
.plan-features li::before { content: "\2713"; position: absolute; left: 0; color: #d9480f; font-weight: 800; }
.plan-btn { text-align: center; }

/* Infrastructure */
.infra { background: linear-gradient(130deg, var(--night), #3a1f10); color: #fbe9dc; padding: 76px 0; }
.infra .section-title { color: #fff; }
.infra .sec-kicker { color: var(--accent); }
.tick-list { list-style: none; padding: 0; margin: 18px 0 0; }
.tick-list li { padding: 5px 0 5px 28px; position: relative; }
.tick-list li::before { content: "\2713"; position: absolute; left: 0; color: #fde68a; font-weight: 800; }
.infra-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.infra-tile { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; padding: 28px 22px; }
.infra-tile strong { display: block; font: 800 28px var(--heading); color: #fff; }
.infra-tile span { font-size: 14px; }

/* Services */
.service-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.service-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--muted); font-size: 14.5px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--muted); }
.service-card strong { display: block; color: var(--ink); font: 700 17px var(--heading); margin-bottom: 6px; }
.service-card .icon-badge { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px; }
.faq-more { margin: 20px 0 0; font-weight: 700; }
.faq-more a { text-decoration: none; }

/* CTA */
.cta { background: linear-gradient(110deg, var(--brand-dark), var(--brand)); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 4px; }
.cta p { margin: 0; color: #fbe9dc; }

/* Inner pages */
.page-hero { background: linear-gradient(130deg, var(--night), var(--brand-dark)); background-size: cover; background-position: center; color: #fff; padding: 50px 0 44px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -70px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(31, 19, 12, .9), rgba(31, 19, 12, .5)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(27px, 3.8vw, 42px); margin: 6px 0 0; }
.page-hero p { color: #fbe9dc; margin: 10px 0 0; max-width: 780px; }
.breadcrumb { font-size: 14px; color: #e6cfbf; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.content { font-size: 16.5px; overflow-wrap: anywhere; }
.content h2 { font-size: 26px; margin-top: 1.5em; }
.content h3 { font-size: 20px; margin-top: 1.3em; }
.content img { border-radius: 10px; margin: 1em 0; }
.content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.content th { background: var(--bg-alt); color: var(--ink); }
.content blockquote { border-left: 4px solid var(--accent); margin: 1.2em 0; padding: .6em 1.2em; background: var(--bg-alt); border-radius: 0 10px 10px 0; font-weight: 600; color: var(--ink); }
.content iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.content ul, .content ol { padding-left: 1.4em; }
.content pre { background: var(--night); color: #fbe9dc; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
.content code { background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.content pre code { background: none; padding: 0; }
.lead { font-size: 19px; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar a { padding: 6px 16px; border-radius: 30px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.filter-bar a.active, .filter-bar a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Knowledge base */
.kb-search { display: flex; gap: 10px; max-width: 640px; margin: 0 0 24px; }
.kb-search input { flex: 1; min-width: 0; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: 15px var(--body); }
.kb-search input:focus { outline: 2px solid rgba(217, 72, 15, .25); border-color: var(--brand); }
.kb-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.kb-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--muted); font-size: 14px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.kb-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--muted); }
.kb-item strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.kb-item span { display: block; }
.kb-item em { display: inline-block; font-style: normal; margin-top: 8px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.post-card-media { display: block; aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; text-decoration: none; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font: 800 52px var(--heading); color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.post-card-body { padding: 18px 20px 22px; }
.post-card h3 { font-size: 18px; margin: 6px 0 8px; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.pill { background: #ffedd5; color: var(--brand-dark); padding: 2px 11px; border-radius: 20px; font-weight: 700; font-size: 12.5px; }
.post-image img { border-radius: var(--radius); margin: 10px 0 24px; width: 100%; }
.empty-state { text-align: center; padding: 40px; color: var(--muted); background: var(--bg-alt); border-radius: var(--radius); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pagination a.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci-label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.map-embed iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form-wrap { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--brand); }
.contact-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 16px; color: var(--ink); }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 15px var(--body); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(217, 72, 15, .25); border-color: var(--brand); }
.contact-form .has-error input, .contact-form .has-error textarea { border-color: #c0392b; }
.contact-form small { color: #c0392b; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; }
.alert-success { background: #e8f6ed; border-color: #b6dfc4; color: #155d32; }
.alert-error { background: #fdecea; border-color: #f4c1bb; color: #8e1d12; }
.big-code { font: 800 92px/1 var(--heading); color: var(--brand); margin: 0; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #2c1a10, var(--night)); color: #e6cfbf; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 12px; letter-spacing: 0; }
.footer-subhead { margin-top: 20px; }
.site-footer a { color: #f7e6da; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer p { margin-bottom: 8px; }
.site-footer .muted { color: #b39d8f; }
.social a { margin-right: 12px; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 13.5px; color: #b39d8f; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: inherit; text-decoration: underline; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5, 12, 30, .92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 40px 60px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #fff; margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; font-size: 36px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .main-nav a { padding: 10px 9px; font-size: 14px; }
}
@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 16px 28px rgba(0, 0, 0, .14); max-height: calc(100vh - 110px); overflow-y: auto; }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
    .main-nav a { font-size: 15.5px; white-space: normal; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
    .caret { display: none; }
    .nav-cta { margin: 10px 0 0; }
    .nav-cta a { text-align: center; }
    .hero-inner, .contact-layout { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
    .topbar-tag { display: none; }
    .topbar-inner { justify-content: center; }
    .brand-logo { max-height: 46px; }
    .header-inner { min-height: 64px; }
    .section, .infra { padding: 50px 0; }
    .hero { padding-top: 48px; }
    .domain-box { padding: 18px; margin-top: 34px; }
    .domain-row { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-form-wrap { padding: 22px; }
    .kb-list { grid-template-columns: 1fr; }
    .lightbox { padding: 20px; }
}
@media (max-width: 460px) {
    .footer-grid { grid-template-columns: 1fr; }
    .topbar a { margin-left: 10px; font-size: 12.5px; }
    .kb-search { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}

/* Inner pages */
.page-hero { padding: 60px 0 56px; background-image: radial-gradient(circle at 88% 20%, rgba(251, 191, 36, .25), transparent 42%), linear-gradient(125deg, var(--night), var(--brand-dark) 62%, var(--brand)); }
.page-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.page-hero-art { flex: 0 0 220px; width: 220px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.page-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 6px 22px rgba(60, 28, 8, .06); }
.aside-card h2 { font-size: 17px; margin-bottom: 12px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500; }
.aside-card li a:hover, .aside-card li a.active { background: var(--bg-alt); color: var(--brand); }
.aside-card li a.active { font-weight: 700; }
.aside-help { background: linear-gradient(160deg, #fff, var(--bg-alt)); text-align: center; }
.aside-help .icon-badge { margin: 0 auto 12px; width: 48px; height: 48px; }
.aside-help p { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.aside-phone { font-weight: 800; font-size: 17px; text-decoration: none; }
.aside-help .btn { display: block; text-align: center; }
.plans-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 0; margin: 34px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.plans-points li::before { content: "\2713"; color: var(--brand); font-weight: 800; margin-right: 7px; }

/* Cards inside page text */
body .content .info-grid { gap: 20px; }
body .content .info-card { position: relative; background: #fff; border: 1px solid var(--line); border-left: 0; border-top: 4px solid var(--brand); border-radius: 14px; padding: 22px; box-shadow: 0 6px 20px rgba(60, 28, 8, .06); transition: transform .22s, box-shadow .22s; }
body .content .info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
body .content .info-card h3 { font-size: 17px; margin: 0 0 8px; }
body .content .info-card h3 a { text-decoration: none; color: var(--ink); }
body .content .info-card h3 a::after { content: ""; position: absolute; inset: 0; }
body .content .info-card h3 a:hover { color: var(--brand); }
.content .callout { border-radius: 16px; }

/* Blog */
.post-card.is-featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 26px; }
.post-card.is-featured .post-card-media { aspect-ratio: auto; min-height: 300px; }
.post-card.is-featured .post-card-body { padding: 34px 36px; align-self: center; }
.post-card.is-featured h3 { font-size: clamp(22px, 2.6vw, 30px); }
.post-card-placeholder { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.post-card-body { display: flex; flex-direction: column; flex: 1; }
.post-card p { margin-bottom: 12px; }
.read-more { margin-top: auto; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.post-full .post-image img { max-height: 430px; object-fit: cover; }

/* Knowledge base */
.kb-search { max-width: 760px; margin: -28px auto 0; position: relative; z-index: 2; background: #fff; padding: 12px; border-radius: 18px; box-shadow: var(--shadow); }
.kb-search input { border-color: transparent; background: var(--bg-alt); }
.kb-section { padding-top: 54px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-bottom: 48px; }
.topic-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--muted); font-size: 13.5px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--muted); }
.topic-card strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.topic-card .icon-badge { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
.kb-group { background: var(--bg-alt); border-radius: 18px; padding: 24px 26px; margin-bottom: 20px; }
.kb-group-title { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 14px; }
.kb-group-title .icon-badge { width: 36px; height: 36px; border-radius: 10px; margin: 0; box-shadow: none; }
.kb-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px 28px; }
.kb-links a { position: relative; display: block; padding: 7px 0 7px 18px; text-decoration: none; color: var(--text); font-size: 15px; }
.kb-links a::before { content: "\203A"; position: absolute; left: 2px; color: var(--brand); font-weight: 800; }
.kb-links a:hover { color: var(--brand); }

@media (max-width: 980px) {
    .page-layout { grid-template-columns: 1fr; }
    .page-aside { position: static; }
    .page-hero-art { display: none; }
    .post-card.is-featured { display: flex; }
    .post-card.is-featured .post-card-media { min-height: 0; aspect-ratio: 16/9; }
    .post-card.is-featured .post-card-body { padding: 18px 20px 22px; }
}
@media (max-width: 760px) {
    .kb-links { grid-template-columns: 1fr; }
    .kb-group { padding: 20px; }
}
