/* ============================================================
   Óptica Mirador — DEMO — styles.css
   Sitio estático, sin JavaScript. Solo @media para responsive.
   ============================================================ */

/* ---------- Reset y base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #0f172a;
  --muted: #5b6b83;
  --bg: #ffffff;
  --bg-alt: #f6f8fd;
  --line: #ccd6e8;

  --violet: #7c3aed;
  --cyan: #0891b2;
  --cyan-bright: #06b6d4;
  --pink: #db2777;
  --pink-bright: #ec4899;
  --orange: #ea580c;
  --orange-bright: #f97316;
  --green: #059669;
  --green-bright: #10b981;
  --yellow: #f59e0b;

  --grad-main: linear-gradient(120deg, #7c3aed, #06b6d4, #ec4899, #f97316);
  --grad-cta: linear-gradient(120deg, #7c3aed, #ec4899, #f97316);

  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 50px rgba(124, 58, 237, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

section {
  scroll-margin-top: 90px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ---------- Animaciones ---------- */
@keyframes grad-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes floaty-b {
  0%, 100% { transform: translateY(-10px); }
  50%      { transform: translateY(8px); }
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -25px) scale(1.12); }
  66%      { transform: translate(-20px, 20px) scale(0.94); }
}

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

@keyframes sheen-run {
  0%       { transform: translateX(-160%) skewX(-20deg); }
  55%, 100%{ transform: translateX(220%) skewX(-20deg); }
}

@keyframes badge-swing {
  0%, 100% { transform: rotate(-7deg); }
  50%      { transform: rotate(7deg); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Barra superior (aviso demo) ---------- */
.topbar {
  background: var(--grad-main);
  background-size: 300% 300%;
  animation: grad-shift 10s ease infinite;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  text-align: center;
}

.topbar .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Header / navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 14px rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  margin-right: auto;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad-main);
  background-size: 300% 300%;
  animation: grad-shift 8s ease infinite;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-icon .icon {
  width: 24px;
  height: 24px;
}

.brand span em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet), var(--pink-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-burger span {
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--violet);
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn .icon {
  width: 19px;
  height: 19px;
}

.btn-primary {
  color: #fff;
  background: var(--grad-cta);
  background-size: 220% 220%;
  animation: grad-shift 6s ease infinite;
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.32);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: sheen-run 3.2s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
}

.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--violet);
  color: var(--violet);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: #fff;
  color: var(--violet);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
}

.btn-light:hover {
  transform: translateY(-3px) scale(1.04);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: blob-drift 14s ease-in-out infinite;
}

