/* ==========================================================================
   IndiQuad — site stylesheet (mobile-first)
   ========================================================================== */

:root {
  --navy: #17204b;
  --navy-900: #0e1433;
  --navy-700: #24306a;
  --orange: #ff6000;
  --orange-600: #e85600;
  --orange-50: #fff3eb;
  --ink: #1a2040;
  --muted: #5a6180;
  --line: #e6e8f1;
  --soft: #f5f6fb;
  --white: #ffffff;
  --success: #12a150;
  --danger: #d93025;

  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(23, 32, 75, 0.06);
  --shadow: 0 18px 50px -18px rgba(23, 32, 75, 0.25);
  --shadow-orange: 0 14px 30px -10px rgba(255, 96, 0, 0.55);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
.accent { color: var(--orange); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn i { font-size: 1.1em; transition: transform .2s ease; }
.btn:hover i.bi-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-whatsapp { background: #25d366; color: #0b3d20; }
.btn-whatsapp:hover { background: #1fbe5a; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head);
  font-weight: 600; color: var(--orange);
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { display: none; background: var(--navy-900); color: rgba(255,255,255,.8); font-size: 0.86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.topbar ul { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--orange); margin-right: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 38px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--soft); }
.main-nav a[aria-current="page"] { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; min-height: 46px; padding: 0 20px; }
.header-phone { display: none; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.header-phone span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-50); color: var(--orange); }
.header-phone small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); line-height: 1.1; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.2rem; cursor: pointer;
}
.nav-toggle { border: 0; background: var(--navy); color: #fff; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 190; background: rgba(14,20,51,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(360px, 88vw); background: #fff; padding: 20px 22px 28px;
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
body.nav-open .drawer { transform: none; }
body.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-head img { height: 34px; }
.drawer nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy);
}
.drawer nav a i { color: var(--muted); font-size: .9rem; }
.drawer nav a[aria-current="page"] { color: var(--orange); }
.drawer-contact { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.drawer-contact p { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(255,96,0,.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(64,90,200,.35), transparent 60%),
    linear-gradient(140deg, var(--navy-900), var(--navy) 55%, #1f2c66);
  padding-block: 48px 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero .container { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 540px; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 20px;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: .88rem; color: rgba(255,255,255,.9);
}
.hero-badge b { background: var(--orange); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: .78rem; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero-trust .stars { color: #ffc043; letter-spacing: 2px; }
.hero-trust strong { color: #fff; }

.hero-visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); border: 6px solid rgba(255,255,255,.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-mark {
  position: absolute; width: 110px; top: -26px; right: -14px; opacity: .95;
  animation: spin 40s linear infinite;
}
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px;
  padding: 12px 16px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.35);
  display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.float-card .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 1.25rem; flex: none; }
.float-card.one { left: -8px; bottom: 26px; }
.float-card.one .ico { background: var(--orange-50); color: var(--orange); }
.float-card.two { right: -8px; top: 38%; animation-delay: -3s; }
.float-card.two .ico { background: #e8f8ef; color: var(--success); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Partner strip ---------- */
.partners { padding-block: 34px; border-bottom: 1px solid var(--line); }
.partners p { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.partner-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: center; }
.partner-logos div {
  display: grid; place-items: center; height: 84px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.partner-logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease; }
.partner-logos div:hover img { filter: none; opacity: 1; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px;
  border-radius: 16px; background: var(--orange-50); color: var(--orange); font-size: 1.6rem;
  transition: background .25s ease, color .25s ease;
}
.card:hover .card-icon { background: var(--orange); color: #fff; }
.card .link-arrow { margin-top: 18px; }
.card-list { margin-top: 16px; display: grid; gap: 8px; }
.card-list li { display: flex; gap: 10px; color: var(--ink); font-size: .95rem; }
.card-list li i { color: var(--orange); margin-top: 2px; }

.case-card.card { padding: 0; }
.service-card::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover::after { transform: scaleX(1); }

/* ---------- Split / about ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-media { position: relative; }
.split-media .exp-badge {
  position: absolute; left: 6%; bottom: 4%; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.exp-badge strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--orange); }
.exp-badge span { font-size: .9rem; line-height: 1.3; }
.checklist { display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist i {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange-50); color: var(--orange); font-size: .9rem; margin-top: 1px;
}
.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mini-features div {
  display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius-sm);
  background: var(--soft); font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.25;
}
.mini-features i { color: var(--orange); font-size: 1.3rem; }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(120deg, var(--navy-900), var(--navy));
  color: #fff; border-radius: var(--radius-lg); padding: 34px 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; text-align: center;
  position: relative; overflow: hidden;
}
.stats::after {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,96,0,.45), transparent 70%);
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: #fff; }
.stat strong em { font-style: normal; color: var(--orange); }
.stat > span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: .92rem; }

/* ---------- Case studies ---------- */
.case-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-thumb { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s ease; }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-tag {
  position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); color: var(--navy);
  border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 600;
}
.case-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { margin-bottom: 4px; }
.case-body > p { font-size: .93rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 18px; }
.metrics div { background: var(--soft); border-radius: 12px; padding: 10px 6px; text-align: center; }
.metrics small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.metrics b { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }

/* horizontal scroller on mobile */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroll-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ---------- Industries ---------- */
.industry-card { overflow: hidden; }
.industry-card .card-icon { background: var(--navy); color: #fff; }
.industry-card:hover .card-icon { background: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--navy);
}
.chips i { color: var(--orange); }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.step { padding-top: 34px; }
.step-num {
  position: absolute; top: -22px; left: 28px; display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 14px; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700;
  box-shadow: var(--shadow-orange);
}
.process .card { margin-top: 22px; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; }
.testimonial .stars { color: #ffb400; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 22px; color: var(--ink); font-size: 1.02rem; }
.testimonial .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
}
.who strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
.who span { font-size: .85rem; color: var(--muted); }
.quote-mark { position: absolute; right: 24px; top: 18px; font-size: 3rem; color: var(--orange-50); line-height: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-50); color: var(--orange); font-size: 1.2rem; line-height: 1; transition: transform .25s ease;
}
.faq details[open] summary::after { content: "−"; background: var(--orange); color: #fff; }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px 26px;
  background: linear-gradient(120deg, var(--orange), #ff8a3d); color: #fff; text-align: center;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255,255,255,.1);
}
.cta-band::before { width: 260px; height: 260px; left: -110px; bottom: -130px; }
.cta-band::after { width: 200px; height: 200px; right: -60px; top: -90px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { position: relative; opacity: .92; max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; position: relative; }
.cta-band .btn-navy { box-shadow: 0 14px 30px -10px rgba(14,20,51,.6); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); }

/* ---------- Contact / form ---------- */
.contact-wrap { display: grid; gap: 28px; }
.contact-panel {
  background: linear-gradient(150deg, var(--navy-900), var(--navy)); color: #fff;
  border-radius: var(--radius-lg); padding: 32px 24px; position: relative; overflow: hidden;
}
.contact-panel::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px;
  background: url("../img/brand/indiquad-icon.svg") center / contain no-repeat; opacity: .08;
}
.contact-panel h2, .contact-panel h3 { color: #fff; }
.contact-panel > p { color: rgba(255,255,255,.75); }
.contact-list { display: grid; gap: 18px; margin-top: 26px; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.1); color: var(--orange); font-size: 1.2rem;
}
.contact-list small { display: block; color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list address { color: #fff; font-style: normal; font-weight: 500; line-height: 1.45; }
.contact-list a:hover { color: var(--orange); }
.contact-panel .btn-row { margin-top: 28px; position: relative; z-index: 1; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; gap: 14px; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field label span { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--soft); outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-size: 16px; /* prevents iOS zoom */
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255,96,0,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fff; }
.field .err { display: none; color: var(--danger); font-size: .82rem; margin-top: 4px; }
.field.invalid .err { display: block; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.ok { display: block; background: #e8f8ef; color: #0b6b35; }
.form-status.fail { display: block; background: #fdecea; color: #a1231a; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading i { animation: spin 1s linear infinite; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; }

.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card .card-icon { margin: 0; flex: none; }
.info-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.info-card a:hover { color: var(--orange); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding-block: 56px 60px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(255,96,0,.3), transparent 60%),
    linear-gradient(140deg, var(--navy-900), var(--navy));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.3rem); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.crumbs { display: inline-flex; gap: 8px; margin-bottom: 16px; font-size: .9rem; color: rgba(255,255,255,.65); }
.crumbs a:hover { color: var(--orange); }

/* ---------- Service detail rows ---------- */
.service-detail { display: grid; gap: 28px; align-items: center; padding-block: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail .big-icon {
  display: grid; place-items: center; aspect-ratio: 1; max-width: 260px; width: 60%; margin-inline: auto;
  border-radius: 40px; font-size: clamp(4rem, 12vw, 6rem); color: var(--orange);
  background: radial-gradient(circle at 30% 30%, #fff, var(--orange-50));
  box-shadow: inset 0 0 0 1px rgba(255,96,0,.15);
}
.service-detail:nth-child(even) .big-icon { color: #fff; background: linear-gradient(140deg, var(--navy), var(--navy-700)); }
.service-nav { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.service-nav::-webkit-scrollbar { display: none; }
.service-nav a {
  flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 500; font-size: .92rem; color: var(--navy);
}
.service-nav a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Values / prose ---------- */
.value-card h3 { display: flex; align-items: center; gap: 10px; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: #3d4463; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--orange); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 60px; position: relative; overflow: hidden; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand .tagline { font-family: var(--font-head); color: #fff; font-weight: 500; margin-bottom: 10px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--orange); margin-top: 3px; }
.footer-contact address { font-style: normal; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; flex-wrap: wrap;
  gap: 10px 24px; justify-content: space-between; font-size: .88rem;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s ease;
}
.footer-social a:hover { background: var(--orange); }

/* ---------- Mobile action bar + floating buttons ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -8px 30px rgba(23,32,75,.12);
  transform: translateY(110%); transition: transform .3s ease;
}
.action-bar.show { transform: none; }
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.action-bar .call { background: var(--soft); color: var(--navy); }
.action-bar .wa { background: #25d366; color: #073b1c; }
.action-bar .enq { background: var(--orange); color: #fff; }
body { padding-bottom: 76px; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: none; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.8rem;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.6);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-block: 90px; }
.not-found .code { font-family: var(--font-head); font-size: clamp(6rem, 22vw, 10rem); font-weight: 700; line-height: 1; color: var(--navy); }
.not-found .code span { color: var(--orange); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partner-logos { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); padding: 40px 30px; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
  .scroller { grid-auto-columns: 46%; }
  .header-actions .btn { display: inline-flex; }
  .cta-band { padding: 56px 40px; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding-block: 96px; }
  .form-card { padding: 38px 34px; }
  .contact-panel { padding: 42px 36px; }
  .info-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .wa-float { display: grid; }
  .topbar { display: block; }
  .brand img { height: 44px; }
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .header-call { display: none; }
  .header-phone { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding-block: 80px 100px; }
  .hero .container { grid-template-columns: 1.05fr 1fr; gap: 60px; }
  .hero-visual { margin-inline: 0 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 70px; }
  .split.reverse .split-media { order: 2; }
  .scroller { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .scroll-hint { display: none; }
  .contact-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .service-detail { grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
  .service-detail:nth-child(even) .big-icon { order: 2; }
  .page-hero { padding-block: 80px 84px; }
  .cta-band { text-align: left; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 30px; padding: 60px; }
  .cta-band p { margin: 0; }
  .cta-band .btn-row { justify-content: flex-end; }
  .float-card.one { left: -36px; }
  .float-card.two { right: -30px; }
}

@media (max-width: 559px) {
  /* compact icon-left service cards on phones */
  .service-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; }
  .service-card .card-icon { grid-row: 1 / span 3; width: 52px; height: 52px; margin: 0; font-size: 1.4rem; border-radius: 14px; }
  .service-card h3 { margin-bottom: 4px; font-size: 1.12rem; }
  .service-card p { font-size: .94rem; }
  .service-card .link-arrow { margin-top: 8px; font-size: .95rem; }
  .service-card::after { left: 20px; right: 20px; }
  .service-detail .big-icon { width: 110px; border-radius: 28px; font-size: 3rem; margin-inline: 0; }
  .industry-card, .card { padding: 22px; }
  .step { padding-top: 34px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand img { height: 32px; }
  .action-bar a { font-size: .85rem; gap: 4px; }
  .float-card { padding: 10px 12px; }
  .float-card strong { font-size: 1.1rem; }
}
