:root {
  --bg: #061229;
  --bg-2: #0a1c42;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --surface-solid: #10244d;
  --text: #f7f9ff;
  --muted: #c3d0ee;
  --muted-2: #91a3ca;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #2c7cff;
  --primary-2: #5f46ff;
  --success: #22c55e;
  --warning: #facc15;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 8% 6%, rgba(44, 124, 255, 0.30), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(95, 70, 255, 0.25), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46%, #061229 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(92px);
  opacity: 0.55;
  pointer-events: none;
}

.bg-glow-1 {
  top: 90px;
  left: -150px;
  background: rgba(44, 124, 255, 0.45);
}

.bg-glow-2 {
  right: -160px;
  bottom: 120px;
  background: rgba(95, 70, 255, 0.45);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 18, 41, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(44, 124, 255, 0.25);
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  white-space: nowrap;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 32px rgba(44, 124, 255, 0.33);
}

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

.btn-whatsapp {
  width: 100%;
  color: #052313;
  background: linear-gradient(135deg, #29e970, #19c45b);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.22);
}

.btn-block {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-btn span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

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

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

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.hero {
  padding-top: 84px;
}

.hero-grid,
.contact-grid,
.insta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(44, 124, 255, 0.28);
  border-radius: 999px;
  color: #9fc3ff;
  background: rgba(44, 124, 255, 0.10);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.insta-copy h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero-subtitle,
.section-heading p,
.contact-copy p,
.insta-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
}

.hero-badges,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-badges span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.info-card,
.card,
.glass-card,
.media-card,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.info-card {
  min-height: 118px;
  padding: 18px;
}

.info-card h3 {
  margin: 0 0 8px;
  color: var(--muted-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card p {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.info-card a:hover,
.contact-item:hover span,
.footer-links a:hover {
  color: #bcd5ff;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-logo-card {
  padding: clamp(18px, 3vw, 32px);
}

.hero-logo-card img {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 30px;
  object-fit: cover;
  filter: drop-shadow(0 24px 38px rgba(44, 124, 255, 0.24));
}

.hero-mini-card {
  padding: 20px 22px;
}

.hero-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2,
.contact-copy h2,
.insta-copy h2 {
  font-size: clamp(2rem, 5vw, 4.1rem);
}

.section-heading p {
  margin: 18px auto 0;
  max-width: 700px;
}

.features-grid,
.cards-grid,
.products-grid {
  display: grid;
  gap: 22px;
}

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

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 14% 0%, rgba(44, 124, 255, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

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

.card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.28;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
}

.card p {
  margin: 0;
}

.card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.card .price {
  margin: 10px 0 12px;
  color: #bcd5ff;
  font-size: 1.35rem;
  font-weight: 900;
}

.feature-card,
.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(44, 124, 255, 0.15);
  font-size: 1.55rem;
}

.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(44, 124, 255, 0.28);
  border-radius: 999px;
  color: #b7d0ff;
  background: rgba(44, 124, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.plan-card .card-actions,
.product-card .card-actions {
  margin-top: auto;
  padding-top: 20px;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(66, 190, 255, 0.25);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(44, 124, 255, 0.16), rgba(16, 185, 129, 0.10));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-price span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-price strong {
  color: #e8f3ff;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

/* Sección de planes comerciales */
#planes {
  overflow: hidden;
}

#planes::before {
  content: '';
  position: absolute;
  inset: 8% 0 auto 0;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 44%, rgba(44, 124, 255, 0.22), transparent 34%),
    radial-gradient(circle at 52% 24%, rgba(34, 197, 94, 0.16), transparent 30%),
    radial-gradient(circle at 82% 50%, rgba(95, 70, 255, 0.20), transparent 34%);
  filter: blur(22px);
  opacity: 0.95;
}

.plans-grid {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
}

.plan-showcase {
  --tier-color: #9fc3ff;
  --tier-color-2: #2c7cff;
  --tier-glow: rgba(44, 124, 255, 0.32);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(22px, 4vw, 44px);
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(159, 195, 255, 0.24);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 14% 18%, rgba(44, 124, 255, 0.22), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(34, 197, 94, 0.16), transparent 28%),
    rgba(7, 21, 47, 0.72);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), 0 0 44px rgba(44, 124, 255, 0.12);
  isolation: isolate;
}

