/* ==========================================
   AsturWeb — Hoja de estilos principal
   Estilo: moderno oscuro · glassmorphism · degradados
   ========================================== */

/* ==========================================
   1. VARIABLES
   ========================================== */
:root {
  /* Colores base */
  --bg: #080b13;
  --bg-alt: #0b101b;
  --surface: #111827;
  --surface-2: #1a2334;
  --surface-3: #222d44;

  /* Bordes */
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);

  /* Texto */
  --text: #e9faf2;
  --text-muted: #9ad1b6;
  --text-dim: #6aa887;

  /* Acentos */
  --accent: #10b981;
  --accent-2: #a3e635;
  --accent-3: #14b8a6;
  --accent-4: #65a30d;
  --success: #34d399;
  --danger: #f87171;

  /* Degradados */
  --gradient: linear-gradient(135deg, #10b981 0%, #34d399 45%, #a3e635 100%);
  --gradient-warm: linear-gradient(135deg, #84cc16 0%, #22c55e 50%, #14b8a6 100%);
  --gradient-text: linear-gradient(100deg, #6ee7b7 0%, #a3e635 50%, #2dd4bf 100%);
  --gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(163, 230, 53, 0.12));

  /* Radios */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Sombras */
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 70px -14px rgba(16, 185, 129, 0.5);

  /* Tipografía */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Layout */
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================
   2. RESET
   ========================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

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

/* Textura de grano sutil sobre toda la página */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

ul,
ol {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
}

::selection {
  background: rgba(16, 185, 129, 0.45);
  color: #fff;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

/* ==========================================
   3. UTILIDADES
   ========================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 820px;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-pan 6s ease infinite;
}

@keyframes gradient-pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Barra de progreso de scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9);
  transition: width 0.1s linear;
}

/* ==========================================
   4. BOTONES
   ========================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s;
}

/* Destello que cruza el botón al pasar el ratón */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn--primary {
  background: var(--gradient);
  background-size: 150% auto;
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(16, 185, 129, 0.65);
}

.btn--primary:hover {
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 18px 44px -10px rgba(16, 185, 129, 0.85);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(52, 211, 153, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -14px rgba(16, 185, 129, 0.5);
}

.btn--light {
  background: #fff;
  color: #0a0e17;
  box-shadow: 0 12px 34px -12px rgba(0, 0, 0, 0.45);
}

.btn--light:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.55);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================
   5. HEADER / NAVEGACIÓN
   ========================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.header.is-scrolled {
  background: rgba(8, 11, 19, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.3s var(--ease-bounce);
}

.nav__logo:hover {
  transform: scale(1.04);
}

.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  background-size: 150% auto;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 8px 22px -8px rgba(16, 185, 129, 0.9);
  transition: box-shadow 0.3s var(--ease), transform 0.4s var(--ease-bounce);
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(-8deg);
  box-shadow: 0 10px 28px -8px rgba(163, 230, 53, 0.8);
}

.nav__logo-text span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s, background-color 0.25s;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav__link.is-active {
  color: #fff;
  background: rgba(16, 185, 129, 0.22);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.nav__link--cta {
  margin-left: 10px;
  padding: 10px 20px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.75);
}

.nav__link--cta:hover {
  background: var(--gradient);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.95);
}

.nav__link--cta.is-active {
  background: var(--gradient);
}

.nav__link--cta.is-active::after {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s;
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   6. HERO
   ========================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 100px;
  overflow: hidden;
}

/* Resplandor principal (degradado animado) */
.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 950px;
  height: 950px;
  max-width: 135vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(20, 184, 166, 0.12) 35%, transparent 68%);
  filter: blur(30px);
  pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}

/* Segundo resplandor decorativo */
.hero::before {
  content: '';
  position: absolute;
  top: 12%;
  right: -12%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.18) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: breathe 11s ease-in-out infinite reverse;
}

/* Rejilla de fondo con máscara */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 28%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 28%, #000 25%, transparent 75%);
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  margin-bottom: 26px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.11rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* ---------- Gráfica de crecimiento ---------- */
.growth {
  width: 300px;
  max-width: 100%;
  margin-bottom: 46px;
  padding: 18px 20px 14px;
  background: linear-gradient(160deg, rgba(34, 44, 66, 0.55), rgba(4, 12, 8, 0.9));
  border: 1px solid var(--border-strong);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.growth__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.growth__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.growth__badge {
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.growth__chart {
  position: relative;
  height: 92px;
}

.growth__bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 9px;
}

.growth__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.9), rgba(16, 185, 129, 0.12));
  transform-origin: bottom;
  animation: bar-rise 1.1s var(--ease) backwards;
}

.growth__bars i:nth-child(1) { animation-delay: 0.15s; }
.growth__bars i:nth-child(2) { animation-delay: 0.25s; }
.growth__bars i:nth-child(3) { animation-delay: 0.35s; }
.growth__bars i:nth-child(4) { animation-delay: 0.45s; }
.growth__bars i:nth-child(5) { animation-delay: 0.55s; }
.growth__bars i:nth-child(6) { animation-delay: 0.65s; }
.growth__bars i:nth-child(7) { animation-delay: 0.75s; }

@keyframes bar-rise {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.growth__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.growth__line polyline {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: line-draw 1.7s var(--ease) 0.6s forwards;
  filter: drop-shadow(0 0 6px rgba(163, 230, 53, 0.8));
}

@keyframes line-draw {
  to { stroke-dashoffset: 0; }
}

.growth__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .growth { width: 100%; }
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-pan 6s ease infinite;
}

.hero__stat dd {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* --- Tarjeta de código flotante --- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 410px;
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

/* Reflejo superior tipo cristal */
.hero__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.hero__card--back {
  position: absolute;
  top: 24px;
  left: 7%;
  width: 86%;
  height: 100%;
  opacity: 0.35;
  filter: blur(1.5px);
  transform: rotate(-5deg);
  animation: none;
}

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

.hero__card-bar {
  display: flex;
  gap: 7px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}

.hero__card-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface-3);
}

