:root {
  --bg: #0b0e12;
  --bg-soft: #141a22;
  --surface: rgba(31, 38, 49, 0.72);
  --line: rgba(170, 182, 199, 0.24);
  --text: #f2f5f9;
  --text-muted: #b7c1cf;
  --neon: #9ec7ff;
  --neon-soft: #e4eeff;
  --accent: #7ceaff;
  --ink: #11161d;
  --radius: 16px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(158, 199, 255, 0.18), transparent 42%),
    radial-gradient(circle at 82% 14%, rgba(124, 234, 255, 0.16), transparent 46%),
    linear-gradient(180deg, #090c11 0%, #111821 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand,
.footer-brand {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.15;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.18;
  animation: float 12s ease-in-out infinite;
}

.ambient-1 {
  top: -130px;
  left: -120px;
  background: #9ec7ff;
}

.ambient-2 {
  right: -130px;
  bottom: 60px;
  background: #7ceaff;
  animation-delay: -6s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(12, 16, 22, 0.78);
  border-bottom: 1px solid rgba(168, 182, 203, 0.22);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f5f8ff;
  text-shadow: 0 5px 16px rgba(230, 240, 255, 0.22);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(184, 198, 220, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font: inherit;
}

.hero {
  padding: 7.5rem 0 5rem;
}

.eyebrow {
  color: var(--neon-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  max-width: 900px;
  margin-bottom: 1rem;
}

.hero-sub {
  margin: 0 0 2rem;
  font-size: clamp(1.02rem, 1.9vw, 1.3rem);
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(95deg, var(--neon), var(--accent));
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 10px 30px rgba(158, 199, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124, 234, 255, 0.36);
}

.section {
  padding: 4.8rem 0;
}

.section h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.45rem);
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.card,
.feature-item,
.price-panel,
.contact-card,
.locations-grid span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.feature-item {
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 214, 245, 0.55);
}

.price-panel {
  margin-top: 1rem;
  padding: 1.5rem;
}

.price-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.price-value {
  margin: 0.3rem 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  color: var(--neon);
}

.price-note {
  margin: 0;
}

.features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-mode {
  text-align: center;
}

.ai-mode .section-intro {
  max-width: 760px;
  margin: 0 auto;
}

.ai-shell {
  position: relative;
  width: min(960px, 100%);
  margin: 1.4rem auto 0;
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(17, 23, 32, 0.9);
  border: 1px solid rgba(165, 181, 207, 0.3);
  overflow: hidden;
}

.ai-shell::before,
.ai-shell::after {
  content: "";
  position: absolute;
  inset: -95%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(158, 199, 255, 0.75) 35deg,
    transparent 90deg,
    rgba(124, 234, 255, 0.72) 155deg,
    transparent 220deg,
    rgba(226, 237, 255, 0.64) 285deg,
    transparent 360deg
  );
  filter: blur(18px);
  opacity: 0;
  animation: orbit 10s linear infinite;
  animation-play-state: paused;
}

.ai-shell::after {
  animation-duration: 14s;
  animation-direction: reverse;
}

.ai-mode.visible .ai-shell::before,
.ai-mode.visible .ai-shell::after {
  opacity: 0.46;
  animation-play-state: running;
}

.ai-search {
  position: relative;
  z-index: 1;
  min-height: 72px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(12, 17, 24, 0.95);
  border: 1px solid rgba(172, 189, 214, 0.24);
}

.ai-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.ai-badge {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(158, 199, 255, 0.14);
  border: 1px solid rgba(158, 199, 255, 0.38);
  color: var(--neon-soft);
  font-size: 0.84rem;
}

.section-intro {
  margin-top: 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.locations-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  color: var(--text);
  font-weight: 600;
}

.locations-grid img {
  width: 28px;
  height: 21px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.contact-card {
  margin-top: 1rem;
  padding: 1.3rem;
  max-width: 600px;
}

.contact-card p {
  margin: 0.4rem 0;
}

.contact-card a {
  color: var(--neon-soft);
}

.contact-card .btn-primary {
  margin-top: 1rem;
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.92rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 25, 0.92);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(158, 199, 255, 0.35);
  border-color: rgba(158, 199, 255, 0.55);
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  color: var(--neon-soft);
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(160, 185, 219, 0.5);
  background: rgba(21, 28, 38, 0.82);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 214, 245, 0.65);
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(165, 181, 207, 0.24);
  background: rgba(10, 14, 20, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-brand {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.footer-title {
  color: var(--text);
  font-weight: 700;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--text);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f2f7ff;
  background: linear-gradient(95deg, #2b3340, #445369);
  border: 1px solid rgba(160, 185, 219, 0.44);
  box-shadow: 0 12px 26px rgba(124, 234, 255, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(158, 199, 255, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(16px);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    right: 5%;
    top: 74px;
    width: min(300px, 90vw);
    background: rgba(12, 16, 22, 0.96);
    border: 1px solid rgba(165, 181, 207, 0.26);
    border-radius: 14px;
    padding: 0.85rem;
    display: grid;
    gap: 0.75rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cards,
  .features,
  .locations-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6rem;
  }

  .ai-search {
    min-height: 64px;
    padding: 0.65rem 0.7rem;
  }

  .ai-shell::before,
  .ai-shell::after {
    inset: -72%;
    filter: blur(14px);
  }

  .ai-mode.visible .ai-shell::before,
  .ai-mode.visible .ai-shell::after {
    opacity: 0.62;
  }

  .ai-badge {
    display: none;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 0.8rem;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    font-size: 0.93rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
