:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #0f2237;
  --text: #1d2939;
  --muted: #5b6878;
  --primary: #0f4c81;
  --primary-strong: #0a3a63;
  --accent: #ff8a00;
  --border: rgba(15, 76, 129, 0.12);
  --shadow: 0 18px 60px rgba(8, 31, 59, 0.1);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef4fb 0%, #f9fbfd 35%, #ffffff 100%);
  line-height: 1.6;
}

body.is-scrolled .topbar {
  box-shadow: 0 10px 32px rgba(8, 31, 59, 0.08);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 76, 129, 0.06);
}

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

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

.brand-mark {
  width: 260px;
  max-width: 50vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.98;
  filter: drop-shadow(0 8px 18px rgba(8, 31, 59, 0.16));
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

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

.menu a {
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--primary);
}

.menu-call {
  padding: 11px 16px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 76, 129, 0.22);
}

.hero {
  padding: 72px 0 28px;
}

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

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.split h2,
.cta-box h2,
.footer h2 {
  margin: 0;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.split p,
.cta-box p,
.footer p,
.card p,
.feature-list p,
.step p,
.trust p {
  color: var(--muted);
}

.hero-text {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-link::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2325D366' d='M27.3 4.7A15.89 15.89 0 0 0 16 0C7.2 0 .1 7.1.1 15.9c0 2.8.7 5.5 2.1 7.9L0 32l8.4-2.2a15.8 15.8 0 0 0 7.6 1.9h.1c8.8 0 15.9-7.1 15.9-15.9 0-4.2-1.6-8.2-4.7-11.1Z'/%3E%3Cpath fill='%23fff' d='M25.5 22.1c-.4 1.1-2.1 2.1-3 2.2-.8.1-1.8.2-2.9-.2-.7-.2-1.5-.5-2.6-1-4.5-1.9-7.4-6.4-7.6-6.7-.2-.3-1.8-2.4-1.8-4.7 0-2.3 1.2-3.5 1.6-4 .4-.4.9-.5 1.2-.5h.9c.3 0 .7-.1 1 .7.4.9 1.3 3.1 1.4 3.4.1.3.2.6 0 1-.1.3-.2.5-.5.8-.2.2-.5.6-.7.8-.2.2-.4.5-.2.9.2.3 1 1.7 2.2 2.7 1.5 1.3 2.7 1.8 3.1 2 .3.2.6.1.8-.1.3-.3 1.1-1.3 1.4-1.7.3-.4.6-.3 1-.2.4.1 2.6 1.2 3 1.5.4.2.7.4.8.6.1.2.1 1-.3 2.1Z'/%3E%3C/svg%3E");
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b00 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 138, 0, 0.28);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
}

.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b00 100%);
}

.hero-media {
  position: relative;
}

.image-frame {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-media:hover .image-frame img {
  transform: scale(1.03);
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  animation: float-card 4.8s ease-in-out infinite;
}

.hero-card strong {
  color: var(--primary);
}

.hero-card span {
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-whatsapp {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-card small {
  color: var(--muted);
}

.trust,
.section,
.footer {
  padding: 28px 0 84px;
}

.trust-grid,
.cards,
.steps,
.footer-grid {
  display: grid;
  gap: 20px;
}

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

.trust article,
.card,
.step,
.contact-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust article {
  padding: 24px;
}

.trust strong,
.card h3,
.step h3,
.feature-list strong,
.contact-card a {
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  margin-bottom: 16px;
}

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

.card {
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card h3 {
  margin: 0 0 12px;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 76, 129, 0.22);
  box-shadow: 0 22px 48px rgba(8, 31, 59, 0.14);
}

.section-dark {
  background: linear-gradient(135deg, #10253d 0%, #0c1c2d 100%);
  color: #fff;
}

.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #d3e7fb;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

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

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-list article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.feature-list strong {
  display: block;
  margin-bottom: 8px;
}

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

.step {
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.step h3 {
  margin: 0 0 12px;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(8, 31, 59, 0.12);
}

.faq-section {
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.04) 0%, rgba(15, 76, 129, 0) 100%);
}

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

.faq-question {
  width: 100%;
  padding: 24px 64px 24px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--primary);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px 0;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 24px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f4c81 0%, #145f9f 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box .btn-primary {
  animation: pulse-cta 3.6s ease-in-out infinite;
}

.cta-box .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
}

.footer {
  background: #0b1622;
  color: #fff;
  padding-bottom: 120px;
}

.footer-grid {
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
}

.contact-card {
  padding: 28px;
}

.map-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.contact-card a {
  display: inline-block;
  margin-bottom: 14px;
  color: #fff;
}

.contact-card .whatsapp-link {
  display: inline-flex;
}

.contact-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 22, 34, 0.94);
  backdrop-filter: blur(8px);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b00 100%);
  color: #fff;
  font-weight: 800;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    filter 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-cta {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 32px rgba(255, 138, 0, 0.28);
  }

  50% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 22px 40px rgba(255, 138, 0, 0.38);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .footer-grid,
  .trust-grid,
  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: 100%;
  }
}

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

  .menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .split,
  .footer-grid,
  .trust-grid,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: static;
    margin-top: 16px;
    animation-duration: 5.6s;
  }

  .cta-box,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-bar {
    display: block;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js-ready .reveal,
  .js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .topbar-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 190px;
    max-width: 54vw;
  }

  .brand-text small {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .card,
  .step,
  .contact-card,
  .trust article,
  .cta-box {
    padding: 22px;
  }

  .faq-question {
    padding: 20px 54px 20px 20px;
  }

  .faq-question::after {
    right: 20px;
  }
}
