:root {
  --blue: #033098;
  --blue-2: #061e5a;
  --green: #409171;
  --green-2: #7dd9b5;
  --ink: #142033;
  --muted: #637085;
  --line: #dfe7f0;
  --paper: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 54px rgba(3, 28, 82, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--white);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--blue-2);
  background-image:
    linear-gradient(105deg, rgba(3, 48, 152, 0.98), rgba(6, 30, 90, 0.9) 54%, rgba(64, 145, 113, 0.82)),
    url("../img/bg5.png");
  background-image:
    linear-gradient(105deg, rgba(3, 48, 152, 0.98), rgba(6, 30, 90, 0.9) 54%, rgba(64, 145, 113, 0.82)),
    image-set(
      url("../img/bg5.webp") type("image/webp"),
      url("../img/bg5.jpg") type("image/jpeg"),
      url("../img/bg5.png") type("image/png")
    );
  background-position: center, center;
  background-size: cover, cover;
  animation: heroBgDrift 18s ease-in-out infinite alternate;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: gridMove 16s linear infinite;
}

.site-header::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  top: 130px;
  border: 1px solid rgba(125, 217, 181, 0.36);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(125, 217, 181, 0.14), 0 0 90px rgba(64, 145, 113, 0.2);
  animation: floatRing 8s ease-in-out infinite;
}

.nav,
.hero,
.about-section,
.services-section,
.guidance,
.contact-section,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #061e5a;
  box-shadow: 0 16px 42px rgba(3, 18, 54, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 166px;
  height: auto;
  image-rendering: auto;
  filter: saturate(1.08) contrast(1.08) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a,
.menu-toggle {
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 10px 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: 64px;
  padding-top: 90px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green-2);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5.9vw, 5.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  width: min(900px, calc(100vw - 72px));
  display: grid;
  grid-template-columns: max-content max-content max-content;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.hero-actions .btn {
  flex: 0 0 auto;
  min-width: 164px;
  white-space: nowrap;
}

.btn {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn.primary {
  background: var(--green);
  color: var(--white);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--green-2);
  color: var(--blue-2);
  box-shadow: 0 14px 30px rgba(64, 145, 113, 0.28);
  transform: translateY(-2px);
}

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

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--green-2);
  background: rgba(125, 217, 181, 0.24);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(3, 48, 152, 0.28);
  transform: translateY(-2px);
}

.tech-board {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(125, 217, 181, 0.32);
  border-radius: 8px;
  background: rgba(3, 18, 54, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.scan-line {
  position: absolute;
  inset: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(125, 217, 181, 0.18), transparent);
  animation: scan 4s linear infinite;
}

.board-head,
.metric,
.status-row {
  position: relative;
  z-index: 1;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.board-head span,
.metric span,
.status-row small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-head strong {
  color: var(--green-2);
}

.metric {
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.12rem;
}

.metric.pulse {
  animation: pulse 2.8s ease-in-out infinite;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.status-row span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 18px var(--green-2);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  isolation: isolate;
  transform: translateY(-34px);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  inset: 42px 26px 36px 36px;
  background: radial-gradient(circle, rgba(125, 217, 181, 0.2), transparent 62%);
  filter: blur(10px);
  animation: softGlow 7s ease-in-out infinite;
}

.hero-visual::after {
  width: 170px;
  height: 170px;
  right: 8px;
  top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: floatBadge 6s ease-in-out infinite;
}

.flow-orbit {
  position: absolute;
  inset: 30px 18px 28px 28px;
  border: 1px solid rgba(125, 217, 181, 0.3);
  border-radius: 42% 58% 50% 50%;
  transform: rotate(-10deg);
  animation: orbitShape 12s ease-in-out infinite;
}

.flow-orbit::before,
.flow-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 24px var(--green-2);
}

.flow-orbit::before {
  left: 18%;
  top: 8%;
}

.flow-orbit::after {
  right: 16%;
  bottom: 10%;
}

.flow-card {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(125, 217, 181, 0.32);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7, 28, 77, 0.72), rgba(3, 48, 152, 0.34));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-120%);
  animation: cardSheen 6s ease-in-out infinite;
}

