/* ============================================================
   Clean.my — Design System  (v2: flatter, darker, calmer)
   Navy #132b4d brand + muted teal accent
   ============================================================ */

:root {
  /* Brand navy scale */
  --navy-900: #0a1626;
  --navy-800: #0e2038;
  --navy-700: #132b4d;   /* brand color */
  --navy-600: #1d3a63;
  --navy-500: #2c4f80;

  /* Muted teal accent (flat, low-glare) */
  --teal-700: #14535c;
  --teal-600: #1d6b75;   /* primary actions / links on light */
  --teal-500: #2a818c;   /* accent icons */
  --teal-400: #4f9aa4;   /* subtle */
  --teal-soft: #8fb6bd;  /* desaturated light accent for dark bg */

  /* Neutrals */
  --ink: #14202f;
  --slate: #46566b;
  --muted: #6b7a90;
  --line: #e4e9f0;
  --cloud: #f5f8fb;
  --cloud-2: #edf2f8;
  --white: #ffffff;

  --grad-teal: linear-gradient(120deg, #2a818c, #1d6b75);
  --grad-navy: linear-gradient(165deg, #16305480 0%, #0a1626 100%), #0c1c34;

  --shadow-sm: 0 1px 2px rgba(13,32,56,.05), 0 1px 4px rgba(13,32,56,.05);
  --shadow-md: 0 8px 22px rgba(13,32,56,.08), 0 2px 6px rgba(13,32,56,.05);
  --shadow-lg: 0 20px 48px rgba(13,32,56,.12), 0 6px 18px rgba(13,32,56,.07);
  --shadow-btn: 0 8px 20px rgba(19,43,77,.18);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic--lg { width: 30px; height: 30px; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.text-soft { color: var(--teal-soft); }   /* flat, low-glare hero highlight */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-600);
  background: rgba(42,129,140,.10);
  padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--teal-soft); background: rgba(143,182,189,.14); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .95rem; padding: 13px 22px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--teal-600); color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--teal-500); transform: translateY(-2px); }
.btn--primary:hover .ic { transform: translateX(4px); }
/* light primary for dark backgrounds */
.btn--light { background: var(--white); color: var(--navy-700); box-shadow: var(--shadow-btn); }
.btn--light:hover { background: #eef3f8; transform: translateY(-2px); }
.btn--light:hover .ic { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255,255,255,.04); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.26);
}
.btn--ghost:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.45); transform: translateY(-2px); }

/* ============================================================
   Topbar (light, cohesive with white nav)
   ============================================================ */
.topbar {
  background: var(--cloud-2); color: var(--slate);
  font-size: .82rem; border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 14px; padding-block: 9px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .ic { width: 15px; height: 15px; color: var(--teal-600); }
.topbar__sep { color: var(--line); }
.topbar__phone { margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--navy-700); }
.topbar__phone .ic { width: 14px; height: 14px; color: var(--teal-600); }
.topbar__phone:hover { color: var(--teal-600); }

/* ============================================================
   Navigation (solid white, always — navy logo reads clearly)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; }
.nav__logo-img { height: 66px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-size: .94rem; font-weight: 500; color: var(--slate);
  padding: 9px 14px; border-radius: var(--r-pill); transition: color .2s, background .2s;
}
.nav__links a:not(.nav__cta):hover { color: var(--navy-700); background: var(--cloud); }
.nav__cta {
  background: var(--teal-600) !important; color: var(--white) !important;
  font-weight: 600; margin-left: 8px; box-shadow: var(--shadow-btn);
}
.nav__cta:hover { background: var(--teal-500) !important; transform: translateY(-1px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy-700); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--grad-navy); color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .22; }
.blob--1 { width: 520px; height: 520px; top: -180px; right: -120px;
  background: radial-gradient(circle, #2a818c, transparent 70%); }
.blob--2 { width: 440px; height: 440px; bottom: -220px; left: -160px;
  background: radial-gradient(circle, #1d3a63, transparent 70%); }
.grid-overlay { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 80%);
}

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center; padding-block: 76px 92px; }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; color: var(--white);
  letter-spacing: -.03em; margin-bottom: 22px; }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.74); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }

.hero__trust { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: .76rem; font-weight: 700; color: var(--white);
  background: var(--navy-500); border: 2.5px solid var(--navy-800); margin-left: -12px; }
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(2) { background: var(--navy-600); }
.avatar:nth-child(3) { background: var(--teal-700); }
.avatar:last-child { background: rgba(255,255,255,.14); }
.stars { color: #e8b964; letter-spacing: 2px; font-size: .9rem; }
.hero__trust-text { font-size: .88rem; color: rgba(255,255,255,.66); }
.hero__trust-text span { display: block; }

/* ---- Hero visual: one cohesive panel + soft backing card (no scattered bubbles) ---- */
.hero__visual { position: relative; }
.hero__visual::before {  /* soft backing card for depth */
  content: ''; position: absolute; inset: 26px -16px -22px 34px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl); transform: rotate(3deg);
}
.panel { position: relative; z-index: 2; background: var(--white); color: var(--ink);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 26px 26px 22px;
  animation: float 6s ease-in-out infinite; }
.panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel__badge { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600;
  color: var(--teal-600); background: rgba(42,129,140,.10); padding: 6px 12px; border-radius: var(--r-pill); }
.panel__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.panel__price { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted); }
.panel__title { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; margin-bottom: 4px; }
.panel__meta { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.panel__list { display: flex; flex-direction: column; gap: 11px; padding-block: 18px; border-block: 1px solid var(--line); }
.panel__list li { display: flex; align-items: center; gap: 11px; font-size: .9rem; color: var(--slate); }
.panel__list .ic { width: 19px; height: 19px; color: var(--white); background: var(--teal-600);
  border-radius: 50%; padding: 3px; stroke-width: 3; }
.panel__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; }
.panel__rating { display: flex; flex-direction: column; gap: 2px; }
.panel__rating small { font-size: .78rem; color: var(--muted); }
.panel__cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .85rem;
  color: var(--teal-600); }
.panel__cta .ic { width: 15px; height: 15px; }

.hero__chip { position: absolute; z-index: 4; top: -32px; right: -14px;
  display: flex; align-items: center; gap: 11px; background: var(--white); color: var(--navy-700);
  border-radius: var(--r-pill); padding: 9px 18px 9px 9px; box-shadow: var(--shadow-lg);
  animation: float 4.6s ease-in-out infinite .7s; }
.hero__chip-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(42,129,140,.14); color: var(--teal-600); flex-shrink: 0; }
.hero__chip-ic .ic { width: 21px; height: 21px; }
.hero__chip-txt strong { font-family: var(--font-head); font-size: 1.02rem; display: block; line-height: 1; color: var(--navy-700); }
.hero__chip-txt small { font-size: .72rem; color: var(--muted); }

/* Marquee */
.marquee { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07); padding-block: 17px; overflow: hidden;
  background: rgba(255,255,255,.015); }
.marquee__track { display: flex; align-items: center; gap: 28px; white-space: nowrap;
  width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .05em; color: rgba(255,255,255,.42); }
.marquee__track i { color: var(--teal-500); font-style: normal; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: 100px; }
.section--alt { background: var(--cloud); }
.section__head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section__title { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.section__title--light { color: var(--white); }
.section__lead { font-size: 1.08rem; color: var(--muted); }
.section__lead--light { color: rgba(255,255,255,.7); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden;
}
.svc::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-teal); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--cloud); color: var(--teal-600); margin-bottom: 22px; transition: background .35s, color .35s; }
.svc__icon .ic { width: 27px; height: 27px; }
.svc:hover .svc__icon { background: var(--teal-600); color: var(--white); }
.svc__title { font-size: 1.22rem; margin-bottom: 12px; }
.svc__desc { font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.svc__list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.svc__list li { position: relative; padding-left: 26px; font-size: .87rem; color: var(--slate); }
.svc__list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(42,129,140,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6b75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center; }
.svc__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .89rem;
  color: var(--teal-600); margin-top: auto; }
.svc__link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc__link:hover .ic { transform: translateX(4px); }

/* ---------- Sectors ---------- */
.sectors { background: var(--grad-navy); padding-block: 100px; position: relative; overflow: hidden; }
.sectors__head { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sectors__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md); padding: 26px 22px; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.sector:hover { background: rgba(42,129,140,.14); border-color: rgba(79,154,164,.4); transform: translateY(-4px); }
.sector__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--teal-soft); margin-bottom: 10px; }
.sector__name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--white); }

/* ---------- Stats ---------- */
.stats { background: var(--white); padding-block: 70px; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  height: 54px; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.3rem, 3.8vw, 3rem);
  color: var(--navy-700); line-height: 1; }
.stat__label { font-size: .94rem; color: var(--muted); margin-top: 8px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process__line { position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-400) 0 7px, transparent 7px 15px); opacity: .45; }
.step { position: relative; text-align: center; }
.step__num { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  color: var(--white); background: var(--navy-700); box-shadow: 0 0 0 8px var(--white), var(--shadow-md);
  position: relative; z-index: 2; transition: background .3s, transform .3s var(--ease); }
