:root {
  --bg: #060a12;
  --bg-soft: #0a111d;
  --panel: rgba(15, 23, 42, 0.66);
  --panel-solid: #0e1626;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text: #e9eefb;
  --muted: #93a4c3;
  --cyan: #22d3ee;
  --green: #34d399;
  --violet: #8b5cf6;
  --grad: linear-gradient(100deg, #22d3ee 0%, #34d399 48%, #8b5cf6 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

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

ul { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; }

section { position: relative; }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--cyan);
  color: #04121a;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(34, 211, 238, 0.09), transparent 60%),
    radial-gradient(1000px 700px at 90% 8%, rgba(139, 92, 246, 0.1), transparent 60%),
    var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow-1 {
  width: 460px; height: 460px;
  top: -140px; left: -120px;
  background: rgba(34, 211, 238, 0.18);
}
.glow-2 {
  width: 520px; height: 520px;
  top: 160px; right: -180px;
  background: rgba(139, 92, 246, 0.2);
}
.glow-3 {
  width: 420px; height: 420px;
  bottom: -160px; left: 35%;
  background: rgba(52, 211, 153, 0.12);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 10, 18, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 10, 18, 0.82);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  overflow: hidden;
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: 0 0 26px -8px rgba(34, 211, 238, 0.5), inset 0 0 18px -10px rgba(34, 211, 238, 0.8);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s ease;
}
.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta).active { color: var(--text); }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta).active::after { transform: scaleX(1); }

.nav .nav-cta {
  margin-left: 0.6rem;
  color: #04121a;
}

.nav-auth {
  margin-left: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-auth:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.08);
  color: #fff;
}
.nav-auth.logged-in {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  color: #04121a;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 34px -12px rgba(34, 211, 238, 0.65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 44px -14px rgba(34, 211, 238, 0.8);
}

.btn-ghost {
  color: var(--text);
  background: rgba(148, 163, 184, 0.06);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.08);
  color: #fff;
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.86rem; }
.btn.full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.07);
  color: #a7f3d0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.35rem);
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.hero-logo {
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 96px);
  height: clamp(72px, 9vw, 96px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: rgba(6, 10, 18, 0.8);
  box-shadow: 0 0 44px -12px rgba(34, 211, 238, 0.7), 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  flex: none;
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  margin-bottom: 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.6rem;
}

.stats {
  display: flex;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  margin: 0;
}
.stats div { display: flex; flex-direction: column-reverse; gap: 0.1rem; }
.stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
}
.stats dd span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Terminal panel ---------- */
.hero-panel {
  position: relative;
  padding: 1.2rem;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.28), rgba(139, 92, 246, 0.2) 45%, transparent 75%);
  filter: blur(2px);
  opacity: 0.7;
  z-index: -1;
}

