/* ===========================================================
   proceswinst.nl — Strategisch procesoptimalisatie en groei
   =========================================================== */

:root {
  --blue-900: #07203a;
  --blue-800: #0a2f54;
  --blue:     #0d5aa7;
  --blue-400: #2b7fcf;
  --teal:     #16a5c0;
  --green:    #3cb650;
  --ink:      #0f2a43;
  --body:     #44566b;
  --muted:    #7a8aa0;
  --line:     #e6ebf2;
  --bg:       #ffffff;
  --bg-soft:  #f4f7fb;
  --bg-soft2: #eef3f9;

  --grad:     linear-gradient(100deg, #0d5aa7 0%, #16a5c0 52%, #3cb650 100%);
  --grad-rev: linear-gradient(100deg, #3cb650 0%, #16a5c0 48%, #0d5aa7 100%);

  --radius:   22px;
  --radius-sm: 14px;
  --shadow:   0 24px 60px -24px rgba(13, 42, 77, .22);
  --shadow-sm: 0 12px 30px -16px rgba(13, 42, 77, .25);
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
  --font:     "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text { color: var(--blue); }
.hero .grad-text { color: #3fc2e6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 16px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-grad {
  background: var(--grad); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(22,165,192,.6);
}
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(22,165,192,.75); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--blue-400); color: var(--blue); transform: translateY(-3px); }

/* ---------- Eyebrow badge ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.eyebrow.on-dark { color: #7fe3ff; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background .4s var(--ease), box-shadow .4s, padding .4s;
}
.header.scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(13,42,77,.3); padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand-badge { display: inline-flex; align-items: center; }
.brand-badge img { height: 34px; width: auto; transition: filter .4s; }
/* White logo over the dark hero; original colors once the header turns white */
.header:not(.scrolled) .brand-badge img { filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: #eaf2ff; position: relative; transition: color .25s;
}
.header.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue); transition: width .3s var(--ease); border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.header.scrolled .nav-links a:hover { color: var(--blue); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .3s; }
.header.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: inherit; transition: .3s; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); background: var(--ink); }
body.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

/* ---------- Mobile drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); z-index: 99;
  background: #fff; transform: translateX(100%); transition: transform .45s var(--ease);
  padding: 110px 34px 40px; box-shadow: -30px 0 60px -30px rgba(13,42,77,.4);
  display: flex; flex-direction: column; gap: 6px;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav a { font-size: 19px; font-weight: 600; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; justify-content: center; }
.overlay { position: fixed; inset: 0; background: rgba(7,32,58,.5); opacity: 0; visibility: hidden; transition: .4s; z-index: 98; }
body.menu-open .overlay { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(7,32,58,.80) 0%, rgba(7,32,58,.72) 55%, rgba(6,26,48,.86) 100%),
    url('assets/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden; padding: 150px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none;
}
.hero-glow { opacity: .3; }
.hero-glow.g1 { width: 520px; height: 520px; background: #14b8c9; top: -140px; right: -80px; }
.hero-glow.g2 { width: 460px; height: 460px; background: #1f7fe0; bottom: -180px; left: -120px; opacity: .24; }

.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .line2 { display: block; }
.hero p.lead { color: #c3d4e8; font-size: clamp(17px, 2vw, 20px); max-width: 620px; margin: 26px 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 58px; }
.hero-badge { display: flex; align-items: center; gap: 12px; color: #cfe0f2; font-size: 14.5px; font-weight: 500; }
.hero-badge svg { width: 22px; height: 22px; color: #4fd6a0; flex: none; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2;
  color: #93aecb; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid #3f6a97; border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: #6fd0ec; border-radius: 3px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1; top:7px} 70%{opacity:0; top:18px} 100%{opacity:0} }

/* ---------- Section basics ---------- */
section { position: relative; }
.pad { padding: 110px 0; }
.pad-t { padding-top: 110px; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 20px 0 16px; }
.sec-head p { color: var(--body); font-size: 18px; }

