/* Hub Diseño + paquetes diseño web (extiende look de servicios) */

/* Fondo digital oscuro fijo al viewport — no se estira si crece la página */
body.dw-digital-page {
  background: #050508;
}

body.dw-digital-page::before,
body.dw-digital-page::after {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
}

body.dw-digital-page::before {
  background:
    radial-gradient(ellipse 90% 60% at 12% 18%, rgba(255, 162, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 78%, rgba(56, 120, 255, 0.11), transparent 52%),
    radial-gradient(ellipse 55% 45% at 50% 110%, rgba(255, 162, 0, 0.07), transparent 62%),
    linear-gradient(180deg, #07070c 0%, #050508 42%, #08080f 100%);
}

body.dw-digital-page::after {
  background-image:
    linear-gradient(rgba(255, 162, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 162, 0, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(120, 170, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.04) 1px, transparent 1px),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 162, 0, 0.04) 49%,
      transparent 51%
    );
  background-size:
    48px 48px,
    48px 48px,
    12px 12px,
    12px 12px,
    100% 240%;
  animation: dw-digital-motion 22s linear infinite;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 15%, transparent 78%);
  opacity: 0.95;
}

body.dw-digital-page .edogo-nav,
body.dw-digital-page .mobile-bottom-nav {
  z-index: 1000;
}

body.dw-digital-page main,
body.dw-digital-page .edogo-footer {
  position: relative;
  z-index: 1;
}

/* Anula el fondo animado de .servicios para que no se estire con el contenido */
.dw-digital-page .diseno-web.servicios,
.dw-digital-page .diseno-hub.servicios {
  background: transparent;
  overflow: visible;
}

.dw-digital-page .diseno-web.servicios::before,
.dw-digital-page .diseno-hub.servicios::before,
.dw-digital-page .diseno-web.servicios::after,
.dw-digital-page .diseno-hub.servicios::after {
  content: none;
  display: none;
  animation: none;
}

@keyframes dw-digital-motion {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 -30%;
  }
  100% {
    background-position: 48px 48px, 48px 48px, 12px 12px, 12px 12px, 0 130%;
  }
}

/* Móvil / touch: fondo estático (la cuadrícula animada + máscara en fixed causa jank al scroll) */
@media (max-width: 768px), ((hover: none) and (pointer: coarse)) {
  body.dw-digital-page::after {
    content: none;
    display: none;
    animation: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  body.dw-digital-page::before {
    background:
      radial-gradient(ellipse 100% 70% at 50% 0%, rgba(255, 162, 0, 0.1), transparent 55%),
      linear-gradient(180deg, #07070c 0%, #050508 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dw-digital-page::after {
    animation: none;
    content: none;
    display: none;
  }

  body.dw-digital-page::before {
    background: linear-gradient(180deg, #07070c 0%, #050508 100%);
  }
}

.diseno-hub-grid {
  max-width: 760px;
}

.diseno-hub-card .diseno-hub-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.diseno-hub-card.disabled .diseno-hub-desc {
  color: rgba(255, 255, 255, 0.28);
}

/* Volver: mismo botón dorado global; solo tipografía legible */
.servicios.diseno-hub .store-crosslink.diseno-hub-crosslink,
.dw-digital-page .diseno-web .store-crosslink.diseno-hub-crosslink {
  width: auto;
  max-width: min(100%, 400px);
  min-width: 0;
  padding: 18px 28px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: none;
  text-align: center;
  white-space: normal;
  color: #1a1000;
}

/* ---- Diseño web: hero (solo paquetes / cotizar, no hub Diseño) ---- */
.dw-digital-page .diseno-web .dw-page-hero {
  position: relative;
  margin-bottom: 36px;
  padding: 28px 22px 32px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 90% 70% at 50% -25%, rgba(255, 162, 0, 0.16), transparent 58%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(74, 163, 255, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(22, 22, 30, 0.94), rgba(8, 8, 12, 0.9));
  box-shadow:
    0 0 0 1px rgba(255, 162, 0, 0.07) inset,
    0 28px 56px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.dw-digital-page .diseno-web .dw-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, #ff6b9d, #ffc233, #5ee09a, #6bb8ff, transparent);
  opacity: 0.9;
}

.dw-digital-page .diseno-web .dw-page-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 55%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 162, 0, 0.12), transparent 65%);
  pointer-events: none;
}