.flow-card span,
.flow-card strong,
.flow-card p {
  position: relative;
  z-index: 1;
}

.flow-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-card strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
}

.flow-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.main-flow-card {
  left: 34px;
  right: 34px;
  top: 124px;
  padding: 30px;
}

.main-flow-card strong {
  max-width: 320px;
  font-size: 1.8rem;
  line-height: 1.12;
}

.floating-card {
  min-width: 176px;
  padding: 18px;
  animation: floatBadge 6s ease-in-out infinite;
}

.card-experience {
  top: 48px;
  left: 0;
}

.card-crc {
  right: 0;
  bottom: 78px;
  animation-delay: -2s;
}

.status-pill {
  left: 72px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  animation: floatBadge 6.5s ease-in-out infinite;
}

.status-pill span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 18px var(--green-2);
}

.status-pill strong {
  font-size: 0.95rem;
}

.about-section,
.services-section,
.guidance,
.contact-section {
  padding: 82px 0;
}

.section-title {
  max-width: 830px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  line-height: 1.06;
}

.section-title > p:not(.eyebrow),
.carousel-title p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 46px;
  align-items: start;
}

.text-stack {
  color: var(--muted);
  font-size: 1.03rem;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles article,
.service-list article,
.guidance-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.principles article {
  padding: 22px;
  box-shadow: 0 14px 42px rgba(8, 39, 91, 0.08);
}

.principles span,
.service-list span {
  color: var(--green);
  font-weight: 900;
}

.principles h3,
.service-list h4,
.guidance-grid strong {
  margin: 8px 0;
  color: var(--blue-2);
}

.principles p,
.service-list p,
.guidance-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.services-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
  background: var(--paper);
}

.service-group {
  padding: 30px;
  margin-top: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-group.light {
  border: 1px solid var(--line);
  box-shadow: none;
}

.group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.group-title span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.group-title h3 {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--blue-2);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

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

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

.service-list article {
  min-height: 214px;
  padding: 22px;
}

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

.guidance-grid article {
  padding: 22px;
  background: var(--paper);
}

.guidance-grid strong {
  display: block;
  margin-top: 0;
}

.shortcut-section {
  width: 100%;
  padding: 78px max(20px, calc((100% - 1280px) / 2));
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe, #eef4f8);
}

.carousel-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.carousel-shell {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 28px;
}

.shortcut-viewport {
  overflow: hidden;
  padding: 6px 0 18px;
}

.shortcut-track {
  display: flex;
  width: max-content;
  gap: 20px;
  will-change: transform;
  animation: shortcutMarquee 34s linear infinite;
}

.shortcut-viewport:hover .shortcut-track {
  animation-play-state: paused;
}

.shortcut-card {
  width: 212px;
  min-height: 116px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(9, 38, 84, 0.07);
  text-align: center;
  text-decoration: none;
}

.shortcut-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.shortcut-card img {
  width: 104px;
  height: 58px;
  object-fit: contain;
}

.shortcut-card strong {
  color: var(--blue-2);
  font-size: 0.9rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #2f3092;
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(47, 48, 146, 0.24);
}

.carousel-btn:hover {
  background: var(--blue);
}

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

.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}

.contact-copy p {
  color: var(--muted);
}

.contact-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact-list a {
  color: var(--blue-2);
  font-weight: 700;
  text-decoration: none;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(64, 145, 113, 0.16);
}

.privacy-check {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--green);
}

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

.footer {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px max(20px, calc((100% - 1120px) / 2));
  background: #25256f;
  color: var(--white);
}

.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-copy p {
  margin-bottom: 0;
  color: var(--white);
  font-size: 1rem;
}