.hero__card-bar i:nth-child(1) { background: #f87171; }
.hero__card-bar i:nth-child(2) { background: #fbbf24; }
.hero__card-bar i:nth-child(3) { background: var(--success); }

.hero__code {
  padding: 24px 22px 18px;
  font-family: 'Consolas', 'SF Mono', 'Monaco', 'Courier New', monospace;
  font-size: 0.86rem;
  line-height: 1.9;
  color: #cbeedb;
}

.hero__code .indent {
  padding-left: 22px;
}

.tok-key { color: #34d399; }
.tok-var { color: #2dd4bf; }
.tok-prop { color: #86efac; }
.tok-str { color: #a3e635; }
.tok-bool { color: #fbbf24; }
.tok-brace { color: #94a3b8; }

.hero__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 24px;
}

.hero__card-tags span {
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.hero__card-tags span:hover {
  color: #fff;
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* ==========================================
   7. MARQUEE DE TECNOLOGÍAS
   ========================================== */
.marquee {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, var(--bg-alt), rgba(17, 24, 39, 0.6), var(--bg-alt));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 58px;
  padding-right: 58px;
}

.marquee__group span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s, text-shadow 0.3s;
  cursor: default;
}

.marquee__group span:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(16, 185, 129, 0.8);
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================
   8. SECCIONES GENÉRICAS
   ========================================== */
.section {
  position: relative;
  z-index: 2;
  padding: 104px 0;
}

.section--alt {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(16, 185, 129, 0.07), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 680px;
  margin: 0 auto 62px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 15px;
  border-radius: 100px;
  background: var(--gradient-soft);
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

/* Línea decorativa bajo el título */
.section__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.7);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================
   9. GRIDS Y TARJETAS DE SERVICIO
   ========================================== */
.grid {
  display: grid;
  gap: 26px;
}

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

.card {
  position: relative;
  padding: 34px 30px;
  background: linear-gradient(160deg, var(--surface), rgba(17, 24, 39, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

/* Brillo de esquina al pasar el ratón */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

/* Resplandor difuso en la esquina inferior derecha */
.card::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow), 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--gradient-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-2);
  transition: transform 0.45s var(--ease-bounce), box-shadow 0.4s, color 0.3s;
}

.card:hover .card__icon {
  transform: scale(1.1) rotate(-6deg);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(163, 230, 53, 0.6);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================
   10. PROYECTOS
   ========================================== */
.project {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.project:hover {
  transform: translateY(-8px);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: var(--shadow);
}

.project__thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  transition: transform 0.6s var(--ease);
}

/* Velo oscuro que se aclara al hover */
.project__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 19, 0.25);
  transition: opacity 0.4s;
}

.project:hover .project__thumb::before {
  transform: scale(1.15);
}

.project:hover .project__thumb::after {
  opacity: 0.4;
}

.project__thumb span {
  position: relative;
  z-index: 1;
  padding: 9px 20px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  transition: transform 0.4s var(--ease-bounce);
}

.project:hover .project__thumb span {
  transform: scale(1.1);
}

.project__thumb--1 { background: linear-gradient(135deg, #059669, #34d399); }
.project__thumb--2 { background: linear-gradient(135deg, #047857, #84cc16); }
.project__thumb--3 { background: linear-gradient(135deg, #65a30d, #a3e635); }
.project__thumb--4 { background: linear-gradient(135deg, #0d9488, #22c55e); }
.project__thumb--5 { background: linear-gradient(135deg, #065f46, #34d399); }
.project__thumb--6 { background: linear-gradient(135deg, #1f2937, #10b981); }

.project__body {
  padding: 26px 28px 30px;
}

.project__body h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}

.project__body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project__tags span {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color 0.25s, border-color 0.25s;
}

.project:hover .project__tags span {
  color: var(--text-muted);
  border-color: var(--border-strong);
}

/* Enlace a la web de ejemplo */
.projects-demo {
  margin-top: 46px;
  padding: 20px 26px;
  border: 1px dashed rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.05);
  font-size: 0.93rem;
  color: var(--text-muted);
  text-align: center;
}

.projects-demo a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s, text-shadow 0.25s;
}

.projects-demo a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

/* ==========================================
   11. PROCESO
   ========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(160deg, var(--surface), rgba(17, 24, 39, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow);
}

/* Flecha conectora entre pasos */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -19px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(52, 211, 153, 0.5);
  border-right: 2px solid rgba(52, 211, 153, 0.5);
  transform: rotate(45deg);
}

.step__num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-pan 6s ease infinite;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 9px;
}

.step p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ==========================================
   12. PRECIOS
   ========================================== */
.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: linear-gradient(160deg, var(--surface), rgba(17, 24, 39, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.plan:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.plan--featured {
  position: relative;
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.16), var(--surface) 55%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--shadow-glow);
}

.plan--featured:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(52, 211, 153, 0.75);
}

.plan__flag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 100px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.9);
}

.plan__name {
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-pan 6s ease infinite;
}

.plan__price span {
  font-size: 1.4rem;
  font-weight: 600;
  -webkit-text-fill-color: var(--text-muted);
}

.plan__desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan__list {
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
  flex: 1;
}

.plan__list li {
  position: relative;
  padding-left: 29px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.plan__list li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 9px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(42deg);
}

/* ==========================================
   13. OPINIONES
   ========================================== */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: linear-gradient(160deg, var(--surface), rgba(17, 24, 39, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.testimonial:hover {
  transform: translateY(-8px);
  border-color: rgba(163, 230, 53, 0.35);
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: #fbbf24;
  letter-spacing: 4px;
  margin-bottom: 18px;
  font-size: 1rem;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.45);
}

.testimonial blockquote {
  flex: 1;
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 24px;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.testimonial figcaption span:last-child {
  display: flex;
  flex-direction: column;
}

.testimonial figcaption small {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(16, 185, 129, 0.8);
}

/* ==========================================
   26. CARRUSEL DE RESEÑAS (paso continuo)
   ========================================== */
.reviews {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* Se detiene al pasar el ratón o el dedo por encima */
.reviews__track.is-paused {
  filter: saturate(0.7);
}

.reviews__track .testimonial {
  flex-shrink: 0;
  width: 380px;
  margin-right: 26px;
  align-items: center;
  text-align: center;
  padding: 42px 38px 34px;
}

/* Foto de perfil */
.testimonial__photo {
  display: block;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35), 0 0 30px -6px rgba(34, 197, 94, 0.5);
}

.testimonial__photo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.reviews__track .testimonial blockquote {
  font-size: 1.12rem;
  line-height: 1.78;
}

.reviews__track .testimonial figcaption {
  flex-direction: column;
  gap: 3px;
  padding-top: 0;
  border-top: none;
}

.reviews__track .testimonial figcaption strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  .reviews__track .testimonial { width: 80vw; padding: 32px 24px 26px; }
  .reviews__track .testimonial blockquote { font-size: 1rem; }
}

/* ==========================================
   14. FAQ
   ========================================== */
.faq {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

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

.faq__item[open] {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 26px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.25s;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--accent-2);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent-2);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__item p {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: fade-in 0.35s var(--ease);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================
   15. CONTACTO
   ========================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact__info .section__eyebrow {
  margin-bottom: 14px;
}

.contact__info .section__title {
  text-align: left;
}

.contact__info .section__title::after {
  margin-left: 0;
}

.contact__info .section__lead {
  margin-bottom: 36px;
}

.contact__list {
  display: grid;
  gap: 20px;
  margin-bottom: 34px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}

.contact__list a {
  transition: color 0.25s;
}

.contact__list a:hover {
  color: var(--accent-2);
}

.contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gradient-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-2);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s;
}

.contact__list li:hover .contact__icon {
  transform: scale(1.1);
  box-shadow: 0 10px 24px -10px rgba(163, 230, 53, 0.55);
}

.contact__icon svg {
  width: 20px;
  height: 20px;
}

.contact__social {
  display: flex;
  gap: 12px;
}

.social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: color 0.3s, transform 0.35s var(--ease-bounce),
    border-color 0.3s, box-shadow 0.35s, background 0.3s;
}

.social svg {
  width: 20px;
  height: 20px;
}

.social:hover {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(16, 185, 129, 0.7);
}

/* --- Formulario --- */
.contact__form {
  position: relative;
  padding: 38px 34px;
  background: linear-gradient(160deg, rgba(34, 44, 66, 0.55), rgba(17, 24, 39, 0.6));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* Reflejo superior */
.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.7), transparent);
}

.field {
  margin-bottom: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.88rem;
  font-weight: 600;
}

.field label span {
  color: var(--accent-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 17px;
  background: rgba(8, 11, 19, 0.65);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.field textarea {
  resize: vertical;
  min-height: 124px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2398a5bc' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  padding-right: 44px;
  cursor: pointer;
}

.field select option {
  background: var(--surface);
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  background: rgba(8, 11, 19, 0.9);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field__error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--danger);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 8px;
  font-size: 0.87rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status {
  margin-top: 16px;
  min-height: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form__status.is-success {
  color: var(--success);
}

.form__status.is-error {
  color: var(--danger);
}

/* ==========================================
   16. CTA FINAL
   ========================================== */
.cta {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  background: var(--gradient);
  background-size: 200% auto;
  animation: gradient-pan 12s ease infinite;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent);
}

.cta__inner {
  position: relative;
  text-align: center;
  color: #fff;
}

.cta__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta__inner p {
  font-size: 1.08rem;
  opacity: 0.92;
  margin-bottom: 34px;
}

/* ==========================================
   17. FOOTER
   ========================================== */
.footer {
  position: relative;
  z-index: 2;
  padding-top: 74px;
  background: #06080f;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 54px;
}

.footer__brand p {
  margin-top: 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.footer__col h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col ul {
  display: grid;
  gap: 12px;
}

.footer__col a,
.footer__col li {
  font-size: 0.93rem;
  color: var(--text-muted);
  transition: color 0.25s, padding-left 0.25s;
}

.footer__col a:hover {
  color: var(--accent-2);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__heart {
  color: var(--danger);
  animation: beat 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ==========================================
   18. BOTÓN VOLVER ARRIBA
   ========================================== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(16, 185, 129, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

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

.to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px -10px rgba(163, 230, 53, 0.7);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* ==========================================
   19. ANIMACIONES DE SCROLL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

/* ==========================================
   20. RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__subtitle {
    max-width: 100%;
  }

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

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

  .step:not(:last-child)::after {
    display: none;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

  .nav__list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 30px;
    background: rgba(8, 11, 19, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
  }

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

  .nav__link {
    display: block;
    padding: 14px 17px;
    font-size: 1rem;
  }

  .nav__link.is-active::after {
    left: 17px;
    bottom: 8px;
    transform: none;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .section__head {
    margin-bottom: 48px;
  }

  .hero {
    padding: calc(var(--header-h) + 52px) 0 76px;
  }

  .grid--3,
  .steps,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 28px;
  }

  .hero__stat dt {
    font-size: 1.65rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact__form {
    padding: 28px 22px;
  }

  .card,
  .project__body,
  .step,
  .plan,
  .testimonial {
    padding-inline: 24px;
  }

  .cta {
    padding: 70px 0;
  }

  .to-top {
    right: 18px;
    bottom: 18px;
  }

  .marquee__group {
    gap: 38px;
    padding-right: 38px;
  }
}

/* ==========================================
   21. MODO HACKER — terminal · CRT · glitch
   ========================================== */

:root {
  /* Tipografía monoespaciada */
  --font: 'JetBrains Mono', 'Courier New', ui-monospace, monospace;
  --font-display: 'Share Tech Mono', 'JetBrains Mono', monospace;

  /* Consola casi negra con tinte verde */
  --bg: #03080a;
  --bg-alt: #040d09;
  --surface: #06120c;
  --surface-2: #0a1c13;
  --surface-3: #0d2418;
  --border: rgba(34, 197, 94, 0.13);
  --border-strong: rgba(34, 197, 94, 0.32);
  --text: #d9ffe9;
  --text-muted: #7fd6a8;
  --text-dim: #4e9b74;
  --success: #4ade80;
  --danger: #ff4d4d;
  --gradient: linear-gradient(135deg, #15803d 0%, #22c55e 45%, #a3e635 100%);
  --gradient-text: linear-gradient(100deg, #4ade80 0%, #a3e635 50%, #2dd4bf 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(163, 230, 53, 0.1));
  --shadow-glow: 0 0 60px -12px rgba(34, 197, 94, 0.4);

  /* Esquinas duras: nada de redondeos */
  --radius: 0px;
  --radius-sm: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
}

body {
  cursor: crosshair;
  padding-bottom: 26px;
  background-color: var(--bg);
}

a,
button,
summary,
.nav__toggle,
.checkbox {
  cursor: pointer;
}

input,
textarea,
select {
  cursor: text;
}

/* --- Lienzo Matrix --- */
#matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.17;
  pointer-events: none;
}

/* --- Efectos CRT --- */
.crt {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.crt--vig {
  z-index: 1490;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.62) 100%);
}

.crt--scan {
  z-index: 1491;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.17) 0, rgba(0, 0, 0, 0.17) 1px, transparent 1px, transparent 3px);
  animation: crt-flicker 5s steps(1) infinite;
}

/* Haz de barrido vertical */
.crt--scan::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.07), transparent);
  animation: scan-beam 8s linear infinite;
}

@keyframes crt-flicker {
  0%, 100% { opacity: 1; }
  3% { opacity: 0.85; }
  6% { opacity: 1; }
  42% { opacity: 1; }
  44% { opacity: 0.9; }
  46% { opacity: 1; }
}

@keyframes scan-beam {
  from { top: -150px; }
  to { top: 100%; }
}

/* --- Secuencia de arranque --- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #03080a;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
}

.boot__lines {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2.3vw, 1rem);
  line-height: 2.1;
  color: var(--accent-2);
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.55);
  white-space: pre-wrap;
}

/* --- Barra de estado inferior --- */
.statusbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 26px;
  padding: 0 16px;
  background: rgba(3, 10, 6, 0.93);
  border-top: 1px solid rgba(34, 197, 94, 0.32);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
}

.statusbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.statusbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 9px var(--accent-2);
  animation: pulse 1.6s ease-in-out infinite;
}

.statusbar__clock {
  margin-left: auto;
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

/* --- Botones estilo terminal --- */
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn::after {
  background: linear-gradient(110deg, transparent 25%, rgba(74, 222, 128, 0.16) 50%, transparent 75%);
}

.btn__label::before {
  content: '[ ';
  opacity: 0.55;
}

.btn__label::after {
  content: ' ]';
  opacity: 0.55;
}

.btn--primary {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.65);
  color: var(--accent-2);
  box-shadow: inset 0 0 24px rgba(34, 197, 94, 0.12), 0 0 20px -8px rgba(34, 197, 94, 0.5);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
}

.btn--primary:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: var(--accent-2);
  box-shadow: inset 0 0 30px rgba(34, 197, 94, 0.2), 0 0 28px -6px rgba(74, 222, 128, 0.65);
}

.btn--ghost {
  background: transparent;
  border: 1px dashed rgba(34, 197, 94, 0.42);
  color: var(--text-muted);
}

.btn--ghost:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: var(--accent-2);
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

.btn--light {
  background: #03080a;
  border: 1px solid rgba(163, 230, 53, 0.6);
  color: var(--accent-2);
  box-shadow: 0 0 26px -8px rgba(163, 230, 53, 0.45);
  text-shadow: 0 0 10px rgba(163, 230, 53, 0.6);
}

.btn--light:hover {
  background: rgba(163, 230, 53, 0.15);
}

/* --- Cursor de terminal --- */
.caret {
  display: inline-block;
  width: 0.62em;
  height: 1em;
  margin-left: 8px;
  vertical-align: -0.12em;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.9);
  animation: blink 1.05s steps(1) infinite;
}

.caret::before {
  content: '>';
  margin-right: 10px;
  color: var(--accent-2);
  font-family: var(--font-display);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* --- Glitch RGB --- */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: none;
  pointer-events: none;
}

.glitch::before {
  color: #ff3b3b;
  -webkit-text-fill-color: #ff3b3b;
  clip-path: inset(0 0 58% 0);
  animation: glitch-top 2.6s infinite linear alternate-reverse;
}

.glitch::after {
  color: #2dd4bf;
  -webkit-text-fill-color: #2dd4bf;
  clip-path: inset(56% 0 0 0);
  animation: glitch-bottom 3.1s infinite linear alternate-reverse;
}

@keyframes glitch-top {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3px, -2px); }
  40% { transform: translate(3px, 1px); }
  60% { transform: translate(-2px, 2px); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0, 0); }
}

@keyframes glitch-bottom {
  0% { transform: translate(0, 0); }
  25% { transform: translate(3px, 2px); }
  50% { transform: translate(-3px, -1px); }
  75% { transform: translate(2px, 1px); }
  100% { transform: translate(0, 0); }
}

/* --- Navegación --- */
.nav__list {
  border-style: dashed;
  border-radius: 0;
}

.nav__link {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.84rem;
  border-radius: 0;
}

.nav__link--cta {
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.nav__logo-text span {
  text-shadow: 0 0 14px rgba(74, 222, 128, 0.6);
}

/* --- Hero --- */
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-shadow: 0 0 46px rgba(34, 197, 94, 0.3);
}

/* Frase clave: más brillo, sin efectos que distraigan */
.hero__title .gradient-text {
  filter: drop-shadow(0 0 24px rgba(163, 230, 53, 0.4));
}

.hero__badge {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  border-radius: 0;
  border-style: dashed;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.hero__stat dt,
.hero__code {
  font-family: var(--font-display);
}

.hero__card {
  border-radius: 0;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

/* --- Marquee --- */
.marquee__group span {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.marquee__group span:hover {
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.9);
}

/* --- CTA final --- */
.cta {
  background: linear-gradient(135deg, #03120a, #061a10 55%, #04160d);
  border-block: 1px solid rgba(34, 197, 94, 0.3);
  animation: none;
}

.cta__inner h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.cta__inner p {
  color: var(--text-muted);
  opacity: 1;
}

/* --- Botón volver arriba --- */
.to-top {
  bottom: 46px;
  border-radius: 0;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

/* --- Footer --- */
.footer__fp {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: var(--text-dim);
}

.footer__col h3 {
  font-family: var(--font-display);
}

.footer__col a:hover {
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  padding-left: 6px;
}

@media (max-width: 640px) {
  body {
    padding-bottom: 24px;
  }

  .statusbar__hide {
    display: none;
  }
}

/* ==========================================
   22. MODO HACKER — paneles HUD y formularios
   ========================================== */

/* --- Encabezados de sección --- */
.section__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 0 26px rgba(34, 197, 94, 0.3);
}

.section__eyebrow {
  font-family: var(--font-display);
  border-style: dashed;
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.section__title::after {
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.85);
}

/* --- Paneles con esquinas cortadas (HUD) --- */
.card,
.project,
.step,
.plan,
.testimonial,
.contact__form,
.faq__item {
  border-radius: 0;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.card,
.step,
.plan,
.testimonial {
  position: relative;
  background: linear-gradient(160deg, rgba(10, 28, 19, 0.88), rgba(3, 10, 6, 0.94));
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.09), inset 0 0 44px -22px rgba(34, 197, 94, 0.3);
}

/* Barrido de scanlines al pasar el ratón */
.card::after,
.plan::after,
.testimonial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(74, 222, 128, 0.055) 0, rgba(74, 222, 128, 0.055) 1px, transparent 1px, transparent 3px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover::after,
.plan:hover::after,
.testimonial:hover::after {
  opacity: 1;
}

.card:hover,
.step:hover,
.plan:hover,
.testimonial:hover {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35), inset 0 30px 60px -30px rgba(34, 197, 94, 0.45);
}

.card h3,
.project__body h3,
.step h3,
.plan__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card__icon {
  border-radius: 0;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

/* --- Proyectos --- */
.project__thumb span {
  font-family: var(--font-display);
  border-radius: 0;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.project__tags span {
  border-radius: 0;
  font-family: var(--font-display);
}

/* --- Proceso --- */
.step__num {
  font-family: var(--font-display);
}

.step:not(:last-child)::after {
  border-color: rgba(74, 222, 128, 0.55);
}

/* --- Precios --- */
.plan__price {
  font-family: var(--font-display);
}

.plan__flag {
  border-radius: 0;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.plan--featured {
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.16), var(--surface) 55%);
  border-color: rgba(34, 197, 94, 0.5);
}

/* --- Opiniones --- */
.testimonial blockquote {
  color: var(--text);
}

/* --- FAQ --- */
.faq__item summary {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.faq__item summary::before {
  content: '$ ';
  color: var(--accent-2);
}

/* --- Contacto y formulario --- */
.field label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field label::before {
  content: '> ';
  color: var(--accent-2);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  caret-color: var(--accent-2);
  border-radius: 0;
  background: rgba(3, 12, 7, 0.85);
  border-color: rgba(34, 197, 94, 0.25);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.4), inset 0 0 20px rgba(34, 197, 94, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(126, 214, 168, 0.38);
}

.contact__icon,
.social {
  border-radius: 0;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.social:hover {
  background: rgba(34, 197, 94, 0.18);
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 24px -8px rgba(34, 197, 94, 0.6);
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
}

.contact__form::before {
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.7), transparent);
}

/* Email con pulsación para copiar */
[data-copy] {
  border-bottom: 1px dashed rgba(74, 222, 128, 0.45);
}

.form__status.is-success {
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

/* ==========================================
   23. CHAT EN VIVO
   ========================================== */

/* --- Botón flotante --- */
.chat-launcher {
  position: fixed;
  left: 24px;
  bottom: 46px;
  z-index: 1600;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #03080a;
  background: var(--gradient);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 30px -6px rgba(34, 197, 94, 0.75);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s;
}

.chat-launcher:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 40px -4px rgba(74, 222, 128, 0.9);
}

.chat-launcher svg {
  width: 26px;
  height: 26px;
}

.chat-launcher__ping {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 10px rgba(253, 224, 71, 0.9);
  animation: pulse 1.8s ease-in-out infinite;
}

.chat-launcher.is-open {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
}

/* --- Panel --- */
.chat {
  position: fixed;
  left: 24px;
  bottom: 112px;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 440px;
  max-height: calc(100vh - 170px);
  background: linear-gradient(160deg, rgba(10, 28, 19, 0.97), rgba(3, 10, 6, 0.98));
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9), 0 0 40px -12px rgba(34, 197, 94, 0.4);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  visibility: hidden;
}

.chat.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* --- Cabecera --- */
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(3, 12, 7, 0.7);
}

.chat__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--gradient);
  color: #03080a;
  font-family: var(--font-display);
  font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.chat__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.chat__meta strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.chat__meta small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.6s ease-in-out infinite;
}