.terminal {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(7, 12, 22, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(148, 163, 184, 0.06);
  border-bottom: 1px solid var(--border);
}
.tdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.tdot.red { background: #f87171; }
.tdot.yellow { background: #fbbf24; }
.tdot.green { background: #34d399; }
.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.terminal-body {
  padding: 1.35rem 1.4rem 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 2;
}
.terminal-body .line { white-space: pre-wrap; word-break: break-word; }
.prompt { color: var(--green); }
.cmd { color: #7dd3fc; }
.out { color: var(--muted); }
.ok { color: var(--green); }
.caret {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--cyan);
  animation: blink 1.05s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(11, 18, 32, 0.9);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.84rem; font-weight: 600; }
.float-card small { display: block; font-size: 0.72rem; color: var(--muted); }
.fc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  font-size: 1rem;
}
.fc-1 { top: -18px; right: -8px; }
.fc-2 { bottom: -22px; left: -14px; animation-delay: 1.4s; }

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

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.2rem, 4vw, 3.2rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}

.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  margin-bottom: 0.9rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.cards .card:nth-child(1) { --accent: #22d3ee; --accent-rgb: 34, 211, 238; }
.cards .card:nth-child(2) { --accent: #34d399; --accent-rgb: 52, 211, 153; }
.cards .card:nth-child(3) { --accent: #a78bfa; --accent-rgb: 167, 139, 250; }
.cards .card:nth-child(4) { --accent: #fbbf24; --accent-rgb: 251, 191, 36; }
.cards .card:nth-child(5) { --accent: #f472b6; --accent-rgb: 244, 114, 182; }
.cards .card:nth-child(6) { --accent: #60a5fa; --accent-rgb: 96, 165, 250; }
.cards .card:nth-child(7) { --accent: #fb923c; --accent-rgb: 251, 146, 60; }
.cards .card:nth-child(8) { --accent: #2dd4bf; --accent-rgb: 45, 212, 191; }

.card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(var(--accent-rgb, 34, 211, 238), 0.09), rgba(10, 16, 28, 0.7) 60%);
  border: 1px solid rgba(var(--accent-rgb, 34, 211, 238), 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 200px at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb, 34, 211, 238), 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--cyan)), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb, 34, 211, 238), 0.4);
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.9), 0 0 36px -24px rgba(var(--accent-rgb, 34, 211, 238), 0.8);
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 1.1rem;
  color: var(--accent, var(--cyan));
  background: rgba(var(--accent-rgb, 34, 211, 238), 0.09);
  border: 1px solid rgba(var(--accent-rgb, 34, 211, 238), 0.27);
  box-shadow: 0 0 26px -12px rgba(var(--accent-rgb, 34, 211, 238), 0.75);
}
.card-icon svg { width: 23px; height: 23px; }

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}
.card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem;
  border-radius: 20px;
  background: linear-gradient(175deg, rgba(20, 30, 50, 0.6), rgba(10, 16, 28, 0.7));
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.price-card.featured {
  border-color: rgba(34, 211, 238, 0.45);
  background:
    linear-gradient(175deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.08) 55%, rgba(10, 16, 28, 0.85));
  box-shadow: 0 26px 60px -34px rgba(34, 211, 238, 0.6);
}

.badge {
  position: absolute;
  top: -0.8rem;
  left: 1.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04121a;
  background: var(--grad);
}

.price-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.16rem;
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.price span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  color: #c3cee4;
}
.price-card ul li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.price-card ul li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}
.price-card .btn { margin-top: auto; }

.price-note {
  margin-top: 1.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Why / testimonials ---------- */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.why-copy .section-sub { margin-bottom: 1.3rem; }

.checks {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 2rem;
}
.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #cdd8ea;
  font-size: 0.95rem;
}
.checks li span {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #04121a;
  background: var(--green);
  box-shadow: 0 0 16px -4px rgba(52, 211, 153, 0.8);
}

.testimonials {
  display: grid;
  gap: 1rem;
}

.quote {
  margin: 0;
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(20, 30, 50, 0.6), rgba(10, 16, 28, 0.65));
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.quote:hover { transform: translateX(5px); border-color: rgba(52, 211, 153, 0.35); }
.quote:nth-child(2) { margin-left: 1.6rem; }
.quote:nth-child(3) { margin-left: 0.5rem; }

.quote blockquote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #d7e0f0;
  line-height: 1.7;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.quote strong { display: block; font-size: 0.88rem; }