.plan-showcase::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10), transparent 38%, rgba(34, 197, 94, 0.10)),
    radial-gradient(circle at 78% 82%, rgba(44, 124, 255, 0.18), transparent 34%);
}

.plan-showcase::after {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle, rgba(159, 195, 255, 0.15), transparent 62%);
}

.plan-showcase-copy,
.plan-detail-panel {
  position: relative;
  z-index: 1;
}

.plan-kicker {
  margin-bottom: 18px;
  color: #07152f;
  border-color: rgba(159, 195, 255, 0.45);
  background: linear-gradient(135deg, #dbeafe, #60a5fa);
  box-shadow: 0 12px 32px rgba(44, 124, 255, 0.22);
}

.plan-showcase-copy h3 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.plan-showcase-copy p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.72;
}

.plan-quick-facts span,
.plan-detail-header span {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.plan-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.plan-quick-facts div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
}

.plan-quick-facts span {
  margin-bottom: 7px;
  font-size: 0.78rem;
}

.plan-quick-facts strong {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.2;
}

.plan-detail-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.065)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 58px rgba(0, 0, 0, 0.24);
}

.plan-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

#planes .plan-shield {
  width: 58px;
  height: 64px;
  filter: drop-shadow(0 14px 26px rgba(44, 124, 255, 0.28));
}

.plan-detail-header h4 {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(1.4rem, 2.3vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.plan-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(7, 21, 47, 0.35);
  color: #edf5ff;
  font-weight: 750;
  line-height: 1.45;
}

.plan-check-list li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  color: #041524;
  background: #22c55e;
  font-size: 0.9rem;
  font-weight: 950;
}

.plan-main-cta {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.plan-card {
  --tier-color: #b7d0ff;
  --tier-color-2: #2c7cff;
  --tier-glow: rgba(44, 124, 255, 0.18);
  gap: 0;
  min-height: 100%;
  border-color: color-mix(in srgb, var(--tier-color), transparent 55%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    radial-gradient(circle at 50% -10%, var(--tier-glow), transparent 48%);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.32), 0 0 34px var(--tier-glow);
}

.plan-card::before {
  opacity: 1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tier-color), transparent 80%), transparent 42%),
    radial-gradient(circle at 50% 0%, var(--tier-glow), transparent 44%);
}

.plan-card-unique {
  --tier-color: #ffd36b;
  --tier-color-2: #b47416;
  --tier-glow: rgba(255, 211, 107, 0.34);
}

.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.plan-card .tag {
  color: #07152f;
  border-color: color-mix(in srgb, var(--tier-color), transparent 20%);
  background: linear-gradient(135deg, var(--tier-color), var(--tier-color-2));
  box-shadow: 0 10px 28px var(--tier-glow);
}

.plan-shield {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 54px;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 22px var(--tier-glow));
}

.plan-shield::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fff, var(--tier-color) 38%, var(--tier-color-2));
  clip-path: polygon(50% 0%, 88% 13%, 82% 68%, 50% 100%, 18% 68%, 12% 13%);
}

.plan-shield::after {
  content: '';
  position: absolute;
  inset: 8px 11px;
  border: 2px solid rgba(7, 21, 47, 0.40);
  border-top-width: 3px;
  clip-path: polygon(50% 0%, 88% 13%, 82% 68%, 50% 100%, 18% 68%, 12% 13%);
}

.plan-card h3 {
  margin-bottom: 16px;
  color: #fff9ec;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--tier-glow);
}

.plan-pricing {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.plan-price-row {
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--tier-color), transparent 58%);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.plan-price-row span {
  display: block;
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--tier-color), white 20%);
  font-size: 0.87rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.plan-price-row strong {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-card p {
  margin-bottom: 16px;
}

.plan-card ul {
  margin-top: 0;
}

.plan-card li::marker {
  color: var(--tier-color);
}

.plan-footer-pill {
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 999px;
  color: #07152f;
  background: linear-gradient(135deg, var(--tier-color), var(--tier-color-2));
  box-shadow: 0 12px 28px var(--tier-glow);
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
  letter-spacing: 0.06em;
}

.plan-card .card-actions {
  margin-top: 0;
}

.plans-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 34px auto 0;
}

