:root {
  --color-navy: #071b45;
  --color-blue: #1057b7;
  --color-sky: #e9f3ff;
  --color-ink: #12213a;
  --color-muted: #64718a;
  --color-line: #dbe5f2;
  --color-white: #ffffff;
  --color-surface: #f6f9fd;
  --shadow-soft: 0 18px 48px rgba(7, 27, 69, 0.12);
  --shadow-card: 0 14px 34px rgba(7, 27, 69, 0.1);
  --radius: 8px;
  --header-height: 92px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(16, 87, 183, 0.42);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px max(24px, calc((100vw - var(--container)) / 2));
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(7, 27, 69, 0.66), rgba(7, 27, 69, 0));
  transition: background 220ms ease, height 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-navy);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__logo {
  width: 96px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  font-size: 0.9rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.brand__text strong {
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: currentColor;
  transition: right 200ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle {
  border-color: var(--color-line);
  background: var(--color-white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
}

.hero__slides,
.hero__image,
.hero__overlay,
.hero__route {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 900ms ease, transform 5400ms ease;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 27, 69, 0.76) 0%, rgba(7, 27, 69, 0.49) 45%, rgba(7, 27, 69, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 27, 69, 0.34) 0%, rgba(7, 27, 69, 0.06) 54%, rgba(7, 27, 69, 0.64) 100%);
}

.hero__route {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 51%, rgba(255, 255, 255, 0.16) 51.1% 51.4%, transparent 51.5%),
    radial-gradient(circle at 72% 35%, rgba(255, 255, 255, 0.2) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 61%, rgba(16, 87, 183, 0.45) 0 5px, transparent 6px);
  opacity: 0.75;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: var(--header-height);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8d7ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  font-weight: 900;
}

h2 {
  color: var(--color-navy);
  font-size: clamp(1.9rem, 3.3vw, 3.25rem);
  font-weight: 900;
}

h3 {
  color: var(--color-navy);
  font-size: 1.16rem;
  font-weight: 850;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
}

.hero__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -70%;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  transition: left 420ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 125%;
}

.btn--primary {
  color: var(--color-white);
  background: var(--color-blue);
  box-shadow: 0 14px 30px rgba(16, 87, 183, 0.28);
}

.btn--light {
  color: var(--color-navy);
  background: var(--color-white);
}

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

.hero__controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dot.is-active {
  width: 64px;
  background: var(--color-white);
}

.section {
  padding: 92px 0;
}

.section--services,
.section--why,
.section--contact {
  background: var(--color-surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.card-grid,
.advantage-grid,
.process-grid,
.contact-cards,
.footer-grid {
  display: grid;
  gap: 20px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.advantage-card,
.contact-card {
  min-height: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(7, 27, 69, 0.04), 0 10px 24px rgba(7, 27, 69, 0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card {
  padding: 28px;
}

.service-card:hover,
.advantage-card:hover,
.contact-card:hover,
.process-card:hover {
  transform: translateY(-7px);
  border-color: rgba(16, 87, 183, 0.46);
  box-shadow: 0 24px 55px rgba(7, 27, 69, 0.14), 0 0 0 4px rgba(16, 87, 183, 0.05);
}

.service-card__mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  color: var(--color-blue);
  background: var(--color-sky);
  border: 1px solid rgba(16, 87, 183, 0.12);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.service-card__mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .service-card__mark {
  color: var(--color-white);
  background: var(--color-blue);
  transform: translateY(-2px);
}

.service-card p,
.advantage-card p,
.process-card p,
.about-copy p {
  color: var(--color-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.about-copy p {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.about-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-panel img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

.about-panel:hover img {
  transform: scale(1.04);
}

.about-panel__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--color-white);
  background: rgba(7, 27, 69, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(7, 27, 69, 0.2);
}

.about-panel__badge strong,
.about-panel__badge span {
  display: block;
}

.about-panel__badge strong {
  font-size: 0.92rem;
}

.about-panel__badge span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
}

.advantage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advantage-card {
  padding: 26px;
}

.advantage-card h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--color-blue);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(7, 27, 69, 0.04), 0 10px 24px rgba(7, 27, 69, 0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 360ms ease;
}

.process-card:hover img {
  transform: scale(1.05);
}

.process-card div {
  padding: 24px;
}

.process-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-blue);
  font-weight: 900;
}

.cta-band {
  padding: 76px 0;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(7, 27, 69, 0.94), rgba(16, 87, 183, 0.9)),
    url("hero-bg1.png") center / cover;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 620px;
  color: var(--color-white);
}

.cta-band__actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  padding: 24px;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--color-navy);
  font-size: 1.08rem;
}

.map-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 40vh;
  min-height: 360px;
  background: var(--color-sky);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--color-navy);
  padding-bottom: env(safe-area-inset-bottom);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding: 54px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-weight: 900;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 1rem;
}

.site-footer p {
  max-width: 440px;
  margin: 14px 0 0;
}

.site-footer nav a {
  display: block;
  width: fit-content;
  margin: 9px 0;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
}

.fixed-actions {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  gap: 14px;
}

.fixed-action {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.fixed-action:hover,
.fixed-action:focus-visible {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 14px 20px rgba(7, 27, 69, 0.22));
}

.fixed-action img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.fixed-action--whatsapp {
  background: transparent;
}

.fixed-action--phone {
  background: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .services-grid,
  .advantage-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-panel,
  .about-panel img {
    min-height: 390px;
  }

  .cta-band__inner {
    display: block;
  }

  .cta-band__actions {
    margin-top: 26px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 78px;
  }

  .site-header {
    height: var(--header-height);
    padding: 6px 18px;
  }

  .brand__logo {
    width: 82px;
    height: 66px;
  }

  .brand__text {
    font-size: 0.78rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-navy);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--color-sky);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(7, 27, 69, 0.76) 0%, rgba(7, 27, 69, 0.44) 44%, rgba(7, 27, 69, 0.76) 100%);
  }

  .hero__image {
    object-position: center;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    gap: 10px;
  }

  .brand__text {
    max-width: 132px;
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(2.16rem, 13vw, 3.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .cta-band__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .advantage-grid,
  .process-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .service-card,
  .advantage-card,
  .contact-card {
    padding: 22px;
  }

  .about-panel,
  .about-panel img {
    min-height: 320px;
  }

  .map-section {
    height: 88vw;
    min-height: 320px;
    max-height: 440px;
  }

  .site-footer {
    padding-bottom: calc(172px + env(safe-area-inset-bottom));
  }

  .fixed-actions {
    right: 14px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    gap: 12px;
  }

  .fixed-action {
    width: 64px;
    height: 64px;
  }

  .fixed-action img {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
