:root {
  --bg: #f4f8fd;
  --bg-alt: #eef4fb;
  --surface: #ffffff;
  --surface-soft: #f5f9ff;
  --text: #142330;
  --muted: #4e6474;
  --primary: #0a6f8c;
  --primary-strong: #075a71;
  --secondary: #0f8f8d;
  --accent: #f4a424;
  --ok: #109d8f;
  --danger: #d1495b;
  --line: rgba(16, 57, 80, 0.14);
  --shadow: 0 18px 42px rgba(11, 44, 63, 0.12);
  --shadow-soft: 0 10px 24px rgba(11, 44, 63, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, #ddf2ff 0%, rgba(221, 242, 255, 0) 36%),
    radial-gradient(circle at 90% 16%, #fff0d5 0%, rgba(255, 240, 213, 0) 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  line-height: 1.62;
}

a {
  color: var(--primary-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: 120;
}

header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(246, 251, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  font-family: "Merriweather", Georgia, serif;
  color: #0f4d66;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.2px;
}

.brand small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: #164c63;
  transition: background 0.2s ease;
}

nav a:hover {
  text-decoration: none;
  background: #e0f2fb;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(22, 76, 99, 0.22);
  background: #fff;
  border-radius: 999px;
  color: #164c63;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}

.cta-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--primary) 0%, #0a9ec4 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.cta-top:hover {
  text-decoration: none;
  background: linear-gradient(130deg, #085f78 0%, #097e9f 100%);
}

main {
  padding-bottom: 20px;
}

section {
  padding: 18px 0;
}

.hero {
  padding: 64px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(20, 65, 91, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(10, 111, 140, 0.16), rgba(10, 111, 140, 0));
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(11, 44, 63, 0.16);
}

.card.no-hover:hover,
.card-form:hover {
  transform: none;
}

.hero-panel {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 255, 0.92)),
    url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.card-form {
  background: linear-gradient(160deg, #f2f8ff 0%, #fff6e8 100%);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: #0d3649;
  font-family: "Merriweather", Georgia, serif;
}

h1 {
  font-size: clamp(1.8rem, 1.25rem + 1.75vw, 2.9rem);
}

h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.85vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.05rem;
  color: #244759;
  margin: 0 0 14px;
}

.muted {
  color: var(--muted);
}

.reassurance,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge,
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(10, 111, 140, 0.2);
  background: #e8f5ff;
  color: #164b61;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 11px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(130deg, var(--primary), #0b9ac0);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary-strong);
  border-color: var(--primary);
}

.btn-ghost {
  background: #eff7ff;
  color: #0a5f79;
}

.form-row {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #9fb6c5;
  border-radius: 10px;
  padding: 11px;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 111, 140, 0.16);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: #225267;
  font-weight: 700;
}

.success-banner {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e8fff6;
  border: 1px solid rgba(16, 157, 143, 0.35);
  color: #0b665f;
  font-weight: 700;
  display: none;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 74, 101, 0.12);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: 1.12rem;
  color: #0f4257;
}

.kpi span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.situation-card {
  position: relative;
  min-height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.situation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 33, 0.18), rgba(4, 23, 33, 0.78));
}

.situation-card > * {
  position: relative;
  z-index: 1;
}

.situation-card h3 {
  color: #fff;
  margin-bottom: 4px;
}

.situation-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.92);
}

.situation-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 0.82rem;
}

.situation-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 18px 35px rgba(11, 44, 63, 0.24);
}

.tone-blue {
  background: linear-gradient(135deg, rgba(9, 83, 115, 0.58), rgba(0, 152, 208, 0.44)), url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?auto=format&fit=crop&w=1000&q=80') center/cover;
}

.tone-teal {
  background: linear-gradient(135deg, rgba(4, 96, 99, 0.6), rgba(7, 147, 127, 0.42)), url('https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=1000&q=80') center/cover;
}