.plans-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid rgba(159, 195, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(44, 124, 255, 0.06));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.plans-benefit span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: rgba(44, 124, 255, 0.14);
  font-size: 1.35rem;
}

.plans-benefit strong {
  line-height: 1.2;
}

/* Sección de creación de páginas web */
.web-solutions {
  overflow: hidden;
}

.web-solutions::before {
  content: '';
  position: absolute;
  inset: 4% auto auto 50%;
  width: min(720px, 88vw);
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 32%, rgba(56, 189, 248, 0.18), transparent 34%),
    radial-gradient(circle at 70% 38%, rgba(34, 197, 94, 0.16), transparent 34%),
    radial-gradient(circle at 50% 74%, rgba(95, 70, 255, 0.13), transparent 38%);
  filter: blur(22px);
  opacity: 0.95;
  transform: translateX(-50%);
}

.web-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 28px;
  max-width: 980px;
}

.web-mini-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.20);
}

.web-mini-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 15px;
  background: rgba(44, 124, 255, 0.14);
  font-size: 1.35rem;
}

.web-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.web-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.web-plans-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 960px;
  margin-inline: auto;
}

.web-plan-card-mafter {
  --tier-color: #38d0ff;
  --tier-color-2: #2c7cff;
  --tier-glow: rgba(56, 208, 255, 0.28);
}

.web-plan-card-web {
  --tier-color: #7af7a4;
  --tier-color-2: #19c45b;
  --tier-glow: rgba(34, 197, 94, 0.28);
}

.web-contract-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 880px;
  margin: 30px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(122, 247, 164, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.web-contract-note strong {
  color: #fff;
  white-space: nowrap;
}

.products-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin: 0 auto 30px;
  max-width: 980px;
}

.product-search {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-weight: 800;
}

.product-search input,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.product-search input {
  padding: 0 18px;
  font-weight: 700;
}

.product-search input::placeholder,
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(195, 208, 238, 0.68);
}

.product-search input:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(44, 124, 255, 0.70);
  box-shadow: 0 0 0 4px rgba(44, 124, 255, 0.16);
}

.products-result-text {
  min-width: 190px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.product-sections-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.product-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-section-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.product-section-chip:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.26);
}

.product-section-chip.active {
  color: #061229;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(44, 124, 255, 0.22);
}

.product-section-chip strong {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #061229;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
}

.product-section-chip.active strong {
  color: #ffffff;
  background: #0b1f46;
}

.product-section-helper {
  margin: 12px 2px 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.5;
}

.product-section {
  margin-top: 42px;
}

.product-section[hidden],
.empty-state[hidden] {
  display: none !important;
}

.product-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product-section-title h3 {
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section-count {
  margin: 7px 0 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 800;
}

.products-load-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

.products-load-status {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.products-load-status[hidden] {
  display: none !important;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  content-visibility: auto;
  contain-intrinsic-size: 560px;
}

.product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 260px;
  margin-bottom: 16px;
  padding: 18px;
  overflow: hidden;
  contain: layout paint;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  background: radial-gradient(circle at 30% 15%, #ffffff 0%, #fbfdff 46%, #eef5ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 38px rgba(4, 20, 46, 0.08);
}

.product-image-wrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96%;
  max-height: 96%;
  margin: auto;
  object-fit: contain;
  object-position: center center;
  transform: translateZ(0);
  filter: saturate(1.035) contrast(1.035);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.035) translateZ(0);
  filter: saturate(1.06) contrast(1.045);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.availability-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #07152f;
  background: #dbeafe;
  font-size: 0.74rem;
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: normal;
  min-height: unset;
}

.product-card p {
  min-height: unset;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.58;
}

.product-card {
  will-change: auto;
}

.product-image-wrap img {
  user-select: none;
}

