/* Radiant Institute of Fire & Safety — site styles. One file, no framework. */

:root {
  --navy: #0b1628;
  --navy-2: #13233d;
  --ink: #0f172a;
  --text: #2b3445;
  --muted: #5d6779;
  --line: #e4e8ef;
  --soft: #f4f6fa;
  --cream: #fff7ef;
  --white: #ffffff;
  --fire: #d63a16;
  --fire-2: #ef5a22;
  --fire-dark: #ab2c0e;
  --amber: #ffb81c;
  --green: #128c4b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-lg: 0 20px 50px rgba(11, 22, 40, .18);
  --wrap: 1180px;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fire); text-decoration: none; }
a:hover { color: var(--fire-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--font-body);
  padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--fire { background: var(--fire); color: #fff; box-shadow: 0 8px 22px rgba(214, 58, 22, .35); }
.btn--fire:hover { background: var(--fire-dark); color: #fff; }
.btn--wa { background: #1faa59; color: #fff; }
.btn--wa:hover { background: #178a48; color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: .7em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #c9d2e3; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #e8edf6; }
.topbar a:hover { color: var(--amber); }
.topbar__list { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 899px) { .topbar { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, var(--fire-2), var(--fire-dark)); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(214, 58, 22, .3); }
.brand__mark .i { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 800 1.35rem/1 var(--font-head); letter-spacing: .02em; }
.brand__sub { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--soft); color: var(--fire); }
.nav a[aria-current="page"] { color: var(--fire); }
.nav__cta { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.menu-btn .i { width: 28px; height: 28px; }

@media (max-width: 999px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__cta { margin: 16px 0 0; border-bottom: 0 !important; border-radius: 999px !important; color: #fff !important; }
}
@media (max-width: 420px) { .brand__sub { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 16, 30, .94) 0%, rgba(8, 16, 30, .82) 45%, rgba(8, 16, 30, .45) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead { font-size: 1.15rem; color: #d7deea; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fire); margin-bottom: 14px; }
.hero .eyebrow { color: var(--amber); background: rgba(255, 184, 28, .12); border: 1px solid rgba(255, 184, 28, .35); padding: 7px 14px; border-radius: 999px; letter-spacing: .08em; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: #c7d0df; font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { color: var(--amber); }

.enquiry-card { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.enquiry-card h2 { font-size: 1.45rem; margin-bottom: .2em; }
.enquiry-card > p { color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 16, 30, .78) 0%, rgba(8, 16, 30, .92) 60%); }
  .hero__lead { font-size: 1.05rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(239, 90, 34, .35), transparent 60%), var(--navy); color: #d7deea; padding: 56px 0 52px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .35em; }
.page-hero p { max-width: 720px; font-size: 1.08rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #7d8aa3; }
.crumbs a { color: #c7d0df; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--amber); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .9rem; font-weight: 600; }
.chip .i { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy); color: #c9d2e3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--dark .section__head p { color: #aab5c8; }
.section__head--left { margin-left: 0; text-align: left; }
@media (max-width: 699px) { .section { padding: 64px 0; } .section__head { margin-bottom: 36px; } }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 999px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide { grid-template-columns: 1.2fr .8fr; align-items: start; }
@media (max-width: 899px) { .split, .split--wide { grid-template-columns: 1fr; gap: 36px; } }

.rounded-img { border-radius: 20px; box-shadow: var(--shadow-lg); }

/* People photo: shown whole, no overlay or crop, so every face stays visible. */
.career-photo { margin: 0; position: sticky; top: 96px; }
.career-photo img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.career-photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }
#career-path h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
@media (max-width: 899px) { .career-photo { position: static; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font: 800 2.3rem/1 var(--font-head); color: var(--fire); }
.stat__label { margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (max-width: 699px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat__num { font-size: 1.9rem; }
}

/* ---------- Course cards ---------- */
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; color: var(--text); }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.course-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.course-card:hover .course-card__img img { transform: scale(1.04); }
.course-card__tag { position: absolute; left: 14px; top: 14px; background: var(--amber); color: var(--ink); font-size: .78rem; font-weight: 800; padding: 6px 11px; border-radius: 999px; letter-spacing: .02em; }
.course-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-card__body h3 { margin-bottom: .4em; }
.course-card__body p { color: var(--muted); font-size: .96rem; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 18px; padding: 0; list-style: none; font-size: .88rem; color: var(--ink); font-weight: 600; }
.course-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-card__meta .i { color: var(--fire); }
.course-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fire); }

.mini-course { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.mini-course:hover { border-color: var(--fire); box-shadow: var(--shadow); color: var(--text); }
.mini-course h3 { font-size: 1.08rem; margin-bottom: .25em; }
.mini-course p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Feature tiles ---------- */
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(214, 58, 22, .1); color: var(--fire); flex: none; }
.icon-tile .i { width: 26px; height: 26px; }
.feature { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature h3 { font-size: 1.1rem; margin: 16px 0 .35em; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--dark .feature { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.section--dark .feature p { color: #aab5c8; }
.section--dark .icon-tile { background: rgba(255, 184, 28, .12); color: var(--amber); }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li > .i { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 2px; stroke-width: 3; }
.checks--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 599px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 800 2rem/1 var(--font-head); color: var(--fire); margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Partners + placed ---------- */
.partners { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.placed-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.placed-gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 699px) { .placed-gallery { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tcarousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; }
.tcarousel::-webkit-scrollbar { height: 6px; }
.tcarousel::-webkit-scrollbar-thumb { background: #cfd6e2; border-radius: 6px; }
@media (max-width: 999px) { .tcarousel { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 699px) { .tcarousel { grid-auto-columns: 86%; } }
.tcard { margin: 0; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tcard .quote-ic { color: var(--fire); width: 30px; height: 30px; opacity: .85; }
.tcard blockquote { margin: 14px 0 22px; font-size: 1rem; color: var(--ink); flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--amber); }
.tcard__who strong { display: block; color: var(--ink); font-family: var(--font-head); }
.tcard__who span { font-size: .86rem; color: var(--muted); }
.tnav { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.tnav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.tnav button:hover { border-color: var(--fire); color: var(--fire); }

/* ---------- People ---------- */
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.person__body { padding: 20px 22px 24px; }
.person__body h3 { margin-bottom: .1em; }
.person__role { color: var(--fire); font-weight: 700; font-size: .9rem; margin-bottom: .8em; }
.person__body p { font-size: .93rem; color: var(--muted); margin: 0; }
.person__body .person__role { color: var(--fire); font-weight: 700; font-size: .9rem; margin-bottom: .8em; }
.person { display: flex; flex-direction: column; }
.person img { object-position: top center; }
.person__body { display: flex; flex-direction: column; flex: 1; }
.person__social { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.person__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--ink); transition: background .15s, color .15s; }
.person__social a:hover { background: var(--fire); color: #fff; }

.founder { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.founder img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; }
.founder blockquote { margin: 0 0 14px; font-size: 1.12rem; color: var(--ink); }
.founder cite { font-style: normal; font-weight: 700; color: var(--ink); }
.founder cite span { display: block; font-weight: 600; color: var(--fire); font-size: .9rem; }
@media (max-width: 699px) { .founder { grid-template-columns: 1fr; padding: 24px; } .founder img { max-width: 180px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq details[open] { border-color: #f1b9a6; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--ink); font-family: var(--font-head); font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 600 1.6rem/1 var(--font-body); color: var(--fire); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--text); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Course detail page ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.facts strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.facts span { font-size: .84rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 899px) { .facts { grid-template-columns: 1fr 1fr; } }

.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.modules { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modules li { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.modules .i { color: var(--fire); margin-top: 3px; }
@media (max-width: 599px) { .modules { grid-template-columns: 1fr; } }
.roles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; }
.roles li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .92rem; color: var(--ink); }

.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.side-card h2, .side-card h3 { font-size: 1.2rem; }
.side-card--fire { background: linear-gradient(150deg, var(--fire-2), var(--fire-dark)); color: #ffe9df; border: 0; }
.side-card--fire h3 { color: #fff; }
.side-card--fire .btn { background: #fff; color: var(--fire-dark); }
.side-card--fire .btn:hover { color: var(--fire-dark); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; }
.side-links a:hover { color: var(--fire); }

.note { background: var(--cream); border: 1px solid #f6d8bf; border-radius: 14px; padding: 16px 18px; font-size: .95rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 499px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #d5dbe5; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fire); box-shadow: 0 0 0 4px rgba(214, 58, 22, .12); }
.field .opt { font-weight: 500; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; }
.form__status { display: none; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.form__status.is-ok { display: block; background: #e7f6ee; color: #0c6b38; }
.form__status.is-err { display: block; background: #fdecea; color: #a11d10; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--fire); }
.map { border: 0; width: 100%; height: 380px; border-radius: 18px; box-shadow: var(--shadow); display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--fire-dark), var(--fire-2)); color: #ffe9df; border-radius: 24px; padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn--fire { background: #fff; color: var(--fire-dark); box-shadow: none; }
.cta-band .btn--fire:hover { color: var(--fire-dark); background: #fff3ec; }
@media (max-width: 699px) { .cta-band { padding: 32px 24px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aab5c8; padding: 72px 0 0; font-size: .95rem; }
.footer a { color: #d5dcea; }
.footer a:hover { color: var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; gap: 40px; }
.footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand__sub { color: #8f9bb2; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .i { color: var(--amber); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.social a:hover { background: var(--fire); color: #fff; }
.footer__bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: #8f9bb2; }
@media (max-width: 999px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Floating + mobile action bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .i { width: 30px; height: 30px; }
.actionbar { display: none; }
@media (max-width: 899px) {
  .wa-float { display: none; }
  body { padding-bottom: 68px; }
  .actionbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); padding-bottom: env(safe-area-inset-bottom); }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; font-size: .78rem; font-weight: 700; color: var(--ink); }
  .actionbar a .i { width: 22px; height: 22px; }
  .actionbar a:nth-child(1) .i { color: var(--fire); }
  .actionbar a:nth-child(2) { color: #128c4b; }
  .actionbar a:nth-child(3) { background: var(--fire); color: #fff; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.badge .i { color: var(--fire); }
.e404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.e404__code { font: 800 7rem/1 var(--font-head); color: var(--fire); }