.step:hover .step__num { background: var(--teal-600); transform: translateY(-4px); }
.step__title { font-size: 1.12rem; margin-bottom: 10px; }
.step__desc { font-size: .91rem; color: var(--muted); max-width: 240px; margin-inline: auto; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.why__intro { position: sticky; top: 110px; }
.why__intro .btn { margin-top: 28px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(42,129,140,.10); color: var(--teal-600); margin-bottom: 16px; }
.feat__icon .ic { width: 24px; height: 24px; }
.feat h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feat p { font-size: .89rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote .stars { margin-bottom: 16px; }
.quote blockquote { font-size: 1rem; color: var(--ink); line-height: 1.6; margin-bottom: 24px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .84rem; color: var(--white); background: var(--navy-600); }
.quote figcaption strong { display: block; font-size: .94rem; font-family: var(--font-head); }
.quote figcaption small { color: var(--muted); font-size: .81rem; }

/* ---------- Quote CTA ---------- */
.quote-cta { background: var(--grad-navy); position: relative; overflow: hidden; }
.quote-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-cta__title { font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--white); margin-bottom: 18px; }
.quote-cta__lead { font-size: 1.08rem; color: rgba(255,255,255,.74); margin-bottom: 28px; }
.quote-cta__points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.quote-cta__points li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-size: .96rem; }
.quote-cta__points .ic { width: 20px; height: 20px; color: var(--white); background: var(--teal-600);
  border-radius: 50%; padding: 3px; stroke-width: 3; }
.quote-cta__contact { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .9rem;
  color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 11px 18px; border-radius: var(--r-pill); transition: background .25s, border-color .25s; }
.contact-chip .ic { color: var(--teal-soft); }
.contact-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(79,154,164,.45); }

/* Form */
.quote-form { background: var(--white); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--slate); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--cloud); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa7b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(42,129,140,.12);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.cf-turnstile, #waTurnstile { margin: 6px 0 2px; min-height: 65px; }
.form-note { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm);
  background: rgba(42,129,140,.12); color: var(--teal-700); font-weight: 600; font-size: .9rem; }
.form-fine { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }
/* Honeypot: kept in the DOM for bots but hidden from real users & a11y tools */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none; }

/* ============================================================
   Footer (BRIGHT — navy logo reads on light)
   ============================================================ */
.footer { background: var(--cloud); color: var(--slate); padding-top: 70px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { height: 82px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .92rem; max-width: 320px; margin-bottom: 22px; color: var(--muted); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--navy-700); border: 1px solid var(--line);
  transition: background .25s, color .25s, transform .25s; }
.footer__social a:hover { background: var(--teal-600); color: var(--white); border-color: var(--teal-600); transform: translateY(-3px); }
.footer__col h4 { color: var(--navy-700); font-size: .95rem; margin-bottom: 18px; }
.footer__col a { display: block; font-size: .9rem; margin-bottom: 11px; color: var(--slate); transition: color .2s; }
.footer__col a:hover { color: var(--teal-600); }
.footer__addr { font-size: .9rem; line-height: 1.7; display: block; margin-top: 4px; color: var(--muted); }
.footer__company { font-size: .82rem; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }
.footer__company strong { color: var(--navy-700); font-weight: 600; }

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */
.legal-nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.legal-nav__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.legal-nav__inner img { height: 60px; width: auto; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--teal-600); }
.legal-back .ic { width: 16px; height: 16px; }
.legal-back:hover { color: var(--teal-500); }

.legal-hero { background: var(--grad-navy); color: var(--white); padding-block: 64px 56px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.legal-hero p { color: rgba(255,255,255,.72); font-size: 1rem; }

.legal-body { padding-block: 64px 80px; }
.legal-wrap { max-width: 820px; margin-inline: auto; }
.legal-wrap > .legal-intro { font-size: 1.05rem; color: var(--slate); margin-bottom: 36px; padding: 18px 22px;
  background: var(--cloud); border-left: 3px solid var(--teal-500); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.legal-wrap h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 14px; color: var(--navy-700);
  padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 8px; color: var(--ink); }
.legal-wrap p { color: var(--slate); margin-bottom: 14px; font-size: .98rem; }
.legal-wrap ul { margin: 0 0 16px; padding-left: 4px; }
.legal-wrap li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--slate); font-size: .98rem; }
.legal-wrap li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal-500); }
.legal-wrap a { color: var(--teal-600); font-weight: 500; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap strong { color: var(--ink); }
.legal-contact { margin-top: 40px; padding: 26px; background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--r-md); }
.legal-contact h3 { margin-top: 0; }
.legal-disclaimer { margin-top: 28px; font-size: .82rem; color: var(--muted); font-style: italic; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0 90px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--teal-600); }

