:root {
  --color-navy: #0d2e5c;
  --color-navy-deep: #081a35;
  --color-red: #e63946;
  --color-white: #ffffff;
  --color-ivory: #f7f9fc;
  --color-surface: rgba(255, 255, 255, 0.86);
  --color-surface-strong: rgba(255, 255, 255, 0.94);
  --color-border: rgba(13, 46, 92, 0.12);
  --color-copy: #5b6679;
  --color-copy-dark: #23314a;
  --color-success: #157347;
  --color-warning: #9f1c26;
  --shadow-soft: 0 30px 80px rgba(8, 26, 53, 0.12);
  --shadow-card: 0 18px 40px rgba(13, 46, 92, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--color-copy-dark);
  background:
    radial-gradient(circle at top left, rgba(13, 46, 92, 0.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(230, 57, 70, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f6fb 100%);
}

body.is-menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--color-navy);
  color: var(--color-white);
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  min-height: 100vh;
}

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

.section {
  padding: 88px 0;
}

.section-muted {
  position: relative;
}

.section-muted::before {
  content: "";
  position: absolute;
  inset: 48px 0 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.08);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

.section-title,
.hero-title,
.page-title,
.cta-title {
  margin: 18px 0 0;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.04em;
  color: var(--color-navy-deep);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
}

.section-copy,
.hero-copy,
.page-copy,
.card-copy,
.content-copy {
  color: var(--color-copy);
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
  color: var(--color-white);
  box-shadow: 0 16px 40px rgba(13, 46, 92, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--color-border);
  color: var(--color-navy-deep);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--color-white);
  background: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(247, 249, 252, 0.85);
  border-bottom: 1px solid rgba(13, 46, 92, 0.08);
}

.topbar {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.topbar-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner {
  min-height: 42px;
  gap: 16px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-inner {
  min-height: var(--header-height);
  gap: 16px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  box-shadow: 0 18px 40px rgba(13, 46, 92, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
}

.brand-text strong {
  font-size: 18px;
}

.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  position: relative;
  font-weight: 700;
  color: rgba(35, 49, 74, 0.78);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--color-red), transparent);
  transition: transform 160ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  align-items: center;
  justify-content: center;
}

.mobile-panel {
  display: none;
}

.hero {
  padding: 52px 0 88px;
}

.hero-grid,
.split-grid,
.content-grid,
.contact-grid,
.cta-grid {
  display: grid;
  gap: 32px;
}

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

.grid-form-layout {
  grid-template-columns: 0.95fr 1.05fr;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-card,
.glass-card,
.service-card,
.trust-card,
.step-card,
.testimonial-card,
.faq-item,
.quote-panel,
.contact-card,
.article-card,
.detail-card,
.legal-card,
.status-banner,
.wizard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.hero-card,
.quote-panel,
.wizard-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  margin-top: 18px;
  font-size: 18px;
}

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

.hero-stats,
.trust-bar,
.card-list,
.step-grid,
.testimonial-grid,
.footer-grid,
.feature-grid,
.service-grid,
.article-grid {
  display: grid;
  gap: 20px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.stat-badge,
.trust-card {
  padding: 18px;
}

.stat-badge strong {
  display: block;
  font-size: 22px;
  color: var(--color-navy-deep);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-media {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, rgba(13, 46, 92, 0.88), rgba(230, 57, 70, 0.2));
}

.hero-floating {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 280px;
  padding: 22px;
}

.trust-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-navy-deep);
}

.smart-guide,
.cta-banner,
.faq-layout,
.marquee-frame,
.partner-panel {
  position: relative;
  overflow: hidden;
}

.smart-guide {
  padding: 32px;
}

.guide-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.choice-pill {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  color: var(--color-copy-dark);
  font-weight: 700;
}

.choice-pill.is-selected,
.choice-pill:hover {
  border-color: rgba(230, 57, 70, 0.24);
  background: rgba(230, 57, 70, 0.08);
}

.guide-result {
  display: none;
  margin-top: 24px;
  padding: 24px;
}

.guide-result.is-visible {
  display: block;
}

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

.service-card,
.detail-card,
.article-card,
.contact-card,
.legal-card {
  padding: 26px;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.detail-card:hover,
.article-card:hover,
.contact-card:hover,
.legal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.18);
  box-shadow: 0 22px 48px rgba(13, 46, 92, 0.12);
}

.icon-wrap {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 46, 92, 0.1), rgba(230, 57, 70, 0.1));
}

.icon-wrap img {
  width: 28px;
  height: 28px;
}