.chat__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.chat__close:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: rgba(34, 197, 94, 0.1);
}

.chat__close svg {
  width: 15px;
  height: 15px;
}

/* --- Cuerpo de mensajes --- */
.chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.chat__msg {
  max-width: 85%;
  padding: 10px 13px;
  font-size: 0.85rem;
  line-height: 1.55;
  animation: chat-in 0.3s var(--ease);
}

.chat__msg--bot {
  align-self: flex-start;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: var(--text);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.chat__msg--user {
  align-self: flex-end;
  background: var(--gradient);
  color: #03080a;
  font-weight: 500;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.chat__msg--sys {
  align-self: center;
  max-width: 100%;
  padding: 5px 10px;
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat__msg a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Enlace tipo botón dentro del chat */
.chat__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 16px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.chat__link:hover {
  background: var(--gradient);
  color: #03080a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(34, 197, 94, 0.6);
}

/* Indicador de "escribiendo" */
.chat__typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 12px 15px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px dashed rgba(34, 197, 94, 0.35);
}

.chat__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: typing 1.2s ease-in-out infinite;
}

.chat__typing i:nth-child(2) { animation-delay: 0.18s; }
.chat__typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --- Respuestas rápidas --- */
.chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
}

.chat__quick button {
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.07);
  border: 1px dashed rgba(34, 197, 94, 0.35);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}

