:root {
  --navy: #071c2e;
  --navy-2: #0d2f45;
  --petrol: #15536a;
  --ice: #f4f7f8;
  --white: #ffffff;
  --graphite: #222b32;
  --muted: #62717c;
  --line: #d9e3e8;
  --orange: #e06f2c;
  --gold: #f2a13a;
  --red: #bd372c;
  --green: #1f8f62;
  --shadow: 0 22px 60px rgba(7, 28, 46, 0.15);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--graphite);
  background: var(--ice);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 28, 46, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 24px;
}

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

.brand strong {
  line-height: 1.1;
  font-size: 16px;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  font-size: 14px;
}

.main-nav a {
  padding-block: 8px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

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

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(224, 111, 44, 0.28);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 28, 46, 0.98), rgba(13, 47, 69, 0.96)),
    radial-gradient(circle at 76% 12%, rgba(242, 161, 58, 0.25), transparent 36%);
  color: var(--white);
  padding: 92px 0 70px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--green));
}

.hero-grid,
.split,
.dark-grid,
.cta-inner,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.section-copy,
.section-heading,
.risk-list,
.differentials,
.final-card {
  min-width: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero .lead,
.section-dark .lead,
.hero-support {
  color: rgba(255, 255, 255, 0.78);
}

.hero-support {
  max-width: 690px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-proof div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

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

.hero-proof strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.3rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(78%, 340px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 28, 46, 0.88);
  color: var(--white);
}

.visual-note strong,
.visual-note span {
  display: block;
}

.visual-note span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

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

.risk-list,
.differentials {
  display: grid;
  gap: 16px;
}

.risk-list article,
.differentials article,
.service-card,
.final-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 28, 46, 0.07);
}

.risk-list article {
  padding: 22px;
}

.risk-list span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 900;
}

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

.service-card {
  padding: 26px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.service-card ul,
.final-card ul {
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--muted);
}

.service-card li,
.final-card li {
  margin: 7px 0;
}

.dark-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
}

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

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

.differentials article {
  padding: 22px;
}

.cta-band {
  padding: 56px 0;
  background: linear-gradient(90deg, var(--petrol), var(--navy-2));
  color: var(--white);
}

.cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-inner .lead {
  margin-bottom: 0;
}

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

.segment-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--ice);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding: 18px 54px 18px 20px;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--ice);
  color: var(--orange);
  font-size: 20px;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.final-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.final-card ul {
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 38px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row,
.form-row-full {
  min-width: 0;
}

.form-row-full,
.form-status,
.contact-form .btn {
  grid-column: 1 / -1;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
  color: var(--graphite);
  font: inherit;
}

.form-row input {
  min-height: 48px;
  padding: 0 14px;
}

.form-row textarea {
  min-height: 134px;
  padding: 12px 14px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(224, 111, 44, 0.2);
  border-color: var(--orange);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--red);
}

.site-footer {
  padding: 42px 0;
  background: #061521;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 26px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(31, 143, 98, 0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

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

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

  .hero-grid,
  .split,
  .dark-grid,
  .cta-inner,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .service-grid,
  .process-list,
  .segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    padding: 62px 0 54px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-proof,
  .service-grid,
  .process-list,
  .differentials,
  .segment-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .visual-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .floating-whatsapp {
    display: flex;
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
