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

:root {
  --sky: #29ABE2;
  --sky-light: #5DC8F0;
  --navy: #0D2B45;
  --navy-mid: #1A3A5C;
  --white: #fff;
  --off: #F4F9FC;
  --mid: #3A5A72;
  --r: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--off);
  color: var(--navy);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ===================== Header / Nav ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
}

.header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo {
  height: 36px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.header__link {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.header__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Nav item positioning for dropdowns */
.header__item {
  position: relative;
  list-style: none;
}

/* Nav dropdown menus */
.header__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  padding: 8px 0;
  margin-top: 12px;
  list-style: none;
  z-index: 200;
}

.header__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

.header__dropdown::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.header__item--dropdown:hover .header__dropdown {
  display: block;
}

.header__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.15s ease;
}

.header__dropdown-link:hover {
  background: var(--off);
  color: var(--sky);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  background: var(--sky);
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.header__phone:hover {
  background: var(--sky-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(41,171,226,0.4);
}

.header__phone svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hamburger (mobile only) */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 768px) {
  .header__inner {
    padding: 0 16px;
  }

  .header__hamburger {
    display: block;
    order: 3;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .header__nav--open {
    display: flex;
  }

  .header__phone {
    order: 2;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    gap: 0;
    margin-left: auto;
    margin-right: 12px;
  }

  .header__phone-text {
    display: none;
  }

  .header__dropdown {
    display: none;
    position: static;
    transform: none;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    margin-top: 8px;
    border-radius: 6px;
    min-width: auto;
  }

  .header__dropdown::before {
    display: none;
  }

  .header__item--dropdown:hover .header__dropdown {
    display: none;
  }

  .header__item--dropdown.header__item--open .header__dropdown {
    display: block;
  }

  .header__dropdown-link {
    color: rgba(255,255,255,0.7);
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .header__dropdown-link:hover {
    background: rgba(255,255,255,0.05);
    color: var(--white);
  }
}

/* ===================== Hero ===================== */
.hero {
  min-height: 80vh;
  background: linear-gradient(to bottom, rgba(13,43,69,0.85), rgba(26,58,92,0.80)),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  max-width: 750px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero__subtitle {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin-bottom: 40px;
  font-size: 1.15rem;
}

/* CTA Buttons */
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}

.btn {
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.btn--primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(255,255,255,0.25);
  animation: pulse 2.5s infinite;
}

.btn--primary:hover {
  background: var(--sky-light);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(93,200,240,0.4);
  animation: none;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  border-color: var(--white);
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky-light);
  line-height: 1;
}

.stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===================== Sections ===================== */
.section {
  padding: 80px 24px;
}

.section--white {
  background: var(--white);
}

.section__wrap {
  max-width: 950px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================== Services Grid ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--r);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(41,171,226,0.3);
}

.card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-light);
  filter: drop-shadow(0 4px 10px rgba(93,200,240,0.4));
  transition: transform 0.3s ease;
}

.card:hover .card__icon {
  transform: scale(1.1);
}

.card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
}

.card__text {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.65;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

.btn--services {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(13,43,69,0.2);
}

.btn--services:hover {
  background: var(--navy-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13,43,69,0.3);
}

/* ===================== Area Grid ===================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-tag {
  background: var(--white);
  border-left: 4px solid var(--sky);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.area-tag:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-left-color: var(--navy);
}

/* ===================== Get Started / Form ===================== */
.section--dark {
  background: linear-gradient(160deg, var(--navy), var(--navy-mid));
}

.section--dark .section__label {
  color: var(--sky-light);
}

.section--dark .section__title {
  color: var(--white);
}

.section--dark .section__subtitle {
  color: rgba(255,255,255,0.7);
}

.form-wrapper {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.form__input,
.form__textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form__textarea {
  resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--sky-light);
  background: rgba(255,255,255,0.1);
}

.form__submit {
  width: 100%;
  background: var(--sky);
  color: var(--white);
  font-weight: 800;
  padding: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  font-family: inherit;
}

.form__submit:hover {
  background: var(--sky-light);
  box-shadow: 0 4px 15px rgba(41,171,226,0.4);
}

.form__privacy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

.form__error {
  display: none;
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 2px;
}

.form__input--error,
.form__textarea--error {
  border-color: #ff6b6b !important;
}

/* ===================== About Page ===================== */
.about-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-mid));
  padding: 80px 24px;
  text-align: center;
}

.about-hero .section__title {
  color: var(--white);
}

.about-hero .section__subtitle {
  color: rgba(255,255,255,0.7);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-block {
  margin-bottom: 48px;
}

.about-block__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-block__text {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.75;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list__item {
  padding: 12px 0 12px 28px;
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.6;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.about-list__item:last-child {
  border-bottom: none;
}

.about-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--sky);
  border-radius: 50%;
}

.about-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===================== Footer ===================== */
.footer {
  background: #0A2238;
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__location {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sky-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer__links {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--sky-light);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 70vh;
  }
}

@media (max-width: 640px) {
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

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

  .stat__number {
    font-size: 1.6rem;
  }

  .form-wrapper {
    padding: 25px;
  }
}
