:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-muted: #eef4f8;
  --text: #1b2733;
  --muted: #5f6f7f;
  --brand: #0a4d7a;
  --brand-strong: #083c60;
  --accent: #1e9ed6;
  --line: #d8e2ea;
  --shadow: 0 14px 34px rgba(16, 32, 48, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title {
  margin: 0.25rem 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.section-intro {
  max-width: 62ch;
  color: var(--muted);
}

.cta-hero,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
}

.cta-hero,
.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
}

.stack {
  display: grid;
  gap: 1.4rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.2rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 1.25rem;
}

.card h3,
.card h2 {
  margin-top: 0;
}

.service-card,
.feature-card,
.gallery-card,
.contact-card,
.offer-card {
  position: relative;
  height: 100%;
}

.service-card .card-body p,
.offer-card .card-body p,
.contact-card p {
  color: var(--muted);
}

.service-card .service-link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 3;
  cursor: pointer;
}

.service-card .card-body,
.service-card img {
  position: relative;
  z-index: 1;
}

.service-card .wa-icon {
  position: relative;
  z-index: 4;
}

.service-card img,
.gallery-card img,
.offer-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f0f9f3;
}

.wa-icon img {
  width: 18px;
  height: 18px;
}

.trust-grid .card,
.feature-card,
.gallery-card,
.cta-panel,
.text-panel {
  height: 100%;
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #edf6fb;
  color: var(--brand);
  font-size: 1.2rem;
}

.bullet-list,
.service-checklist {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.bullet-list li,
.service-checklist li {
  margin-bottom: 0.55rem;
  color: var(--text);
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef6fd;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.gallery-grid img {
  border-radius: 16px;
}

.cta-panel {
  padding: 1.5rem;
  background: linear-gradient(135deg, #0a4d7a, #0f6ba8);
  color: #fff;
  border-radius: 22px;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.92);
}

.contact-card {
  padding: 1.4rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.simple-banner {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--text);
}

.page-intro {
  margin-top: -3rem;
  position: relative;
  z-index: 4;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.split-panel.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.split-panel img {
  border-radius: 20px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.price-box {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.tool-card {
  padding: 1.1rem;
}

.tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.8rem 0;
}

.tool-row input {
  width: 86px;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.toggle-button {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  margin-top: 1rem;
}

.toggle-panel {
  margin-top: 0.9rem;
  padding: 1rem;
  background: var(--surface-muted);
  border-radius: 14px;
  border-left: 4px solid var(--accent);
}

.price-total {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 700;
}

.floating-pop {
  position: absolute;
  z-index: 40;
  top: 4rem;
  left: 1rem;
  max-width: 360px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.hover-help {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hover-pop {
  position: absolute;
  z-index: 45;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(420px, calc(100vw - 2rem));
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.hover-help:hover .hover-pop,
.hover-help:focus-within .hover-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hover-pop p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.hover-pop .service-checklist {
  margin-top: 0;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #edf6fb;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.offer-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-box {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border-left: 4px solid var(--brand);
  background: #f4f8fb;
}

.policy-box p {
  margin: 0.35rem 0;
}

.info-trigger {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.help-float {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  z-index: 1190;
  border: 0;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 14px 28px rgba(10, 77, 122, 0.25);
}

.help-box {
  position: fixed;
  right: 1rem;
  bottom: 10rem;
  z-index: 1189;
  width: min(320px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.seo-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-panel,
  .split-panel.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section { padding: 3rem 0; }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .page-shell {
    width: min(100% - 1.2rem, 1180px);
  }
  .card-body,
  .contact-card,
  .tool-card {
    padding: 1rem;
  }
  .floating-pop {
    left: 0;
    right: 0;
    max-width: none;
    top: auto;
    bottom: 1rem;
  }
  .help-float {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 5rem;
  }
}
