:root {
  --navy: #003399;
  --navy-deep: #001a4d;
  --teal: #00a8b5;
  --teal-dark: #008a95;
  --ink: #0b1b3a;
  --muted: #4a5a78;
  --bg: #f3f6fb;
  --bg-soft: #e8eef8;
  --white: #ffffff;
  --line: rgba(0, 51, 153, 0.12);
  --shadow: 0 18px 50px rgba(0, 26, 77, 0.12);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 14px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 168, 181, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(0, 51, 153, 0.16), transparent 50%),
    linear-gradient(180deg, #f7faff 0%, var(--bg) 40%, #eef3fa 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 251, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: clamp(160px, 28vw, 240px);
  height: auto;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav > a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav > a:hover,
.nav > a.active {
  color: var(--navy);
}

.nav > a.btn-whatsapp {
  color: #fff;
}

.nav > a.btn-whatsapp:hover {
  color: #fff;
  background: #1ebe57;
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(0, 51, 153, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 26, 77, 0.04);
}

.lang-switch .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 2.75rem;
  padding: 0.45rem 0.9rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #4a5a78;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.lang-switch .lang-opt + .lang-opt {
  border-left: 1px solid rgba(0, 51, 153, 0.18);
}

.lang-switch .lang-opt.is-on {
  background: #003399;
  color: #fff;
}

.lang-switch .lang-opt:hover {
  text-decoration: none;
  color: #003399;
}

.lang-switch .lang-opt.is-on:hover {
  color: #fff;
  background: #002b80;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), #0050c8);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 51, 153, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #002b80, var(--navy));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border: 1px solid rgba(0, 51, 153, 0.2);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #00c4d4);
  color: #003035;
  box-shadow: 0 10px 28px rgba(0, 168, 181, 0.28);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: start;
  padding: 1.75rem 0 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 168, 181, 0.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(0, 51, 153, 0.28), transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto 5% 5%;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(circle, rgba(0, 168, 181, 0.55) 1.5px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  animation: fadePulse 6s ease-in-out infinite;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 18px) scale(1.05); }
}

@keyframes fadePulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  animation: riseIn 0.8s ease both;
  max-width: 42rem;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--navy-deep);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 18ch;
  margin-inline: auto;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.section {
  padding: 2.5rem 0 3.5rem;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 60ch;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.grid-3,
.grid-4,
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

.feature,
.trust-block,
.price-card,
.faq-item,
.steps li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.feature h3,
.price-card h3 {
  font-size: 1.15rem;
}

.feature p,
.trust-block p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.trust-block {
  background:
    linear-gradient(160deg, rgba(0, 168, 181, 0.1), rgba(255, 255, 255, 0.85));
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: rgba(0, 168, 181, 0.45);
  background:
    linear-gradient(180deg, rgba(0, 168, 181, 0.12), rgba(255, 255, 255, 0.9));
}

.price-focus {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}

.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.2rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.price-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
}

.price-card .btn {
  width: 100%;
}

.cta-band {
  margin: 1rem 0 3rem;
  padding: 2.5rem;
  border-radius: 22px;
  background:
    linear-gradient(120deg, var(--navy-deep), var(--navy) 45%, #007a86);
  color: var(--white);
  display: grid;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
  animation: riseIn 0.7s ease both;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
  margin: 0;
}

.cta-band p {
  opacity: 0.9;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.2rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--teal);
  color: #003035;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.legal-block {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  white-space: pre-line;
  color: var(--muted);
}

.legal-section + .legal-section {
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid h3 {
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.page {
  display: block;
  animation: riseIn 0.45s ease both;
}

.page.active {
  display: block;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.linkish {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--teal-dark);
  cursor: pointer;
  text-decoration: underline;
  text-align: left;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 1rem;
  background: rgba(11, 27, 58, 0.55);
  backdrop-filter: blur(4px);
}

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

.cookie-banner__inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
}

.cookie-banner__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.cookie-banner__copy strong {
  display: block;
  color: var(--navy-deep);
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.25rem 0 1.5rem;
  }

  h1 {
    max-width: none;
  }
}
