:root {
  --bg: #ecf6ff;
  --surface: #ffffff;
  --ink: #0b1e2d;
  --muted: #4a6072;
  --primary: #1d7bd6;
  --primary-dark: #145ca6;
  --accent: #12c2d0;
  --accent-dark: #0b98a5;
  --line: #cfe3f3;
  --shadow: 0 22px 45px rgba(11, 30, 45, 0.12);
  --brand-blue: #1b4f9a;
  --brand-cyan: #2da9e1;
  --brand-orange: #f07a1f;
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at top left, #f3f9ff 0%, #ecf6ff 35%, #e2f0ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.45;
  z-index: -1;
  animation: float 14s ease-in-out infinite;
}

.bg-glow--a {
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, #c7e6ff 0%, rgba(199, 230, 255, 0) 65%);
}

.bg-glow--b {
  top: 480px;
  left: -160px;
  background: radial-gradient(circle, #b6f2ff 0%, rgba(182, 242, 255, 0) 60%);
  animation-delay: 2s;
}

.bg-glow--c {
  bottom: 120px;
  right: -140px;
  background: radial-gradient(circle, #d7efff 0%, rgba(215, 239, 255, 0) 60%);
  animation-delay: 4s;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(183, 213, 235, 0.7);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand actions"
    "nav nav";
  align-items: center;
  gap: 12px 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  grid-area: brand;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  text-align: center;
  align-items: center;
}

.brand__name {
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(120deg, var(--brand-blue), var(--brand-cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.brand__tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  padding-top: 4px;
  border-top: 1px solid rgba(27, 79, 154, 0.35);
  font-family: var(--font-display);
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--primary), #5ab2ff);
  box-shadow: 0 0 0 6px rgba(29, 123, 214, 0.18);
}

.brand__logo {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
  grid-area: nav;
  padding: 8px 0 0;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-area: actions;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(18, 194, 208, 0.4);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #4aa3ff);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(29, 123, 214, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 10px;
}

.hero {
  padding: 80px 0 40px;
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  line-height: 1.1;
  margin: 10px 0 16px;
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: #e8f4ff;
  border: 1px dashed #9fd2ff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  border-radius: var(--radius-lg);
  height: 420px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero__card {
  position: absolute;
  right: 24px;
  bottom: -20px;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 16px;
  max-width: 240px;
  box-shadow: var(--shadow);
}

.hero__card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
}

.section {
  padding: 70px 0;
}

.section[id] {
  scroll-margin-top: 130px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 6px 0 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 22px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 34, 52, 0.12);
}

.carousel__btn span {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.carousel__btn[data-carousel-prev] span {
  transform: rotate(135deg);
}

.carousel__btn:hover {
  border-color: var(--primary);
}

.carousel__dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #b9d6f2;
  cursor: pointer;
}

.carousel__dot.is-active,
.carousel__dot[aria-current="true"] {
  width: 26px;
  background: var(--primary);
}

.service-card {
  min-width: 260px;
  max-width: 320px;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.service-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.service-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 177, 184, 0.15);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.benefit-card {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e4f7ff, #ffffff);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d9ecff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.contact {
  background: linear-gradient(135deg, #e8f4ff, #f7fbff);
}

.contact__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 10px 0;
}

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

.contact__cards {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-card {
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.contact-card h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.quote {
  display: grid;
  gap: 14px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quote label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.quote input,
.quote select,
.quote textarea {
  border-radius: 12px;
  border: 1px solid #cfe3f3;
  padding: 12px 14px;
  font-size: 0.98rem;
  font-family: var(--font-body);
}

.quote textarea {
  resize: vertical;
}

.footer {
  padding: 24px 0 32px;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}

.reveal--1 {
  animation-delay: 0.1s;
}

.reveal--2 {
  animation-delay: 0.2s;
}

.reveal--3 {
  animation-delay: 0.3s;
}

.reveal--4 {
  animation-delay: 0.4s;
}

.reveal--5 {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}

@media (max-width: 980px) {
  .hero__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual img {
    height: 360px;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel__btn {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 16px;
    display: none;
    justify-content: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header__actions .btn--ghost {
    display: none;
  }
}

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

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card {
    flex-basis: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .bg-glow {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
