:root {
  --navy: #08213f;
  --navy-2: #0d345e;
  --blue: #1469a8;
  --sky: #e9f4fb;
  --orange: #f59f22;
  --yellow: #ffc43b;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #edf2f7;
  --gray-600: #5c6a78;
  --text: #102033;
  --shadow: 0 18px 48px rgba(8, 33, 63, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 10px max(20px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background: rgba(8, 33, 63, 0.18);
  backdrop-filter: blur(14px);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(8, 33, 63, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 135px;
  min-width: 135px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

.site-header.is-scrolled .brand img,
.site-header.menu-open .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-call {
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(245, 159, 34, 0.26);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  background: var(--sky);
}

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

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

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

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

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

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background: url("hero-bg.png") center / cover no-repeat;
  animation: heroZoom 12s ease-out forwards;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 33, 63, 0.88) 0%, rgba(8, 33, 63, 0.68) 42%, rgba(8, 33, 63, 0.18) 78%),
    linear-gradient(180deg, rgba(8, 33, 63, 0.34), rgba(8, 33, 63, 0.2));
}

.hero-content {
  padding-top: 36px;
  padding-bottom: 40px;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  object-fit: contain;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 18px 30px rgba(245, 159, 34, 0.28);
}

.btn-whatsapp {
  background: #19b95f;
  color: var(--white);
  box-shadow: 0 18px 30px rgba(25, 185, 95, 0.24);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.section {
  padding: 84px 0;
}

.services {
  padding-top: 80px;
}

.services,
.area {
  background: var(--gray-50);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-panel h2,
.area h2,
.contact-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--gray-600);
  font-size: 1.06rem;
}

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

.service-card,
.why-card,
.experience-card,
.address-box {
  border: 1px solid rgba(13, 52, 94, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 33, 63, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-media {
  height: 168px;
  background: var(--sky);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-body.no-media {
  min-height: 100%;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(20, 105, 168, 0.09), rgba(245, 159, 34, 0.08)),
    var(--white);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

.service-card:hover .service-icon,
.why-card:hover .line-icon {
  transform: translateY(-3px);
}

.service-card h3,
.why-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p,
.why-card p,
.about-panel p,
.experience-card p {
  margin-bottom: 0;
  color: var(--gray-600);
}

.about {
  background:
    linear-gradient(90deg, rgba(233, 244, 251, 0.9), rgba(255, 255, 255, 0.94)),
    var(--white);
}

.about-layout,
.area-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.about-panel {
  padding-right: 24px;
}

.experience-card {
  padding: 32px;
  background: var(--navy);
  color: var(--white);
}

.experience-card strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(4.4rem, 9vw, 7.2rem);
  line-height: 0.9;
}

.experience-card span {
  display: block;
  margin: 12px 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.experience-card p {
  color: rgba(255, 255, 255, 0.78);
}

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

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

.why-card {
  min-height: 250px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--sky);
  color: var(--navy);
  transition: transform 180ms ease;
}

.line-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-icon .accent {
  stroke: var(--orange);
}

.area-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.address-box {
  display: block;
  padding: 24px;
  border-left: 5px solid var(--orange);
  color: var(--navy);
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 800;
}

.address-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--gray-600);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.contact-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.contact-cta h2 {
  color: var(--white);
}

.big-phone {
  display: inline-block;
  color: var(--yellow);
  font-size: clamp(2.05rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.contact-actions {
  justify-content: flex-end;
}

.map-section {
  width: 100vw;
  height: 30vh;
  min-height: 260px;
  margin-left: calc(50% - 50vw);
  background: var(--gray-100);
}

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

.site-footer {
  background: #07192e;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 40px;
  padding: 52px 0 34px;
}

.footer-brand img {
  width: 132px;
  height: auto;
  margin-bottom: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 12px;
}

.site-footer h2 {
  font-size: 1.35rem;
}

.site-footer h3 {
  color: var(--yellow);
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.76);
}

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

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

.fixed-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.fixed-actions a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease;
}

.fixed-actions a:first-child {
  background: transparent;
}

.fixed-actions a:last-child {
  background: transparent;
}

.fixed-actions a:hover {
  transform: scale(1.06);
}

.fixed-actions img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

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

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

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 230ms;
}

.delay-4 {
  transition-delay: 300ms;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: grid;
    width: min(320px, calc(100vw - 40px));
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .main-nav a:hover {
    background: var(--sky);
  }

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

  .header-call {
    justify-self: end;
  }

  .menu-toggle {
    display: block;
    color: inherit;
  }

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

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

@media (max-width: 768px) {
  :root {
    --container: min(100vw - 30px, 720px);
    --header-height: 66px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-inline: 15px;
  }

  .brand {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    position: static;
    flex: 0 0 44px;
    margin-left: auto;
  }

  .hero {
    min-height: 88vh;
    align-items: start;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 33, 63, 0.9), rgba(8, 33, 63, 0.62)),
      linear-gradient(180deg, rgba(8, 33, 63, 0.26), rgba(8, 33, 63, 0.24));
  }

  .hero-content {
    width: var(--container);
    margin-inline: auto;
    padding-top: 54px;
    padding-bottom: 36px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.4vw, 3rem);
    line-height: 1.06;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

  .trust-row span {
    flex: 1 1 100%;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .why-grid,
  .about-layout,
  .area-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .service-media {
    height: 172px;
  }

  .why-card {
    min-height: 210px;
  }

  .about-panel {
    padding-right: 0;
  }

  .contact-actions {
    justify-content: stretch;
  }

  .map-section {
    height: 300px;
    min-height: 260px;
  }

  .fixed-actions {
    right: 8px;
    bottom: 12px;
    gap: 8px;
  }

  .fixed-actions a {
    width: 42px;
    height: 42px;
  }

  .fixed-actions img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 414px) {
  :root {
    --container: min(100vw - 24px, 390px);
  }

  .hero {
    min-height: 90vh;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(1.82rem, 8.8vw, 2.5rem);
    line-height: 1.08;
  }

  .trust-row span {
    flex-basis: 100%;
  }

  .service-body,
  .why-card,
  .experience-card,
  .address-box {
    padding: 20px;
  }

  .big-phone {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
  }
}

@media (max-width: 375px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-open {
    gap: 24px;
    padding-inline: 14px;
  }

  .brand {
    width: 116px;
    min-width: 116px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-actions {
    gap: 10px;
  }
}

@media (min-width: 1440px) {
  .hero-content {
    max-width: 820px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
