/* ==========================================================================
   AMRU Consultancy - Design System
   Palette sampled from the official logo:
   charcoal #4c5247 | teal #26a79c | light teal #34bfb7
   ========================================================================== */

:root {
  --ink: #4c5247;            /* logo charcoal */
  --ink-900: #262a23;
  --ink-700: #3a3f35;
  --ink-500: #6b7165;
  --ink-300: #a9aea3;
  --teal: #26a79c;           /* logo teal (dark dot) */
  --teal-light: #34bfb7;     /* logo teal (light dot) */
  --teal-700: #17766e;       /* AA-safe teal for text/buttons on white */
  --teal-800: #115c56;
  --teal-50: #eef9f8;
  --teal-100: #d7f1ef;
  --surface: #ffffff;
  --surface-alt: #f5f8f7;
  --line: #e3e9e7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(38, 42, 35, .06);
  --shadow: 0 12px 32px rgba(38, 42, 35, .08);
  --shadow-lg: 0 24px 56px rgba(23, 118, 110, .16);
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 84px;
  --bs-heading-color: var(--ink-900);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--teal-700);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-head); color: var(--ink-900); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-500); }
a { color: var(--teal-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-800); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; color: #fff; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--surface-alt); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.lead-text { font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 999px; padding: .8rem 1.7rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn-brand { background: var(--teal-700); color: #fff; border: 2px solid var(--teal-700); }
.btn-brand:hover, .btn-brand:focus { background: var(--teal-800); border-color: var(--teal-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-brand { background: transparent; color: var(--teal-700); border: 2px solid var(--teal-700); }
.btn-outline-brand:hover { background: var(--teal-700); color: #fff; transform: translateY(-2px); }
.btn-light-brand { background: #fff; color: var(--teal-800); border: 2px solid #fff; }
.btn-light-brand:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.btn-outline-light-brand { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-light-brand:hover { background: #fff; color: var(--teal-800); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, height .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); border-bottom-color: var(--line); }
.site-header .navbar { height: 100%; padding: 0; }
.navbar-brand img { height: 52px; width: auto; transition: height .25s; }
.site-header.scrolled .navbar-brand img { height: 46px; }
.navbar .nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .5rem 1rem !important; position: relative;
}
.navbar .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--teal-700); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .dropdown-menu {
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .6rem; min-width: 290px; margin-top: .6rem;
}
.navbar .dropdown-item { border-radius: 10px; padding: .6rem .9rem; font-weight: 500; font-size: .93rem; color: var(--ink); display: flex; align-items: center; gap: .7rem; }
.navbar .dropdown-item i { color: var(--teal); font-size: 1.05rem; }
.navbar .dropdown-item:hover, .navbar .dropdown-item.active { background: var(--teal-50); color: var(--teal-800); }
.navbar-toggler { border: 0; padding: .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--teal-100); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234c5247' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { background: #fff; margin: 0 -12px; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .navbar .nav-link::after { display: none; }
  .navbar .dropdown-menu { box-shadow: none; border: 0; background: var(--surface-alt); margin-top: 0; }
  .nav-cta { margin-top: .75rem; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0f4f4a 0%, #17766e 48%, #26a79c 100%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before { /* subtle grid texture */
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 span { color: #aef2ec; }
.hero p.lead { color: rgba(255,255,255,.88); font-size: 1.18rem; max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.hero-badge i { color: #aef2ec; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.hero-points li { color: rgba(255,255,255,.9); font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.hero-points i { color: #aef2ec; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 560px; margin-inline: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0,0,0,.25)); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 56px; display: block; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #115c56 0%, #17766e 55%, #26a79c 100%);
  padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(52,191,183,.45), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero p { color: rgba(255,255,255,.88); max-width: 680px; font-size: 1.1rem; margin-bottom: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.6); margin-bottom: 1rem; font-size: .88rem; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.85); }
.breadcrumb-item.active { color: #fff; font-weight: 600; }
.breadcrumb-item a:hover { color: #fff; text-decoration: underline; }
.draft-banner { background: #fff7e0; border: 1px solid #f1d98a; color: #6b5200; border-radius: var(--radius-sm); padding: 1rem 1.25rem; display: flex; gap: .8rem; align-items: flex-start; }
.draft-banner i { font-size: 1.2rem; margin-top: .15rem; }
.draft-banner p { color: inherit; margin: 0; }

/* ---------- Cards ---------- */
.service-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); font-size: 1.7rem; margin-bottom: 1.3rem; transition: background .3s, color .3s; }
.service-card:hover .icon-box { background: linear-gradient(135deg, var(--teal), var(--teal-light)); color: #fff; }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { flex-grow: 1; font-size: .96rem; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }
.stretched-link::after { border-radius: var(--radius); }

.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature .icon-box { flex: 0 0 auto; width: 54px; height: 54px; font-size: 1.45rem; margin: 0; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .95rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .45rem 0 .45rem 2rem; color: var(--ink-700); }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .42rem; color: var(--teal); font-size: 1.15rem; }

.info-panel { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.note-panel { background: var(--teal-50); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.2rem 1.4rem; }
.note-panel p { margin: 0; color: var(--ink-700); font-size: .95rem; }
.media-frame { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--teal-50); }
.media-frame img { display: block; width: 100%; }

/* ---------- Process ---------- */
.process-grid { counter-reset: step; position: relative; }
.process-step { text-align: center; position: relative; padding: 0 .75rem; }
.step-badge {
  width: 84px; height: 84px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: #fff; color: var(--teal-700); font-size: 1.9rem; border: 2px solid var(--teal-100); box-shadow: var(--shadow-sm);
}
.step-badge .num { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-light)); color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 700; display: grid; place-items: center; }
.process-step h3 { font-size: 1.1rem; }
.process-step p { font-size: .93rem; margin: 0; }
@media (min-width: 992px) {
  .process-step:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: calc(50% + 56px); width: calc(100% - 112px); border-top: 2px dashed var(--teal-100); }
}

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(2.5rem, 5vw, 4rem); color: #fff; background: linear-gradient(120deg, #115c56 0%, #17766e 50%, #26a79c 100%); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -90px; bottom: -160px; background: radial-gradient(circle, rgba(52,191,183,.5), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); height: 100%; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-item .icon-box { width: 50px; height: 50px; font-size: 1.3rem; margin: 0; flex: 0 0 auto; }
.contact-item h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-item address, .contact-item p { margin: 0; color: var(--ink-500); font-style: normal; }
.placeholder-tag { display: inline-block; background: #fff7e0; border: 1px dashed #e0c25a; color: #6b5200; border-radius: 8px; padding: .15rem .6rem; font-size: .88rem; }
.form-label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-900); }
.form-control { border-radius: 12px; border: 1.5px solid var(--line); padding: .8rem 1rem; color: var(--ink-900); }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-100); }
.form-control.is-invalid { border-color: #c0392b; background-image: none; }
.form-control.is-valid { border-color: var(--teal); background-image: none; }
.invalid-feedback { font-size: .85rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert-brand { border-radius: var(--radius-sm); border: 1px solid; padding: 1.1rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start; }
.alert-brand i { font-size: 1.4rem; line-height: 1.3; }
.alert-brand p { margin: 0; color: inherit; }
.alert-success-brand { background: var(--teal-50); border-color: var(--teal); color: var(--teal-800); }
.alert-error-brand { background: #fdf0ee; border-color: #e3a79f; color: #8a2a1d; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.g-recaptcha { transform-origin: 0 0; }
@media (max-width: 380px) { .g-recaptcha { transform: scale(.88); } }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.45rem; margin-top: 2.6rem; padding-top: .4rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 .7rem; padding: 0; }
.legal-toc ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.legal-toc li { margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding: 4.5rem 0 0; font-size: .95rem; }
.site-footer p { color: rgba(255,255,255,.72); }
.footer-logo { background: #fff; border-radius: 14px; padding: .6rem 1rem; display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img { height: 46px; width: auto; display: block; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--teal-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a i { font-size: .7rem; color: var(--teal); }
.footer-address { font-style: normal; line-height: 1.75; }
.footer-address i { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.4rem 0; font-size: .87rem; }
.footer-bottom a { margin-left: 1.2rem; }
.btn-directions { display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .4rem 1rem; font-size: .88rem; }
.btn-directions:hover { border-color: var(--teal-light); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal-700); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 1020; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-800); }

/* ---------- Reveal (progressive enhancement only) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
