/* =========================================================
   ROTECH WATER SOLUTION — Global Stylesheet
   Light + Dark theme via [data-theme] on <html>
   ========================================================= */

:root {
  /* Brand */
  --brand:        #0077b6;
  --brand-2:      #00b4d8;
  --brand-3:      #90e0ef;
  --brand-deep:   #023e8a;

  /* Light theme (default) */
  --bg:           #f4fafd;
  --bg-soft:      #e9f5fb;
  --surface:      #ffffff;
  --surface-2:    #f0f7fb;
  --border:       #d8e8f1;
  --text:         #0a2540;
  --text-soft:    #44607a;
  --text-mut:     #6b819a;
  --heading:      #062c52;
  --accent:       #0077b6;
  --accent-soft:  #00b4d8;
  --on-accent:    #ffffff;
  --shadow:       0 8px 30px rgba(2, 62, 138, .10);
  --shadow-sm:    0 4px 14px rgba(2, 62, 138, .08);
  --ring:         rgba(0, 180, 216, .35);
  --hero-grad:    radial-gradient(1200px 600px at 80% -10%, #caf0f8 0%, transparent 60%),
                  linear-gradient(160deg, #e9f5fb 0%, #f4fafd 60%);
  --glass:        rgba(255, 255, 255, .72);
}

html[data-theme="dark"] {
  --bg:           #07131f;
  --bg-soft:      #0b1f30;
  --surface:      #0f2538;
  --surface-2:    #123049;
  --border:       #1d3b54;
  --text:         #dcecf6;
  --text-soft:    #a9c4d6;
  --text-mut:     #7e9bb0;
  --heading:      #eaf6fd;
  --accent:       #00b4d8;
  --accent-soft:  #48cae4;
  --on-accent:    #04222f;
  --shadow:       0 10px 34px rgba(0, 0, 0, .45);
  --shadow-sm:    0 6px 18px rgba(0, 0, 0, .40);
  --ring:         rgba(72, 202, 228, .40);
  --hero-grad:    radial-gradient(1100px 560px at 82% -12%, #0a3550 0%, transparent 60%),
                  linear-gradient(160deg, #0b2034 0%, #07131f 65%);
  --glass:        rgba(15, 37, 56, .72);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}

p { margin: 0 0 1rem; color: var(--text-soft); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p { font-size: 1.05rem; color: var(--text-mut); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .96rem;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 10px 22px -8px var(--ring);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -8px var(--ring); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #1ebe5d 100%);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(37, 211, 102, .55);
}
.btn-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(37, 211, 102, .65); }
.btn-wa svg { width: 18px; height: 18px; }
.btn-call {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 22px -8px var(--ring);
}
.btn-call:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px var(--ring); }
.btn-call svg { width: 18px; height: 18px; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
@media (max-width: 860px) { .hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: var(--glass);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand .logo svg { width: 24px; height: 24px; }
.brand .name { line-height: 1.05; }
.brand .name b { display: block; color: var(--heading); font-size: 1.05rem; letter-spacing: -.02em; }
.brand .name span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mut); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: .95rem;
  padding: 9px 14px;
  border-radius: 9px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { color: var(--accent); background: var(--bg-soft); }
.nav-links a.active { color: var(--accent); background: var(--bg-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, transform .2s, border-color .2s;
}
.theme-toggle:hover { background: var(--surface-2); transform: translateY(-2px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { background: var(--hero-grad); border-bottom: 1px solid var(--border); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 90px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 18px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.7rem; color: var(--heading); font-weight: 900; }
.hero-stats .stat span { font-size: .85rem; color: var(--text-mut); }

.hero-art {
  position: relative;
  border-radius: 24px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-art::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 70% 0%, var(--brand-3) 0%, transparent 70%);
  opacity: .35;
}
html[data-theme="dark"] .hero-art::before { opacity: .18; }
.hero-art .art-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.art-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.art-tile .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}
.art-tile .ico svg { width: 24px; height: 24px; }
.art-tile b { color: var(--heading); display: block; font-size: .98rem; }
.art-tile span { font-size: .8rem; color: var(--text-mut); }

/* ---------- Marquee / trust ---------- */
/* ---------- Promo band ---------- */
.promo-band {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px 26px; text-decoration: none;
  padding: 16px 24px;
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  transition: filter .2s ease;
}
.promo-band:hover { filter: brightness(1.06); }
.promo-band:hover .promo-cta svg { transform: translateX(4px); }
.promo-text { display: inline-flex; align-items: center; gap: 11px; font-size: 1.04rem; font-weight: 600; }
.promo-text b { font-weight: 800; }
.promo-text svg { width: 22px; height: 22px; flex-shrink: 0; }
.promo-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand-deep);
  padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35);
}
.promo-cta svg { width: 18px; height: 18px; transition: transform .2s ease; }
@media (max-width: 560px) {
  .promo-band { flex-direction: column; gap: 12px; text-align: center; }
}

.trust { border-bottom: 1px solid var(--border); background: var(--surface); }
.trust .container { display: flex; flex-wrap: wrap; gap: 14px 38px; align-items: center; justify-content: center; padding-top: 26px; padding-bottom: 26px; }
.trust .t-item { display: flex; align-items: center; gap: 9px; color: var(--text-mut); font-weight: 600; font-size: .92rem; }
.trust .t-item svg { width: 19px; height: 19px; color: var(--accent); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-2); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: .95rem; margin-bottom: 14px; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: .74rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-soft);
  border: 1px solid var(--border);
}

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .chk {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--bg-soft); color: var(--accent);
  display: grid; place-items: center; border: 1px solid var(--border);
}
.feature-list .chk svg { width: 16px; height: 16px; }
.feature-list b { color: var(--heading); display: block; }
.feature-list span { font-size: .92rem; color: var(--text-mut); }