/* ---------- Marquee / feature strip ---------- */
.strip { background: var(--ink); overflow: hidden; }
.strip-track { display: flex; gap: 56px; padding: 22px 0; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.strip-item { display: inline-flex; align-items: center; gap: 14px; color: #dbe7f5; font-size: 18px; font-weight: 600; }
.strip-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { height: 196px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 0 30px 36px; }
.card-ico {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); margin: -42px 0 22px; position: relative; z-index: 2;
}
.card-ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--body); }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 14.5px; color: var(--blue); }
.card .more svg { width: 15px; height: 15px; transition: transform .3s; }
.card:hover .more svg { transform: translateX(5px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { margin-bottom: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 30px; }
.values li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.values li svg { width: 22px; height: 22px; color: var(--green); flex: none; }

.about-visual { position: relative; margin-bottom: 40px; }
.about-media img { width: 100%; height: 470px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-float {
  position: absolute; left: 26px; right: 26px; bottom: -36px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); padding: 24px 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.about-float .stat { text-align: center; }
.about-float .num { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.about-float .num .suf { color: var(--teal); }
.about-float .lbl { font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ---------- Approach / process ---------- */
.approach { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 32px 26px; position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.step .n { font-size: 15px; font-weight: 800; color:#fff; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.step h4 { font-size: 18.5px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--body); }

/* ---------- Testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tcard { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; margin-bottom: 18px; color: #f5b445; }
.stars svg { width: 18px; height: 18px; }
.tcard .quote { color: var(--ink); font-size: 16.5px; font-weight: 500; }
.tcard .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.tcard .av { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color:#fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.tcard .who b { color: var(--ink); font-size: 15.5px; display: block; }
.tcard .who span { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* ---------- CTA / contact ---------- */
.cta {
  background: var(--blue-800); color:#fff; border-radius: 32px;
  padding: 72px 60px; position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.cta h2 { color:#fff; font-size: clamp(30px, 4vw, 44px); }
.cta p { color:#c3d4e8; margin: 18px 0 30px; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-contacts { display: grid; gap: 18px; }
.cta-contact { display:flex; align-items:center; gap:16px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px 22px; }
.cta-contact .ci { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); display:flex; align-items:center; justify-content:center; color:#fff; flex:none; }
.cta-contact .ci svg { width: 22px; height: 22px; }
.cta-contact span { display: block; margin-bottom: 5px; font-size: 12.5px; color:#9db6d3; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.cta-contact b { display: block; color:#fff; font-size: 18px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding: 24px 0; display:flex; align-items:center; justify-content:space-between; gap: 20px; font-size: 18px; font-weight: 700; color: var(--ink); font-family: var(--font); }
.faq-q .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft2); display:flex; align-items:center; justify-content:center; flex:none; transition: .3s; color: var(--blue); }
.faq-q .ic svg { width: 16px; height: 16px; transition: transform .3s; }
.faq-item.open .faq-q .ic { background: var(--blue); color:#fff; }
.faq-item.open .faq-q .ic svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 24px; color: var(--body); font-size: 15.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #a9c0da; padding: 80px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand-badge { display: inline-block; margin-bottom: 22px; }
.footer .brand-badge img { filter: brightness(0) invert(1); }
.footer-about p { font-size: 15px; max-width: 320px; color:#9fb6d1; }
.socials { display:flex; gap: 12px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); display:flex; align-items:center; justify-content:center; color:#cfe0f2; transition:.3s; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); color:#fff; }
.socials svg { width: 18px; height: 18px; }
.footer h5 { color:#fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 20px; }
.footer-col a { display:block; font-size: 15px; padding: 7px 0; color:#9fb6d1; transition:.25s; }
.footer-col a:hover { color:#fff; padding-left: 5px; }
.news p { font-size: 14.5px; margin-bottom: 18px; color:#9fb6d1; }
.news form { display:flex; flex-direction: column; gap: 10px; }
.news input { background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; color:#fff; font-family: var(--font); font-size: 14.5px; }
.news input::placeholder { color:#7f99b7; }
.news input:focus { outline:none; border-color: var(--teal); }
.news button { justify-content:center; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap: 20px; padding-top: 28px; flex-wrap: wrap; font-size: 14px; color:#8aa3c0; }
.footer-bottom .links { display:flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color:#fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .09s; }
[data-delay="2"] { transition-delay: .18s; }
[data-delay="3"] { transition-delay: .27s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-right .btn-grad { display: none; }
  .cards3, .tcards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pad { padding: 72px 0; }
  .cards3, .tcards, .steps, .values, .footer-top { grid-template-columns: 1fr; }
  .about-visual { margin-bottom: 68px; }
  .about-media img { height: 340px; }
  .about-float { padding: 20px 18px; gap: 10px; }
  .about-float .lbl { font-size: 11px; }
  .cta { padding: 48px 26px; }
  .hero { padding: 130px 0 90px; }
  .hero-badges { gap: 14px 24px; }
}

/* ============================================================
   Subpages, navigation dropdown, forms, legal, cookie UI
   ============================================================ */

/* ----- Inner-page header (always light) ----- */
body.inner .header { background: rgba(255,255,255,.95); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgba(13,42,77,.25); }
body.inner .header .nav-links a { color: var(--ink); }
body.inner .header:not(.scrolled) .brand-badge img { filter: none; }
body.inner .header:not(.scrolled) .menu-toggle span { background: var(--ink); }
body.inner .nav-links a:hover { color: var(--blue); }

/* ----- Nav dropdown ----- */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; margin-bottom: 2px; opacity: .6; position: static; background: none; }
.has-dropdown > a:hover::after { width: 6px; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(14px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; min-width: 266px; opacity: 0; visibility: hidden; transition: .25s var(--ease); }
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(10px); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ink) !important; font-size: 14.5px; font-weight: 600; }
.dropdown a::after { content: none !important; }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue) !important; }
.dropdown a small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 3px; }

/* ----- Page hero ----- */
.page-hero { background: var(--blue-800); color: #fff; padding: 160px 0 78px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(120% 90% at 75% 10%, #000 0%, transparent 72%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); }
.page-hero p { color: #c3d4e8; max-width: 640px; margin-top: 18px; font-size: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: 13.5px; color: #9db6d3; margin-bottom: 22px; font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .45; }
.breadcrumb .cur { color: #fff; }

/* ----- Prose / legal ----- */
.prose { max-width: 820px; }
.prose > p:first-of-type { font-size: 18px; color: var(--ink); }
.prose h2 { font-size: 25px; margin: 42px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.prose .updated { display: inline-block; color: var(--muted); font-size: 14px; background: var(--bg-soft); padding: 8px 16px; border-radius: 100px; margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 700; background: var(--bg-soft); }

/* ----- Service detail ----- */
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.detail-grid img { width: 100%; height: 440px; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list li svg { width: 23px; height: 23px; color: var(--green); flex: none; margin-top: 1px; }
.feature-list li b { color: var(--ink); display: block; margin-bottom: 2px; }
.feature-list li span { font-size: 14.5px; color: var(--body); }

/* ----- Mini service cards ----- */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s; }
.mini-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.mini-card .mini-ico { width: 48px; height: 48px; border-radius: 13px; background: rgba(13,90,167,.1); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mini-card .mini-ico svg { width: 24px; height: 24px; }
.mini-card h4 { font-size: 18px; margin-bottom: 9px; }
.mini-card p { font-size: 14.5px; color: var(--body); }
.mini-card a { color: var(--blue); font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 7px; align-items: center; margin-top: 16px; }
.mini-card a svg { width: 15px; height: 15px; transition: transform .3s; }
.mini-card:hover a svg { transform: translateX(4px); }

/* ----- Contact ----- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .25s; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--blue-400); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success { display: none; background: rgba(60,182,80,.12); color: #2e7d33; border-radius: 12px; padding: 16px 18px; font-weight: 600; font-size: 14.5px; margin-bottom: 20px; }
.form-success.show { display: block; }
.contact-aside { display: grid; gap: 16px; }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: 16px; padding: 22px; }
.contact-tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.contact-tile .ic svg { width: 20px; height: 20px; }
.contact-tile span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: block; margin-bottom: 4px; }
.contact-tile b { color: var(--ink); font-size: 16px; }
.contact-tile b a:hover { color: var(--blue); }

/* ----- Cookie banner ----- */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 26px; display: flex; gap: 24px; align-items: center; justify-content: space-between; max-width: 1000px; margin: 0 auto; transform: translateY(160%); transition: transform .5s var(--ease); }
.cookie-banner.show { transform: none; }
.cookie-banner p { font-size: 14px; color: var(--body); margin: 0; }
.cookie-banner p b { color: var(--ink); display: block; margin-bottom: 3px; font-size: 15px; }
.cookie-banner a { color: var(--blue); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: 14px; }

/* ----- Cookie modal ----- */
.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(7,32,58,.55); z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: .3s; }
.cookie-modal-overlay.show { opacity: 1; visibility: visible; }
.cookie-modal { background: #fff; border-radius: 22px; max-width: 560px; width: 100%; max-height: 88vh; overflow: auto; padding: 36px; box-shadow: var(--shadow); transform: translateY(16px); transition: .3s; }
.cookie-modal-overlay.show .cookie-modal { transform: none; }
.cookie-modal h3 { font-size: 22px; margin-bottom: 10px; }
.cookie-modal > p { font-size: 14.5px; color: var(--body); margin-bottom: 22px; }
.cookie-row { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.cookie-row-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.cookie-row h4 { font-size: 16px; }
.cookie-row p { font-size: 13.5px; color: var(--body); margin-top: 8px; }
.toggle { position: relative; width: 46px; height: 26px; flex: none; }
.toggle input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; z-index: 2; }
.toggle .track { position: absolute; inset: 0; background: #cdd7e4; border-radius: 20px; transition: .3s; }
.toggle .track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + .track { background: var(--blue); }
.toggle input:checked + .track::before { transform: translateX(20px); }
.toggle input:disabled + .track { background: var(--green); opacity: .8; }
.toggle input:disabled { cursor: not-allowed; }
.cookie-modal-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.cookie-modal-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

/* ----- Subpage responsive ----- */
@media (max-width: 860px) {
  .contact-layout, .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-grid img { height: 300px; }
  .mini-cards { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
