/* ==========================================================
   Theme — brand navy + logo blue on warm white (colours from the Safe Ace logo)
   ========================================================== */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --navy: #0b1d48;
  --navy-2: #12285e;
  --navy-3: #1d3672;
  --ink: #0b1d48;
  --ink-2: #374259;
  --muted: #5d6679;
  --line: #e4e2db;
  --accent: #1559d6;
  --accent-dark: #0f44a8;
  --accent-wash: #e7effc;
  --on-navy: #e9edf5;
  --on-navy-muted: #a3aec4;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(15, 27, 51, 0.06), 0 10px 30px -14px rgba(15, 27, 51, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 12px; }

.grad-text, .hl { color: var(--accent); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; font-family: inherit;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-whatsapp:hover { background: #fff; color: var(--navy); }

/* ==========================================================
   Header (top info strip + solid white bar)
   ========================================================== */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar a { color: var(--on-navy); }
.topbar a:hover { color: var(--accent); }
.topbar .tb-left { display: flex; gap: 22px; }
.mainbar { background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px 8px 8px 2px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.logo-img { height: 44px; width: auto; display: block; }
.logo-tile { background: #fff; border-radius: 10px; padding: 5px 7px; display: grid; place-items: center; }
.logo-tile .logo-img { height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.logo-text small { font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--ink-2); transition: color .2s; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; padding: 11px 20px; }
.nav-toggle {
  display: none; background: var(--navy); border: 0; color: #fff;
  width: 44px; height: 44px; border-radius: 8px; cursor: pointer; font-size: 1.15rem;
}

/* ==========================================================
   Sections / common
   ========================================================== */
section { padding: 100px 0; position: relative; }
.section-white { background: #fff; }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: var(--on-navy-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-head p { font-size: 1.05rem; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.split-head .section-head { margin: 0; }
.hindi { font-weight: 600; color: var(--muted); font-size: 0.65em; }
.section-navy .hindi { color: var(--on-navy-muted); }

/* generic white block (was glass) */
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 5px 11px; border-radius: 6px; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); }

/* Placeholder marker – remove once real content is in */
.ph { outline: 2px dashed rgba(21, 89, 214, 0.55); outline-offset: 3px; border-radius: 4px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Hero (text + large photo)
   ========================================================== */
.hero { padding: 80px 0 90px; background: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero p.lead { font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.checklist { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 30px 0 0; }
.checklist li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.checklist li::before {
  content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent); font-size: 0.75rem; font-weight: 800;
}
.hero-photo { position: relative; }
.hero-photo::before {
  content: ""; position: absolute; right: -28px; top: -28px; width: 62%; height: 70%;
  border-radius: var(--radius-lg); background: var(--accent); z-index: 0;
}
.hero-photo img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
  font-size: 0.88rem; font-weight: 700; color: var(--navy);
}
.badge small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.badge .b-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent); flex-shrink: 0; }
.badge .b-ico svg { width: 20px; height: 20px; }
.badge-1 { left: -34px; bottom: 40px; }
.badge-2 { right: 24px; bottom: -24px; }

/* Tech strip */
.coverage { background: var(--navy); }
.coverage .container { display: flex; align-items: center; gap: 36px; padding: 26px 0; flex-wrap: wrap; justify-content: space-between; }
.coverage small { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.coverage .chips-row { display: flex; gap: 10px 32px; flex-wrap: wrap; }
.coverage .chips-row span { color: var(--on-navy); font-weight: 600; font-size: 0.95rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: 90px 0 80px; background:
    linear-gradient(90deg, rgba(15, 27, 51, 0.96) 0%, rgba(15, 27, 51, 0.88) 55%, rgba(15, 27, 51, 0.6) 100%),
    var(--hero-img, none) center / cover no-repeat, var(--navy);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; color: #fff; }
.page-hero p { max-width: 640px; font-size: 1.08rem; color: var(--on-navy-muted); }
.page-hero .eyebrow { color: var(--accent); }
.crumbs { font-size: 0.85rem; color: var(--on-navy-muted); margin-top: 18px; }
.crumbs a { color: #fff; }

/* ==========================================================
   Cards
   ========================================================== */
.card {
  padding: 32px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.25rem; }
.card p { font-size: 0.96rem; margin: 0; }
.icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 22px; color: var(--accent); background: var(--accent-wash);
}
.icon svg { width: 26px; height: 26px; }
.card .more { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 0.9rem; color: var(--accent); }

/* Services on navy */
.section-navy .card { background: var(--navy-2); border: 1px solid var(--navy-3); }
.section-navy .card p { color: var(--on-navy-muted); }
.section-navy .card .icon { background: rgba(21, 89, 214, 0.14); }
.section-navy .card .num { position: absolute; right: 26px; top: 22px; font-size: 2.4rem; font-weight: 800; color: rgba(255, 255, 255, 0.07); }
.section-navy .tag { background: transparent; border-color: var(--navy-3); color: var(--on-navy-muted); }

/* Feature (why us) */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .icon { margin: 0; flex-shrink: 0; width: 50px; height: 50px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.95rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why-photos { position: relative; }
.why-photos::before {
  content: ""; position: absolute; left: -24px; bottom: -24px; width: 55%; height: 60%;
  border-radius: var(--radius-lg); background: var(--navy); z-index: 0;
}
.why-photos img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Process timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.t-step { position: relative; text-align: center; }
.t-step::before {
  counter-increment: step; content: counter(step);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px;
  position: relative; z-index: 1; background: #fff; border: 2px solid var(--accent); color: var(--accent);
  font-weight: 800; font-size: 1.2rem;
}
.t-step:hover::before { background: var(--accent); color: #fff; }
.t-step h3 { font-size: 1.12rem; }
.t-step p { font-size: 0.94rem; margin: 0; }

/* Old step cards (contact page) */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 86px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 28px; left: 32px; font-size: 1.8rem; font-weight: 800; color: var(--accent);
}

/* Industries */
.industry { padding: 0; }
.industry img { width: 100%; height: 190px; object-fit: cover; }
.industry .body { padding: 26px 28px 30px; }

/* CTA band */
.dark-box {
  background:
    linear-gradient(90deg, rgba(21, 89, 214, 0.97), rgba(21, 89, 214, 0.88) 60%, rgba(21, 89, 214, 0.75)),
    var(--cta-img, none) center / cover no-repeat, var(--accent);
  color: #fff; border-radius: var(--radius-lg); padding: 60px;
}
.dark-box h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.dark-box p { color: rgba(255, 255, 255, 0.9); }
.dark-box .eyebrow { color: #fff; }
.dark-box .eyebrow::before, .dark-box .eyebrow::after { background: #fff; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-row .hero-actions { margin-top: 0; }
.dark-box .btn-whatsapp:hover { color: var(--accent); }
.dark-box .btn-light:hover { background: var(--navy); }

/* Services detail page */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { padding: 9px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); transition: background .2s, border-color .2s; }
.chip:hover { background: var(--accent); border-color: var(--accent); }
.service-detail {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: 44px 44px 44px 48px; margin-bottom: 24px;
  scroll-margin-top: 130px; border-left: 5px solid var(--accent);
}
.service-detail .num { font-size: 0.85rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; }
.service-detail h2 { font-size: 1.85rem; margin-top: 8px; }
.service-detail h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin: 0 0 12px; }
.service-detail .fit { margin-top: 20px; font-size: 0.93rem; padding: 14px 18px; background: var(--accent-wash); border-radius: 10px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-2); font-size: 0.96rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-wash); color: var(--accent); font-size: 0.7rem; font-weight: 800;
}

/* About */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.compare th { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; background: var(--navy); }
.compare th:last-child { background: var(--accent); }
.compare td:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93, 102, 121, 0.4); }
.compare td:last-child { color: var(--ink); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; position: relative; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 28px; align-items: start; }
form .field { margin-bottom: 18px; }
form label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
form label .opt { color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 8px; font: inherit; font-size: 0.95rem;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21, 89, 214, 0.15); }
textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.93rem; padding: 11px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .btn-whatsapp { background: #1f9d55; color: #fff; border-color: #1f9d55; }
.form-actions .btn-whatsapp:hover { background: #17803f; }
.form-error { color: #be123c; font-size: 0.86rem; margin-top: 8px; display: none; }
.form-note { font-size: 0.82rem; margin-top: 14px; }
.info-card { padding: 22px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; border-radius: 14px; transition: border-color .2s; }
.info-card:hover { border-color: var(--accent); }
.info-card .icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.info-card h4 { margin: 0 0 3px; font-size: 1.02rem; }
.info-card p { margin: 0; font-size: 0.92rem; }
.info-card p, .footer-grid li { overflow-wrap: anywhere; }

/* Enterprise / SAP */
.banner-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; }
.banner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 72, 0.85), rgba(11, 29, 72, 0.25) 70%); }
.banner-cap { position: absolute; left: 32px; bottom: 28px; z-index: 1; color: #fff; max-width: 520px; }
.banner-cap small { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9cc0ff; margin-bottom: 6px; }
.banner-cap b { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.2; }
.ent-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ent-intro .section-head { margin: 0; }
.ent-intro .banner-photo { min-height: 280px; }
.ent-intro .banner-photo::after { background: linear-gradient(180deg, transparent, rgba(11, 29, 72, 0.35)); }
.ent-card { scroll-margin-top: 120px; }
@media (max-width: 1000px) { .ent-intro { grid-template-columns: 1fr; } .banner-cap { left: 20px; right: 20px; bottom: 20px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .section-head { margin: 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent); font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; }
@media (max-width: 1000px) { .faq-wrap { grid-template-columns: 1fr; gap: 30px; } }

/* Prose (privacy) */
.prose { max-width: 840px; padding: 48px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { color: var(--muted); }

/* ==========================================================
   Footer (full-width navy)
   ========================================================== */
.site-footer { background: var(--navy); color: var(--on-navy); border-top: 5px solid var(--accent); }
.footer-inner { padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; color: var(--on-navy-muted); font-size: 0.94rem; }
.footer-grid a { color: var(--on-navy-muted); transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--on-navy-muted); }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text small { color: var(--on-navy-muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--navy-3); font-size: 0.86rem; color: var(--on-navy-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .credit { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.footer-bottom .credit b, .footer-bottom .credit a:last-child { color: var(--on-navy); font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--navy-2); color: var(--on-navy); transition: background .2s; }
.socials a:hover { background: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* ==========================================================
   Floating help button
   ========================================================== */
.assist { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.assist-btn {
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px;
  border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 0.92rem;
  background: var(--accent); color: #fff; box-shadow: 0 14px 30px -10px rgba(21, 89, 214, 0.65);
  transition: background .2s;
}
.assist-btn:hover { background: var(--accent-dark); }
.assist-btn svg { width: 22px; height: 22px; }
.assist-panel {
  width: 310px; display: none; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(15, 27, 51, 0.45);
}
.assist-panel.open { display: block; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.assist-panel .ap-head { background: var(--navy); padding: 18px 20px; }
.assist-panel h4 { margin: 0 0 4px; font-size: 1.05rem; color: #fff; }
.assist-panel .ap-head p { font-size: 0.85rem; margin: 0; color: var(--on-navy-muted); }
.assist-options { display: grid; gap: 8px; padding: 16px; }
.assist-options a { padding: 11px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; background: var(--bg); color: var(--ink-2); border: 1px solid transparent; }
.assist-options a:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1000px) {
  .hero-grid, .service-detail, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .grid-4, .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 70px 0; }
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 20px; }
  .nav-links .btn { margin: 8px 16px 16px; display: flex; }
  .grid-2, .grid-3, .grid-4, .form-row, .checks, .timeline { grid-template-columns: 1fr; }
  .hero-photo::before { right: -12px; top: -12px; }
  .badge-1 { left: 10px; bottom: 20px; }
  .badge-2 { display: none; }
  .why-photos::before { left: -12px; bottom: -12px; }
  .service-detail, .dark-box, .prose { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .assist-panel { width: calc(100vw - 44px); }
  .assist-btn span { display: none; }
  .assist-btn { width: 54px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
