:root {
  --bg: #061024;
  --bg-soft: #0d1d3f;
  --panel: #102852;
  --paper: #f2f6ff;
  --text: #eaf1ff;
  --text-dark: #12213f;
  --accent: #31d6ff;
  --accent-2: #ffb703;
  --danger: #ff4d4d;
  --ok: #1ba875;
  --border: #2a4480;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: radial-gradient(circle at 8% 2%, #122959 0, #07132a 35%, #030914 100%);
  min-height: 100vh;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #000;
  z-index: 10001;
}

.topbar {
  background: linear-gradient(90deg, #08142c, #17366f);
  color: #fff;
  font-size: 0.92rem;
}

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

.topbar p {
  margin: 0;
}

.topbar-phone {
  font-weight: 800;
  color: var(--accent);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(10px);
  background: rgba(3, 9, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: #fff;
}

.brand-logo {
  width: auto;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #dfebff;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  border: 1px solid #365d9f;
  color: #fff;
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, #1cc7f0, #32e1c9);
  color: #042436;
  box-shadow: 0 12px 28px rgba(49, 214, 255, 0.25);
}

.btn-secondary {
  background: #0f2650;
  color: #dce9ff;
  border-color: #2e5ea8;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e7efff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background: #19b64b;
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #ff5a5a, #ff2f63);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 74, 112, 0.35);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 3.5rem;
}

.hero-urgent::before {
  background: #ff4a5f;
}

.hero-urgent::after {
  background: #ff8f5a;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.35;
}

.hero::before {
  background: #1887ff;
  top: -15rem;
  left: -10rem;
}

.hero::after {
  background: #14f5d1;
  right: -14rem;
  top: -8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.8rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: "Chakra Petch", sans-serif;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.07;
}

.lead {
  color: #d5e3ff;
  font-size: 1.08rem;
  margin: 1rem 0 1.4rem;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points {
  margin: 1.3rem 0 0;
  padding-left: 1.05rem;
  color: #d9e7ff;
  display: grid;
  gap: 0.35rem;
}

.hero-zone-link {
  color: #72dcff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(219, 233, 255, 0.92));
  color: #11254f;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-family: "Chakra Petch", sans-serif;
}

.hero-card dl {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-card dt {
  font-weight: 800;
  color: #081f4e;
}

.hero-card dd {
  margin: 0.25rem 0 0;
  color: #31496f;
}

.hero-card-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #113f87;
}

.danger-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #1e3765;
  display: grid;
  gap: 0.45rem;
}

.urgency-steps li strong {
  color: #b00037;
}

.section {
  padding: 4rem 0;
  background: var(--paper);
}

.section-light {
  background: #edf2ff;
}

.section-dark {
  background: linear-gradient(180deg, #0a1b3d, #08152f);
  color: #f0f6ff;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: #091d43;
}

.section-dark h2 {
  color: #fff;
}

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

.card {
  border: 1px solid #ccdcff;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 220px;
}

.card h3 {
  margin: 0;
  color: #0a2452;
}

.card p {
  margin: 0;
  color: #344e78;
}

.card a {
  margin-top: auto;
  color: #0652d8;
  font-weight: 800;
}

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

.zone-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #3c5786;
  display: grid;
  gap: 0.35rem;
}

.zone-city-list {
  columns: 2;
  column-gap: 1.4rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #274579;
}

.zone-city-list li {
  margin-bottom: 0.45rem;
  break-inside: avoid;
}

.assistant-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  align-items: center;
}

.section-dark .eyebrow,
.section-dark p,
.section-dark li {
  color: #d8e7ff;
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 0.8rem;
}

.assistant-warning {
  border-left: 3px solid var(--accent-2);
  padding-left: 0.85rem;
  margin: 0.65rem 0 0;
}

.assistant-box {
  border: 1px solid rgba(131, 175, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(9, 24, 54, 0.85);
  padding: 1.1rem;
}

.assistant-box h3 {
  margin-top: 0;
}

.assistant-box ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: #1f3f70;
  font-weight: 500;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid #c6d8fb;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b2a5f;
}

.faq-list p {
  margin: 0.75rem 0 0;
  color: #395786;
}

.contact {
  background: linear-gradient(180deg, #f7fbff, #dbe8ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.2rem;
}

.contact-pills {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #a9c1ef;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: #173c79;
  background: #fff;
  font-weight: 700;
}

.contact-form {
  background: #fff;
  border: 1px solid #bed2fb;
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: #1f3f78;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #b0c8f2;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: #142c5a;
  background: #f9fbff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid #81b1ff;
  outline-offset: 1px;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.08rem;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.footer {
  background: #040d1f;
  color: #a4bee8;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer strong {
  color: #fff;
}

.visitor-stats {
  margin: 0.55rem 0 0;
  color: #d7e7ff;
  font-size: 0.92rem;
}

.footer a {
  color: #d5e6ff;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.floating-assistant {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font-weight: 800;
  color: #04273e;
  background: linear-gradient(135deg, #49d4ff, #4df5bc);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.33);
}

.floating-top {
  border: 1px solid rgba(139, 181, 255, 0.65);
  border-radius: 999px;
  min-width: 58px;
  height: 46px;
  padding: 0 0.95rem;
  font-weight: 800;
  color: #e8f1ff;
  background: linear-gradient(145deg, #0d2d61, #091f44);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.floating-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-top:hover {
  background: linear-gradient(145deg, #123b7d, #0b2a5d);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-content {
  position: relative;
  width: min(1120px, calc(100% - 1.2rem));
  margin: 2.8rem auto;
  height: calc(100vh - 5.6rem);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #bcd3ff;
}

.modal-header {
  min-height: 56px;
  background: #06142d;
  color: #fff;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1rem;
}

.modal-header button {
  border: 1px solid #5578b8;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
}

.modal iframe {
  width: 100%;
  height: calc(100% - 56px);
  border: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  background: #0e2349;
  border: 1px solid #2e4f8b;
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.cookie-banner p {
  margin: 0;
  max-width: 80ch;
}

.cookie-banner div {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 820px) {
  .brand-logo {
    height: 100px;
  }

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

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    width: min(300px, calc(100% - 2rem));
    background: #07142f;
    border: 1px solid #294f92;
    border-radius: 12px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu.active {
    display: flex;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.45rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

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

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

  .zone-city-list {
    columns: 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-content {
    margin-top: 1rem;
    height: calc(100vh - 2rem);
  }
}

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

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
