/* ==========================================================================
   Codlogz Technologies - design system
   Dark navy / purple / blue gradients, white surfaces, subtle cyan accents
   ========================================================================== */

:root {
  --navy-950: #06161b;
  --navy-900: #0a2229;
  --navy-800: #0f3039;
  --navy-700: #164048;
  --purple: #d6301f;          /* brand primary accent (orange-red) */
  --purple-soft: #f7941d;     /* brand orange */
  --blue: #23ab94;            /* brand teal */
  --cyan: #4bb953;            /* brand green */
  --orange: #f7941d;
  --red: #e01b24;
  --teal: #23ab94;
  --green: #4bb953;
  --ink: #0c2127;
  --text: #3d5258;
  --muted: #5f777c;
  --line: #dfe9ea;
  --bg: #ffffff;
  --bg-soft: #f4f9f9;
  --grad: linear-gradient(135deg, #e01b24 0%, #f26a1b 100%);
  --grad-text: linear-gradient(90deg, #f7941d 0%, #4bb953 60%, #23ab94 100%);
  --grad-teal: linear-gradient(135deg, #23ab94 0%, #4bb953 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10,34,41, .06);
  --shadow: 0 14px 40px -12px rgba(10,34,41, .18);
  --shadow-lg: 0 30px 70px -20px rgba(10,34,41, .35);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --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-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: var(--navy-900);
  padding: .7rem 1rem; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(1200px 600px at 85% -10%, rgba(238,90,30,.35), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(75,185,83,.14), transparent 60%), var(--navy-900); color: #bcd3d6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
  background: rgba(238,90,30,.08); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(75,185,83,.2); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #ffc27a; background: rgba(255,255,255,.08); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.section-dark .section-head p { color: #9fbcc0; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; text-decoration: none; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -8px rgba(224,27,36,.55); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px -8px rgba(224,27,36,.65); filter: saturate(1.1); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); color: var(--purple); }
.btn-sm { padding: .65rem 1.2rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(6,22,27,.88); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.5); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo-mark { width: 33px; height: 40px; flex: none; object-fit: contain; }
.logo small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #86a9ae; margin-top: 2px; }
.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .85rem; color: #d3e6e8; font-weight: 500;
  font-size: .96rem; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-item-mega:hover > .nav-link, .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-left: .6rem; }
.nav-toggle { display: none; background: rgba(255,255,255,.1); border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background .25s; content: ""; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mega menu (desktop) */
.mega {
  position: absolute; left: 50%; top: calc(100% + 14px); transform: translate(-50%, 10px); width: min(1080px, 94vw);
  background: #fff; border-radius: 24px; box-shadow: 0 40px 90px -20px rgba(3,18,22,.55); padding: 1.8rem;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s;
  border: 1px solid rgba(238,90,30,.12);
}
.nav-list > li.nav-item-mega { position: static; }
.nav-item-mega:hover > .mega, .nav-item-mega.open > .mega, .nav-item-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 260px; gap: 1.6rem; }
.mega-col h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: .8rem; }
.mega-col a { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem .6rem; border-radius: 12px; color: var(--ink); transition: background .15s; }
.mega-col a:hover { background: var(--bg-soft); color: var(--purple); }
.mega-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(238,90,30,.1); color: var(--purple); display: grid; place-items: center; }
.mega-ico svg { width: 18px; height: 18px; }
.mega-col strong { display: block; font-family: var(--font-head); font-size: .94rem; line-height: 1.25; }
.mega-col span.d { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.mega-promo { background: radial-gradient(300px 200px at 100% 0, rgba(75,185,83,.25), transparent 70%), linear-gradient(160deg, var(--navy-800), var(--navy-900)); border-radius: 18px; padding: 1.4rem; color: #bcd3d6; display: flex; flex-direction: column; justify-content: space-between; }
.mega-promo h4 { color: #fff; font-size: 1.15rem; text-transform: none; letter-spacing: -.01em; }
.mega-promo p { font-size: .88rem; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.mega-foot a { font-weight: 600; }

/* ---------- Hero ---------- */
.hero, .page-hero {
  background: radial-gradient(900px 600px at 80% 10%, rgba(238,90,30,.5), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(35,171,148,.3), transparent 60%),
    radial-gradient(500px 300px at 50% 0%, rgba(75,185,83,.12), transparent 70%), var(--navy-950);
  color: #bcd3d6; overflow: hidden; isolation: isolate;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero { padding: calc(var(--header-h) + 4.5rem) 0 5.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p.lead { font-size: 1.25rem; max-width: 560px; color: #b0cbcf; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }
.badge { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #e6f3f4; font-size: .9rem; font-weight: 500; }
.badge svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-visual { position: relative; }
.hero-visual svg.scene { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -2.5s; animation-duration: 8s; }
.float.d3 { animation-delay: -4.5s; animation-duration: 9s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.page-hero { padding: calc(var(--header-h) + 3.5rem) 0 4rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .4em; max-width: 900px; }
.page-hero p.lead { font-size: 1.2rem; max-width: 720px; color: #b0cbcf; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.8rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; margin-bottom: 1.3rem; color: #7fa3a8; }
.breadcrumb a { color: #b0cbcf; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* Stats strip */
.strip { margin-top: -2.5rem; position: relative; z-index: 3; padding: 0; }
.strip-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border: 1px solid var(--line); }
.strip-item { display: flex; gap: .9rem; align-items: center; }
.strip-item .ico { flex: none; }
.strip-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; line-height: 1.2; }
.strip-item span { font-size: .86rem; color: var(--muted); line-height: 1.3; display: block; }

/* Icons */
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -8px rgba(238,90,30,.6); }
.ico svg { width: 26px; height: 26px; }
.ico.soft { background: rgba(238,90,30,.1); color: var(--purple); box-shadow: none; }
.section-dark .ico.soft { background: rgba(255,255,255,.08); color: var(--cyan); }
.ico.sm { width: 40px; height: 40px; border-radius: 12px; }
.ico.sm svg { width: 20px; height: 20px; }

/* Cards & grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(238,90,30,.35); }
.card .ico { margin-bottom: 1.2rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card .more { font-family: var(--font-head); font-weight: 700; font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; margin-top: .4rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
a.card { color: inherit; }
.card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.card-dark p { color: #9fbcc0; }
.card-dark:hover { border-color: rgba(75,185,83,.5); background: rgba(255,255,255,.07); }
.card-dark h3 { color: #fff; }
.service-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--grad); opacity: .07; transition: transform .4s, opacity .4s; }
.service-card:hover::after { transform: scale(2.6); opacity: .09; }
.count { font-size: .82rem; color: var(--purple); font-weight: 600; background: rgba(238,90,30,.08); padding: .25rem .65rem; border-radius: 999px; align-self: flex-start; margin-bottom: .8rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 1.8rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.step p { color: #9fbcc0; font-size: .96rem; }
.step ul li { font-size: .9rem; color: #d3e6e8; padding: .3rem 0 .3rem 1.4rem; position: relative; }
.step ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.steps.light .step { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.steps.light .step p { color: var(--muted); }
.steps.light .step ul li { color: var(--text); }
.steps.light .step h3 { color: var(--ink); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.2rem; }
.why-item { display: flex; gap: 1.1rem; }
.why-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.why-item p { font-size: .96rem; color: var(--muted); margin: 0; }

/* Checklist */
.checks li { position: relative; padding: .35rem 0 .35rem 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: calc(.6em + 4.5px); width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink); }
.section-dark .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e6f3f4; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.top { align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.panel-grad { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #bcd3d6; border: 0; box-shadow: var(--shadow-lg); }
.panel-grad h3 { color: #fff; }

/* Service items */
.item-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.5rem; display: flex; gap: 1rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.item-card:hover { border-color: rgba(238,90,30,.4); box-shadow: var(--shadow); transform: translateY(-3px); }
.item-card h3 { font-size: 1.02rem; margin: 0 0 .25rem; }
.item-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.item-card .ico { width: 40px; height: 40px; border-radius: 12px; }
.item-card .ico svg { width: 20px; height: 20px; }
.mini-list { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: .9rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--purple); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(75,185,83,.25), transparent 70%), linear-gradient(120deg, #0f6f60, #23ab94); color: #eef8f8; border-radius: 32px; padding: clamp(2.2rem, 5vw, 4rem); display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; max-width: 560px; color: #e8f5f5; }
.cta-wrap { padding: 0; }
.section-pad-sm { padding: 3rem 0; }

/* Placeholder (portfolio / team) */
.placeholder { border: 2px dashed #c3d4d6; background: repeating-linear-gradient(45deg, #fafcfc, #fafcfc 12px, #f1f6f6 12px, #f1f6f6 24px); border-radius: var(--radius); padding: 1.8rem; text-align: left; position: relative; }
.placeholder .ph-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff3cd; color: #7a5b00; padding: .25rem .6rem; border-radius: 6px; margin-bottom: .9rem; }
.placeholder h3 { margin-bottom: .3rem; }
.placeholder p { color: var(--muted); font-size: .94rem; }
.ph-avatar { width: 68px; height: 68px; border-radius: 50%; background: #e3ecec; display: grid; place-items: center; color: #94aaae; margin-bottom: 1rem; }
.ph-avatar svg { width: 32px; height: 32px; }
.notice { background: #fff8e1; border: 1px solid #ffe08a; color: #6b5200; border-radius: 14px; padding: 1rem 1.2rem; font-size: .95rem; margin-bottom: 2rem; }

/* Blog */
.post-card .meta { font-size: .82rem; color: var(--muted); display: flex; gap: .8rem; margin-bottom: .7rem; flex-wrap: wrap; }
.post-thumb { height: 150px; border-radius: 14px; margin-bottom: 1.2rem; background: var(--grad); position: relative; overflow: hidden; }
.post-thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(75,185,83,.6), transparent 50%), repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 18px); }
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.article p { font-size: 1.1rem; }

/* Legal */
.legal { max-width: 800px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 28px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--text); }
.form-card h3 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(238,90,30,.14); }
.field .err { color: #c0264b; font-size: .82rem; margin-top: .3rem; min-height: 1em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0446a; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #e8fbf0; color: #0b6b3a; border: 1px solid #a8e6c3; }
.form-status.fail { display: block; background: #fdecef; color: #a21a3d; border: 1px solid #f5b3c3; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.contact-info li { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-info strong { display: block; color: #fff; font-family: var(--font-head); }
.contact-info a { color: #bcd3d6; }
.contact-info a:hover { color: var(--cyan); }
.contact-info address { font-style: normal; }
.contact-section { background: radial-gradient(900px 500px at 100% 0%, rgba(238,90,30,.35), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(75,185,83,.12), transparent 60%), var(--navy-900); color: #bcd3d6; }
.contact-section h2 { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #86a9ae; padding: 5rem 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -200px; left: 50%; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238,90,30,.3), transparent); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.2fr 1.2fr; gap: 2.5rem; position: relative; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #9fbcc0; }
.site-footer a:hover { color: var(--cyan); }
.site-footer li { margin-bottom: .55rem; font-size: .95rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; max-width: 340px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: .25rem; }
.footer-contact address { font-style: normal; line-height: 1.55; }
.footer-contact strong { color: #fff; display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--orange); color: #0a2229; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.08); padding: 1.6rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; position: relative; }
.footer-bottom ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }

/* Back to top */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
  .mega-promo { display: none; }
}
@media (max-width: 1240px) and (min-width: 1081px) {
  .nav-link { padding: .6rem .55rem; font-size: .9rem; }
  .logo small { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-950); padding: 1.2rem 1.25rem 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open .site-header { background: var(--navy-950); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem .9rem; font-size: 1.05rem; }
  .nav-cta { margin: 1rem 0 0; width: 100%; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0; background: transparent; opacity: 1; visibility: visible; display: none; border-radius: 0; }
  .nav-item-mega:hover > .mega, .nav-item-mega:focus-within > .mega { transform: none; }
  .nav-item-mega:not(.open) > .mega { display: none; }
  .nav-item-mega.open > .mega { display: block; }
  .mega::before { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: .4rem; padding: .3rem 0 .8rem; }
  .mega-col h4 { color: #7fa3a8; margin: .9rem .9rem .3rem; }
  .mega-col a { color: #e6f3f4; }
  .mega-col a:hover { background: rgba(255,255,255,.07); color: #fff; }
  .mega-col span.d { display: none; }
  .mega-ico { background: rgba(255,255,255,.08); color: var(--cyan); }
  .mega-foot { border-color: rgba(255,255,255,.1); padding-left: .9rem; }
}
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .grid-3, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-card { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .why-grid, .steps, .form-row, .footer-grid, .strip-card { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 4rem; }
  .btn-row .btn { width: 100%; }
  .cta-band { border-radius: 24px; }
  .footer-bottom { flex-direction: column; }
  .logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .to-top, .site-footer { display: none; } }

/* Brand accent: four-colour stripe taken from the logo */
.site-footer::after, .page-hero::after, .hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, #f7941d 0 25%, #e01b24 25% 50%, #23ab94 50% 75%, #4bb953 75% 100%);
}
.site-footer::after { top: 0; bottom: auto; }
.check input, .check input { accent-color: var(--red); }
.ico.teal { background: var(--grad-teal); box-shadow: 0 10px 22px -8px rgba(35,171,148,.6); }
