:root {
  --navy: #0f3f7a;
  --navy-2: #1565a8;
  --orange: #0b78c2;
  --cyan: #6fcbdc;
  --orange-d: #095f9a;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e3e8ee;
  --bg-soft: #f4f7fa;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 63, 122, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--orange-d); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #dfe7f1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.hero .eyebrow, .section.dark .eyebrow { color: var(--cyan); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Top bar + header */
.topbar { background: var(--navy); color: #c9d5e4; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
header.site { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; line-height: 1.05; }
.brand img { width: 58px; height: auto; flex: none; }
.brand span { font-size: 1.05rem; letter-spacing: .04em; }
.brand span small { display: block; font-size: .66rem; letter-spacing: .22em; color: var(--orange); font-weight: 700; }
footer.site .brand span small { color: var(--cyan); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
nav.main a { display: block; padding: 10px 14px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
nav.main a:hover, nav.main a.active { color: var(--orange); }
nav.main li { position: relative; }
nav.main .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--shadow); border-radius: 8px; padding: 8px; display: none; flex-direction: column; align-items: stretch; }
nav.main li:hover > .sub, nav.main li:focus-within > .sub { display: flex; }
nav.main .sub a { font-weight: 500; padding: 8px 12px; }
nav.main .sub a:hover { background: var(--bg-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; }
.header-cta { padding: 11px 22px; }

/* Hero */
.hero { position: relative; color: #fff; background:
  linear-gradient(110deg, rgba(12,52,104,.95) 0%, rgba(15,63,122,.85) 50%, rgba(21,101,168,.5) 100%),
  url("../img/hero.svg") right bottom / cover no-repeat, var(--navy); }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding: 90px 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p { font-size: 1.12rem; color: #d6e0ec; max-width: 560px; }
.badges { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50px; padding: 8px 16px 8px 8px; font-size: .85rem; font-weight: 600; }
.badge i { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-style: normal; }

/* Quote card */
.quote-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.quote-card h3 { margin-bottom: 4px; }
.quote-card .sub-t { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
form .f { margin-bottom: 12px; }
form input, form select, form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .95rem; background: #fbfcfd; color: var(--ink); }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
form button { width: 100%; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 10px; font-weight: 600; font-size: .9rem; }
.form-status.ok { color: #1b8a4b; }
.form-status.err { color: #c0392b; }

/* Feature strip */
.features { margin-top: -50px; position: relative; z-index: 2; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; gap: 16px; align-items: flex-start; border-bottom: 4px solid var(--orange); }
.feature .ic { flex: none; width: 54px; height: 54px; border-radius: 12px; background: #e6f4fb; display: grid; place-items: center; }
.feature .ic svg { width: 28px; height: 28px; stroke: var(--orange); }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.art { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.checks li { padding-left: 28px; position: relative; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .7rem; display: grid; place-items: center; margin-top: 3px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { height: 170px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); display: grid; place-items: center; }
.card .thumb svg { width: 74px; height: 74px; stroke: #fff; }
.card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .more { font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--orange), #3fb0d8); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; }
.stars { color: #ffd166; letter-spacing: 3px; font-size: 1.2rem; }
.cta-band .stars { color: #fff; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.review p { font-style: italic; color: var(--muted); }
.review .who { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.review .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 18px; }

/* Community */
.community { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.community .ic { width: 96px; height: 96px; border-radius: 50%; background: rgba(111,203,220,.18); display: grid; place-items: center; }
.community .ic svg { width: 48px; height: 48px; stroke: var(--orange); }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Page header */
.page-hero { background: linear-gradient(110deg, var(--navy), var(--navy-2)); color: #fff; padding: 70px 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 8px; }
.crumbs { color: #b8c6d8; font-size: .9rem; }
.crumbs a { color: #fff; text-decoration: none; }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 0; }
.svc .ic { width: 110px; height: 110px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); display: grid; place-items: center; }
.svc .ic svg { width: 56px; height: 56px; stroke: #fff; }
.svc ul { color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: 2.4rem; color: var(--orange); }

/* Calculator */
.calc { display: grid; grid-template-columns: 220px 1fr 320px; gap: 24px; align-items: start; }
.cats { display: flex; flex-direction: column; gap: 6px; }
.cats button { text-align: left; padding: 12px 16px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.cats button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.item { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #fff; }
.item h4 { font-size: .95rem; margin-bottom: 2px; }
.item small { color: var(--muted); display: block; margin-bottom: 10px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--orange); color: #fff; }
.qty output { min-width: 24px; text-align: center; font-weight: 700; }
.summary { position: sticky; top: 100px; background: var(--bg-soft); border-radius: 12px; padding: 22px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 14px; max-height: 220px; overflow: auto; font-size: .9rem; }
.summary li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.totals div { background: #fff; border-radius: 8px; padding: 10px; text-align: center; }
.totals b { display: block; font-size: 1.4rem; color: var(--orange); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
article.post { scroll-margin-top: 100px; }
.post-body { max-width: 820px; margin: 0 auto; padding: 50px 0; border-bottom: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #e6f4fb; display: grid; place-items: center; font-style: normal; }
.info-list b { display: block; color: var(--navy); }

/* Footer */
footer.site { background: #0a2c57; color: #a9b8cb; padding: 70px 0 0; font-size: .95rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site h4 { color: #fff; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }
footer.site a { color: #dbe4ef; text-decoration: none; }
footer.site a:hover { color: var(--orange); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
footer.site .brand { color: #fff; margin-bottom: 16px; }
footer.site .brand img { background: #fff; border-radius: 10px; padding: 6px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; fill: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 20px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Floating call button */
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.float-call svg { width: 26px; height: 26px; fill: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .calc { grid-template-columns: 1fr; }
  .cats { flex-direction: row; flex-wrap: wrap; }
  .summary { position: static; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); display: none; max-height: calc(100vh - 80px); overflow: auto; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 10px 16px 20px; }
  nav.main .sub { position: static; display: flex; box-shadow: none; padding: 0 0 0 14px; }
  .header-cta { display: none; }
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .features .grid, .cards, .reviews, .posts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  form .row, .checks { grid-template-columns: 1fr; }
  .svc, .community { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
}

/* Photos */
.hero.has-photo { background: linear-gradient(110deg, rgba(12,52,104,.94) 0%, rgba(15,63,122,.82) 55%, rgba(21,101,168,.45) 100%), url("../img/photos/hero.jpg") center / cover no-repeat, var(--navy); }
.card .thumb:has(img) { display: block; overflow: hidden; }
.card .thumb img { width: 100%; height: 170px; object-fit: cover; }
.svc .ic.photo { width: 220px; height: 160px; padding: 0; overflow: hidden; }
.svc .ic.photo img { width: 100%; height: 100%; object-fit: cover; }
.svc:has(.ic.photo) { grid-template-columns: 220px 1fr; }
.art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 600 / 440; }
@media (max-width: 560px) { .svc .ic.photo { width: 100%; height: 200px; } .svc:has(.ic.photo) { grid-template-columns: 1fr; } }

/* WhatsApp */
.float-wa { position: fixed; right: 18px; bottom: 88px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
.btn-wa { background: #25d366; color: #fff; width: 100%; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-wa:hover { background: #1ebe5a; }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; }

/* Photo attachments */
form input[type=file] { padding: 10px; background: #fff; font-size: .85rem; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.thumbs div { position: relative; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.thumbs button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: .75rem; line-height: 1; cursor: pointer; padding: 0; }
