@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #14213d;
  background: #f7fbff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5eef6;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b7285;
  letter-spacing: -0.04em;
}

.logo span {
  color: #14213d;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #34495e;
}

.nav-links a:hover {
  color: #0b7285;
}

.header-phone {
  font-weight: 800;
  color: #0b7285;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: #0b7285;
  color: white;
  font-weight: 800;
  border: 2px solid #0b7285;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: #075563;
  border-color: #075563;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #0b7285;
}

.btn-outline:hover {
  background: #0b7285;
  color: white;
}

.burger {
  display: none;
  width: 34px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.burger span {
  height: 3px;
  background: #14213d;
  border-radius: 999px;
}

/* Hero */

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.97), rgba(247, 251, 255, 0.12)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-content {
  max-width: 690px;
  padding: 80px 0;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  background: #e7f7f9;
  color: #0b7285;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
  color: #102a43;
}

.hero p {
  font-size: 1.18rem;
  max-width: 610px;
  color: #4b6475;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dceaf2;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 18px 40px rgba(16, 42, 67, 0.08);
}

.trust-item strong {
  display: block;
  font-size: 1.35rem;
  color: #0b7285;
  line-height: 1;
}

.trust-item span {
  font-size: 0.9rem;
  color: #526b7a;
  font-weight: 600;
}

/* Sections */

section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
  color: #102a43;
}

.section-heading p {
  color: #5f7482;
  font-size: 1.05rem;
}

/* Services */

.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
  padding: 26px;
  color: white;
  background: #102a43;
  isolation: isolate;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.75));
  z-index: -1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scale(1.08);
}

.service-1::after {
  background-image: url("https://images.unsplash.com/photo-1584820927498-cfe5211fd8bf?auto=format&fit=crop&w=900&q=80");
}

.service-2::after {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80");
}

.service-3::after {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80");
}

.service-4::after {
  background-image: url("https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?auto=format&fit=crop&w=900&q=80");
}

.service-card h3 {
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  opacity: 0.9;
}

/* About */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split-image {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(16, 42, 67, 0.16);
}

.split-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #425b6b;
  font-weight: 600;
}

.check span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d8f3f6;
  color: #0b7285;
  font-weight: 900;
}

/* Quote */

.quote-band {
  background: #0b7285;
  color: white;
  padding: 70px 0;
}

.quote-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.quote-inner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  max-width: 760px;
}

.quote-inner p {
  margin-top: 14px;
  color: #d7f7fb;
  max-width: 620px;
}

.quote-band .btn {
  background: white;
  color: #0b7285;
  border-color: white;
  flex-shrink: 0;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  background: white;
  border: 1px solid #ddebf3;
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(16, 42, 67, 0.06);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.why-card p {
  color: #5f7482;
  font-size: 0.95rem;
}

.custom-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e7f7f9, #ffffff);
  border: 1px solid #cdeef3;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(16, 42, 67, 0.08);
}

.custom-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #0b7285;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contact */

.contact {
  background: #fff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info {
  background: #102a43;
  color: white;
  border-radius: 32px;
  padding: 42px;
}

.contact-info h2 {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.05em;
}

.contact-info p {
  color: #c9d6df;
  margin-bottom: 30px;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}

.info-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-line span {
  color: white;
  font-size: 1rem;
}

.service-area-map {
  position: relative;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 35px;
  box-shadow: 0 20px 50px rgba(16, 42, 67, 0.18);
  background: #102a43;
}

.service-area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.1) brightness(0.85) sepia(0.15) hue-rotate(135deg);
}

.service-area-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11, 114, 133, 0.35), rgba(16, 42, 67, 0.78));
  pointer-events: none;
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: white;
  pointer-events: none;
}

.map-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.map-overlay h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.map-overlay p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.85);
}

.form-box {
  background: #f7fbff;
  border: 1px solid #dceaf2;
  border-radius: 32px;
  padding: 42px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.83rem;
  font-weight: 800;
  color: #40596b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cadce7;
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  background: white;
  color: #102a43;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #d8f3f6;
  border-color: #0b7285;
}