.dw-digital-page .diseno-web .dw-page-hero .serv-kicker {
  position: relative;
  z-index: 1;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 162, 0, 0.38);
  background: rgba(255, 162, 0, 0.12);
  box-shadow: 0 0 24px rgba(255, 162, 0, 0.12);
}

.dw-digital-page .diseno-web .dw-page-hero h1 {
  position: relative;
  z-index: 1;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.dw-digital-page .diseno-web .dw-page-hero > p:not(.dw-intro) {
  position: relative;
  z-index: 1;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
}

.dw-digital-page .diseno-web .dw-back-wrap {
  margin-top: 36px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.dw-digital-page .diseno-web .dw-back-wrap .store-crosslink {
  color: #1a1000;
}

/* Hub Diseño: solo la tarjeta activa de Diseño web */
.dw-digital-page .diseno-hub a.serv-card.diseno-hub-card {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 163, 255, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(24, 26, 36, 0.95), rgba(12, 12, 18, 0.92));
  border-color: rgba(107, 184, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(107, 184, 255, 0.12) inset,
    0 20px 44px rgba(0, 0, 0, 0.35);
}

.dw-digital-page .diseno-hub a.serv-card.diseno-hub-card .serv-ic {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(74, 163, 255, 0.14);
  border: 1px solid rgba(107, 184, 255, 0.4);
  box-shadow: 0 0 28px rgba(74, 163, 255, 0.2);
  color: #8ec5ff;
}

.dw-digital-page .diseno-hub a.serv-card.diseno-hub-card:hover {
  border-color: rgba(255, 162, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 162, 0, 0.15) inset,
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 162, 0, 0.08);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Paquetes diseño web ---- */

.diseno-web {
  align-items: flex-start;
  padding-top: calc(92px + 28px);
  padding-bottom: 72px;
}

.diseno-web-wrap {
  max-width: 1180px;
}

.diseno-web .serv-head .dw-intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.dw-intro--quote {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
}

.dw-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.dw-pack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  isolation: isolate;
  padding: 22px 18px 18px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 100% 75% at 50% -35%, rgba(255, 255, 255, 0.07), transparent 52%),
    linear-gradient(168deg, rgba(20, 20, 28, 0.96), rgba(9, 9, 13, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 44px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dw-pack::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  z-index: 2;
  opacity: 0.95;
}

.dw-pack--basico::after {
  background: linear-gradient(90deg, #2fb86a, #5ee09a);
  box-shadow: 0 0 16px rgba(94, 224, 154, 0.35);
}

.dw-pack--ecommerce::after {
  background: linear-gradient(90deg, #3d8ef0, #8ec5ff);
  box-shadow: 0 0 16px rgba(107, 184, 255, 0.35);
}

.dw-pack--medida::after {
  background: linear-gradient(90deg, #ff9500, #ffc233);
  box-shadow: 0 0 16px rgba(255, 162, 0, 0.4);
}

.dw-pack:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 52px rgba(0, 0, 0, 0.45);
}

@media (min-width: 981px) {
  .dw-packs .dw-pack--ecommerce {
    transform: translateY(-8px);
    box-shadow:
      0 0 0 1px rgba(107, 184, 255, 0.15) inset,
      0 28px 56px rgba(0, 0, 0, 0.42),
      0 0 48px rgba(74, 163, 255, 0.1);
  }

  .dw-packs .dw-pack--ecommerce:hover {
    transform: translateY(-12px);
  }
}

@media (hover: none), (pointer: coarse) {
  .dw-pack:hover {
    transform: none;
  }

  .dw-packs .dw-pack--ecommerce {
    transform: none;
  }
}

.dw-pack--basico {
  border-color: rgba(64, 196, 120, 0.35);
}

.dw-pack--basico:hover {
  border-color: rgba(64, 196, 120, 0.6);
}

.dw-pack--ecommerce {
  border-color: rgba(72, 164, 255, 0.35);
}

.dw-pack--ecommerce:hover {
  border-color: rgba(72, 164, 255, 0.6);
}

.dw-pack--medida {
  border-color: rgba(255, 162, 0, 0.4);
}

.dw-pack--medida:hover {
  border-color: rgba(255, 162, 0, 0.7);
}

.dw-pack-head {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dw-pack-name {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dw-pack--basico .dw-pack-name { color: #5ee09a; }
.dw-pack--ecommerce .dw-pack-name { color: #6bb8ff; }
.dw-pack--medida .dw-pack-name { color: var(--orange); }

.dw-pack-blurb {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
}

.dw-pack-price {
  margin-top: 14px;
  display: grid;
  gap: 4px;
}

.dw-pack-price-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dw-pack-price strong {
  display: inline-block;
  margin-top: 2px;
  padding: 12px 18px;
  border-radius: 16px;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.dw-pack-price small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.dw-pack-price .dw-price-iva {
  color: var(--orange);
  letter-spacing: 0.04em;
}

.dw-pack-table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dw-pack-table-wrap--sectors {
  overflow: hidden;
}

.dw-pack-sectors {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  padding: 14px 14px 12px;
  text-align: left;
}

.dw-pack-sectors-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dw-pack-sectors-lead {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.dw-pack-sectors-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw-pack-sectors-item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 162, 0, 0.14);
  background: rgba(255, 162, 0, 0.05);
}

.dw-pack--medida .dw-pack-sectors-item {
  border-color: rgba(255, 162, 0, 0.2);
}

.dw-pack-sectors-name {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.dw-pack-sectors-hint {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
}

.dw-pack-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.dw-pack-table th,
.dw-pack-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.dw-pack-table thead th {
  position: sticky;
  top: 0;
  background: rgba(20, 20, 24, 0.96);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.dw-pack-table tbody th {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  width: 58%;
}

.dw-pack-table tbody tr:last-child th,
.dw-pack-table tbody tr:last-child td {
  border-bottom: 0;
}

.dw-pack-table td {
  font-weight: 700;
  white-space: nowrap;
}

.dw-pack-table td.is-yes { color: #5ee09a; }
.dw-pack-table td.is-no { color: rgba(255, 255, 255, 0.28); }
.dw-pack-table td.is-optional { color: #6bb8ff; }
.dw-pack-table td.is-text {
  color: var(--orange);
  white-space: pre-line;
}

.dw-pack-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.dw-pack-table td.is-yes::before {
  content: "✓ ";
  opacity: 0.85;
}

.dw-pack .dw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffb84d 0%, var(--orange) 55%, #e88a00 100%);
  color: #111;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(255, 162, 0, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.dw-pack--basico .dw-cta {
  background: linear-gradient(180deg, #6ee9a8 0%, #3dce7e 55%, #2aad66 100%);
  color: #062214;
  box-shadow: 0 8px 20px rgba(61, 206, 126, 0.28);
}

.dw-pack--ecommerce .dw-cta {
  background: linear-gradient(180deg, #7ec0ff 0%, #4aa3ff 55%, #2d7fd4 100%);
  color: #041525;
  box-shadow: 0 8px 20px rgba(74, 163, 255, 0.28);
}

.dw-pack--medida .dw-cta {
  background: linear-gradient(180deg, #ffb84d 0%, var(--orange) 55%, #e88a00 100%);
  color: #111;
}

.dw-pack .dw-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: inherit;
}

.dw-modules {
  margin: 36px auto 0;
  max-width: 860px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 162, 0, 0.07) 0%, transparent 42%),
    rgba(12, 12, 16, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 162, 0, 0.12),
    0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dw-modules-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  user-select: none;
  transition: background 0.2s ease;
}

.dw-modules-summary::-webkit-details-marker {
  display: none;
}

.dw-modules-summary:hover {
  background: rgba(255, 162, 0, 0.06);
}

.dw-modules-summary-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dw-modules-summary-mark {
  width: 5px;
  height: 1.5em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb020, var(--orange));
  box-shadow: 0 0 12px rgba(255, 162, 0, 0.45);
  flex-shrink: 0;
}

.dw-modules-summary-title {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
}

.dw-modules-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  flex-shrink: 0;
  opacity: 0.9;
}

.dw-modules[open] .dw-modules-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.dw-modules-body {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dw-modules-categories {
  display: grid;
  gap: 10px;
}

.dw-modules-cat {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dw-modules-cat:hover {
  border-color: rgba(255, 162, 0, 0.22);
}

.dw-modules-cat[open] {
  border-color: rgba(255, 162, 0, 0.28);
  background: rgba(255, 162, 0, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 162, 0, 0.06);
}

.dw-modules-cat-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  user-select: none;
  transition: background 0.18s ease;
}

.dw-modules-cat-summary::-webkit-details-marker {
  display: none;
}

.dw-modules-cat-summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dw-modules-cat-label {
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: #fff;
}

.dw-modules-cat-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dw-modules-cat-count {
  min-width: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 162, 0, 0.42);
  background: rgba(255, 162, 0, 0.16);
  color: #ffb84d;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}

.dw-modules-cat-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dw-modules-cat[open] .dw-modules-cat-chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
  border-color: var(--orange);
}

.dw-modules-cat .dw-modules-table-wrap {
  margin: 0 12px 12px;
  border-radius: 12px;
}

.dw-modules-table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}

.dw-modules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dw-modules-table th,
.dw-modules-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  text-align: left;
  vertical-align: top;
}

.dw-modules-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(18, 18, 22, 0.98);
  border-bottom-color: rgba(255, 162, 0, 0.22);
}

.dw-modules-table thead th:last-child,
.dw-modules-table tbody td {
  text-align: right;
  white-space: nowrap;
}

.dw-modules-table tbody tr {
  transition: background 0.15s ease;
}

.dw-modules-table tbody tr:hover {
  background: rgba(255, 162, 0, 0.06);
}

.dw-modules-table tbody th {
  color: #fff;
  font-weight: 600;
}

.dw-mod-name {
  display: block;
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #fff;
}

.dw-mod-desc {
  display: block;
  margin-top: 7px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.9rem, 1.5vw, 0.98rem);
  font-weight: 500;
  line-height: 1.5;
}

.dw-modules-table tbody td {
  color: var(--orange);
  font-weight: 800;
}

.dw-mod-price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 162, 0, 0.34);
  background: rgba(255, 162, 0, 0.14);
  line-height: 1.1;
}

.dw-mod-price-value {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffc266;
}

.dw-modules-table tbody td small,
.dw-mod-price small {
  color: rgba(255, 210, 140, 0.95);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dw-modules-table tbody tr:last-child th,
.dw-modules-table tbody tr:last-child td {
  border-bottom: 0;
}

.dw-footnote {
  margin: 28px auto 0;
  max-width: 640px;
  padding: 12px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  line-height: 1.45;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.dw-hosting-disclaimer {
  margin: 14px auto 0;
  padding: 16px 18px;
  max-width: 920px;
  border-radius: 16px;
  border: 1px solid rgba(255, 162, 0, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 162, 0, 0.08), rgba(74, 163, 255, 0.05)),
    rgba(8, 8, 12, 0.75);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.dw-hosting-disclaimer p {
  margin: 0;
}

.dw-hosting-disclaimer p + p {
  margin-top: 8px;
}

.dw-hosting-disclaimer strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.dw-hosting-disclaimer-link a {
  color: #8ec5ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dw-pack .dw-hosting-disclaimer {
  margin-top: 12px;
}

.dw-packs + .dw-hosting-disclaimer {
  margin: 20px auto 8px;
}

.dw-quote-matrix + .dw-hosting-disclaimer {
  margin: 16px auto 0;
}

/* ---- Página cotizar paquete ---- */

.dw-quote {
  align-items: flex-start;
}

.dw-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.dw-quote-main {
  display: grid;
  gap: 16px;
}

.dw-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(255, 162, 0, 0.06), transparent 50%),
    linear-gradient(165deg, rgba(18, 18, 24, 0.96), rgba(10, 10, 14, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 20px 20px 24px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 36px rgba(0, 0, 0, 0.32);
}

.dw-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--orange), rgba(255, 162, 0, 0.35));
  opacity: 0.85;
}

.dw-quote-card.dw-panel::before {
  background: linear-gradient(180deg, #4aa3ff, rgba(74, 163, 255, 0.35));
}

.dw-pack--basico.dw-quote-card.dw-panel::before {
  background: linear-gradient(180deg, #3dce7e, rgba(61, 206, 126, 0.35));
}

.dw-pack--medida.dw-quote-card.dw-panel::before {
  background: linear-gradient(180deg, var(--orange), rgba(255, 162, 0, 0.35));
}

.dw-panel-title {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dw-panel-sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.4;
}

.dw-quote-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dw-includes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.dw-includes li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.4;
}

.dw-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dce7e;
  box-shadow: 0 0 0 3px rgba(61, 206, 126, 0.18);
}

.dw-includes li.dw-includes__extra {
  color: rgba(255, 220, 150, 0.95);
}

.dw-includes li.dw-includes__extra::before {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 162, 0, 0.15);
}

.dw-quote-matrix {
  margin-top: 16px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.dw-pay-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dw-pay-box {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 162, 0, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 162, 0, 0.12), rgba(255, 162, 0, 0.04));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dw-pay-label {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dw-pay-box strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.dw-pay-box p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.35;
}

.dw-pay-steps {
  margin: 14px 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
  display: grid;
  gap: 6px;
}

.dw-timeline-value {
  margin: 12px 0 4px;
  color: var(--orange);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.dw-quote-aside {
  position: sticky;
  top: 108px;
}

.dw-summary-card,
.dw-quote-form-card {
  background: linear-gradient(165deg, rgba(28, 22, 14, 0.95), rgba(14, 14, 18, 0.96));
  border: 1px solid rgba(255, 162, 0, 0.28);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.dw-summary-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dw-quote-form-lead {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.4;
}

.dw-quote-form {
  display: grid;
  gap: 12px;
}

.dw-field {
  display: grid;
  gap: 6px;
}

.dw-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.dw-label span {
  color: var(--orange);
}

.dw-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
}

.dw-input:focus {
  outline: none;
  border-color: rgba(255, 162, 0, 0.55);
}

.dw-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.45;
}

.dw-hint {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.35;
}

.dw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffb84d 0%, var(--orange) 55%, #e88a00 100%);
  color: #111;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 162, 0, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dw-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #111;
}

