:root {
  --ink: #0b2545;
  --muted: #536b88;
  --muted-strong: #3f5f86;
  --teal: #0b6fdc;
  --teal-dark: #064fb0;
  --coral: #1d8cf8;
  --mint: #eaf4ff;
  --paper: #ffffff;
  --soft: #f6faff;
  --line: #d8e7f7;
  --card: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-light: rgba(255, 255, 255, 0.96);
  --hero-mid: rgba(255, 255, 255, 0.86);
  --hero-clear: rgba(255, 255, 255, 0.24);
  --stat-bg: rgba(255, 255, 255, 0.78);
  --modal-backdrop: rgba(7, 27, 52, 0.64);
  --shadow: 0 18px 60px rgba(11, 69, 135, 0.16);
}

body.dark-theme {
  --ink: #f3f8ff;
  --muted: #a8bdd6;
  --muted-strong: #d4e5fb;
  --teal: #2f8cff;
  --teal-dark: #8cc4ff;
  --coral: #1e75ff;
  --mint: #071a33;
  --paper: #02060c;
  --soft: #07111f;
  --line: #16335a;
  --card: #0b1627;
  --header-bg: rgba(2, 6, 12, 0.93);
  --hero-light: rgba(2, 6, 12, 0.97);
  --hero-mid: rgba(3, 14, 28, 0.84);
  --hero-clear: rgba(4, 19, 39, 0.28);
  --stat-bg: rgba(8, 22, 42, 0.88);
  --modal-backdrop: rgba(0, 3, 8, 0.76);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--paper);
  transition: color 180ms ease, background 180ms ease;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 24px;
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--teal-dark);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(11, 69, 135, 0.08);
}

.theme-icon {
  font-size: 20px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  background: var(--coral);
  box-shadow: 0 12px 30px rgba(29, 140, 248, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #0b6fdc;
  box-shadow: 0 16px 38px rgba(29, 140, 248, 0.34);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
}

.btn-ghost {
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--card);
  box-shadow: 0 12px 28px rgba(11, 69, 135, 0.14);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, var(--hero-light) 0%, var(--hero-mid) 36%, var(--hero-clear) 72%),
    linear-gradient(0deg, rgba(7, 27, 52, 0.28), rgba(7, 27, 52, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 610px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(115px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: var(--stat-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 18px 20px;
  background: var(--stat-bg);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--teal-dark);
  font-size: 28px;
}

.hero-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--mint);
}

.trust-strip span {
  padding: 22px 18px;
  text-align: center;
  color: var(--teal-dark);
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 0;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(11, 69, 135, 0.06);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(11, 69, 135, 0.12);
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.service-card:hover .service-card-image {
  transform: scale(1.05);
}

.service-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content .icon {
  margin-bottom: 16px;
}

.service-card p,
.process-step p,
.feature-copy p,
.feature-list span {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  padding: 84px clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.feature-copy {
  max-width: 620px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list div {
  padding: 24px;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 14px 32px rgba(11, 69, 135, 0.07);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.process {
  background: var(--paper);
}

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

.process-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.process-step span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--coral);
  font-size: 34px;
  font-weight: 900;
}

.floating-contact {
  position: fixed;
  z-index: 19;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  background: var(--teal-dark);
  box-shadow: 0 16px 38px rgba(6, 79, 176, 0.32);
}

.floating-contact span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(26px, 5vw, 38px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  background: var(--card);
  font-size: 24px;
}

.contact-intro {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-options {
  display: grid;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-option:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 111, 220, 0.42);
  box-shadow: 0 14px 30px rgba(11, 69, 135, 0.1);
}

.contact-option.whatsapp {
  border-color: rgba(11, 111, 220, 0.28);
  background: var(--mint);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
}

.contact-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.floating-contact span svg {
  display: block;
  width: 20px;
  height: 20px;
}

.contact-option strong,
.contact-option small {
  display: block;
}

.contact-option strong {
  margin-bottom: 4px;
}

.contact-option small {
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 700;
}

.contact-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #d8eaff;
  background: #031225;
}

.footer span {
  color: #9fbee4;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, var(--hero-light) 0%, var(--hero-mid) 72%, color-mix(in srgb, var(--hero-mid) 68%, transparent) 100%),
      linear-gradient(0deg, rgba(7, 27, 52, 0.22), rgba(7, 27, 52, 0.08));
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
    grid-template-columns: repeat(3, 1fr);
  }

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

  .feature-band {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    max-width: calc(100% - 118px);
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small {
    font-size: 12px;
  }

  .hero {
    padding: 54px 16px 42px;
  }

  .hero-content {
    padding-top: 18px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats,
  .trust-strip,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .feature-band {
    padding: 58px 16px;
  }

  .service-card {
    min-height: auto;
  }

  .modal-panel {
    padding: 28px 18px 22px;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 16px;
  }
}