.media-card {
  border-radius: 22px; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.media-card .media-top {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-2) 100%);
  padding: 36px; color: #eaf6fd;
}
.media-card .media-top h3 { color: #fff; }
.media-card .media-top p { color: #d7f1fb; margin: 0; }
.media-card .media-body { padding: 28px 30px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { text-align: center; padding: 14px 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.kpi b { display: block; font-size: 1.4rem; color: var(--heading); }
.kpi span { font-size: .76rem; color: var(--text-mut); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step .n {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 14px;
  display: grid; place-items: center; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-2) 100%);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.cta-band p { color: #e3f4fb; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-ghost { background: #fff; color: var(--brand-deep); border-color: #fff; }
.cta-band .btn-ghost:hover { background: #eaf6fd; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--hero-grad);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { font-size: 1.1rem; color: var(--text-mut); max-width: 640px; margin: 8px auto 0; }
.crumbs { font-size: .85rem; color: var(--text-mut); margin-bottom: 14px; }
.crumbs a { color: var(--accent); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 38px; }
.prose h3 { font-size: 1.1rem; margin-top: 26px; }
.prose ul { padding-left: 20px; color: var(--text-soft); }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--text-mut); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-card { display: flex; gap: 15px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.info-card .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card b { color: var(--heading); display: block; }
.info-card a, .info-card span { color: var(--text-soft); font-size: .95rem; word-break: break-word; }

.form-card { padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--ring);
}
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 18px; cursor: pointer; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  border: 2px solid var(--border); border-radius: 6px;
  background: var(--bg); cursor: pointer; position: relative;
  transition: background .2s, border-color .2s;
}
.consent input[type="checkbox"]:hover { border-color: var(--brand-2); }
.consent input[type="checkbox"]:checked { background: var(--brand-2); border-color: var(--brand-2); }
.consent input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.consent span { font-size: .86rem; color: var(--text-soft); line-height: 1.5; }
.consent b { color: var(--heading); font-weight: 700; }

.form-note { font-size: .82rem; color: var(--text-mut); margin-top: 6px; }
.form-status { margin-top: 12px; font-weight: 600; font-size: .92rem; display: none; }
.form-status.ok { display: block; color: #2e9e6b; }

.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--heading); font-size: 1rem; display: flex; justify-content: space-between; gap: 12px; }
.faq-q .pm { color: var(--accent); transition: transform .2s; flex: none; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; margin: 0; font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 26px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mut); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--text-soft); font-size: .94rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { font-size: .92rem; color: var(--text-mut); }
.gst-chip { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--text-soft); background: var(--bg-soft); border: 1px solid var(--border); padding: 5px 12px; border-radius: 8px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { transform: translateY(-3px); color: #fff; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.socials a svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-mut); font-size: .86rem; }
.footer-bottom a { color: var(--text-mut); }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px -6px rgba(37, 211, 102, .7); }
.wa-fab svg { width: 24px; height: 24px; }
.call-fab {
  position: fixed; right: 20px; bottom: 84px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 28px -6px var(--ring);
  transition: transform .2s ease, box-shadow .2s ease;
}
.call-fab:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px -6px var(--ring); }
.call-fab svg { width: 24px; height: 24px; }
@media (max-width: 520px) {
  .call-fab span, .wa-fab span { display: none; }
  .call-fab { padding: 14px; bottom: 76px; }
  .wa-fab { padding: 14px; }
}

/* ---------- Pricing / product cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s, border-color .25s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-2); }
.price-card .pimg { position: relative; height: 210px; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.price-card .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.price-card:hover .pimg img { transform: scale(1.05); }
.price-card .pimg .badge { position: absolute; top: 12px; left: 12px; background: var(--glass); backdrop-filter: blur(6px); border: 1px solid var(--border); color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.price-card .pbody { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.price-card .cap { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.price-card h3 { font-size: 1.08rem; margin: 6px 0 10px; }
.price-card .price { font-size: 1.4rem; font-weight: 900; color: var(--heading); }
.price-card .price small { font-size: .8rem; font-weight: 600; color: var(--text-mut); }
.price-card ul { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 7px; }
.price-card ul li { font-size: .86rem; color: var(--text-soft); display: flex; gap: 8px; }
.price-card ul li::before { content: "•"; color: var(--accent); font-weight: 900; }
.price-card .btn { margin-top: auto; justify-content: center; width: 100%; }

/* Service cards get a WhatsApp button pinned to the bottom */
.card.svc { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.card.svc::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--card-img); background-size: cover; background-position: center;
  opacity: .35; transition: opacity .25s ease;
}
.card.svc:hover::before { opacity: .5; }
/* keep heading/body text readable over the image */
.card.svc h3, .card.svc p { text-shadow: 0 1px 6px var(--surface); }
.card.svc > * { position: relative; z-index: 1; }
.card.svc .btn { width: 100%; justify-content: center; }
.card.svc .tag-row { margin-bottom: 20px; margin-top: auto; }
.card.svc .btn + .btn { margin-top: 18px; }
.card.svc .btn:last-child { margin-bottom: 4px; }
a.art-tile { text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
a.art-tile:hover { transform: translateY(-3px); border-color: var(--brand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE — fluid across phone, tablet and desktop
   Desktop  : > 1024px (default styles above)
   Tablet   : 641px – 1024px
   Phone    : <= 640px
   ========================================================= */

/* Never allow sideways scrolling on any device */
html, body { overflow-x: hidden; max-width: 100%; }

/* ---- Large laptops / small desktops ---- */
@media (max-width: 1180px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- TABLET (and below): hamburger nav, 2-column grids ---- */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 14px 18px 22px; box-shadow: var(--shadow);
    max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 14px; font-size: 1rem; }
  .nav-toggle { display: grid; }

  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .hero-art { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split > [style*="order:1"], .split > [style*="order:2"] { order: 0 !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Small tablets ---- */
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  .footer-about { grid-column: 1 / -1; }
}

/* ---- PHONE ---- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section-sm { padding: 44px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px 26px; }
  .hero-stats .stat b { font-size: 1.45rem; }
  .cta-band { padding: 38px 22px; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .section-head { margin-bottom: 36px; }
  .card, .form-card { padding: 22px; }
  .price-card .pimg { height: 220px; }
  .page-hero { padding: 48px 0 40px; }
  .trust .container { gap: 12px 22px; }
  .trust .t-item { font-size: .85rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; justify-content: center; }
}

/* ---- Small phones ---- */
@media (max-width: 380px) {
  .brand .name span { display: none; }
  .hero h1 { font-size: 2rem; }
  .wa-fab { right: 14px; bottom: 14px; }
  .call-fab { right: 14px; bottom: 70px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
