:root {
  --bg: #c8d5dd;
  --surface: #dde9f0;
  --surface-2: #cedde6;
  --text: #0f2636;
  --muted: #2f4a5b;
  --brand: #0e4262;
  --brand-2: #2f6f98;
  --line: #9db3c2;
  --radius: 16px;
  --shadow: 0 16px 34px rgba(6, 28, 44, 0.2);
  --headline-bg: linear-gradient(135deg, rgba(13, 62, 91, 0.2), rgba(86, 141, 177, 0.24));
  --headline-border: rgba(13, 62, 91, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(99, 156, 194, 0.3), transparent 36%),
    radial-gradient(circle at 84% 16%, rgba(14, 66, 98, 0.24), transparent 34%),
    linear-gradient(180deg, #b7c9d4 0%, var(--bg) 55%, #bccbd3 100%);
  line-height: 1.55;
  min-height: 100vh;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(10px);
}

.bg-shape-a {
  width: 320px;
  height: 320px;
  background: rgba(95, 151, 189, 0.34);
  top: -100px;
  right: -100px;
  border-radius: 46% 54% 42% 58% / 53% 34% 66% 47%;
  animation: floaty 9s ease-in-out infinite;
}

.bg-shape-b {
  width: 280px;
  height: 280px;
  background: rgba(14, 66, 98, 0.28);
  bottom: -90px;
  left: -90px;
  border-radius: 63% 37% 55% 45% / 43% 58% 42% 57%;
  animation: floaty 11s ease-in-out infinite reverse;
}

.site-header {
  width: min(1100px, 92vw);
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(224, 236, 243, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid #8ca8ba;
  border-radius: 999px;
  padding: 10px 14px;
  position: sticky;
  top: 10px;
  z-index: 40;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 66, 98, 0.18), rgba(95, 151, 189, 0.2));
  border: 1px solid rgba(14, 66, 98, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
}

.logo-image {
  display: block;
  width: auto;
  height: clamp(50px, 5.5vw, 68px);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a,
.dropdown-toggle {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.main-nav a:hover,
.dropdown-toggle:hover {
  background: rgba(14, 66, 98, 0.12);
}

.main-nav > a.is-current,
.dropdown-menu a.is-current,
.has-dropdown.is-current > .dropdown-toggle {
  background: rgba(14, 66, 98, 0.18);
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(170deg, #e9f2f7, #d7e6ee);
  box-shadow: 0 14px 28px rgba(10, 47, 73, 0.2);
  padding: 8px;
  display: none;
  z-index: 60;
}

.dropdown-menu a {
  display: block;
  border-radius: 10px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  display: block;
}

.menu-toggle {
  display: none;
  border: 1px solid #8ca8ba;
  background: linear-gradient(180deg, #edf4f8, #dce8ef);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}

.section {
  width: min(1100px, 92vw);
  margin: 26px auto;
  background: linear-gradient(170deg, rgba(227, 237, 244, 0.98), rgba(208, 223, 233, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.2vw, 42px);
}

.section:nth-of-type(even) {
  background: linear-gradient(170deg, rgba(214, 229, 238, 0.98), rgba(198, 216, 227, 0.98));
}

.hero h1,
h2,
h3 {
  color: #12364f;
}

.lead,
.steps p,
.site-footer,
.contact-list,
.contact-form label {
  color: #1d425a;
}

.hero {
  position: relative;
  overflow: hidden;
}

.eyebrow {
  color: var(--brand-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px;
  font-size: 0.85rem;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  margin: 0;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: 0;
}

.section h1,
.section h2 {
  display: inline-block;
  background: var(--headline-bg);
  border: 1px solid var(--headline-border);
  box-shadow: 0 8px 18px rgba(10, 47, 73, 0.14);
}

.section h1 {
  border-radius: 22px;
  padding: 10px 16px;
}

.section h2 {
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 62ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #0e5d87);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 47, 73, 0.35);
}

.btn-ghost {
  color: #1f4f6a;
  border-color: rgba(31, 79, 106, 0.55);
  background: rgba(31, 79, 106, 0.08);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.trust-list li {
  background: linear-gradient(165deg, #d6e4ee, #bfd3e1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-weight: 500;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.locations-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, #deebf3, #cfe0ea);
  padding: 16px;
}

.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.service-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 47, 73, 0.2);
}

.reviews-intro {
  margin-top: 0;
}

.reviews-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, #deebf3, #cfe0ea);
  padding: 12px 14px;
  font-weight: 700;
  color: #12364f;
}

.reviews-score {
  color: #0b5a87;
  font-size: 1.1rem;
  font-weight: 800;
}

.reviews-count {
  color: #d4a017;
  font-weight: 800;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, #d9e7ef, #c5d8e3);
  padding: 14px;
}

.review-meta {
  margin: 0 0 8px;
  font-weight: 700;
  color: #12364f;
}

.review-stars {
  color: #d4a017;
  text-shadow: 0 0 8px rgba(212, 160, 23, 0.35);
  letter-spacing: 0.05em;
}

.review-text {
  margin: 0;
  color: #1d425a;
}

.service-page h2 {
  margin-top: 26px;
}

.service-page h3 {
  margin-top: 18px;
}

.service-page ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.service-page li {
  margin-bottom: 6px;
}

.service-details {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, #d9e7ef, #c5d8e3);
  padding: 18px;
}

.service-article h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.service-article p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #1d425a;
}

.service-article ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.service-article li {
  margin-bottom: 6px;
}

.steps {
  margin: 0;
  padding-left: 18px;
}

.steps li {
  margin-bottom: 16px;
}

.steps p {
  margin: 6px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr 0.9fr;
}

.contact-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.contact-form {
  display: grid;
  gap: 8px;
}

.contact-map {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, #d9e7ef, #c5d8e3);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-map h3 {
  margin: 0;
}

.contact-map p {
  margin: 0;
  color: #1d425a;
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 10px;
}

.form-status {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #d6e4ee, #bfd3e1);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  font-weight: 600;
  margin-top: 4px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  background: #e8f1f6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 45, 64, 0.35);
  border-color: var(--brand);
}

.site-footer {
  width: min(1100px, 92vw);
  margin: 20px auto 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #213f53;
  text-align: center;
}

.footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
  margin-bottom: 6px;
}

.footer-links__group {
  display: grid;
  gap: 6px;
}

.footer-links__title {
  margin: 0 0 2px;
  color: #12364f;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #0d3e5b;
  text-decoration: none;
}

.footer-links a {
  margin: 0;
  width: fit-content;
}

.site-footer > p a {
  margin: 0 10px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
}

.cookie-banner__content {
  width: min(1100px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(233, 242, 247, 0.98), rgba(215, 230, 238, 0.98));
  box-shadow: 0 18px 36px rgba(6, 28, 44, 0.22);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  color: #12364f;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__button {
  min-width: 132px;
}

body.has-cookie-banner {
  padding-bottom: 120px;
}

.reveal {
  opacity: 0.85;
  transform: translateY(16px);
  animation: riseIn 650ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 100ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 200ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 300ms;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}

@media (max-width: 860px) {
  .logo-image {
    height: 44px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: 10px;
    background: linear-gradient(170deg, #e9f2f7, #d7e6ee);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a,
  .dropdown-toggle {
    text-align: left;
    border-radius: 10px;
  }

  .dropdown-menu {
    position: static;
    margin-top: 6px;
    min-width: 0;
    box-shadow: none;
  }

  .has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .main-nav.open {
    display: flex;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__button {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links a {
    margin: 0 auto;
  }

  body.has-cookie-banner {
    padding-bottom: 190px;
  }
}
