
:root {
  /* Fondos oscuros */
  --bg-dark: #060608;
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);

  /* Textos */
  --ink-primary: #f2efe9;
  --ink-dim: #b8b5b0;
  --line-soft: rgba(242, 239, 233, 0.12);
  --line-strong: rgba(242, 239, 233, 0.25);

  /* Azul de marca */
  --accent-blue: #3b82f6;
  --accent-blue-hover: #53a6ff;
  --accent-blue-glow: rgba(59, 130, 246, 0.25);

  /* Compatibilidad */
  --bg: var(--bg-dark);
  --ink: var(--ink-primary);
  --accent: var(--accent-blue);

  /* Fuentes */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--ink-primary);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-blue-hover);
  outline-offset: 4px;
}

/* ---------- CONTENIDO PRINCIPAL ---------- */
main {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 100vh;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent-blue);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 1px;
  background: var(--accent-blue);
  content: "";
}

/* ---------- HEADER Y LOGO ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease;
}

header.header-hidden {
  transform: translateY(-100%);
}

.titleblock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}

.wordmark-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
}

.wordmark-text {
  color: var(--ink-primary);
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wordmark-text span {
  color: var(--accent-blue);
}

.meta-row {
  display: none;
  gap: 18px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-row .dot {
  color: var(--accent-blue);
}

@media (min-width: 768px) {
  .meta-row {
    display: flex;
  }
}

/* ---------- MENÚ HAMBURGUESA ---------- */
.menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink-primary);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- GLASSMORPHISM ---------- */
.glass-card {
  position: relative;
  overflow: hidden;
  color: var(--ink-primary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  contain: paint;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0.4;
}

.corner::before,
.corner::after {
  position: absolute;
  background: var(--line-strong);
  content: "";
}

.corner::before {
  top: 50%;
  left: 0;
  width: 16px;
  height: 1px;
}

.corner::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 16px;
}

.corner.tl {
  top: 28px;
  left: 24px;
}

.corner.tr {
  top: 28px;
  right: 24px;
}

.corner.bl {
  bottom: 28px;
  left: 24px;
}

