:root {
  --ink: #101820;
  --muted: #526170;
  --line: #dce6ec;
  --paper: #f7fafb;
  --white: #ffffff;
  --blue: #082b72;
  --blue-accent: #2d67b1;
  --ice: #d8e7ff;
  --silver: #c9d1dc;
  --navy: #172a3a;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  border-radius: 50%;
}

.brand-logo {
  display: block;
  width: clamp(102px, 11vw, 124px);
  height: clamp(102px, 11vw, 124px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.nav {
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a,
.header-action {
  opacity: 0.88;
}

.nav a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 24, 34, 0.94) 0%, rgba(13, 24, 34, 0.76) 42%, rgba(13, 24, 34, 0.2) 100%),
    linear-gradient(0deg, rgba(13, 24, 34, 0.2), rgba(13, 24, 34, 0.08));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 110px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ice);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--blue-accent);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(45, 103, 177, 0.26);
}

.button.primary:hover {
  background: var(--blue);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.whatsapp {
  margin-top: 24px;
  background: var(--blue-accent);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(45, 103, 177, 0.28);
}

.button.whatsapp:hover {
  background: var(--blue);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.intro p:last-child,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
}

.metrics article {
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 190px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  max-width: 700px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

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

.service-card {
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.06);
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 900;
}

.service-card h3,
.timeline h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.18rem;
}

.service-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.process {
  width: 100%;
  max-width: none;
  background: var(--navy);
  color: var(--white);
}

.process .section-heading,
.timeline {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.process h2,
.timeline h3 {
  color: var(--white);
}

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

.timeline article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--silver);
  color: var(--blue);
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfdfe;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(45, 103, 177, 0.18);
  border-color: var(--blue-accent);
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #0d1822;
  font-size: 0.94rem;
}

.footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-accent);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.26);
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: var(--blue);
}

.whatsapp-float img {
  display: block;
  width: 34px;
  height: 34px;
}

@media (max-width: 900px) {
  .header-action {
    display: none;
  }

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

  .service-grid,
  .metrics,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
    font-size: 0.8rem;
  }

  .brand {
    border-radius: 50%;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 21vw, 5.2rem);
  }

  .service-grid,
  .metrics,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