@supports (content-visibility: auto) {
  .product-section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

.empty-state {
  margin-top: 24px;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  font-weight: 800;
}

.media-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.media-card,
.insta-card {
  overflow: hidden;
  padding: 12px;
}

.media-card img,
.insta-card img {
  width: 100%;
  border-radius: 18px;
  object-fit: contain;
  background: #fff;
}

.media-card img {
  aspect-ratio: 4 / 5;
}

.insta-card img {
  aspect-ratio: 1 / 1.22;
  object-position: center;
}

.insta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-item strong {
  font-size: 0.82rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item span {
  color: var(--text);
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.contact-form-card {
  padding: clamp(22px, 3vw, 32px);
}

.contact-form-card h3 {
  margin: 0 0 20px;
  font-size: 1.45rem;
}

.quote-form,
.quote-form label {
  display: grid;
  gap: 12px;
}

.quote-form {
  gap: 16px;
}

.quote-form label {
  color: var(--muted);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 12px 14px;
}

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

.quote-form option {
  color: #07152f;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(0, 0, 0, 0.13);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-wrap p {
  margin: 5px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.fade-up.visible,
.product-card.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

:focus-visible {
  outline: 3px solid rgba(91, 164, 255, 0.85);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .contact-grid,
  .insta-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .insta-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .features-grid,
  .cards-grid,
  .products-grid,
  .media-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  :root {
    --header-h: 74px;
  }

  .header-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 21, 47, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 13px 14px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
  }

  .plans-benefits {
    grid-template-columns: 1fr;
  }

  .web-intro-grid,
  .web-plans-grid {
    grid-template-columns: 1fr;
  }

  .web-contract-note {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .plans-benefit {
    justify-content: flex-start;
  }

  .products-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .products-result-text {
    text-align: left;
  }

  .product-section-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .product-section-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .product-section-title,
  .footer-wrap,
  .contact-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-item span {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .brand span {
    display: none;
  }

  .hero-badges,
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-info-grid,
  .features-grid,
  .cards-grid,
  .products-grid,
  .media-showcase {
    grid-template-columns: 1fr;
  }

  .card,
  .info-card,
  .contact-form-card,
  .media-card,
  .insta-card,
  .hero-logo-card,
  .hero-mini-card {
    border-radius: 20px;
  }

  .product-card {
    padding: 16px;
    contain-intrinsic-size: 520px;
  }

  .product-sections-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .product-section-chip {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .product-card h3,
  .product-card p {
    min-height: unset;
  }

  .product-image-wrap {
    min-height: 220px;
    padding: 14px;
    border-radius: 18px;
  }
}

/* Responsive refinado para el plan único */
@media (max-width: 980px) {
  .plan-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .plan-showcase {
    padding: 20px;
    border-radius: 26px;
  }

  .plan-showcase-copy h3 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .plan-quick-facts {
    grid-template-columns: 1fr;
  }

  .plan-quick-facts div {
    min-height: auto;
  }

  .plan-detail-panel {
    padding: 18px;
    border-radius: 22px;
  }
}

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

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* Ajustes de calidad visual para imágenes optimizadas */
.product-image-wrap img,
.media-card img,
.insta-card img,
.hero-logo-card img,
.brand-logo {
  image-rendering: auto;
  backface-visibility: hidden;
}

/* Optimización extra para scroll y carga progresiva de productos */
.products-grid {
  contain: layout style;
}

.product-card {
  contain: layout paint style;
  transform: translateZ(0);
}

.product-image-wrap {
  content-visibility: auto;
  contain-intrinsic-size: 260px;
}

.product-image-wrap img {
  object-fit: contain;
}

@media (max-width: 640px) {
  .product-image-wrap {
    contain-intrinsic-size: 220px;
  }
}

/* Reforma final de la sección Plan Único */
#planes {
  position: relative;
  padding-block: clamp(76px, 9vw, 122px);
}

#planes .container {
  position: relative;
  z-index: 1;
}

#planes .section-heading {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: center;
}

#planes .section-heading .eyebrow {
  margin-bottom: 16px;
}

#planes .section-heading h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

#planes .section-heading p {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.plans-grid {
  display: block;
  max-width: 1120px;
  margin-inline: auto;
}

.plan-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  align-items: stretch;
  gap: clamp(22px, 3.5vw, 42px);
  padding: clamp(26px, 4.2vw, 48px);
  border-radius: 34px;
  border: 1px solid rgba(159, 195, 255, 0.28);
  background:
    radial-gradient(circle at 12% 12%, rgba(44, 124, 255, 0.30), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(34, 197, 94, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(6, 18, 43, 0.84);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34), 0 0 46px rgba(44, 124, 255, 0.14);
}

.plan-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.plan-kicker {
  align-self: flex-start;
  margin-bottom: 18px;
  color: #06152c;
  background: linear-gradient(135deg, #dbeafe, #60a5fa);
  border-color: rgba(219, 234, 254, 0.75);
}

.plan-showcase-copy h3 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.plan-showcase-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: #d9e6ff;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.plan-main-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

.plan-main-highlights div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
}

.plan-main-highlights span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #041524;
  background: #22c55e;
  font-weight: 950;
}

