/* Brand colours from FCL Branding/FCL-brand-guide.md */
:root {
  --navy: #14306E;
  --navy-deep: #0B1F4D;
  --blue: #2563C9;
  --blue-hover: #1D4FA6;
  --sky: #7FB0FF;
  --tint: #EEF3FA;
  --tint-2: #E5ECF7;
  --wa: #1A7F4B;
  --ink: #1F2937;
  --text: #374151;
  --muted: #5E6B85;
  --line: #DFE6F1;
  --bg: #FFFFFF;
  --on-navy: #D6E1F5;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 48, 110, .06), 0 12px 32px rgba(20, 48, 110, .10);
  --head: 'Lexend', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 600; text-wrap: balance; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .sec-navy :focus-visible, .sec-photo :focus-visible, .foot :focus-visible { outline-color: var(--sky); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* icons */
svg { stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, var(--tint), var(--tint-2)); color: var(--blue); }
.ic svg { width: 28px; height: 28px; }
.ic.sm { width: 44px; height: 44px; border-radius: 12px; }
.ic.sm svg { width: 22px; height: 22px; }
.ic.lg { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 201, .3); }
.ic.lg svg { width: 32px; height: 32px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 22px;
  background: var(--blue); color: #fff; border: 2px solid var(--blue); border-radius: 999px; font: 600 1rem var(--body);
  text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 99, 201, .3); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 8px 18px; }
