:root {
  --navy: #0F2D52;
  --navy-2: #143b69;
  --orange: #F57C00;
  --orange-2: #ff9b2f;
  --ink: #152235;
  --muted: #667085;
  --line: #e5eaf0;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(15, 45, 82, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.narrow {
  width: min(100% - 32px, 880px);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 234, 240, 0.78);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 32px rgba(15, 45, 82, 0.12);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: clamp(148px, 15vw, 182px);
  height: clamp(56px, 5.7vw, 69px);
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(15, 45, 82, 0.12);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #23354d;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--navy);
  background: #eef3f8;
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: var(--orange);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: var(--white);
  background: #d86800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 54, 0.93), rgba(15, 45, 82, 0.66) 52%, rgba(15, 45, 82, 0.32)),
    linear-gradient(0deg, rgba(9, 20, 37, 0.48), transparent 44%);
}

.hero-content {
  position: relative;
  max-width: 880px;
}

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

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2.4vw, 1.3rem);
}

.legacy-quote {
  display: inline-flex;
  margin: 20px 0 0;
  padding: 9px 14px;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 16px 32px rgba(245, 124, 0, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d86800;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.trust-row span {
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.trust-row strong {
  display: block;
  font-size: 1.35rem;
}

.section {
  padding: 92px 0;
}

.section:nth-of-type(odd):not(.hero) {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.04fr);
}

.section-copy h2,
.section-head h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
}

.section-copy p,
.section-head p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.values-grid div,
.feature-card,
.service-card,
.client-grid span,
.faq-item,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.values-grid div {
  padding: 22px;
}

.values-grid strong,
.values-grid span {
  display: block;
}

.values-grid strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.values-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.about-media,
.industry-media {
  position: relative;
}

.about-media img,
.industry-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metric-card {
  position: absolute;
  right: -18px;
  bottom: 28px;
  max-width: 230px;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.metric {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--orange-2);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 65px rgba(15, 45, 82, 0.18);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--orange);
  background: #fff4e8;
}

.icon svg,
.socials svg,
.float-whatsapp svg,
.mobile-call svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card h3,
.feature-card h3,
.timeline h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.25;
}

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

.service-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--orange);
  font-weight: 900;
}

.choose {
  background:
    linear-gradient(rgba(15, 45, 82, 0.94), rgba(15, 45, 82, 0.94)),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1600&q=74") center/cover;
  color: var(--white);
}

.choose .section-head h2,
.choose .feature-card h3 {
  color: var(--white);
}

.choose .section-head p,
.choose .feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

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

.feature-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.industry-grid span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(15, 45, 82, 0.08);
  font-weight: 800;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.client-grid span {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 20px;
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(15, 45, 82, 0.08);
}

.accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 45, 82, 0.08);
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 0;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.45rem;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-panel p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-panel p {
  padding: 0 22px 22px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-list a,
.contact-list address,
.contact-static {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--soft);
  font-style: normal;
}

.contact-list strong,
.contact-static strong {
  color: var(--navy);
}

.contact-list span,
.contact-static span {
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 12px;
  padding: 30px;
}

.quote-form h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.6rem;
}

.quote-form label {
  color: var(--navy);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #ccd6e0;
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(245, 124, 0, 0.18);
}

.map-wrap {
  margin-top: 44px;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #091f39;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-logo {
  background: var(--white);
}

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

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange-2);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
}

.mobile-call {
  display: none;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-content.reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1060px) {
  .card-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

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

  .nav-menu .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 64px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 28, 54, 0.94), rgba(15, 45, 82, 0.72));
  }

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

  .industry-media {
    order: 2;
  }

  .section {
    padding: 70px 0;
  }

  .about-media img,
  .industry-media img {
    aspect-ratio: 16 / 10;
  }

  .metric-card {
    right: 16px;
    bottom: 16px;
  }
}

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

  .brand-logo {
    width: 148px;
    height: 56px;
  }

  .hero-actions,
  .trust-row,
  .footer-bottom {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .trust-row span {
    min-width: 0;
  }

  .values-grid,
  .card-grid,
  .feature-grid,
  .timeline,
  .industry-grid,
  .client-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 22px;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 18px;
  }

  .mobile-call {
    position: fixed;
    left: 16px;
    bottom: 18px;
    z-index: 45;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 14px 30px rgba(245, 124, 0, 0.28);
  }
}

@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;
  }
}