.plan-main-highlights strong,
.plan-main-highlights small {
  display: block;
}

.plan-main-highlights strong {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.plan-main-highlights small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.plan-detail-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(219, 234, 254, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 0%, rgba(96, 165, 250, 0.23), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.065));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 22px 58px rgba(0, 0, 0, 0.26);
}

.plan-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

#planes .plan-shield {
  width: 56px;
  height: 62px;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 24px rgba(44, 124, 255, 0.28));
}

.plan-detail-header span:not(.plan-shield) {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-detail-header h4 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-price-card {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid rgba(34, 197, 94, 0.38);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(44, 124, 255, 0.15));
}

.plan-price-card span,
.plan-price-card em {
  display: block;
  color: #bbf7d0;
  font-style: normal;
  font-weight: 900;
  line-height: 1.3;
}

.plan-price-card span {
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.plan-price-card strong {
  display: block;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.plan-price-card em {
  margin-top: 8px;
  color: #d9e6ff;
}

.plan-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.plan-quick-facts div {
  min-height: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(7, 21, 47, 0.35);
}

.plan-quick-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.plan-quick-facts strong {
  color: #fff;
  font-size: 1rem;
}

.plan-check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.plan-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(7, 21, 47, 0.32);
  color: #edf5ff;
  font-weight: 800;
  line-height: 1.4;
}

.plan-check-list li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 999px;
  color: #041524;
  background: #22c55e;
  font-size: 0.86rem;
  font-weight: 950;
}

.plan-main-cta {
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  justify-content: center;
  font-size: 0.98rem;
}

.plans-benefits {
  max-width: 900px;
  margin: clamp(24px, 3vw, 34px) auto 0;
  gap: 16px;
}

