:root {
  --navy: #1D2C3F;          /* dark blue: buttons, headings accents */
  --navy-deep: #16222f;     /* footer */
  --accent: #1D2C3F;        /* primary buttons = dark blue */
  --accent-dark: #121c28;
  --blue: #2A7AB7;          /* medium blue: labels, icons */
  --sky: #e8f3fc;           /* light blue background */
  --sky-2: #cfe2f2;         /* light blue lines / borders */
  --wa: #1fa855;
  --wa-dark: #178a45;
  --bg: #ffffff;
  --bg-alt: #f2f8fd;
  --text: #1D2C3F;
  --muted: #4A5568;
  --border: #d9e6f2;
  --card: #ffffff;
  --on-dark: #e9f2fb;
  --on-dark-muted: #a9c3dc;
  --error: #b42318;
  --success: #067647;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(29, 44, 63, .06), 0 8px 24px rgba(29, 44, 63, .07);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--bg); padding: 8px 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--sky); color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--sky-2); }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { text-decoration: none; color: var(--navy); font-weight: 600; }
.topbar-contacts { display: flex; gap: 20px; }
@media (max-width: 760px) { .topbar-row > span:first-child, .topbar-contacts a[href^="mailto"] { display: none; } .topbar-row { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-symbol { width: 40px; height: 40px; flex: none; }
.logo-text { font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif; font-weight: 500; font-size: 1.45rem; letter-spacing: .16em; line-height: 1; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { text-decoration: none; padding: 8px 11px; border-radius: 6px; font-weight: 550; font-size: .95rem; }
.main-nav a:not(.btn):hover { background: var(--sky); }
.main-nav a[aria-current] { color: var(--blue); background: var(--sky); }
.main-nav .btn { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; color: var(--text); }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; content: ""; transition: transform .2s;
}
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -7px; }
.nav-toggle span:first-child::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .main-nav .btn { margin: 8px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa-outline { background: transparent; color: var(--wa); border-color: var(--wa); }
.btn-wa-outline:hover { background: var(--wa); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { display: flex; width: 100%; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--sky); color: var(--text); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: .7em; }
.eyebrow-light { color: var(--blue); }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--text); padding: 110px 0 96px; border-bottom: 1px solid var(--sky-2);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 45%, rgba(232, 243, 252, .55) 100%),
    var(--hero-img, none) center / cover no-repeat,
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(43, 123, 191, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(43, 123, 191, .07) 39px 40px),
    linear-gradient(135deg, #ffffff 0%, #e8f3fc 60%, #d4e8f8 100%);
}
.hero-inner { max-width: 1160px; }
.hero h1 { max-width: 22ch; color: var(--navy); }
.hero .lead { max-width: 58ch; font-size: 1.18rem; color: var(--muted); margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--text); font-weight: 550; }
.hero-points .icon { color: var(--blue); margin-right: 4px; }
@media (max-width: 640px) { .hero { padding: 64px 0 56px; } }

.page-hero { background: linear-gradient(135deg, #ffffff, var(--sky) 70%, var(--sky-2)); color: var(--navy); padding: 56px 0 52px; border-bottom: 1px solid var(--sky-2); }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-hero-small { padding: 44px 0 36px; }
.page-hero-small h1 { margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--blue); }
.crumbs span { margin: 0 4px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.service-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px;
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.service-num { position: absolute; top: 20px; right: 22px; font-weight: 800; font-size: 1.6rem; color: var(--sky-2); }
.service-icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--sky); color: var(--blue); margin-bottom: 18px; }
.service-card p { color: var(--muted); }
.mini-list { margin: 0 0 18px; padding-left: 1.1em; color: var(--muted); font-size: .93rem; }
.mini-list li { margin-bottom: 4px; }
.more { margin-top: auto; color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Cycle ---------- */
.cycle { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cycle li { background: #fff; box-shadow: var(--shadow); padding: 28px 24px; position: relative; }
.cycle li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.cycle li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 960px) { .cycle li { border-radius: var(--radius) !important; } .cycle { gap: 12px; } }
.cycle-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.cycle p { color: var(--muted); margin: 0; }

/* ---------- Reasons ---------- */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.reasons li { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.reason-num { font-weight: 800; color: var(--blue); font-size: 1.3rem; line-height: 1.3; }
.reasons p { margin: 0; color: var(--muted); }

/* ---------- Method ---------- */
.method { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(5, 1fr); counter-reset: m; }
.method li { position: relative; }
.method li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: var(--sky-2); }
.method-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; }
.method p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; gap: 0; }
  .method li { padding: 0 0 24px 64px; }
  .method-num { position: absolute; left: 0; top: 0; }
  .method li:not(:last-child)::after { top: 50px; bottom: 4px; left: 22px; right: auto; width: 2px; height: auto; }
  .method h3 { padding-top: 10px; }
}