.footer-copy a,
.back-top {
  color: var(--white);
  font-weight: 900;
  text-underline-offset: 4px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-top {
  white-space: nowrap;
  font-size: 1.05rem;
}

.whatsapp-link {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.whatsapp-icon {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100% - 36px));
  display: grid;
  gap: 22px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(42, 64, 88, 0.96);
  color: var(--white);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.cookie-banner-copy a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cookie-btn {
  min-height: 58px;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.primary-cookie {
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--blue);
}

.ghost-cookie {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: var(--white);
}

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

.terms-modal[hidden] {
  display: none;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 13, 38, 0.68);
  backdrop-filter: blur(10px);
}

.terms-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(125, 217, 181, 0.26);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.terms-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-2);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.terms-card h2 {
  margin: 0 42px 18px 0;
  color: var(--blue-2);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.terms-content {
  display: grid;
  gap: 12px;
}

.terms-content h3 {
  margin: 10px 0 0;
  color: var(--blue-2);
  font-size: 1rem;
}

.terms-content p {
  margin: 0;
  color: var(--muted);
}

.terms-content a {
  color: var(--blue);
  font-weight: 800;
}

.terms-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

@keyframes gridMove {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 84px 84px, 84px 84px;
  }
}

@keyframes heroBgDrift {
  from {
    background-position: center center, 48% 50%;
    background-size: auto, 104%;
  }
  to {
    background-position: center center, 53% 48%;
    background-size: auto, 109%;
  }
}

@keyframes floatRing {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 12px, 0) scale(1.04);
  }
}

@keyframes scan {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(320%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(125, 217, 181, 0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(125, 217, 181, 0.12);
  }
}

@keyframes softGlow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes orbitShape {
  0%,
  100% {
    border-radius: 42% 58% 50% 50%;
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    border-radius: 54% 46% 42% 58%;
    transform: rotate(-4deg) translateY(10px);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes cardSheen {
  0%,
  45% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes shortcutMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--carousel-shift, -50%));
  }
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 8px;
    background: rgba(6, 30, 90, 0.96);
  }

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

  .hero,
  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .hero-actions::-webkit-scrollbar {
    display: none;
  }

  .hero-visual {
    min-height: 390px;
    max-width: 560px;
    width: 100%;
    margin: -20px auto 0;
    transform: none;
  }

  .main-flow-card {
    top: 104px;
  }

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

  .group-title {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav,
  .hero,
  .about-section,
  .guidance,
  .contact-section {
    width: min(100% - 28px, 1120px);
  }

  .services-section,
  .shortcut-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    min-height: auto;
  }

  .brand img {
    width: 132px;
  }

  .about-section,
  .services-section,
  .guidance,
  .shortcut-section,
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero {
    gap: 28px;
    padding-top: 122px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 0;
  }

  .flow-orbit {
    inset: 34px 10px 28px;
  }

  .main-flow-card {
    left: 18px;
    right: 18px;
    top: 106px;
    padding: 22px;
  }

  .main-flow-card strong {
    font-size: 1.45rem;
  }

  .floating-card {
    min-width: 148px;
    padding: 14px;
  }

  .card-crc {
    bottom: 70px;
  }

  .status-pill {
    left: 22px;
    bottom: 8px;
  }

  .service-list,
  .service-list.three,
  .guidance-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-group {
    padding: 22px;
  }

  .carousel-shell {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .shortcut-card {
    width: 190px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer p,
  .footer-actions {
    text-align: left;
  }

  .footer-actions {
    width: 100%;
    justify-content: space-between;
  }

  .whatsapp-link {
    width: 68px;
    height: 68px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .cookie-actions {
    gap: 10px;
  }

  .cookie-btn {
    min-height: 52px;
  }

  .terms-card {
    padding: 22px;
  }

  .terms-actions .btn {
    width: 100%;
  }
}