.chat__quick button:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: rgba(34, 197, 94, 0.14);
  transform: translateY(-2px);
}

/* --- Pie con input --- */
.chat__foot {
  display: flex;
  gap: 9px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(34, 197, 94, 0.22);
}

.chat__foot input {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  background: rgba(3, 12, 7, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 0;
  font-size: 0.85rem;
  caret-color: var(--accent-2);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.chat__foot input::placeholder {
  color: rgba(126, 214, 168, 0.38);
}

.chat__foot input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.35), inset 0 0 16px rgba(34, 197, 94, 0.08);
}

.chat__send {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  background: var(--gradient);
  color: #03080a;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: box-shadow 0.3s, transform 0.25s var(--ease);
}

.chat__send:hover {
  box-shadow: 0 0 22px -6px rgba(34, 197, 94, 0.8);
  transform: translateY(-2px);
}

.chat__send svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .chat {
    left: 12px;
    right: 12px;
    bottom: 104px;
    width: auto;
    height: 68vh;
    max-height: none;
  }

  .chat-launcher {
    left: 16px;
    bottom: 42px;
  }
}

/* ==========================================
   24. PUNTERO VERDE NEÓN (flecha normal)
   ========================================== */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0 L0 24 L7 17 L11 24 L16 21 L12 14 L22 14 Z' fill='%23ffffff' stroke='%230b1220' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0, auto;
}

