/* ADCC website - colours come from the logo: anchor navy, ring yellow, wheel brown. */
:root {
  --navy-950: #080c33;
  --navy-900: #0d1445;
  --navy-800: #141c5c;
  --navy-700: #1d2878;
  --blue: #283080;          /* logo anchor blue */
  --gold: #f2cf1d;          /* logo ring yellow, softened for screens */
  --gold-600: #cfa900;
  --wood: #6a2416;          /* logo wheel brown */
  --paper: #f6f5ef;
  --ink: #101534;
  --muted: #5b6182;
  --line: #e3e1d6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 20, 69, .10);
  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-head); color: var(--navy-900); letter-spacing: -.015em; line-height: 1.15; }
a { color: var(--blue); }
img { max-width: 100%; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { font-weight: 700; border-radius: 12px; padding: .8rem 1.5rem; display: inline-flex; align-items: center; gap: .5rem; justify-content: center; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-900); border: 0; box-shadow: 0 6px 18px rgba(242, 207, 29, .35); }
.btn-gold:hover, .btn-gold:focus { background: #ffdf3a; color: var(--navy-950); }
.btn-navy { background: var(--navy-800); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* ---------- top bar + navbar ---------- */
.topbar { background: var(--navy-950); color: #c9cdf0; font-size: .85rem; padding: .45rem 0; }
.topbar a, .topbar span { color: #c9cdf0; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.2rem; }
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar-right a { margin: 0; }
.topbar .top-pill { background: rgba(242, 207, 29, .14); color: var(--gold); padding: .15rem .7rem; border-radius: 999px; font-weight: 700; }
.site-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--line); padding: .55rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .75rem; padding: 0; }
.navbar-brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: var(--navy-800); letter-spacing: .02em; }
.brand-text small { font-size: .66rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.site-nav .nav-link { font-weight: 600; color: var(--navy-900); padding: .5rem .9rem !important; border-radius: 10px; position: relative; }
.site-nav .nav-link:hover { color: var(--blue); background: var(--paper); }
.site-nav .nav-link.active { color: var(--blue); }
.site-nav .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--gold); }
.navbar-toggler { border: 0; padding: .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(242, 207, 29, .6); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .8rem 0 1rem; }
  .site-nav .nav-link.active::after { display: none; }
  .site-nav .nav-link.active { background: var(--paper); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 10%, #26318f 0%, transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #101a6b 100%); padding: 5.5rem 0 6.5rem; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; 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: 48px 48px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero.has-photo { background: linear-gradient(105deg, rgba(8, 12, 51, .94) 25%, rgba(13, 20, 69, .65) 70%, rgba(13, 20, 69, .4)), var(--hero-photo) center/cover no-repeat; }
.hero-wheel { position: absolute; right: -140px; top: 50%; width: 640px; height: 640px; transform: translateY(-50%); opacity: .05; z-index: -1; filter: grayscale(1) brightness(2); pointer-events: none; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: currentColor; }
.hero .kicker { color: var(--gold); }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4rem); margin: 1rem 0 1.2rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #d3d7f5; font-size: 1.15rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.hero-badge { position: absolute; left: 4%; bottom: -1.2rem; background: #fff; color: var(--navy-900); border-radius: 16px; padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .92rem; max-width: 17rem; line-height: 1.3; }
.hero-badge img { width: 46px; height: 46px; object-fit: contain; }
@media (max-width: 991.98px) { .hero { padding: 3.5rem 0 4.5rem; } .hero-art { margin-top: 3rem; } }

