/* =========================================================
   Clever Fixers — site styles
   Brand: navy #03265C, orange #FF6B01
   ========================================================= */
:root {
  --navy: #03265c;
  --navy-700: #0b3577;
  --orange: #ff6b01;
  --orange-600: #e05d00;
  --ink: #0f1b2d;
  --body: #3d4a5c;
  --muted: #6b7789;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-warm: #fff6ef;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .06);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d5def0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--body); }
.text-orange { color: var(--orange); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--bg-warm); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .96rem;
}
.nav-links a:hover { color: var(--orange-600); }
.nav-links a[aria-current="page"] { color: var(--orange-600); }
.nav-links .btn { margin-left: 10px; padding: 10px 20px; color: #fff; }
.nav-links .btn:hover, .nav-links .btn[aria-current="page"] { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0; color: var(--ink);
}
.nav-toggle svg { margin: auto; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-links .btn { margin: 10px 0 0; }
  .brand img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero .lead { max-width: 580px; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--orange); flex: none; }

.fix-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px;
}
.fix-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fix-row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); }
.fix-row:first-of-type { border-top: 0; padding-top: 0; }
.fix-row .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.dot--problem { background: #fdecec; color: #b42318; }
.dot--fix { background: var(--bg-warm); color: var(--orange-600); }
.dot--result { background: #e8f1ff; color: var(--navy); }
.fix-row strong { display: block; color: var(--ink); font-size: .98rem; }
.fix-row span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.page-hero { padding: 72px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 720px; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b5bfcc; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-600); }

/* ---------- Industries strip ---------- */
.industries { padding: 28px 0; border-bottom: 1px solid var(--line); }
.industries ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.industries li {
  font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #cfd6e2; box-shadow: var(--shadow); }
.card h3 { margin-top: 2px; }
.card p { font-size: .97rem; margin-bottom: 0; }
.card .more { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .93rem; text-decoration: none; color: var(--navy); }
.card .more:hover { color: var(--orange-600); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-warm); color: var(--orange-600); margin-bottom: 18px;
}
.icon--navy { background: #e9eef7; color: var(--navy); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 800; font-size: 1rem; color: var(--orange); margin-bottom: 10px; letter-spacing: .04em;
}
.step p { font-size: .96rem; margin: 0; }
.section--navy .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--navy .step p { color: #c2cde2; }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-warm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23E05D00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center/20px no-repeat;
}
.checklist strong { color: var(--ink); }

/* Portfolio */
.project { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project__top { padding: 26px 28px 0; }
.tag {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: #e9eef7; border-radius: 6px; padding: 4px 10px; margin-bottom: 14px;
}
.project dl { margin: 0; padding: 18px 28px 26px; display: grid; gap: 12px; }
.project dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.project dd { margin: 2px 0 0; font-size: .95rem; line-height: 1.6; }
.project__stack { margin-top: auto; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--bg-soft); display: flex; flex-wrap: wrap; gap: 6px; }
.project__stack span { font-size: .8rem; font-weight: 600; color: var(--body); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.service-block .checklist { columns: 2; column-gap: 32px; }
.service-block .checklist li { break-inside: avoid; }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.service-nav a { font-size: .9rem; font-weight: 600; text-decoration: none; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.service-nav a:hover { border-color: var(--orange); color: var(--orange-600); }

/* Tech */
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech span { font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* Stats / facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.fact strong { display: block; font-size: 1.05rem; color: var(--ink); }
.fact span { font-size: .93rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--orange);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; }

/* CTA band */
.cta {
  background: var(--navy); color: #d5def0; border-radius: 22px; padding: 56px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; max-width: 620px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #cfd6e2; border-radius: var(--radius-sm); padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(3, 38, 92, .12); }
.form-note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--orange-600); }

/* ---------- Footer ---------- */
.site-footer { background: #061a3a; color: #aab6cc; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #aab6cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* ---------- Floating contact buttons ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .2s; border: 2px solid #fff;
}
.float-btn:hover { transform: scale(1.07); color: #fff; }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--navy); }
.float-btn svg { width: 28px; height: 28px; }

/* ---------- Images / media slots ---------- */
.media { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--hero { aspect-ratio: 8 / 9; border-radius: 24px; }

.card--media { padding: 0 0 26px; overflow: hidden; display: flex; flex-direction: column; }
.card--media .media { border-radius: 0; margin-bottom: 20px; }
.card--media > :not(.media) { margin-left: 24px; margin-right: 24px; }
.card--media .more { margin-top: auto; padding-top: 14px; }
.project .media { border-radius: 0; }

.hero-visual { position: relative; padding-left: 64px; }
.hero-visual .fix-card { position: absolute; left: 0; bottom: -36px; width: min(300px, 80%); padding: 18px 20px; }
.hero-visual .fix-row { padding: 8px 0; }
.hero-visual .fix-card__label { margin-bottom: 8px; }
.hero-visual .fix-row span { font-size: .86rem; }

.stats { padding: 44px 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.stats-grid div:nth-child(2n) strong { color: var(--orange); }
.stats-grid span { color: var(--muted); font-weight: 600; font-size: .95rem; }

.split--media { align-items: center; }
.split .media { margin-top: 8px; }
.service-block .media { margin-top: 22px; }

.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.founder .media { border-radius: 0; }
.founder__body { padding: 24px 26px 28px; }
.founder__body h3 { font-size: 1.35rem; margin-bottom: 2px; }
.founder__role { color: var(--orange-600); font-weight: 700; font-size: .92rem; }
.founder__body p:not(.founder__role) { font-size: .96rem; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.founder .btn--sm svg { color: #0a66c2; }

@media (max-width: 880px) {
  .hero-visual { padding-left: 0; }
  .hero-visual .fix-card { position: relative; bottom: auto; width: auto; margin: -64px 16px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .founders { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid, .service-block { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .section { padding: 68px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .facts, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .service-block .checklist { columns: 1; }
  .hero { padding: 56px 0 48px; }
  .form { padding: 22px; }
  .float-btn { width: 52px; height: 52px; }
}