a,
button,
summary,
.checkbox,
.chat__quick button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0 L0 24 L7 17 L11 24 L16 21 L12 14 L22 14 Z' fill='%23ffffff' stroke='%230b1220' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0, pointer;
}

.field input,
.field textarea,
.chat__foot input {
  cursor: text;
}

/* ==========================================
   27. BOCADILLOS DE AVISO
   ========================================== */
.toasts {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 24px;
  z-index: 1550;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 330px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.toast {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 15px 16px 16px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(10, 28, 19, 0.96), rgba(3, 10, 6, 0.98));
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.9);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(120%);
  transition: transform 0.55s var(--ease-bounce), opacity 0.45s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast.is-gone {
  opacity: 0;
  transform: translateX(120%);
}

/* Icono */
.toast__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: #03080a;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.toast__icon svg {
  width: 22px;
  height: 22px;
}

/* Contenido */
.toast__body {
  min-width: 0;
  flex: 1;
}

.toast__title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.toast__text {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.toast__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #03080a;
  background: var(--gradient);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s;
}

.toast__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(34, 197, 94, 0.6);
}

/* Cerrar */
.toast__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--text-dim);
  transition: color 0.25s, background-color 0.25s;
}

.toast__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.toast__close svg {
  width: 12px;
  height: 12px;
}