.plans-benefit {
  min-height: 70px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 860px) {
  .plan-showcase {
    grid-template-columns: 1fr;
  }

  .plan-main-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #planes {
    padding-block: 66px;
  }

  #planes .section-heading h2 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .plan-showcase {
    padding: 20px;
    border-radius: 26px;
  }

  .plan-showcase-copy h3 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .plan-detail-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .plan-price-card strong {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .plan-quick-facts,
  .plans-benefits {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   CORRECCION DE NITIDEZ EN PRODUCTOS
   - Evita blur por GPU/transform.
   - Evita agrandar imagenes pequeñas mas alla de lo razonable.
   - Mantiene tarjetas limpias, consistentes y profesionales.
   ========================================================== */
.product-card,
.product-image-wrap,
.product-image-wrap img {
  transform: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}

.product-image-wrap {
  min-height: clamp(218px, 22vw, 310px);
  padding: clamp(20px, 2.3vw, 28px);
  background: linear-gradient(145deg, #ffffff 0%, #f9fbff 58%, #edf4ff 100%);
}

.product-image-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: min(86%, 360px);
  max-height: min(86%, 360px);
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  filter: none !important;
}

.product-card:hover .product-image-wrap img {
  transform: none !important;
  filter: none !important;
}

/* Imagenes que venian originalmente con baja resolucion: se muestran un poco mas chicas
   para que no se perciban pixeladas o borrosas dentro de tarjetas grandes. */
.product-image-wrap img[src*="pd20w"],
.product-image-wrap img[src*="soporte"],
.product-image-wrap img[src*="minecraft"],
.product-image-wrap img[src*="producto-ps5-gta"],
.product-image-wrap img[src*="producto-ps5-horizon"] {
  max-width: min(74%, 290px);
  max-height: min(74%, 290px);
}

@media (max-width: 640px) {
  .product-image-wrap {
    min-height: 220px;
    padding: 18px;
  }

  .product-image-wrap img {
    max-width: min(84%, 300px);
    max-height: min(84%, 300px);
  }

  .product-image-wrap img[src*="pd20w"],
  .product-image-wrap img[src*="soporte"],
  .product-image-wrap img[src*="minecraft"],
  .product-image-wrap img[src*="producto-ps5-gta"],
  .product-image-wrap img[src*="producto-ps5-horizon"] {
    max-width: min(72%, 245px);
    max-height: min(72%, 245px);
  }
}


/* ==========================================================
   AJUSTE FINAL DE AUDITORÍA VISUAL (NITIDEZ FOCALIZADA)
   - Refina algunos productos que originalmente venían más suaves.
   - Ajusta el tamaño visual por tipo de imagen para evitar blur.
   ========================================================== */
.product-image-wrap img[src*="ftxusb"],
.product-image-wrap img[src*="mousepad2"],
.product-image-wrap img[src*="sandisk"] {
  max-width: min(90%, 345px);
  max-height: min(90%, 345px);
}

.product-image-wrap img[src*="satehb"],
.product-image-wrap img[src*="posterminal"] {
  max-width: min(82%, 310px);
  max-height: min(82%, 310px);
}

.product-image-wrap img[src*="pd20w"],
.product-image-wrap img[src*="soporte"] {
  max-width: min(70%, 270px);
  max-height: min(70%, 270px);
}

@media (max-width: 640px) {
  .product-image-wrap img[src*="ftxusb"],
  .product-image-wrap img[src*="mousepad2"],
  .product-image-wrap img[src*="sandisk"] {
    max-width: min(88%, 300px);
    max-height: min(88%, 300px);
  }

  .product-image-wrap img[src*="satehb"],
  .product-image-wrap img[src*="posterminal"] {
    max-width: min(80%, 270px);
    max-height: min(80%, 270px);
  }

  .product-image-wrap img[src*="pd20w"],
  .product-image-wrap img[src*="soporte"] {
    max-width: min(68%, 230px);
    max-height: min(68%, 230px);
  }
}

/* ==========================================================
   MODERNIZACION SERIA JML SYSTEM
   Objetivo: aspecto empresarial, menos brillo y mayor claridad comercial.
   ========================================================== */
:root {
  --bg: #07111f;
  --bg-2: #0b1729;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.085);
  --surface-solid: #0d1b2f;
  --text: #f8fafc;
  --muted: #a8b5c7;
  --muted-2: #7f8ea3;
  --line: rgba(255, 255, 255, 0.11);
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --success: #16a34a;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(14, 165, 233, 0.10), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 52%, #07111f 100%);
}

body::before {
  opacity: 0.42;
  background-size: 52px 52px;
}

.bg-glow {
  opacity: 0.24;
  filter: blur(110px);
}

.bg-glow-1,
.bg-glow-2 {
  background: rgba(37, 99, 235, 0.34);
}

.header {
  background: rgba(7, 17, 31, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.brand-logo {
  border-radius: 15px;
  box-shadow: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.065);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
}

.btn-whatsapp {
  color: #052e16;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.18);
}

.info-card,
.card,
.glass-card,
.media-card,
.contact-form-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.010));
}

.hero {
  padding-top: clamp(58px, 7vw, 88px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 6.4vw, 5.85rem);
}

.hero-subtitle {
  max-width: 720px;
}

.eyebrow,
.tag {
  border-color: rgba(96, 165, 250, 0.24);
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.10);
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.052);
}

.info-card {
  min-height: 132px;
}

.info-card p {
  color: #dbeafe;
  line-height: 1.45;
}

.dashboard-mockup {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.68));
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.mockup-topbar strong {
  margin-left: auto;
  color: #dbeafe;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mockup-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 420px;
}

.mockup-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.10);
}

.mockup-sidebar span {
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.32);
}

.mockup-sidebar span:first-child {
  background: rgba(96, 165, 250, 0.72);
}

.mockup-content {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
}

.mockup-heading small,
.mockup-stats span {
  display: block;
  color: var(--muted-2);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-heading strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mockup-stats article {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.052);
}

