/* Wee4 Tech Solutions — site styles
   Brand colours are taken from the logo: teal + amber on charcoal. */

:root {
  --brand: #177a71;
  --brand-600: #12665e;
  --brand-800: #0c4843;
  --brand-50: #e8f4f2;
  --amber: #fdbe26;
  --amber-600: #e0a30c;
  --ink: #122120;
  --text: #34403f;
  --muted: #5d6b69;
  --line: #dfe8e6;
  --surface: #f4f8f7;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 33, 32, .06), 0 8px 24px rgba(18, 33, 32, .06);
  --shadow-lg: 0 20px 50px rgba(18, 33, 32, .14);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.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; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-600); color: var(--ink); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-800); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(18, 33, 32, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: 168px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a, .nav .nav-parent { display: flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: 8px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav .nav-parent:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-50); }
.nav .has-sub { position: relative; }
.nav .nav-parent svg { width: 14px; height: 14px; transition: transform .2s; }
.submenu { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: -10px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 12px; }
.submenu a small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.nav .nav-cta { margin-left: 8px; }
.nav .nav-cta a { background: var(--brand); color: #fff; border-radius: 999px; padding: 10px 20px; }
.nav .nav-cta a:hover { background: var(--brand-800); color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 16px 20px 40px; overflow-y: auto; display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .nav-parent { padding: 14px 12px; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-sub.open .submenu { display: block; }
  .has-sub.open .nav-parent svg { transform: rotate(180deg); }
  .nav .nav-cta { margin: 12px 0 0; }
  .nav .nav-cta a { justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d7e4e2; padding: 96px 0 104px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 480px at 85% 10%, rgba(23, 122, 113, .55), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(253, 190, 38, .14), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 60ch; color: #c5d6d3; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--amber); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 32px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 26px; backdrop-filter: blur(6px); }
.hero-card h2 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 0; }
.hero-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-card li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px 14px; }
.hero-card li span:first-child { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(253, 190, 38, .15); color: var(--amber); font-weight: 800; font-size: .9rem; }
.hero-card strong { color: #fff; display: block; line-height: 1.3; }
.hero-card small { color: #a9bdba; font-size: .85rem; line-height: 1.4; display: block; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #c5d6d3; padding: 56px 0 64px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 90% 0%, rgba(23, 122, 113, .55), transparent 60%); }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { font-size: 1.15rem; max-width: 64ch; color: #c5d6d3; margin-bottom: 0; }
.page-hero .hero-actions { margin-bottom: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #6f8a86; }
.breadcrumb a { color: #a9bdba; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section.alt { background: var(--surface); }
.section.dark { background: var(--ink); color: #c5d6d3; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section.dark .section-head p { color: #a9bdba; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.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: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.rounded-img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

/* Answer box — a short, quotable summary for search + AI answers */
.answer { border-left: 4px solid var(--brand); background: var(--brand-50); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.answer h2 { font-size: 1.2rem; margin-bottom: .4em; letter-spacing: 0; }
.answer p { margin: 0; color: var(--ink); }
@media (min-width: 900px) {
  .answer { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 40px; align-items: center; padding: 32px 40px; }
  .split .answer { display: block; padding: 24px 28px; }
  .split .answer h2 { font-size: 1.2rem; margin-bottom: .4em; }
  .answer h2 { font-size: 1.45rem; margin: 0; }
  .answer p { font-size: 1.08rem; }
}

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #bcd6d2; box-shadow: var(--shadow); }
.card-link:hover { transform: translateY(-3px); }
.card h3 { margin-bottom: .45em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--brand); font-size: .95rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box svg { width: 26px; height: 26px; }
.section.dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section.dark .card p { color: #a9bdba; }
.section.dark .icon-box { background: rgba(253, 190, 38, .12); color: var(--amber); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177a71' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.check-list.cols { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
@media (max-width: 640px) { .check-list.cols { grid-template-columns: 1fr; } }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: .9rem; color: var(--brand); margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Chips */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); }
.section.dark .chips li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #e3eeec; }

/* Stats / facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts div { padding: 22px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Course cards */
.course-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.course-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.course-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.course-card .tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.course-card .meta { display: flex; gap: 16px; margin-top: auto; padding-top: 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.course-card .meta span { display: flex; align-items: center; gap: 6px; }
.course-card .meta svg { width: 16px; height: 16px; color: var(--brand); }
.course-card p { margin-bottom: 16px; }

/* Syllabus accordion */
.syllabus { display: grid; gap: 12px; }
.syllabus details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.syllabus summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary span.n { color: var(--brand); font-weight: 800; margin-right: 10px; }
.syllabus summary svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; color: var(--muted); }
.syllabus details[open] summary svg { transform: rotate(180deg); }
.syllabus details > div { padding: 0 22px 20px; }
.syllabus ul { margin: 0; columns: 2; column-gap: 32px; color: var(--muted); }
.syllabus li { break-inside: avoid; margin-bottom: 4px; }
@media (min-width: 1000px) { .syllabus ul { columns: 3; } }
@media (max-width: 640px) { .syllabus ul { columns: 1; } }

/* FAQ */
.faq { display: grid; gap: 14px 20px; align-items: start; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 24px 20px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clients a { display: grid; place-items: center; height: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.clients img { max-height: 64px; max-width: 80%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.clients a:hover img { filter: none; opacity: 1; }
@media (max-width: 640px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; height: 100%; }
.quote blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.2rem; line-height: .8; color: var(--amber); font-weight: 800; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote figcaption strong { display: block; color: var(--ink); line-height: 1.3; }
.quote figcaption span { font-size: .9rem; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-800), var(--brand)); color: #d9ece9; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -50px; bottom: -110px; width: 200px; height: 200px; background: var(--amber); opacity: .18; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* Prose (legal pages, long copy) */
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .95rem; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .97rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: var(--ink); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
label .opt { font-weight: 500; color: var(--muted); font-size: .85rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23, 122, 113, .14); }
textarea { min-height: 140px; resize: vertical; }
input[type="file"] { padding: 10px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 16px; font-weight: 600; }
.form-status.ok { display: block; background: #e6f6ee; color: #0f6b3c; }
.form-status.err { display: block; background: #fdecec; color: #a11b1b; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(0,0,0,.2); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .icon-box { margin: 0; width: 48px; height: 48px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { text-decoration: none; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1615; color: #9fb3b0; padding: 72px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
.footer-logo img { width: 150px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c8d7d5; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer address { font-style: normal; line-height: 1.7; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); }
.social a:hover { background: var(--amber); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.footer-bottom ul { display: flex; gap: 20px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }

/* ---------- Scroll reveal (only when JS is on and motion is allowed) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
.reveal-on .reveal-img { opacity: 0; transform: scale(.96); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal-on .reveal-img.in { opacity: 1; transform: none; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 16px; border-radius: 999px; background: #107a40; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 28px rgba(16, 122, 64, .35), 0 2px 6px rgba(0, 0, 0, .15); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { color: #fff; background: #0c6534; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 122, 64, .45), 0 2px 6px rgba(0, 0, 0, .15); }
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #107a40; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 640px) { .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } .wa-label { display: none; } }
body.nav-open .wa-float { display: none; }

/* ---------- Homepage v2 ---------- */
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.svc-grid { grid-template-columns: repeat(6, 1fr); }
.svc-grid > * { grid-column: span 2; }
.svc-grid > .featured { grid-column: span 3; border-color: #bcd6d2; }
.svc-grid > .featured h3 { font-size: 1.4rem; }
.svc-grid > .featured p { font-size: 1.05rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid > *, .svc-grid > .featured { grid-column: span 1; } .svc-grid > :last-child { grid-column: span 2; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid > :last-child { grid-column: span 1; } }
.hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.proof { font-size: .95rem; color: #a9bdba; margin: 0; }
.proof strong { color: #e3eeec; font-weight: 600; }
.proof a { color: var(--amber); }
.also { text-align: center; margin: 28px 0 0; color: var(--muted); }
.also a { font-weight: 600; }
.industry { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.industry .icon-box { margin: 0; }
.industry h3 { font-size: 1.08rem; margin-bottom: .3em; }
.steps.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps.six { grid-template-columns: 1fr; } }
.steps .when { font-size: .82rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; margin: -4px 0 8px; }
.academy-line { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; margin: 0; color: var(--muted); }
.academy-line svg { width: 22px; height: 22px; color: var(--brand); }

/* ---------- E-commerce page ---------- */
.table-wrap th[scope="row"] { white-space: nowrap; }
.package { display: flex; flex-direction: column; }
.package h3 { font-size: 1.35rem; margin-bottom: 2px; }
.package .pkg-sub { color: var(--brand); font-weight: 600; margin-bottom: 16px; }
.package .pkg-best { font-size: .93rem; margin: auto 0 18px; }
.package .btn { align-self: flex-start; }

/* ---------- Grouped services menu ---------- */
@media (min-width: 1025px) {
  .submenu { display: grid; grid-template-columns: 1fr 1fr; min-width: 640px; column-gap: 8px; left: -200px; }
  .submenu .sub-label { grid-column: 1 / -1; }
}
.submenu .sub-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 4px; border-top: 1px solid var(--line); margin-top: 6px; }

/* ---------- Blog ---------- */
.article-meta { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.article .answer { margin-bottom: 36px; display: block; padding: 22px 26px; }
.article .answer h2 { font-size: 1.1rem; margin-bottom: .4em; }
.article .prose h2 { margin-top: 1.6em; }
.article .prose h3 { font-size: 1.15rem; }
.article .table-wrap { margin: 1.2em 0 1.6em; }
.article-cta { background: var(--ink); color: #c5d6d3; border-radius: var(--radius); padding: 28px 32px; margin: 48px 0; }
.article-cta h2 { color: #fff; font-size: 1.3rem; margin-bottom: .4em; }
.article-cta .btn-brand { background: var(--amber); color: var(--ink); }
.article-cta .btn-brand:hover { background: var(--amber-600); color: var(--ink); }
.faq-title { font-size: 1.5rem; margin-bottom: 18px; }
.article .faq { grid-template-columns: 1fr; }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.35; }
.post-card .article-meta { margin-bottom: 10px; }

/* ---------- Technology band ---------- */
.tech-section { position: relative; overflow: hidden; isolation: isolate; }
.tech-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 100% 0%, rgba(23, 122, 113, .45), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(253, 190, 38, .08), transparent 60%); }
.tech-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.tech-head h2 { margin: 0; }
.tech-head > p { color: #a9bdba; font-size: 1.08rem; margin: 0; }
@media (max-width: 860px) { .tech-head { grid-template-columns: 1fr; gap: 12px; } }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; transition: border-color .2s, background .2s, transform .2s; }
.tech-card:hover { border-color: rgba(253, 190, 38, .45); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.tech-card-head { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.tech-card-head .icon-box { width: 48px; height: 48px; margin: 0; background: rgba(253, 190, 38, .12); color: var(--amber); }
.tech-card h3 { color: #fff; font-size: 1.08rem; margin: 0 0 2px; }
.tech-card-head p { color: #8fa7a3; font-size: .9rem; margin: 0; line-height: 1.4; }
.tech-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tech-card li span { min-width: 0; overflow-wrap: anywhere; }
.tech-card li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: #e3eeec; font-weight: 600; font-size: .93rem; }
.tech-card li img, .tech-card li svg { width: 22px; height: 22px; flex-shrink: 0; color: #e3eeec; }

/* ---------- Field validation ---------- */
.field-error { color: #b42318; font-size: .86rem; font-weight: 600; margin: 6px 0 0; }
[aria-invalid="true"] { border-color: #d92d20 !important; background: #fffbfa; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, .14) !important; }