/* Barra de tiempo desactivada: los avisos son permanentes */
.toast__timer {
  display: none;
}

.toast__arrow {
  display: inline-block;
  animation: arrow-down 1.4s ease-in-out infinite;
}

@keyframes arrow-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* --- Variantes de color --- */
/* WhatsApp */
.toast--wa {
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

.toast--wa .toast__icon {
  background: linear-gradient(135deg, #22c55e, #a3e635);
}

.toast--wa::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4ade80, #a3e635);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.8);
}

/* Pista / botón de abajo */
.toast--tip {
  border-color: rgba(250, 204, 21, 0.45);
  color: #fbbf24;
}

.toast--tip .toast__icon {
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

.toast--tip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #fbbf24, #f97316);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.75);
}

/* Llamar */
.toast--call {
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.toast--call .toast__icon {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.toast--call .toast__btn {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.toast--call::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #38bdf8, #6366f1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.75);
}

@media (max-width: 640px) {
  .toasts {
    right: 12px;
    left: 12px;
    width: auto;
    top: calc(var(--header-h) + 8px);
  }
}

/* ==========================================
   25. MAQUETA DE WEB (Restaurante La Mar)
   Diseño claro y elegante, distinto al resto
   de la web, como si fuera otro proyecto.
   ========================================== */
.project__thumb {
  container-type: inline-size;
}

.mockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 80%;
  aspect-ratio: 16 / 11;
  background: #fdfcfa;
  border: 1px solid rgba(28, 25, 23, 0.14);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.project:hover .mockup {
  transform: scale(1.05);
}

/* Barra superior del navegador */
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 9%;
  padding: 0 3%;
  background: #ffffff;
  border-bottom: 1px solid rgba(28, 25, 23, 0.09);
}

.mockup__bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.16);
}