.mockup-stats strong {
  display: block;
  margin-top: 10px;
  color: #eff6ff;
  font-size: 1.05rem;
}

.mockup-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.10), rgba(255, 255, 255, 0.035));
}

.mockup-chart span {
  flex: 1;
  min-height: 42px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.82), rgba(37, 99, 235, 0.48));
}

.mockup-chart span:nth-child(1) { height: 48%; }
.mockup-chart span:nth-child(2) { height: 72%; }
.mockup-chart span:nth-child(3) { height: 58%; }
.mockup-chart span:nth-child(4) { height: 86%; }
.mockup-chart span:nth-child(5) { height: 64%; }

.mockup-table {
  display: grid;
  gap: 9px;
}

.mockup-table span {
  height: 13px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.26);
}

.mockup-table span:nth-child(2) { width: 86%; }
.mockup-table span:nth-child(3) { width: 64%; }

.hero-mini-card {
  border-radius: 22px;
  box-shadow: none;
}

.feature-icon,
.line-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 16px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.10);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.line-icon::before {
  color: currentColor;
  font-size: 1.35rem;
  font-weight: 900;
}

.line-icon-shield::before { content: '✓'; }
.line-icon-support::before { content: '↗'; }
.line-icon-update::before { content: '⟳'; }
.line-icon-web::before { content: '□'; }
.line-icon-catalog::before { content: '▦'; }
.line-icon-panel::before { content: '▤'; }

.web-mini-card span.line-icon {
  margin-bottom: 16px;
}

#planes::before {
  opacity: 0.42;
  filter: blur(30px);
}

.plan-showcase {
  border-color: rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.034)),
    rgba(7, 17, 31, 0.84);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.plan-kicker {
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.24);
}

.plan-main-highlights div,
.plan-detail-panel,
.plan-quick-facts div,
.plan-check-list li,
.plans-benefit,
.web-mini-card,
.product-section-tabs,
.contact-trust-card {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.052);
}

.plan-price-card {
  border-color: rgba(96, 165, 250, 0.28);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.17), rgba(14, 165, 233, 0.08));
}

.plan-price-card span,
.plan-price-card em {
  color: #bfdbfe;
}

.plans-benefit span.line-icon {
  margin-bottom: 0;
}

.product-card {
  padding: 18px;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card p {
  display: -webkit-box;
  min-height: 4.7em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-price {
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(96, 165, 250, 0.22);
}

.product-price strong {
  color: #eff6ff;
}

.product-image-wrap {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #f8fafc 70%, #eef4ff 100%);
}

.contact-grid {
  align-items: start;
}

.contact-trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
}

.contact-trust-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.contact-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-trust-card img {
  width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.78);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .hero-info-grid {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-stats {
    grid-template-columns: 1fr;
  }

  .mockup-chart {
    min-height: 120px;
  }

  .contact-trust-card {
    grid-template-columns: 1fr;
  }

  .contact-trust-card img {
    width: 112px;
  }
}

/* Ajuste solicitado: se eliminó la maqueta visual del hero.
   El encabezado principal ahora queda centrado, sin espacio vacío a la derecha. */
.hero-grid {
  grid-template-columns: 1fr;
}

.hero-copy {
  max-width: 1020px;
  margin-inline: auto;
  text-align: center;
}

.hero-copy h1,
.hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-badges,
.hero-actions {
  justify-content: center;
}

.hero-info-grid {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}


/* Integración de servicios técnicos: mantenimiento, cámaras, redes y soporte */
.nav a {
  padding-inline: 11px;
}

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

.technical-services {
  overflow: hidden;
}

.technical-services::before {
  content: '';
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(760px, 92vw);
  height: min(760px, 92vw);
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 64%);
  pointer-events: none;
  z-index: -1;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.technical-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.086), rgba(255, 255, 255, 0.044));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.technical-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 16px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.technical-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.16rem;
  line-height: 1.25;
}

.technical-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technical-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.technical-card li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.86);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.technical-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 24px;
}

.technical-cta strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.1rem;
}

.technical-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .hero-info-grid,
  .technical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .technical-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .technical-cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-info-grid {
    grid-template-columns: 1fr;
  }
}