.dw-cta-submit {
  width: 100%;
  margin-top: 4px;
}

.dw-back {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  text-decoration: none;
}

.dw-back:hover {
  color: var(--orange);
}

.dw-quote-errors {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 90, 0.35);
  background: rgba(255, 60, 60, 0.12);
  color: #ffb4b4;
  font-size: 0.88rem;
  display: grid;
  gap: 4px;
}

.dw-quote-ok {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(64, 196, 120, 0.4);
  background: rgba(64, 196, 120, 0.12);
  color: #9af0c0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.dw-quote-card.dw-pack--basico {
  border-color: rgba(64, 196, 120, 0.35);
}

.dw-quote-card.dw-pack--ecommerce {
  border-color: rgba(72, 164, 255, 0.35);
}

.dw-quote-card.dw-pack--medida {
  border-color: rgba(255, 162, 0, 0.4);
}

@media (max-width: 980px) {
  .dw-packs {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .dw-quote-layout {
    grid-template-columns: 1fr;
  }

  .dw-quote-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 520px) {
  .diseno-web {
    padding-top: calc(92px + 16px);
  }

  .dw-pack-table th,
  .dw-pack-table td,
  .dw-modules-table th,
  .dw-modules-table td {
    padding: 14px 14px;
  }

  .dw-modules-summary {
    padding: 18px 16px;
  }

  .dw-modules-summary-title {
    font-size: 1.12rem;
  }

  .dw-modules-cat-summary {
    padding: 14px 14px;
  }

  .dw-modules-cat-label {
    font-size: 1.02rem;
  }

  .dw-mod-name {
    font-size: 1.02rem;
  }

  .dw-mod-desc {
    font-size: 0.9rem;
  }

  .dw-mod-price {
    padding: 8px 10px;
  }

  .dw-mod-price-value {
    font-size: 1.08rem;
  }

  .dw-pay-grid {
    grid-template-columns: 1fr;
  }

  .dw-quote-price-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dw-pack,
  .dw-pack .dw-cta,
  .dw-cta,
  .dw-modules-chevron,
  .dw-modules-cat-chevron {
    transition: none;
  }
}