.quote small { color: var(--muted); font-size: 0.76rem; }

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 700;
  color: #04121a;
  background: linear-gradient(140deg, #22d3ee, #34d399);
}
.avatar.alt { background: linear-gradient(140deg, #8b5cf6, #22d3ee); }
.avatar.alt2 { background: linear-gradient(140deg, #34d399, #8b5cf6); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.15rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.info-icon svg { width: 21px; height: 21px; }
.info-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.15rem; }
.info-item p { font-size: 0.98rem; color: #dce5f4; line-height: 1.55; }
.info-item a { color: #dce5f4; transition: color 0.2s ease; }
.info-item a:hover { color: var(--cyan); }

.mini-map {
  position: relative;
  height: 150px;
  margin-top: 0.6rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 55% 45%, rgba(34, 211, 238, 0.12), transparent 55%), #0a1220;
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 55% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 55% 45%, #000 25%, transparent 78%);
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.16), 0 0 26px rgba(34, 211, 238, 0.85);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.4);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.map-label {
  position: absolute;
  top: calc(50% + 22px);
  left: 55%;
  transform: translateX(-50%);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(20, 30, 50, 0.68), rgba(10, 16, 28, 0.7));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(6, 10, 18, 0.65);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #5f6f8c; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(6, 10, 18, 0.9);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13);
}
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-row select option { background: #0e1626; color: var(--text); }

.form-note {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}
.form-note.error { color: #fca5a5; }

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.4rem;
}
.form-actions .btn { width: 100%; padding-inline: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: rgba(6, 10, 18, 0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding: 3.2rem 0 2.4rem;
}
.footer-brand p {
  margin-top: 1rem;
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-cols a,
.footer-cols span {
  display: block;
  color: #c2cee2;
  font-size: 0.88rem;
  padding: 0.22rem 0;
  transition: color 0.2s ease;
}
.footer-cols a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid var(--border);
  color: #6f809e;
  font-size: 0.8rem;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #04121a;
  background: linear-gradient(140deg, #34d399, #22d3ee);
  box-shadow: 0 14px 34px -10px rgba(34, 211, 238, 0.75);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 44px -12px rgba(34, 211, 238, 0.9);
}
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Modals ---------- */
.hidden { display: none !important; }

body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease;
}

.modal-card {
  position: relative;
  width: min(470px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: 22px;
  background: linear-gradient(170deg, #111c30, #08101c 70%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: modalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-card.wide { width: min(600px, 100%); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.modal-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(148, 163, 184, 0.16);
}

.modal-head { padding-right: 2.2rem; }
.modal-head .eyebrow { margin-bottom: 0.5rem; }
.modal-head h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal-sub { color: var(--muted); font-size: 0.88rem; }
.modal-sub strong { color: var(--text); }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin: 1.3rem 0 1.2rem;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.tab {
  padding: 0.55rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: rgba(34, 211, 238, 0.14);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.28);
}

.auth-form .form-row:last-of-type { margin-bottom: 0.9rem; }
.api-notice {
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
  font-size: 0.82rem;
  line-height: 1.45;
}
.api-notice a { color: #fde68a; text-decoration: underline; }
.form-hint {
  color: #6f809e;
  font-size: 0.76rem;
  margin: -0.2rem 0 0.7rem;
}
.form-error {
  min-height: 1.15rem;
  margin: -0.15rem 0 0.7rem;
  color: #fca5a5;
  font-size: 0.82rem;
  line-height: 1.4;
}

.request-success { text-align: center; padding: 1rem 0 0.4rem; }
.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #04121a;
  background: var(--green);
  box-shadow: 0 0 34px -6px rgba(52, 211, 153, 0.8);
}
.request-success h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.request-success p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.success-actions { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

.requests-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 1.4rem;
  max-height: 46vh;
  overflow-y: auto;
  padding-right: 2px;
}
.request-item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.05);
}
.request-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.request-item h4 {
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.request-item p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.request-item .request-meta {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: #6f809e;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}
.status {
  flex: none;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-new { color: #fbbf24; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3); }
.status-contacted { color: #7dd3fc; background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); }
.status-completed { color: #34d399; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); }
.status-cancelled { color: #cbd5e1; background: rgba(203, 213, 225, 0.1); border: 1px solid rgba(203, 213, 225, 0.25); }

.requests-empty {
  padding: 1.8rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
}

.account-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.account-actions .btn { flex: 1 1 140px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 540px; margin: 0 auto; width: 100%; }
  .why-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(6, 10, 18, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav a {
    padding: 0.85rem 0.4rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta {
    margin: 0.8rem 0 0;
    border-bottom: none;
    text-align: center;
    padding: 0.8rem 1rem;
  }
  .nav-auth {
    order: 4;
    width: 100%;
    max-width: none;
    margin: 0.5rem 0 0;
    padding: 0.8rem 1rem;
    text-align: center;
  }
  .nav .nav-cta:hover { background: var(--grad); }

  .stats { flex-wrap: wrap; row-gap: 1.2rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.featured { order: -1; }
  .form-actions { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .float-card { display: none; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 2rem); }
  .cards { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quote:nth-child(2),
  .quote:nth-child(3) { margin-left: 0; }
  .terminal-body { font-size: 0.8rem; padding: 1.1rem 1rem 1.4rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.3rem; }
  .whatsapp-fab { width: 50px; height: 50px; right: 1rem; bottom: 1rem; }
  .stats { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