.card-title {
  margin: 18px 0 0;
  font-size: 22px;
  color: var(--color-navy-deep);
}

.card-copy {
  margin-top: 12px;
}

.card-actions,
.meta-list,
.inline-actions,
.footer-legal,
.contact-list,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pad-xl {
  padding: 32px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-24 {
  margin-top: 24px;
}

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

.step-card {
  padding: 26px;
}

.step-card strong {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
  color: var(--color-white);
  margin-bottom: 18px;
}

.partner-panel {
  padding: 26px;
}

.marquee-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.72);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 20px;
  animation: marquee 28s linear infinite;
}

.partner-chip {
  width: 180px;
  min-height: 80px;
  border-radius: 18px;
  border: 1px solid rgba(13, 46, 92, 0.08);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  padding: 14px;
}

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

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

.testimonial-card {
  padding: 24px;
}

.testimonial-role {
  display: inline-block;
  margin-top: 18px;
  color: var(--color-red);
  font-weight: 700;
}

.faq-layout {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy-deep);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--color-copy);
  line-height: 1.8;
}

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

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.faq-question svg {
  transition: transform 160ms ease;
}

.wizard-card {
  padding: 30px;
}

.wizard-progress {
  height: 10px;
  margin: 18px 0 28px;
  border-radius: 999px;
  background: rgba(13, 46, 92, 0.08);
  overflow: hidden;
}

.wizard-progress-bar {
  width: 33.33%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-red), var(--color-navy));
  transition: width 180ms ease;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.is-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  color: var(--color-navy-deep);
}

.field,
.field-select,
.field-textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-copy-dark);
}

.field:focus,
.field-select:focus,
.field-textarea:focus {
  outline: 0;
  border-color: rgba(230, 57, 70, 0.34);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
}

.field-textarea {
  min-height: 150px;
  resize: vertical;
}

.field-hint,
.form-note {
  font-size: 14px;
  color: var(--color-copy);
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.status-banner {
  display: none;
  padding: 18px 20px;
}

.status-banner.is-visible {
  display: block;
}

.status-banner.is-success {
  border-color: rgba(21, 115, 71, 0.2);
  background: rgba(21, 115, 71, 0.08);
  color: var(--color-success);
}

.status-banner.is-error {
  border-color: rgba(159, 28, 38, 0.18);
  background: rgba(159, 28, 38, 0.08);
  color: var(--color-warning);
}

.quote-panel {
  padding: 28px;
}

.page-hero {
  padding: 54px 0 70px;
}

.page-hero-panel,
.content-panel {
  padding: 30px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--color-copy);
}

.breadcrumbs a {
  color: var(--color-navy);
}

.detail-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card img,
.detail-card img,
.hero-media img,
.page-visual img {
  width: 100%;
  height: auto;
}

.article-card .article-thumb,
.detail-card .detail-thumb,
.page-visual {
  margin-bottom: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13, 46, 92, 0.16), rgba(230, 57, 70, 0.08));
}

.pill-list,
.bullet-list,
.contact-list,
.footer-links,
.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 46, 92, 0.08);
  color: var(--color-navy-deep);
  font-weight: 700;
  font-size: 14px;
}

.bullet-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-copy);
  line-height: 1.8;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-button {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  color: var(--color-copy-dark);
  font-weight: 700;
}

.filter-button.is-active,
.filter-button:hover {
  background: rgba(230, 57, 70, 0.08);
  border-color: rgba(230, 57, 70, 0.22);
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-card strong {
  display: block;
  margin-top: 16px;
  color: var(--color-navy-deep);
}

.map-card {
  overflow: hidden;
  min-height: 100%;
}

.map-card iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.legal-card,
.content-panel,
.article-body {
  line-height: 1.85;
  color: var(--color-copy);
}

.legal-card h2,
.content-panel h2,
.article-body h2,
.article-body h3 {
  color: var(--color-navy-deep);
}

.article-body h2,
.legal-card h2 {
  margin-top: 32px;
}

.cta-banner {
  padding: 32px;
}

.footer-wrap {
  margin-top: 48px;
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 58px 0 24px;
}

.footer-grid {
  grid-template-columns: 1.25fr 0.85fr 1fr 1fr 1fr;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 16px;
}

.footer-links li,
.legal-list li {
  margin-bottom: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e9b57, #25d366);
  color: var(--color-white);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.26);
}

.floating-whatsapp img {
  width: 18px;
  height: 18px;
}

.mobile-action-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.counter {
  font-variant-numeric: tabular-nums;
}

.visually-hidden,
.is-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