.form-box .btn {
  margin-top: 22px;
  width: 100%;
}

/* Demo CTA */

.demo-cta {
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(11, 114, 133, 0.94), rgba(16, 42, 67, 0.96)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.demo-cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.demo-cta-box .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #d7f7fb;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.demo-cta-box h2 {
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin: 22px 0;
}

.demo-cta-box p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: #d7eaf0;
  font-size: 1.05rem;
}

.demo-cta-box .btn {
  background: white;
  color: #0b7285;
  border-color: white;
}

.demo-cta-box .btn:hover {
  background: #d8f3f6;
  border-color: #d8f3f6;
  color: #075563;
}

/* Footer */

.footer {
  background: #071d2b;
  color: white;
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  color: #b9cbd8;
  font-size: 0.95rem;
}

.footer .logo {
  color: #fff;
}

.footer .logo span {
  color: #65d4e3;
}

/* 404 Page */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
}

.error-section {
  min-height: calc(100vh - 166px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(247, 251, 255, 0.82)),
    url("https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.error-content {
  max-width: 720px;
}

.error-content h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
  color: #102a43;
}

.error-content p {
  font-size: 1.15rem;
  max-width: 560px;
  color: #4b6475;
  margin-bottom: 34px;
}

/* Scroll Reveal Animations */

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up {
  transform: translateY(45px);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.service-card.reveal-up,
.why-card.reveal-up {
  transition-delay: 0s;
}

.service-card.reveal-up:nth-child(1),
.why-card.reveal-up:nth-child(1) {
  transition-delay: 0.05s;
}

.service-card.reveal-up:nth-child(2),
.why-card.reveal-up:nth-child(2) {
  transition-delay: 0.14s;
}

.service-card.reveal-up:nth-child(3),
.why-card.reveal-up:nth-child(3) {
  transition-delay: 0.23s;
}

.service-card.reveal-up:nth-child(4),
.why-card.reveal-up:nth-child(4) {
  transition-delay: 0.32s;
}

/* Responsive */

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 4%;
    border-bottom: 1px solid #e5eef6;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(16, 42, 67, 0.08);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .burger {
    display: flex;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .reveal-left {
    transform: translateX(-36px);
  }

  .reveal-right {
    transform: translateX(36px);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(247, 251, 255, 0.86)),
      url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1000&q=80") center/cover no-repeat;
  }

  .hero-content {
    padding: 64px 0;
  }

  section {
    padding: 60px 0;
  }

  .services-grid,
  .why-grid,
  .form-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    gap: 24px;
  }

  .service-card {
    min-height: 300px;
  }

  .split-image img {
    height: 360px;
  }

  .contact-info,
  .form-box {
    width: 100%;
    max-width: 100%;
    padding: 24px;
    border-radius: 24px;
    overflow: hidden;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .info-line {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
  }

  .info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .info-line span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
  }

  .service-area-map {
    height: 300px;
    margin-top: 28px;
    border-radius: 20px;
  }
    .map-overlay h3,
    .map-overlay p {
        display: none;
    }

    .map-overlay {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 12px;
    }

    .map-badge {
        margin: 0;
        font-size: 0.75rem;
    }

  input,
  select,
  textarea {
    font-size: 16px;
    max-width: 100%;
  }

  .form-box .btn {
    width: 100%;
  }

  .demo-cta {
    padding: 70px 0;
  }

  .error-section {
    min-height: calc(100vh - 150px);
    padding: 70px 0;
  }

  .contact.reveal-left,
  .contact .reveal-right {
    transform: translateY(35px);
  }

  .contact.reveal-left.is-visible,
  .contact .reveal-right.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .trust-row {
    flex-direction: column;
  }

  .hero-actions .btn,
  .trust-item {
    width: 100%;
  }

  .info-line {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .service-card::after {
    transition: none;
  }
}