:root {
  --navy: #071d33;
  --navy-2: #0d2f50;
  --blue: #155a8a;
  --green: #16a36a;
  --yellow: #f2c94c;
  --gray-50: #f6f8fb;
  --gray-100: #e9eef4;
  --gray-600: #5c6670;
  --gray-800: #202a34;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(7, 29, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-800);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(22, 163, 106, 0.42);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 88px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 54px);
  background: var(--white);
  border-bottom: 1px solid rgba(7, 29, 51, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
}

.brand-logo {
  width: auto;
  height: 54px;
  max-width: min(230px, 42vw);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  background: #eef8f3;
  border: 1px solid #cfeade;
  border-radius: var(--radius);
  color: #0e6f4a;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-whatsapp span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.7rem;
}

.mobile-whatsapp {
  display: none;
}

.main-nav a {
  position: relative;
}

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

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

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

.hero-media,
.hero-overlay,
.hero-effects {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 18, 31, 0.97) 0%, rgba(5, 24, 38, 0.83) 46%, rgba(5, 24, 38, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(5, 18, 31, 0.62));
}

.hero-effects {
  z-index: 1;
  background:
    radial-gradient(circle at 19% 42%, rgba(22, 163, 106, 0.36), transparent 24%),
    radial-gradient(circle at 72% 38%, rgba(242, 201, 76, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 38px);
  mix-blend-mode: screen;
  opacity: 0.52;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8vh 0 10vh;
  max-width: 760px;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2.1vw, 1.48rem);
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: 180ms ease;
  white-space: normal;
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 26px rgba(22, 163, 106, 0.26);
}

.button-primary:hover {
  background: #11875a;
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-strip a {
  padding: 8px 12px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.trust-band {
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-grid > div {
  min-height: 160px;
  padding: 28px;
  background: var(--navy);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  margin-bottom: 18px;
  padding: 0 10px;
  background: rgba(22, 163, 106, 0.14);
  border: 1px solid rgba(22, 163, 106, 0.34);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.trust-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--gray-50);
}

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

h2 {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  line-height: 1.25;
}

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

.profile-panel {
  display: grid;
  gap: 16px;
}

.profile-panel > div,
.contact-card,
.quote-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-panel > div {
  padding: 28px;
}

.institutional-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.institutional-list div {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--gray-100);
}

.institutional-list dt {
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.institutional-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.values span {
  padding: 10px 14px;
  background: #eef8f3;
  border: 1px solid #cfeade;
  border-radius: var(--radius);
  color: #0e6f4a;
  font-weight: 800;
}

.section-head {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section-cta {
  margin-top: 28px;
}

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

.service-card,
.training-grid article {
  min-height: 170px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 29, 51, 0.07);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 18px;
  padding: 0 9px;
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  font-size: 0.94rem;
}

.workflow {
  margin-top: 62px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 120px;
  padding: 18px;
  background: var(--gray-50);
  border-bottom: 3px solid var(--green);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 800;
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.82rem;
}

.training-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 136px;
  border-top: 4px solid var(--yellow);
}

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

.training-grid span {
  color: var(--gray-600);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(7, 29, 51, 0.94), rgba(13, 47, 80, 0.9)),
    var(--navy);
  color: var(--white);
}

.contact-section h2,
.contact-section h3 {
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.contact-card a {
  color: var(--white);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.partners-section {
  background: var(--gray-50);
}

.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.partners-marquee::before,
.partners-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(10vw, 110px);
  content: "";
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), rgba(246, 248, 251, 0));
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--gray-50), rgba(246, 248, 251, 0));
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 34s linear infinite;
}

.partners-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.partner-card {
  display: grid;
  gap: 16px;
  align-content: start;
  flex: 0 0 clamp(220px, 24vw, 300px);
  min-height: 210px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 29, 51, 0.07);
  text-align: center;
}

.partner-logo {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.partner-logo img {
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.partner-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #d5dde7;
  border-radius: var(--radius);
  color: var(--gray-800);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(22, 163, 106, 0.16);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gray-600) !important;
  font-size: 0.86rem !important;
}

.site-footer {
  padding: 44px 0;
  background: #041525;
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-logo {
  width: min(280px, 100%);
  height: auto;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: var(--white);
  border-radius: var(--radius);
}

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

.footer-grid p {
  max-width: 760px;
  margin: 6px 0;
}

.footer-grid div:last-child {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  background: var(--green);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .service-grid,
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-whatsapp {
    display: none;
  }

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

  .contact-copy {
    position: static;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand-logo {
    width: auto;
    height: 44px;
    max-width: 190px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 13px 10px;
  }

  .main-nav .mobile-whatsapp {
    display: block;
    margin-top: 8px;
    background: #eef8f3;
    border-radius: var(--radius);
    color: #0e6f4a;
    font-weight: 900;
  }

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

  .hero {
    min-height: 100svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 29, 51, 0.95) 0%, rgba(7, 29, 51, 0.84) 58%, rgba(7, 29, 51, 0.72) 100%),
      rgba(7, 29, 51, 0.65);
  }

  .hero-content {
    padding: 74px 0 54px;
    max-width: 340px;
    margin-right: auto;
    margin-left: 14px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .hero-text {
    overflow-wrap: anywhere;
  }

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

  .hero-actions .button {
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact-strip {
    display: grid;
  }

  .trust-grid,
  .service-grid,
  .training-grid,
  .quote-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partners-track {
    animation-duration: 28s;
  }

  .partners-group {
    gap: 12px;
    padding-right: 12px;
  }

  .partner-card {
    flex-basis: min(78vw, 280px);
    min-height: 196px;
    padding: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .workflow {
    padding: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.portal-access {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(5, 86, 59, 0.2);
  border-radius: 999px;
  color: #065f46;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  padding: 0.7rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.portal-access:hover {
  background: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.45);
}

.mobile-portal {
  color: #087f5b !important;
  font-weight: 800 !important;
}

@media (max-width: 980px) {
  .portal-access {
    display: none;
  }
}
