/* ============================================================
   HANBOTIX — CORE STYLESHEET
   Design system: variables, base, layout, components
   ============================================================ */

:root {
  --bg: #000000;
  --section: #0A0A0A;
  --card: #111111;
  --card-2: #151515;
  --text: #FFFFFF;
  --muted: #AFAFAF;
  --accent: #B6FF3B;
  --accent-glow: rgba(182, 255, 59, 0.35);
  --accent-dim: rgba(182, 255, 59, 0.10);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --success: #22C55E;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --ease: cubic-bezier(.16, .84, .44, 1);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--accent);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 620px;
  margin: 20px auto 0;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 48px 0;
  position: relative;
}

.section-alt {
  background: var(--section);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.flex {
  display: flex;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.mt-lg {
  margin-top: 24px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--accent);
  color: #000;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin: 12px 0 14px;
}

.section-header p {
  color: var(--muted);
  font-size: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent) 0%, #e8ffb0 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  position: relative;
  will-change: transform;
}

.btn-primary {
  background: var(--accent);
  color: #08110a;
  box-shadow: 0 0 0 0 var(--accent-glow);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3.4s ease-in-out infinite;
}

@keyframes btnShimmer {
  0% {
    left: -60%;
  }

  35%,
  100% {
    left: 130%;
  }
}

.btn-primary:hover {
  box-shadow: 0 8px 30px -6px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ---------- CARD ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  isolation: isolate;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.card:hover::after {
  opacity: 0.14;
}

.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow:hover {
  box-shadow: 0 0 0 1px var(--accent-glow), 0 20px 60px -20px var(--accent-glow);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0;
}

.gradient-border {
  position: relative;
  background: var(--card);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(182, 255, 59, 0.05) 35%, rgba(255, 255, 255, 0.08) 65%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), color .3s var(--ease);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease);
}

.icon-badge::before {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: 0;
  background: conic-gradient(from 0deg, transparent 0deg, var(--accent-glow) 90deg, transparent 200deg);
  opacity: 0;
  transition: opacity .4s var(--ease);
  animation: spinRing 3.2s linear infinite;
  animation-play-state: paused;
}

.card:hover .icon-badge::before,
.icon-badge:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.card:hover .icon-badge svg,
.icon-badge:hover svg {
  transform: scale(1.12) rotate(-6deg);
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- NAVBAR ---------- */
main,
footer {
  position: relative;
  z-index: 1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s var(--ease);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 34px;
  width: auto;
  transition: transform .4s var(--ease), filter .4s var(--ease);
}

.nav-logo .logo-compact-mark {
  display: none;
  height: 32px;
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  position: relative;
  transition: color .25s var(--ease);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  margin: 0 auto;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.mobile-menu a.active {
  color: var(--accent);
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

.loader-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  height: 120px;
  width: auto;
  position: relative;
  z-index: 1;
}

.loader-ring {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid var(--border);
  border-top-color: var(--accent);
  animation: spinRing 1.6s linear infinite;
}

.loader-ring::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: var(--accent-glow);
  animation: spinRing 2.4s linear infinite reverse;
}

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width .3s var(--ease);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 1001;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 4px;
  max-width: 900px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 85%);
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.55;
}

.page-hero {
  position: relative;
  padding: 170px 0 72px;
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  margin: 14px 0 14px;
}

.page-hero p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- TRUSTED STRIP ---------- */
.trusted-strip-viewport {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trusted-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.trusted-strip-viewport:hover .trusted-strip {
  animation-play-state: paused;
}

.trusted-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.trusted-strip span:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- STATISTICS ---------- */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
}

.stat-number .unit {
  color: var(--accent);
  font-size: 0.7em;
  margin-left: 2px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- INDUSTRY CARD ---------- */
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px 16px;
  cursor: default;
}

.industry-card svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.industry-card h3 {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}

.faq-item.open {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .35s var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.open .faq-answer {
  padding: 0 24px 22px;
}

/* ---------- PRICING ---------- */
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(182, 255, 59, 0.06), var(--card) 40%);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #08110a;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--accent);
}

.pricing-desc {
  color: var(--muted);
  font-size: 13.5px;
  margin: 8px 0 20px;
  min-height: 38px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.pricing-setup {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-setup::before {
  content: '+ ';
  color: var(--accent);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.8px;
  color: var(--muted);
}

.pricing-features li svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table td {
  color: var(--muted);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.compare-table td.yes svg {
  color: var(--success);
  width: 18px;
  height: 18px;
}

.compare-table td.no svg {
  color: #555;
  width: 18px;
  height: 18px;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- SERVICE PAGE ---------- */
.service-block {
  padding: 80px 0;
}

.service-section {
  background: var(--section);
}

.service-tag {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- TIMELINE ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--border), transparent);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.timeline-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- FORMS ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #666;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23AFAFAF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-note {
  font-size: 12.5px;
  color: #777;
  margin-top: -8px;
}

.map-placeholder {
  height: 260px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), var(--card);
  background-size: 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--section);
  border-top: 1px solid var(--border);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 16px 0 20px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.footer-social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 13.5px;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 13.8px;
  margin-bottom: 12px;
  transition: color .25s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-newsletter {
  display: flex;
  gap: 8px;
}

.footer-newsletter input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--text);
  min-width: 0;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-newsletter button {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ---------- FLOATING ACTION BUTTONS ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), visibility .35s var(--ease), transform .35s var(--ease), border-color .3s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #08110a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px -4px var(--accent-glow);
}

/* ---------- LEGAL CONTENT ---------- */
.legal-content h2 {
  font-size: 20px;
  margin: 36px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 4px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

html {
  scrollbar-color: #2a2a2a var(--bg);
  scrollbar-width: thin;
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--accent);
  color: #08110a;
}