:root {
  --navy: #111633;
  --blue: #1f5eff;
  --green: #27c46a;
  --paper: #f6f8fb;
  --text: #4b5563;
  --line: #d7dce8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 22, 51, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Inter, Manrope, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(215, 220, 232, 0.7);
}

.brand img { width: min(340px, 52vw); transition: transform 0.2s ease; }
.brand:hover img { transform: scale(1.02); }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 650; font-size: 0.98rem; }
.main-nav a { color: var(--navy); }
.main-nav a:hover { color: var(--blue); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.nav-toggle { display: none; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 80% 10%, rgba(31, 94, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

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

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(17, 22, 51, 0.18);
}
.button.primary:hover { background: var(--blue); box-shadow: 0 16px 38px rgba(31, 94, 255, 0.28); }
.button.secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.button:hover { transform: translateY(-2px); }

.transition-note {
  margin-top: 18px;
  color: var(--text);
  font-size: 0.98rem;
}

.hero-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 34px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-card span {
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  font-weight: 800;
}

.hero-card span:nth-child(2n) { border-left: 4px solid var(--blue); }
.hero-card span:nth-child(3n) { border-left: 4px solid var(--green); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip div {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  background: var(--white);
  font-weight: 800;
}

.section {
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 72px);
}

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

.section-heading p,
.split p,
.portal p,
.contact p {
  color: var(--text);
  line-height: 1.65;
  font-size: 1.08rem;
}

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

.service-card {
  position: relative;
  min-height: 230px;
  padding: 32px 30px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(215, 220, 232, 0.9);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(17, 22, 51, 0.12);
  border-color: rgba(31, 94, 255, 0.35);
}
.service-card:hover::before { opacity: 1; }
.service-card h3 { transition: color 0.2s ease; }
.service-card:hover h3 { color: var(--blue); }
.service-card:nth-child(2n) { background: #fff; box-shadow: 0 14px 50px rgba(17, 22, 51, 0.07); }
.service-card p { color: var(--text); line-height: 1.55; }

.why { background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.why-item {
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-item:nth-child(2n) { border-top-color: var(--green); }
.why-item:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(17, 22, 51, 0.1); }
.why-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-item p { color: var(--text); line-height: 1.55; font-size: 0.98rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.split .eyebrow { color: var(--green); }
.split p { color: #d9deec; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  padding: 18px 20px 18px 54px;
  position: relative;
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--green);
}

.portal {
  text-align: center;
  background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 70%);
}

.portal .section-heading { margin-inline: auto; }

.portal-embed {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.portal-embed iframe {
  border: 1px solid var(--line);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  height: 540px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(17, 22, 51, 0.1);
}
.portal-help {
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--text);
}
.portal-help a { color: var(--blue); font-weight: 700; }

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 90px);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-details a { color: var(--blue); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
}

.hidden { display: none; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.consent input { width: 20px; height: 20px; margin-top: 2px; }
.consent a { color: var(--blue); font-weight: 800; }

.legal {
  max-width: 820px;
  margin-inline: auto;
}
.legal h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-top: 40px;
}
.legal p, .legal li { color: var(--text); line-height: 1.7; font-size: 1.02rem; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 8px; }
.legal a { color: var(--blue); font-weight: 700; }
.legal .updated { font-size: 0.9rem; opacity: 0.75; margin-bottom: 32px; }
.legal .button { margin-top: 40px; }

.site-footer {
  padding: 48px clamp(20px, 5vw, 72px);
  background: var(--navy);
  color: var(--white);
}

.site-footer img { width: min(340px, 80vw); filter: brightness(0) invert(1); margin-bottom: 20px; }
.site-footer p { color: #d9deec; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.site-footer a { color: var(--white); font-weight: 800; }

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.32);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 850;
  }

  .main-nav {
    position: absolute;
    inset: 74px 20px auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .hero,
  .split,
  .contact { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 16px; }
  .hero { min-height: auto; }
  .trust-strip { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .whatsapp { right: 14px; bottom: 14px; }
}