.corner.br {
  right: 24px;
  bottom: 28px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 85vh;
  padding: 80px 0;
  text-align: left;
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(rgba(6, 6, 8, 0.85), rgba(6, 6, 8, 0.95)),
    url("assets/patio.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero .wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.hero-text-content {
  text-align: left;
}

.hero h1,
.hero .lede {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

h1 {
  max-width: 18ch;
  margin: 0 0 24px;
  color: var(--ink-primary);
  font-family: var(--mono);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.accent-word {
  color: var(--accent-blue);
}

.lede {
  max-width: 48ch;
  margin: 0 0 32px;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  text-align: left;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

/* ---------- BOTONES GENERALES ---------- */
.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: #ffffff;
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.85rem;
}

.btn:hover,
.btn-ghost:hover {
  color: #ffffff;
  background-color: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  transform: translateY(-2px);
}

.btn:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

/* ---------- TERMINAL / WIDGET ---------- */
.hero-widget {
  overflow: hidden;
  background: rgba(10, 15, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: flex;
  gap: 6px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-btn.red {
  background: #ff5f56;
}

.dot-btn.yellow {
  background: #ffbd2e;
}

.dot-btn.green {
  background: #27c93f;
}

.terminal-title {
  color: var(--ink-dim);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 1.25rem;
  color: var(--ink-primary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.log-line {
  margin-bottom: 0.5rem;
}

.log-line .blue {
  color: #60a5fa;
}

.log-line .green {
  color: #4ade80;
}

.log-line .purple {
  color: #c084fc;
}

.status-box {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-label {
  color: #b8b5b0;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.status-value {
  font-size: 0.88rem;
  font-weight: 600;
}

.green-text {
  color: #4ade80;
}

/* ---------- SECCIONES ---------- */
section {
  position: relative;
  z-index: 2;
  display: block;
  padding: 40px 0;
}

.section-head {
  max-width: 38ch;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  color: var(--ink-primary);
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-dim);
}

.body-text {
  max-width: 56ch;
  font-size: 1.05rem;
}

/* ---------- PROCESO ---------- */
.process {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  flex: 1 1 280px;
  padding: 28px;
}

.step-num {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-blue);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.step h3 {
  margin: 0 0 12px;
  color: var(--ink-primary);
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
}

.step .dur {
  display: inline-block;
  width: 100%;
  margin-top: 20px;
  padding-top: 10px;
  color: var(--ink-dim);
  border-top: 1px dashed var(--glass-border);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- DIFERENCIACIÓN ---------- */
.diff-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.diff-grid > * {
  flex: 1 1 300px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  font-family: var(--mono);
}

.stat-block .big {
  color: var(--accent-blue);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-block .cap {
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.founder-line {
  margin-top: 24px;
  padding-top: 16px;
  color: var(--ink-dim);
  border-top: 1px solid var(--glass-border);
  font-size: 0.88rem;
}

.founder-line strong {
  color: var(--ink-primary);
  font-weight: 600;
}

/* ---------- PRECIOS ---------- */
.price-list {
  padding: 12px 28px;
}

.price-period,
.card-subtitle {
  color: #a1a1aa;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--glass-border);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row .name {
  color: var(--ink-primary);
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.price-row .desc {
  max-width: 38ch;
  margin-top: 4px;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

.price-row .amount {
  color: var(--accent-blue);
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-note {
  margin-top: 18px;
  padding-left: 8px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.8rem;
}

/* ---------- FORMULARIO DE CONTACTO ---------- */
.cta-final {
  padding: 48px;
  text-align: left;
}

.cta-final h2 {
  max-width: 20ch;
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.cta-final .lede {
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

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

.form-group label {
  color: var(--ink-primary);
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 12px 16px;
  color: var(--ink-primary);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

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

.btn-submit {
  margin-top: 0.5rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  width: 100%;
  padding: 2.5rem 0;
  background-color: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-content p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-links a {
  color: var(--ink-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--ink-primary);
}

/* ---------- PÁGINAS LEGALES ---------- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 140px;
  padding-bottom: 80px;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.25rem;
  line-height: 1.2;
}

.legal-date {
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-bottom: 0.75rem;
  color: var(--ink-primary);
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-back-action {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- ANIMACIONES REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

/* ---------- COOKIES ---------- */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner p a {
  color: var(--ink-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-cookie {
  padding: 0.5rem 1rem;
  color: #ffffff;
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn-cookie:hover {
  color: #ffffff;
  background-color: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
}

/* ---------- OFICINA ---------- */
.oficina-wrapper {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.04) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(6, 6, 8, 0) 0%,
      rgba(59, 130, 246, 0.02) 100%
    );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.oficina-wrapper::-webkit-scrollbar {
  display: none;
}

.oficina-wrapper .overlay {
  background-color: rgba(6, 6, 8, 0.4);
}

.oficina-wrapper section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.bg-image {
  display: none;
}

/* ---------- TÉRMINOS Y CONDICIONES ---------- */
.terms-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.terms-container h1 {
  color: var(--ink-primary);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.terms-container .update-date {
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- MENÚ LATERAL ---------- */
.sidebar-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 90%;
  max-width: 480px;
  padding: 32px;
  background-color: #0f0f12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  transform: scale(1);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.sidebar-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-indicator {
  color: #b8b5b0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.custom-close-x {
  position: relative;
  width: 14px;
  height: 14px;
}

.custom-close-x::before,
.custom-close-x::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  content: "";
  transition: transform 0.2s ease;
}

.custom-close-x::before {
  transform: rotate(45deg);
}

.custom-close-x::after {
  transform: rotate(-45deg);
}

.sidebar-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-link-item {
  display: inline-block;
  width: fit-content;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.sidebar-link-item:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 16px;
  color: #ffffff;
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: 9999px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.18);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sidebar-cta-btn:hover {
  color: #ffffff;
  background-color: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.sidebar-content-wrapper.sidebar-hidden {
  transform: translateY(-120%) scale(0.95);
  opacity: 0;
  pointer-events: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 48px 0 40px;
  }

  .hero .wrap {
    padding: 0 20px;
  }

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

  section {
    padding: 24px 0;
  }

  .cta-final {
    padding: 28px;
  }

  .sidebar-content-wrapper {
    padding: 24px;
  }

  .chat-float {
    right: 16px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- PALABRA ROTATIVA ---------- */
.rotating-word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease;
}

.rotating-word.fade-out {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(6px);
}

/* ---------- BOTÓN FLOTANTE DE WHATSAPP ---------- */
.chat-float {
  position: fixed;
  z-index: 999;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #ffffff;
  background-color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.chat-float svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
}

.chat-float:hover {
  color: #ffffff;
  background-color: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.3);
}

/* ---------- CURSOR PERSONALIZADO ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-100px, -100px, 0);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.cursor-ring {
  z-index: 99998;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
}

.cursor-dot.visible,
.cursor-ring.visible {
  opacity: 1;
  visibility: visible;
}

/* El cursor personalizado solo se usa en dispositivos con puntero */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor [role="button"] {
    cursor: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body,
  a,
  button,
  [role="button"] {
    cursor: auto;
  }
}