/* ---------- Projects ---------- */
.projects { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.project { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba figure { margin: 0; position: relative; }
.ba figcaption { position: absolute; left: 8px; top: 8px; background: rgba(11, 32, 51, .85); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.ba figure:last-child figcaption { background: var(--accent); }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-placeholder { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--bg-alt) 0 10px, var(--border) 10px 11px); color: var(--muted); font-size: .85rem; font-weight: 600; }
.photo-placeholder span { opacity: 0; }
.photo-wide { aspect-ratio: 16 / 9; border-radius: var(--radius); margin-top: 32px; }
.photo-wide span { opacity: 1; }
.project-body { padding: 20px 22px 8px; }
.project-body p { color: var(--muted); font-size: .95rem; margin-bottom: .7em; }
.project-body strong { color: var(--text); }

/* ---------- Audiences ---------- */
.audiences { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.audience { border-top: 3px solid var(--blue); background: var(--sky); padding: 22px; border-radius: 0 0 var(--radius) var(--radius); }
.audience p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 48px 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn-accent { background: #fff; color: var(--navy); }
.cta-band .btn-accent:hover { background: var(--sky); }

/* ---------- Content pages ---------- */
.content-grid { display: grid; gap: 48px; }
@media (min-width: 920px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose .intro { font-size: 1.2rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--sky); padding: 14px 16px; border-radius: 8px; font-weight: 550; }
.checklist .icon { color: var(--blue); margin-top: 3px; }
.bullets { padding-left: 1.2em; color: var(--muted); }
.bullets li { margin-bottom: 6px; }
.side-box { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-box h2 { font-size: 1.3rem; margin: 0; }
.side-box p { margin: 0; color: var(--muted); }
.side-contact a, .contact-list a { text-decoration: none; font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 12px; }
.contact-list .icon { color: var(--blue); margin-right: 6px; }
.legal h2 { font-size: 1.2rem; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: .93rem; }
.two-col { display: grid; gap: 16px; }
@media (min-width: 560px) { .two-col { grid-template-columns: 1fr 1fr; } }
input, select, textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.check a { color: var(--blue); }
.hint { margin: 0; font-size: .88rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status { margin: 0; min-height: 1.5em; font-weight: 650; }
.status.error { color: var(--error); }
.status.success { color: var(--success); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: 64px 0 0; font-size: .93rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-grid h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.logo-light { color: #fff; margin-bottom: 14px; }
.footer-tag { max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 20px; padding-bottom: 96px; font-size: .85rem; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; gap: 10px; align-items: center; }
.float-actions a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.float-wa { background: var(--wa); padding: 12px 18px 12px 14px; }
.float-wa:hover { background: var(--wa-dark); }
.float-wa .icon { width: 26px; height: 26px; }
.float-quote { background: var(--accent); padding: 14px 18px; }
.float-quote:hover { background: var(--accent-dark); }
@media (min-width: 761px) { .float-quote { display: none !important; } }
@media (max-width: 760px) {
  .float-actions { left: 12px; right: 12px; bottom: 12px; }
  .float-actions a { flex: 1; justify-content: center; border-radius: 10px; white-space: nowrap; padding: 13px 10px; font-size: .95rem; }
}

/* ---------- Additions: preview bar, extra service, example tag, tables ---------- */
.preview-bar { background: #fde68a; color: #4a3500; text-align: center; font-size: .82rem; font-weight: 650; padding: 6px 16px; }
.extra-service {
  background: var(--bg-alt);
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 22px; text-decoration: none;
  border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted);
}
.extra-service strong { color: var(--text); }
.extra-service > .icon { color: var(--blue); width: 26px; height: 26px; }
.extra-service > .icon:last-child { margin-left: auto; width: 20px; height: 20px; }
.extra-service:hover { border-color: var(--blue); background: var(--sky); }
.project { position: relative; }
.example-tag { display: inline-block; margin: 0 0 10px !important;
  background: #fde68a; color: #4a3500; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--sky); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.project-body .example-tag { font-size: .7rem; padding: 2px 9px; color: #4a3500; }