.tone-orange {
  background: linear-gradient(135deg, rgba(125, 73, 12, 0.66), rgba(192, 108, 0, 0.48)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1000&q=80') center/cover;
}

.tone-green {
  background: linear-gradient(135deg, rgba(17, 95, 79, 0.62), rgba(11, 137, 101, 0.45)), url('https://images.unsplash.com/photo-1584622781564-1d987f7333c1?auto=format&fit=crop&w=1000&q=80') center/cover;
}

.tone-cyan {
  background: linear-gradient(135deg, rgba(7, 88, 114, 0.64), rgba(0, 131, 176, 0.45)), url('https://images.unsplash.com/photo-1621905252472-e8e2f4d6a06f?auto=format&fit=crop&w=1000&q=80') center/cover;
}

.tone-navy {
  background: linear-gradient(135deg, rgba(21, 49, 92, 0.68), rgba(25, 107, 142, 0.46)), url('https://images.unsplash.com/photo-1507652313519-d4e9174996dd?auto=format&fit=crop&w=1000&q=80') center/cover;
}

.quick-problems {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.problem-btn {
  border: 1px solid rgba(10, 111, 140, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #12506a;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.problem-btn:hover {
  background: #eaf6ff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  border: 1px solid rgba(17, 70, 95, 0.12);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(160deg, #f1f8ff, #fff8ec);
}

.process-step b {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 8px;
  color: #fff;
  background: var(--primary);
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li {
  margin-bottom: 7px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(10, 111, 140, 0.16);
  border-radius: 12px;
  background: #f4f9ff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 800;
  color: #11445b;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 14px 12px;
  color: #285163;
}

.page-title {
  padding: 40px 0 12px;
  position: relative;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 6px 0 0;
  z-index: -1;
  border-radius: 20px;
  border: 1px solid rgba(17, 70, 95, 0.12);
  background:
    linear-gradient(120deg, rgba(240, 248, 255, 0.95), rgba(255, 246, 228, 0.9)),
    url('https://images.unsplash.com/photo-1607472586893-edb57bdc0e39?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.map-card iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 280px;
}

.testimonial {
  border-left: 4px solid var(--ok);
  border: 1px solid rgba(16, 157, 143, 0.25);
  background: linear-gradient(140deg, #eefcf8, #eef8ff);
  border-radius: 12px;
  padding: 13px;
}

.stars {
  color: #f4a424;
  letter-spacing: 1px;
}

.review-carousel {
  position: relative;
  min-height: 140px;
}

.review-item {
  display: none;
  margin: 0;
}

.review-item.is-active {
  display: block;
}

.review-controls {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.review-next {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(10, 111, 140, 0.26);
  border-radius: 999px;
  background: #fff;
  color: #0f556d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-arrow {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform 0.24s ease;
}

.review-next.is-rotating .review-arrow {
  transform: rotate(180deg);
}

.review-count {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.footer-note {
  font-size: 0.88rem;
  color: #dcefff;
}

footer {
  margin-top: 24px;
  padding: 28px 0 92px;
  color: #eef7ff;
  background: linear-gradient(165deg, #0e3442 0%, #124d63 54%, #0f667a 100%);
}

footer a {
  color: #d4f1ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.mobile-call {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--accent), #ffb62d);
  color: #1d2a33;
  font-weight: 900;
  border-radius: 999px;
  padding: 14px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.mobile-call:hover {
  text-decoration: none;
}

.quick-actions {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-actions a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.quick-call { background: linear-gradient(130deg, var(--primary), #0aa1c9); }
.quick-map { background: linear-gradient(130deg, #0f8f8d, #13b3a4); }
.quick-form { background: linear-gradient(130deg, #dc7e16, #f4a424); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .process-grid,
  .kpi-grid,
  .situation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 34px;
  }

  .cta-top {
    display: none;
  }

  .nav {
    align-items: center;
    flex-direction: row;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 90;
  }

  body.menu-open .nav nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav nav ul {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 68, 92, 0.14);
    box-shadow: 0 14px 32px rgba(10, 43, 63, 0.18);
  }

  .nav nav a {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
  }

  .mobile-call {
    display: inline-flex;
  }

  footer {
    padding-bottom: 104px;
  }
}