.mockup__bar i:nth-child(1) { background: #d6d3d1; }
.mockup__bar i:nth-child(2) { background: #d6d3d1; }
.mockup__bar i:nth-child(3) { background: #d6d3d1; }

.mockup__bar span {
  margin-left: auto;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 6px;
  font-size: 2.2cqw;
  letter-spacing: 0.02em;
  color: #a8a29e;
}

.mockup__screen {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Zona principal */
.mockup__hero {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5%;
  padding: 4% 6%;
  background:
    radial-gradient(110% 130% at 50% -10%, rgba(161, 98, 7, 0.09), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #faf6ef 100%);
}

/* Distintivo circular del restaurante */
.mockup__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  border: 1px solid rgba(161, 98, 7, 0.55);
  border-radius: 50%;
}

.mockup__mark::after {
  content: '';
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: rgba(161, 98, 7, 0.8);
}

.mockup__nav {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 5px;
  font-size: 2.1cqw;
  letter-spacing: 0.2em;
  color: #a8a29e;
}

.mockup__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-size: 6.6cqw;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1c1917;
}

.mockup__rule {
  width: 24%;
  height: 1px;
  background: rgba(161, 98, 7, 0.55);
}

.mockup__kicker {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 6px;
  font-size: 2.5cqw;
  font-style: italic;
  color: #78716c;
}

.mockup__cta {
  margin-top: 1%;
  padding: 1.8% 6%;
  background: #a16207;
  color: #ffffff;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 5px;
  font-size: 2.3cqw;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 2px;
}

/* Fila de platos */
.mockup__row {
  display: flex;
  gap: 4%;
  padding: 4% 6% 6%;
  background: #ffffff;
}

.mockup__dish {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8%;
}

.mockup__dish span {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 9cqw;
  background: linear-gradient(160deg, #f4efe6, #eae1d4);
  border: 1px solid rgba(28, 25, 23, 0.07);
}

/* Plato sobre la foto */
.mockup__dish span::after {
  content: '';
  width: 45%;
  height: 60%;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(28, 25, 23, 0.12);
}

.mockup__dish em {
  display: block;
  width: 80%;
  height: 2cqw;
  background: #e7e5e4;
}

/* ==========================================
   26. MAQUETAS DE PROYECTOS
   ========================================== */

/* ---------- Piezas comunes ---------- */
.mockup__top {
  display: flex;
  align-items: center;
  gap: 4%;
  padding: 3% 5%;
}

.mockup__logo {
  font-size: 7px;
  font-size: 2.7cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mockup__links {
  display: flex;
  gap: 4px;
  gap: 1.4cqw;
  margin-left: auto;
}

.mockup__links i {
  display: block;
  width: 10px;
  width: 3.6cqw;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.mockup__cart {
  position: relative;
  width: 9px;
  width: 3.3cqw;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 1px;
  opacity: 0.45;
}

.mockup__cart::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 2px;
  right: 2px;
  height: 1px;
  background: currentColor;
}

.mockup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5% 3%;
  padding: 2% 5% 5%;
}

.mockup__cell {
  display: flex;
  flex-direction: column;
  gap: 5%;
}

.mockup__cell span {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
}

.mockup__cell em {
  display: block;
  width: 90%;
  height: 1px;
  height: 0.7cqw;
  background: currentColor;
  opacity: 0.22;
}

.mockup__cell b {
  font-size: 5px;
  font-size: 2cqw;
  font-weight: 700;
}

.mockup__tag {
  font-size: 5px;
  font-size: 2cqw;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mockup__big {
  font-size: 16px;
  font-size: 6.4cqw;
  line-height: 0.95;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.mockup__stats {
  display: flex;
  gap: 9%;
}

.mockup__stats span {
  display: flex;
  flex-direction: column;
}

.mockup__stats b {
  font-size: 6px;
  font-size: 2.5cqw;
  font-weight: 700;
}

.mockup__stats em {
  font-size: 4px;
  font-size: 1.7cqw;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

.mockup__title-sm {
  font-size: 9px;
  font-size: 3.6cqw;
  font-weight: 700;
  line-height: 1.15;
}

.mockup__title-mini {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5px;
  font-size: 2.2cqw;
}

.mockup__chips {
  display: flex;
  gap: 4%;
}

.mockup__chips i {
  font-style: normal;
  font-size: 4.5px;
  font-size: 1.9cqw;
  padding: 1.6% 4%;
  border-radius: 999px;
}

.mockup__phone {
  margin-top: auto;
  font-size: 7px;
  font-size: 2.8cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Boutique Nore (tienda online) ---------- */
.mockup--shop {
  background: #fff8f8;
  color: #4c0519;
}

.mockup--shop .mockup__bar {
  background: #ffffff;
  border-bottom-color: rgba(76, 5, 25, 0.09);
}

.mockup--shop .mockup__bar span {
  color: rgba(76, 5, 25, 0.45);
}

.mockup--shop .mockup__screen {
  background: linear-gradient(180deg, #ffffff, #fff5f5);
}

.mockup--shop .mockup__cell span {
  border: 1px solid rgba(76, 5, 25, 0.07);
}

.mockup--shop .mockup__cell:nth-child(1) span { background: linear-gradient(160deg, #fbcfe8, #f9a8d4); }
.mockup--shop .mockup__cell:nth-child(2) span { background: linear-gradient(160deg, #fde8d0, #fcd9b6); }
.mockup--shop .mockup__cell:nth-child(3) span { background: linear-gradient(160deg, #e9e4f5, #d9d0ec); }
.mockup--shop .mockup__cell:nth-child(4) span { background: linear-gradient(160deg, #d9f2e6, #bfe8d4); }
.mockup--shop .mockup__cell:nth-child(5) span { background: linear-gradient(160deg, #fce7f3, #f8d0e4); }
.mockup--shop .mockup__cell:nth-child(6) span { background: linear-gradient(160deg, #e8eef7, #d3dEeA); }

/* ---------- Iron Gym (landing oscura) ---------- */
.mockup--gym {
  background: #050505;
  color: #ffffff;
}

.mockup--gym .mockup__bar {
  background: #141414;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.mockup--gym .mockup__bar span {
  color: rgba(255, 255, 255, 0.4);
}

.mockup--gym .mockup__screen {
  align-items: flex-start;
  justify-content: center;
  gap: 6%;
  padding: 6% 7%;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(239, 68, 68, 0.38), transparent 62%),
    linear-gradient(180deg, #121212, #050505);
}

.mockup--gym .mockup__tag {
  color: #f87171;
}

.mockup--gym .mockup__cta {
  padding: 2.4% 6%;
  background: #ef4444;
  color: #ffffff;
  font-size: 5px;
  font-size: 2.1cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  clip-path: none;
}

.mockup--gym .mockup__stats {
  margin-top: 3%;
}

/* ---------- Clínica Dental Sanao ---------- */
.mockup--clinic {
  background: #ffffff;
  color: #0c4a6e;
}

.mockup--clinic .mockup__bar {
  background: #ffffff;
  border-bottom-color: rgba(12, 74, 110, 0.1);
}

.mockup--clinic .mockup__bar span {
  color: rgba(12, 74, 110, 0.4);
}

.mockup--clinic .mockup__screen {
  gap: 3%;
  padding: 4% 6% 6%;
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

.mockup--clinic .mockup__top {
  padding: 0;
}

.mockup--clinic .mockup__logo {
  color: #0369a1;
}

.mockup--clinic .mockup__cta--sm {
  margin-left: auto;
  padding: 1.8% 5%;
  background: #0ea5e9;
  color: #ffffff;
  font-size: 5px;
  font-size: 2cqw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  clip-path: none;
}

.mockup--clinic .mockup__kicker {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 5px;
  font-size: 2.1cqw;
  font-style: normal;
  color: #64748b;
}

.mockup--clinic .mockup__chips i {
  background: #e0f2fe;
  color: #0369a1;
}

.mockup--clinic .mockup__phone {
  color: #0ea5e9;
}

/* Foto del dentista */
.mockup--clinic .mockup__photo {
  position: relative;
  margin: 1% -6% 0;
  overflow: hidden;
  background: #e0f2fe;
}

.mockup--clinic .mockup__photo svg {
  display: block;
  width: 100%;
  height: auto;
}

.mockup--clinic .mockup__photo-badge {
  position: absolute;
  left: 8%;
  bottom: 8%;
  padding: 1.8% 4.5%;
  background: rgba(255, 255, 255, 0.94);
  color: #0369a1;
  font-size: 4px;
  font-size: 1.7cqw;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 1px 5px rgba(2, 132, 199, 0.28);
}

/* ---------- Casa Rural El Bosque ---------- */
.mockup--rural {
  background: #f7f5ef;
  color: #14532d;
}

.mockup--rural .mockup__bar {
  background: #ffffff;
  border-bottom-color: rgba(20, 83, 45, 0.1);
}

.mockup--rural .mockup__bar span {
  color: rgba(20, 83, 45, 0.45);
}

.mockup--rural .mockup__screen {
  position: relative;
  align-items: center;
  justify-content: flex-end;
  gap: 4%;
  padding: 5% 6% 7%;
  background: linear-gradient(180deg, #eef5e8, #fdfcf7);
}

/* Montañas de la foto de portada */
.mockup--rural .mockup__mount {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44%;
  background: linear-gradient(180deg, #bbf7d0, #4ade80);
  clip-path: polygon(0 100%, 20% 30%, 40% 74%, 60% 18%, 82% 62%, 100% 34%, 100% 100%);
}

.mockup--rural .mockup__mount::after {
  content: '';
  position: absolute;
  top: 22%;
  right: 16%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 12px rgba(253, 230, 138, 0.9);
}

.mockup--rural .mockup__title-rural {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11px;
  font-size: 4.6cqw;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #14532d;
}

.mockup--rural .mockup__kicker {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 5px;
  font-size: 2.2cqw;
  color: #4d7c0f;
}

.mockup--rural .mockup__book {
  display: flex;
  align-items: center;
  gap: 4%;
  width: 100%;
  margin-top: 3%;
}

.mockup--rural .mockup__book span {
  flex: 1;
  padding: 2.4% 4%;
  background: #ffffff;
  border: 1px solid rgba(20, 83, 45, 0.16);
  font-size: 4.5px;
  font-size: 1.9cqw;
  color: #4d7c0f;
  text-align: center;
}

.mockup--rural .mockup__book b {
  padding: 2.4% 6%;
  background: #15803d;
  color: #ffffff;
  font-size: 4.5px;
  font-size: 1.9cqw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mockup--rural .mockup__price {
  font-size: 4.5px;
  font-size: 1.9cqw;
  color: #4d7c0f;
}

/* ---------- Veterinaria Norte (antes / después) ---------- */
.mockup--vet .mockup__screen--split {
  flex-direction: row;
}

.mockup--vet .mockup__half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7%;
  padding: 6% 4%;
}

.mockup--vet .mockup__half em {
  font-style: normal;
  font-size: 4px;
  font-size: 1.7cqw;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.mockup--vet .mockup__half--before {
  background: #e7e5e4;
  color: #57534e;
}

.mockup--vet .mockup__half--after {
  background: linear-gradient(180deg, #ecfdf5, #ffffff);
  color: #065f46;
  border-left: 1px dashed rgba(6, 95, 70, 0.25);
}

.mockup--vet .mockup__half i {
  display: block;
  width: 60%;
  height: 1px;
  height: 0.7cqw;
  background: currentColor;
  opacity: 0.25;
}

.mockup--vet .mockup__half b {
  font-size: 6px;
  font-size: 2.6cqw;
  font-weight: 700;
}

.mockup--vet .mockup__half--before b {
  color: #b91c1c;
}

.mockup--vet .mockup__half--after b {
  color: #059669;
}

/* Icono de carga girando */
.mockup__load {
  width: 12px;
  width: 5cqw;
  aspect-ratio: 1;
  border: 1.5px solid rgba(87, 83, 78, 0.25);
  border-top-color: #57534e;
  border-radius: 50%;
  animation: mockup-spin 1s linear infinite;
}

@keyframes mockup-spin {
  to { transform: rotate(360deg); }
}