.blob-1 { width: 420px; height: 420px; top: -120px; left: -120px; background: radial-gradient(circle, #c4b5fd, transparent 70%); }
.blob-2 { width: 380px; height: 380px; bottom: -140px; right: -80px; background: radial-gradient(circle, #a5f3fc, transparent 70%); animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; top: 30%; right: 28%; background: radial-gradient(circle, #fbcfe8, transparent 70%); animation-delay: -9s; }

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  animation: fade-up 0.8s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  background: #f3eefe;
  border: 1px solid #e4d9fc;
}

.eyebrow .icon {
  width: 15px;
  height: 15px;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.grad-text {
  background: var(--grad-main);
  background-size: 300% 300%;
  animation: grad-shift 7s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow);
}

.stars .icon {
  width: 17px;
  height: 17px;
}

.hero-media {
  position: relative;
  animation: fade-up 0.8s ease 0.15s both;
}

.hero-frame {
  padding: 9px;
  border-radius: 30px;
  background: var(--grad-main);
  background-size: 300% 300%;
  animation: grad-shift 8s ease infinite;
  box-shadow: var(--shadow-lg);
}

.hero-frame img {
  border-radius: 23px;
  width: 100%;
  height: auto;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 11px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
}

.chip small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.74rem;
}

.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.chip-1 { top: 26px; left: -34px; }
.chip-2 { bottom: 42px; right: -28px; animation-name: floaty-b; animation-duration: 6.5s; }
.chip-1 .chip-icon { background: linear-gradient(135deg, var(--green-bright), var(--cyan-bright)); }
.chip-2 .chip-icon { background: linear-gradient(135deg, var(--orange-bright), var(--pink-bright)); }

/* ---------- Cinta de marcas (marquee) ---------- */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-move 24s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.marquee-group .icon {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding: 88px 0;
}

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

.section-head {
  max-width: 640px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--card-accent, var(--grad-main));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 20px;
  background: var(--card-accent, var(--grad-main));
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease;
}

.service-icon .icon {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.12);
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

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

.sv-violet { --card-accent: linear-gradient(135deg, #7c3aed, #a78bfa); }
.sv-cyan   { --card-accent: linear-gradient(135deg, #0891b2, #22d3ee); }
.sv-orange { --card-accent: linear-gradient(135deg, #ea580c, #fb923c); }
.sv-pink   { --card-accent: linear-gradient(135deg, #db2777, #f472b6); }
.sv-green  { --card-accent: linear-gradient(135deg, #059669, #34d399); }
.sv-yellow { --card-accent: linear-gradient(135deg, #d97706, #fbbf24); }

/* ---------- Productos ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.09);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.badge-new  { background: linear-gradient(120deg, var(--green-bright), var(--cyan-bright)); }
.badge-hot  { background: linear-gradient(120deg, var(--violet), var(--pink-bright)); }
.badge-sale {
  background: linear-gradient(120deg, var(--orange-bright), var(--pink-bright));
  animation: badge-swing 2.4s ease-in-out infinite;
}

.product-body {
  padding: 20px 22px 24px;
}

.product-cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.product-body h3 {
  font-size: 1.08rem;
  margin: 5px 0 10px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-size: 1.22rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--violet), var(--pink-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Estadísticas ---------- */
.stats {
  background: var(--grad-main);
  background-size: 300% 300%;
  animation: grad-shift 12s ease infinite;
  color: #fff;
  padding: 68px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-weight: 600;
  opacity: 0.92;
  font-size: 0.96rem;
}

/* ---------- Nosotros ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-frame {
  padding: 8px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--violet), var(--pink-bright));
  background-size: 260% 260%;
  animation: grad-shift 9s ease infinite;
  box-shadow: var(--shadow-lg);
}

.about-frame img {
  border-radius: 20px;
  width: 100%;
}

.about-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}

.about-copy > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  font-weight: 600;
}

.check-list .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green-bright), var(--cyan-bright));
}

/* ---------- Testimonios ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}

.testi-card p {
  color: var(--muted);
  margin: 14px 0 20px;
  font-size: 0.97rem;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex: none;
}

.av-1 { background: linear-gradient(135deg, var(--violet), var(--pink-bright)); }
.av-2 { background: linear-gradient(135deg, var(--cyan-bright), var(--green-bright)); }
.av-3 { background: linear-gradient(135deg, var(--orange-bright), var(--yellow)); }

.testi-person strong {
  display: block;
  font-size: 0.97rem;
}

.testi-person small {
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 88px;
}

.cta-box {
  background: var(--grad-cta);
  background-size: 260% 260%;
  animation: grad-shift 8s ease infinite;
  border-radius: 28px;
  padding: 58px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
}

.cta-box::before { width: 200px; height: 200px; top: -80px; left: -60px; }
.cta-box::after  { width: 260px; height: 260px; bottom: -120px; right: -80px; animation-name: floaty-b; }

.cta-box h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-box p {
  opacity: 0.94;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.ci-violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ci-cyan   { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ci-pink   { background: linear-gradient(135deg, #db2777, #f472b6); }
.ci-green  { background: linear-gradient(135deg, #059669, #34d399); }

.contact-card strong {
  display: block;
  margin-bottom: 2px;
}

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

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--orange);
  background: #fff4ec;
  border: 1px solid #f7c398;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 22px;
}

.form-note .icon {
  width: 17px;
  height: 17px;
}

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

.field {
  margin-bottom: 16px;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0d1526;
  color: #cbd5e1;
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #7c3aed, #06b6d4, #ec4899, #f97316) 1;
  padding: 64px 0 0;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #94a3b8;
  max-width: 32ch;
  margin-bottom: 18px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-row a:hover {
  transform: translateY(-4px) scale(1.08);
  background: var(--grad-cta);
  color: #fff;
}

.social-row .icon {
  width: 19px;
  height: 19px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #94a3b8;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan-bright);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #94a3b8;
}

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #e2e8f0;
}

.made-by .icon {
  width: 16px;
  height: 16px;
  color: var(--pink-bright);
}

/* ---------- Páginas legales ---------- */
.legal-hero {
  background: var(--grad-main);
  background-size: 300% 300%;
  animation: grad-shift 10s ease infinite;
  color: #fff;
  padding: 62px 0;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-hero p {
  opacity: 0.94;
  font-weight: 600;
}

.legal-body {
  padding: 64px 0 88px;
}

.legal-content {
  max-width: 780px;
  margin-inline: auto;
}

.demo-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff7ed;
  border: 2px solid #fdba74;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 42px;
}

.demo-callout .contact-icon {
  background: linear-gradient(135deg, var(--orange-bright), var(--yellow));
}

.demo-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
}

.demo-callout p {
  color: #7c4a12;
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.32rem;
  margin: 38px 0 12px;
  padding-left: 14px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--violet), var(--pink-bright)) 1;
}

.legal-content p,
.legal-content li {
  color: #3d4c63;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-bright), var(--violet));
}

.legal-updated {
  margin-top: 44px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================================
   Responsive (único uso de @media del sitio)
   ============================================================ */
@media (max-width: 1020px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-media {
    max-width: 540px;
    margin-inline: auto;
  }

  .chip-1 { left: -10px; }
  .chip-2 { right: -6px; }

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

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow-md);
  }

  .nav-links a:not(.btn) {
    padding: 11px 14px;
    border-radius: 12px;
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links a:not(.btn):hover {
    background: var(--bg-alt);
  }

  .nav-links .btn {
    margin-top: 8px;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

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

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 520px;
    margin-inline: auto;
  }

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

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 580px) {
  .services-grid,
  .products-grid,
  .testi-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .chip {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .chip-1 { top: 10px; }
  .chip-2 { bottom: 16px; }

  .cta-box {
    padding: 44px 24px;
  }

  .topbar .container {
    font-size: 0.74rem;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }
}
