/* ═══════════════════════════════════════════════════════════════════ */
/* ROOTCODE — PROFESSIONAL LANDING PAGE STYLES                           */
/* Version 2.0 — Enhanced Navigation, Modern Design, Full Responsiveness */
/* ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #16161f;
  --accent: #7c6dfa;
  --accent2: #a98bff;
  --accent-glow: rgba(124, 109, 250, 0.15);
  --green: #2de0a7;
  --text: #f0eeff;
  --text2: #9b95b8;
  --text3: #5c5878;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(124, 109, 250, 0.25);

  /* Typography */
  --font-head: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Spacing & Border Radius */
  --radius: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

nav.scrolled {
  padding: 0.7rem 5%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-logo:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-logo span {
  color: var(--accent);
}

/* Nav Links Container */
.nav-center {
  display: flex;
  gap: 3rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-center li {
  position: relative;
}

.nav-center a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  display: inline-block;
}

.nav-center a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.3s ease;
}

.nav-center a:hover {
  color: var(--accent);
}

.nav-center a:hover::after {
  width: 100%;
}

/* Nav Right Side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(124, 109, 250, 0.25);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 109, 250, 0.4);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 0.4rem;
  transition: var(--transition);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 5% 5rem;
  position: relative;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 109, 250, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 109, 250, 0.12);
  border: 1px solid var(--border2);
  color: var(--accent2);
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  animation: fadeUp 0.7s ease both;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin-bottom: 1.5rem;
  color: var(--text);
  animation: fadeUp 0.7s ease both 0.1s;
}

.hero h1 .highlight {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 0.7s ease both 0.2s;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 109, 250, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(124, 109, 250, 0.5);
}

.btn-ghost {
  border: 2px solid var(--border2);
  color: var(--text);
  padding: 0.8rem 2.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(124, 109, 250, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.45s;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── GENERIC SECTION STYLES ─── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 6rem 5%;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
}

/* ─── ABOUT SECTION ─── */
#sobre {
  background: var(--bg2);
}

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

.about-visual {
  position: relative;
  height: 380px;
}

.about-card {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.about-card:nth-child(1) {
  top: 0;
  left: 0;
  right: 40px;
}

.about-card:nth-child(1):hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(124, 109, 250, 0.2);
}

.about-card:nth-child(2) {
  bottom: 0;
  right: 0;
  left: 40px;
  background: rgba(124, 109, 250, 0.06);
  border-color: var(--border2);
}

.about-card:nth-child(2):hover {
  border-color: var(--accent);
  transform: translateY(8px);
  box-shadow: 0 12px 40px rgba(124, 109, 250, 0.2);
}

.about-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 0.8rem;
}

.about-card-value {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.about-card-desc {
  font-size: 0.85rem;
  color: var(--text2);
}

.about-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 60px rgba(124, 109, 250, 0.5);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

/* ─── SERVICES CAROUSEL ─── */
#servicios {
  background: var(--bg);
}

.carousel-wrapper {
  position: relative;
  margin-top: 3rem;
}

.carousel-track-outer {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.carousel-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  cursor: default;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  border-color: var(--accent);
  background: rgba(124, 109, 250, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 109, 250, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 109, 250, 0.15), rgba(169, 139, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(124, 109, 250, 0.3), rgba(169, 139, 255, 0.2));
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 600px;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 32px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 20px rgba(124, 109, 250, 0.4);
}

.carousel-arrows {
  display: flex;
  gap: 0.8rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.carousel-arrow:hover {
  background: rgba(124, 109, 250, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.carousel-progress {
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.carousel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 999px;
}

/* ─── VALUE SECTION ─── */
#valor {
  background: var(--bg2);
}

.valor-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.valor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.valor-item {
  padding: 2.2rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  background: linear-gradient(135deg, transparent, transparent);
}

.valor-item:nth-child(3n) {
  border-right: none;
}

.valor-item:nth-child(n + 4) {
  border-bottom: none;
}

.valor-item:hover {
  background: linear-gradient(135deg, rgba(124, 109, 250, 0.1), rgba(124, 109, 250, 0.05));
  border-color: var(--accent);
}

.valor-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.valor-item h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.valor-item p {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.7;
}

/* ─── PROCESS FLOW SECTION ─── */
#flujo {
  background: var(--bg);
}

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

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 1.8rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.flow-step:hover {
  padding-left: 1rem;
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-step-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  width: 32px;
  flex-shrink: 0;
  padding-top: 0.15rem;
  letter-spacing: 0.05em;
}

.flow-step h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.flow-step p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.7;
}

.flow-visual {
  background: linear-gradient(135deg, var(--bg3), rgba(124, 109, 250, 0.05));
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.flow-vis-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  font-weight: 600;
}

.flow-bar-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.flow-bar-label {
  font-size: 0.8rem;
  color: var(--text2);
  width: 100px;
  flex-shrink: 0;
}

.flow-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg2);
  border-radius: 999px;
  overflow: hidden;
}

.flow-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-bar-val {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  width: 42px;
  text-align: right;
}

/* ─── FAQ SECTION ─── */
#faq {
  background: var(--bg2);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border2);
  background: rgba(124, 109, 250, 0.04);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  transition: var(--transition);
  background: transparent;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: rgba(124, 109, 250, 0.1);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.7;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* ─── CONTACT SECTION ─── */
#contacto {
  background: var(--bg);
}

.contact-box {
  background: linear-gradient(135deg, var(--bg3), rgba(124, 109, 250, 0.05));
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-shadow: 0 12px 60px rgba(124, 109, 250, 0.15);
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text2);
  transition: var(--transition);
}

.contact-detail:hover {
  color: var(--accent);
  transform: translateX(8px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 109, 250, 0.15), rgba(169, 139, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.2rem;
  outline: none;
  transition: var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(124, 109, 250, 0.05);
  box-shadow: 0 0 0 3px rgba(124, 109, 250, 0.1);
}

.form-group textarea {
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(124, 109, 250, 0.3);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(124, 109, 250, 0.5);
}

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

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(124, 109, 250, 0.1);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── DIVIDER GLOW ─── */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

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

/* ─── RESPONSIVE DESIGN ─── */
@media (max-width: 1024px) {
  .nav-center {
    gap: 2rem;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Navigation Mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-container {
    gap: 0;
  }

  .nav-center {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }

  .nav-center.open {
    max-height: 400px;
    padding: 1rem 0;
  }

  .nav-center li {
    border-bottom: 1px solid var(--border);
  }

  .nav-center li a {
    display: block;
    padding: 1rem 5%;
    font-size: 0.95rem;
  }

  .nav-center a::after {
    display: none;
  }

  .nav-right {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: 6rem 5% 3rem;
    min-height: auto;
  }

  .hero-orb {
    width: 400px;
    height: 400px;
  }

  /* Grids */
  .about-grid,
  .flow-grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .valor-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .valor-item:last-child {
    border-bottom: none !important;
  }

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

  .valor-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-visual {
    height: 220px;
  }

  .about-card:nth-child(1) {
    right: auto;
  }

  .about-card:nth-child(2) {
    left: auto;
  }

  /* Section spacing */
  .section-inner {
    padding: 4rem 5%;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .carousel-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  :root {
    font-size: 15px;
  }

  nav {
    padding: 0.8rem 4%;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .hero {
    padding: 5rem 4% 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .section-inner {
    padding: 3rem 4%;
  }

  .contact-box {
    padding: 2rem 4%;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  .flow-visual {
    padding: 2rem;
  }

  .service-card {
    padding: 2rem;
  }

  footer {
    padding: 2rem 4% 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