/* ---------- sections ---------- */
.section { padding: 5.5rem 0; }
.section-paper { background: var(--paper); }
.section-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #d3d7f5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; margin: .7rem 0 1rem; }
.section-head { max-width: 42rem; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p { color: #b9bfe8; }
.body-lg { font-size: 1.1rem; color: #2a3055; }
@media (max-width: 767.98px) { .section { padding: 3.8rem 0; } }

/* trust strip */
.trust { background: #fff; margin-top: -2.2rem; position: relative; z-index: 2; }
.trust-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1.3rem 1.2rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; font-weight: 700; color: var(--navy-900); font-size: .95rem; line-height: 1.25; padding: .5rem .8rem; }
.trust-item .ic { width: 2.3rem; height: 2.3rem; padding: .5rem; background: rgba(242, 207, 29, .22); color: var(--navy-800); border-radius: 12px; }

/* process */
.steps { counter-reset: s; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; height: 100%; position: relative; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); margin-bottom: .6rem; display: block; }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* services */
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.svc .ico { width: 3.2rem; height: 3.2rem; border-radius: 14px; background: var(--navy-800); color: var(--gold); display: grid; place-items: center; margin-bottom: 1.1rem; }
.svc .ico .ic { width: 1.6rem; height: 1.6rem; }
.svc h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.svc p { color: var(--muted); margin: 0; font-size: .97rem; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .5rem; font-size: .96rem; color: #2a3055; }
.ticks .ic { color: var(--gold-600); margin-top: .25rem; }

/* why / feature list on navy */
.why { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.why:last-child { border: 0; }
.why .ic { width: 2.6rem; height: 2.6rem; padding: .6rem; background: rgba(242, 207, 29, .16); color: var(--gold); border-radius: 12px; }
.why h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.why p { margin: 0; color: #b9bfe8; font-size: .96rem; }
.panel-logo { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 2.5rem; display: grid; place-items: center; }
.panel-logo img { width: min(100%, 320px); height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }

/* stats */
.stats { background: var(--gold); padding: 2.6rem 0; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.stat span { font-weight: 700; color: var(--navy-800); font-size: .95rem; }

/* project cards */
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.cover { aspect-ratio: 4 / 3; background: var(--navy-800); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pcard:hover .cover img { transform: scale(1.05); }
.cover-lg { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.cover-empty { display: grid; place-items: center; align-content: center; gap: .3rem; color: #3b47a8; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); position: relative; }
.cover-empty::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; }
.cover-empty svg { width: 46%; position: relative; color: #6b78d6; }
.cover-empty span { position: relative; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #aab2ec; font-weight: 700; }
.status { position: absolute; top: 1rem; left: 1rem; padding: .25rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--navy-900); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .45rem; background: var(--gold-600); }
.status-completed::before { background: #1f9d55; }
.status-upcoming::before { background: #8a94d6; }
.pcard-body { padding: 1.3rem 1.4rem 1.5rem; }
.pcard h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.ploc { color: var(--muted); margin: 0 0 .3rem; font-size: .93rem; display: flex; gap: .4rem; align-items: center; }
.pmeta { margin: 0 0 .8rem; font-size: .85rem; color: #6c7298; }
.more { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--blue); font-size: .93rem; }
.pcard:hover .more .ic { transform: translateX(4px); }
.more .ic { transition: transform .2s; }
.empty-note { color: var(--muted); text-align: center; padding: 2rem 0; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); font-weight: 700; padding: .5rem 1.1rem; border-radius: 999px; font-size: .92rem; }
.chip em { font-style: normal; color: var(--muted); font-weight: 600; margin-left: .25rem; }
.chip:hover { border-color: var(--navy-700); }
.chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip.active em { color: var(--gold); }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 3.6rem 0 3.4rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(242, 207, 29, .12); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin: .3rem 0 .5rem; }
.page-hero .lead-sm { color: #c4c9ee; margin: 0; max-width: 40rem; font-size: 1.08rem; display: flex; gap: .4rem; align-items: center; }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: #aab2ec; }
.crumbs a { color: #dfe2fa; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-style: normal; opacity: .5; }

/* project detail */
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.fact { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed #d3d1c3; font-size: .95rem; }
.fact span { color: var(--muted); }
.fact b { color: var(--navy-900); text-align: right; }
.next-proj { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy-900); }
.next-proj span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; }
.next-proj b { display: block; font-family: var(--font-head); }
.next-proj .ic { margin-left: auto; color: var(--gold-600); }
.gthumb { border: 0; padding: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--paper); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gthumb:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 8, 30, .94); display: grid; place-items: center; padding: 1rem; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; border-radius: 10px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lb-close { top: 1rem; right: 1rem; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy-900), var(--blue)); color: #fff; border-radius: 28px; padding: 3rem; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(242, 207, 29, .16); }
.cta h2 { color: #fff; margin: 0 0 .6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { color: #c7cdf3; margin: 0; max-width: 34rem; }
.cta .btn { position: relative; z-index: 1; }
@media (max-width: 767.98px) { .cta { padding: 2rem 1.5rem; } }

/* model diagram (about) */
.model { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .model { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; } }
.model .node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.model .node h3 { font-size: 1.15rem; }
.model .node p { color: var(--muted); font-size: .94rem; margin: 0; }
.model .node.accent { background: var(--navy-800); border-color: var(--navy-800); }
.model .node.accent h3 { color: #fff; } .model .node.accent p { color: #b9bfe8; }
.model .arrow { display: none; color: var(--gold-600); align-self: center; }
.model .arrow .ic { width: 2rem; height: 2rem; }
@media (min-width: 768px) { .model .arrow { display: block; } }
.value { padding: 1.4rem; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 14px 14px 0; box-shadow: 0 4px 14px rgba(13, 20, 69, .06); height: 100%; }
.value h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* contact */
.crow { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.crow .ic { width: 2.6rem; height: 2.6rem; padding: .6rem; background: rgba(242, 207, 29, .22); color: var(--navy-800); border-radius: 12px; }
.crow span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.crow a, .crow b { font-weight: 700; color: var(--navy-900); text-decoration: none; word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); }
.form-control { border-radius: 12px; border: 1.5px solid #d6d4c6; padding: .8rem 1rem; font-size: 1rem; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40, 48, 128, .12); }
.form-label { font-weight: 700; font-size: .9rem; color: var(--navy-900); }
.form-msg { margin-top: 1rem; font-weight: 600; }
.form-msg.ok { color: #157347; } .form-msg.err { color: #b02a37; }
#map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* footer */
.site-footer { background: var(--navy-950); color: #aeb4e0; padding: 4.2rem 0 1.6rem; font-size: .96rem; }
.site-footer h6 { color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 1rem; }
.foot-brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.foot-brand img { width: 64px; height: 64px; object-fit: contain; }
.foot-brand strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.5rem; }
.foot-brand small { color: #98a0d8; }
.foot-blurb { max-width: 24rem; }
.foot-links, .foot-contact { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: .55rem; }
.site-footer a { color: #cdd2f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; }
.foot-contact .ic { color: var(--gold); margin-top: .3rem; }
.foot-social { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.foot-social a { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .25rem .9rem; font-size: .85rem; }
.foot-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: #8189c2; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 1040; background: #1fa855; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 24px rgba(31, 168, 85, .4); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 575.98px) { .wa-float span { display: none; } .wa-float { padding: .95rem; } }

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

/* Bootstrap's large gutters overflow narrow phones - keep them equal to the container padding there */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
@media (max-width: 991.98px) { .hero-badge { position: static; margin-top: 1rem; max-width: none; } }
.section h2.h4 { font-size: 1.45rem; font-weight: 800; margin: 0 0 .8rem; }