.btn-lg { min-height: 54px; padding: 12px 28px; font-size: 1.06rem; }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: #fff; box-shadow: none; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #146a3e; border-color: #146a3e; box-shadow: 0 8px 20px rgba(26, 127, 75, .3); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgba(20,48,110,.07); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }
nav { display: flex; align-items: center; gap: 30px; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
nav a:not(.btn):hover { color: var(--blue); border-color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 10px; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; stroke-width: 2; }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); padding-bottom: clamp(32px, 5vw, 56px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,31,77,.95) 0%, rgba(20,48,110,.82) 45%, rgba(20,48,110,.2) 100%),
              linear-gradient(0deg, rgba(11,31,77,.9) 0%, rgba(11,31,77,0) 40%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-in { padding: clamp(64px, 11vw, 130px) 0 clamp(48px, 7vw, 84px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
  font: 500 .88rem var(--head); color: #fff; letter-spacing: .02em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(127,176,255,.25); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7.4vw, 5.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .3em; }
.grad { background: linear-gradient(90deg, #A9CBFF, var(--sky) 60%, #5B97F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font: 600 clamp(.85rem, 1.4vw, 1rem) var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.tagline i { font-style: normal; opacity: .6; margin: 0 .2em; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: #E6ECF7; margin-bottom: 0; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.facts svg { grid-row: span 2; width: 30px; height: 30px; color: var(--sky); }
.facts strong { font: 700 1.2rem var(--head); color: #fff; line-height: 1.2; }
.facts span { font-size: .92rem; color: var(--on-navy); line-height: 1.3; }

/* sections */
.sec { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.sec-soft { background: var(--tint); }
.sec-navy { background: radial-gradient(ellipse at 15% 0%, #1E4A9E 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--on-navy); }
.sec-navy h2 { color: #fff; }
.eyebrow { font: 600 .8rem var(--head); text-transform: uppercase; letter-spacing: .18em; color: var(--blue); margin-bottom: .9em;
  display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-navy .eyebrow, .sec-photo .eyebrow { color: var(--sky); }
.head { margin-bottom: 44px; }
.head.center { text-align: center; }
.head h2 { margin: 0; }

/* services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s; }
.card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover { border-color: #C3D3EE; box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover::after { transform: scaleX(1); }
.card .ic { margin-bottom: 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); }
.card ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.card li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; color: var(--text); }
.card li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); transform: translateY(-2px); }

/* why */
.why-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  color: var(--muted); font-size: .95rem; box-shadow: var(--shadow); }
.photo figcaption strong { display: block; font: 700 1.6rem/1.1 var(--head); color: var(--navy); }
.why { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.why li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .25s, transform .25s; }
.why li:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.why h3 { margin: 0; font-size: 1.05rem; }
.why p { margin: 0; color: var(--muted); font-size: .97rem; }

/* how */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; top: 36px; left: 16.6%; right: 16.6%; border-top: 2px dashed #BCCDEA; }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps .ic { margin-bottom: 20px; position: relative; }
.steps b { position: absolute; top: -6px; left: calc(50% + 22px); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue); border: 2px solid var(--blue); font: 700 .85rem var(--head); }
.steps h3 { font-size: 1.2rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }

/* about */
.sec-photo { overflow: hidden; background: var(--navy-deep); color: var(--on-navy); }
.sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.sec-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,77,.93) 0%, rgba(20,48,110,.78) 60%, rgba(20,48,110,.6) 100%); }
.sec-photo > .wrap { position: relative; z-index: 1; }
.about-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text h2 { color: #fff; }
.about-text p:not(.eyebrow) { font-size: 1.08rem; color: #E6ECF7; max-width: 52ch; }
.about-text p:last-child { margin-bottom: 0; }
.mv { display: grid; gap: 16px; }
.mv article { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px);
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.mv .ic { grid-row: span 2; background: rgba(127,176,255,.18); color: var(--sky); }
.mv h3 { color: var(--sky); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin: 2px 0 6px; }
.mv p { margin: 0; color: #fff; font: 400 1.12rem/1.45 var(--head); }

/* faq */
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-in .head { margin: 0; position: sticky; top: 110px; }
.sub { color: var(--muted); margin: 16px 0 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: #C3D3EE; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px; font: 600 1.05rem/1.35 var(--head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--blue); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text); }

/* clear with us */
.clear-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.on-navy { color: var(--on-navy); font-size: 1.15rem; max-width: 36ch; }
.contact { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; max-width: 380px; }
.contact a { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background-color .2s, transform .2s; }
.contact a:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.contact .ic { background: rgba(127,176,255,.18); color: var(--sky); }
.contact small { display: block; font-size: .8rem; color: var(--on-navy); letter-spacing: .04em; }
.contact a > span:last-child { font: 600 1.1rem/1.3 var(--head); }

.quote { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.quote h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 18px; }
.who { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.who legend { font-weight: 600; color: var(--ink); font-size: .95rem; padding: 0; margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 12px; border: 2px solid #C5D0E2;
  border-radius: 14px; cursor: pointer; font-size: 1rem; color: var(--muted); transition: border-color .2s, background-color .2s, color .2s; }
.seg label svg { width: 22px; height: 22px; flex: none; }
.seg label:hover { border-color: var(--blue); }
.seg input:checked + label { border-color: var(--blue); background: var(--tint); color: var(--navy); }
.seg input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C5D0E2; border-radius: 12px; font: 400 1rem var(--body); color: var(--ink); background: #FBFCFE; transition: border-color .2s, box-shadow .2s, background-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,201,.18); }
input[aria-invalid="true"] { border-color: #C62828; }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btns { margin-top: 4px; }
.btns .btn { width: 100%; }
.err { color: #C62828; font-weight: 600; margin: 0 0 12px; }
.hint { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.hint svg { width: 16px; height: 16px; flex: none; }
.done { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #EAF6EF; border: 1px solid #9ED3B4; }
.done svg { width: 24px; height: 24px; color: var(--wa); stroke-width: 2.4; flex: none; margin-top: 2px; }
.done strong { color: var(--ink); }
.done p { margin: 2px 0 0; font-size: .95rem; }

/* footer */
.foot { background: var(--navy-deep); color: var(--on-navy); padding: 52px 0 40px; text-align: center; }
.foot img { height: 84px; width: auto; margin: 0 auto 22px; }
.foot-links { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.foot-links a:hover { color: var(--sky); }
.foot .small { font-size: .9rem; opacity: .75; margin: 0; }

/* floating WhatsApp button */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.fab svg { width: 28px; height: 28px; stroke-width: 2; }
.fab:hover { transform: scale(1.08); }
.fab.away { opacity: 0; pointer-events: none; transform: scale(.6); }
.fab { transition: transform .2s, opacity .2s; }

/* reveal on scroll (only when JS is running) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .about-in, .clear-in, .faq-in { grid-template-columns: 1fr; }
  .faq-in .head { position: static; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(20,48,110,.1); display: none; }
  nav.open { display: flex; }
  nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  nav .btn { margin-top: 12px; }
  .brand img { height: 36px; }
  .hero::after { background: linear-gradient(180deg, rgba(11,31,77,.78) 0%, rgba(11,31,77,.9) 60%, rgba(11,31,77,.97) 100%); }
  .cta-row .btn { flex: 1 1 100%; }
  .why-in { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 16 / 10; order: 2; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { top: 30px; bottom: 30px; left: 30px; right: auto; border-top: 0; border-left: 2px dashed #BCCDEA; }
  .steps li { display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .steps .ic.lg { grid-row: span 2; width: 60px; height: 60px; border-radius: 18px; margin: 0; }
  .steps .ic.lg svg { width: 26px; height: 26px; }
  .steps b { left: 42px; top: -8px; width: 24px; height: 24px; font-size: .78rem; }
  .steps h3 { margin: 4px 0 2px; }
  .head.center { text-align: left; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 22px 16px; }
  .card .ic { width: 48px; height: 48px; margin-bottom: 16px; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: .93rem; }
  .card ul { margin-top: 14px; padding-top: 12px; gap: 6px; }
  .card li { font-size: .88rem; }
  .facts { gap: 10px; }
  .facts li { padding: 14px; column-gap: 10px; grid-template-columns: 1fr; }
  .facts svg { grid-row: auto; width: 26px; height: 26px; margin-bottom: 8px; }
  .facts strong { font-size: 1.05rem; }
  .facts span { font-size: .85rem; }
  .row2 { grid-template-columns: 1fr; }
  .mv article { padding: 18px; }
  .fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