/* ============================================================
   FAB (mobile)
   ============================================================ */
.fab { position: fixed; bottom: 22px; right: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 20px;
  background: var(--teal-600); color: var(--white); font-weight: 700; font-size: .95rem;
  border-radius: var(--r-pill); box-shadow: var(--shadow-btn); cursor: pointer;
  transition: transform .2s var(--ease), background .2s; }
.fab:hover { background: var(--teal-500); transform: translateY(-2px); }
.fab .ic { width: 20px; height: 20px; }

/* ============================================================
   WhatsApp quote modal
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; overflow-y: auto;
  background: rgba(10,22,38,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 24px 20px; }
.modal-overlay.open { display: flex; animation: fadeIn .25s var(--ease); }
.modal { margin: auto; position: relative; width: 100%; max-width: 396px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 24px 22px 20px;
  animation: popIn .3s var(--ease); }
.modal__close { position: absolute; top: 13px; right: 13px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--slate); background: var(--cloud); transition: background .2s, color .2s; }
.modal__close:hover { background: var(--line); color: var(--ink); }
.modal__close .ic { width: 17px; height: 17px; }
.modal__head { margin-bottom: 16px; }
.modal__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600;
  letter-spacing: .03em; color: #1f8a4c; background: rgba(37,211,102,.12); padding: 5px 11px;
  border-radius: var(--r-pill); margin-bottom: 11px; }
.modal__badge .ic { width: 14px; height: 14px; }
.modal__head h3 { font-size: 1.25rem; margin-bottom: 6px; }
.modal__head p { font-size: .86rem; color: var(--muted); }
.field__opt { font-weight: 400; color: var(--muted); }
/* compact form inside the modal */
.modal__form .field { margin-bottom: 12px; gap: 5px; }
.modal__form label { font-size: .8rem; }
.modal__form input, .modal__form textarea { padding: 9px 12px; font-size: .88rem; border-radius: var(--r-sm); }
.modal__form .btn { padding: 12px; font-size: .92rem; margin-top: 2px; }
.modal__form .form-fine { margin-top: 9px; font-size: .74rem; }
/* Custom Google Places address dropdown */
.ac-wrap { position: relative; }
.ac-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 300; margin: 0; padding: 4px;
  list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); max-height: 224px; overflow-y: auto; }
.ac-item { padding: 8px 11px; font-size: .85rem; color: var(--slate); border-radius: 7px; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-item:hover, .ac-item.active { background: var(--cloud); color: var(--ink); }
.ac-item--info { color: var(--muted); cursor: default; font-style: italic; white-space: normal; }
.ac-item--info:hover { background: transparent; color: var(--muted); }
.ac-item--saved { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.ac-saved-tag { flex-shrink: 0; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-700); background: rgba(42,129,140,.14); padding: 2px 6px; border-radius: 4px; }
.btn--whatsapp { background: #25d366; color: #08311b; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn--whatsapp:hover { background: #1ec25b; transform: translateY(-2px); }
.btn--whatsapp:hover .ic { transform: translateX(4px); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ============================================================
   Scroll reveal + animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr 1fr; }
  .sectors__grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .why__intro { position: static; }
  .hero__inner { gap: 40px; }
}

@media (max-width: 860px) {
  .topbar__item:nth-child(3), .topbar__sep { display: none; }
  /* backdrop-filter on .nav would trap position:fixed children inside the bar,
     clipping the slide-in menu. Disable it on mobile so the menu fills the screen. */
  .nav { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 6px; padding: 90px 24px 24px;
    background: var(--white); box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .4s var(--ease); z-index: 100; }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav__cta { margin-left: 0; margin-top: 10px; text-align: center; }
  .nav__toggle { display: flex; z-index: 101; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__inner { grid-template-columns: 1fr; padding-block: 54px 74px; }
  .hero__visual { display: none; }
  .section { padding-block: 72px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process__line { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .quote-cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fab { display: inline-flex; }
  /* clear the fixed "Free quote" button so it doesn't cover the footer links */
  .footer__bottom { padding-bottom: 92px; }
}

@media (max-width: 540px) {
  .container { padding-inline: 18px; }
  .services { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__bottom .footer__rights { display: block; }
  .footer__legal { justify-content: center; }
  .hero__actions .btn { flex: 1; }
  .quote-form { padding: 26px 20px; }
  .topbar__inner { justify-content: center; }
  .topbar__phone { display: none; }
  .nav__logo-img { height: 54px; }
}
