/* =========================================================
DIGITAL DREAM - LIGHT STYLE / HUMANO / DIVERTIDO / SERIO
Paleta principal: naranja + verde
Morado como acento secundario
========================================================= */

:root {
  --dd-orange: #ff6426;
  --dd-orange-2: #ff7a35;
  --dd-orange-dark: #f04414;

  --dd-green: #22c55e;
  --dd-green-2: #16a34a;
  --dd-green-soft: #dcfce7;

  --dd-purple: #7c3ded;
  --dd-purple-light: #9568f2;
  --dd-purple-dark: #5d25bf;
  --dd-purple-soft: #f3e8ff;

  --dd-text: #111827;
  --dd-text-soft: #4b5563;
  --dd-muted: #6b7280;
  --dd-muted-2: #9ca3af;

  --dd-bg: #fffdfb;
  --dd-bg-soft: #fff8f4;
  --dd-white: #ffffff;
  --dd-card: #ffffff;

  --dd-border: #e5e7eb;
  --dd-border-soft: #f0ebe6;

  --dd-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  --dd-shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.06);
  --dd-shadow-hover: 0 24px 55px rgba(17, 24, 39, 0.12);

  --dd-radius: 18px;
  --dd-radius-lg: 28px;
  --dd-container: 1180px;

  --dd-gradient-main: linear-gradient(
    120deg,
    #ff6426 0%,
    #ff7a35 28%,
    #a855f7 68%,
    #7c3ded 100%
  );

  --dd-gradient-cta: linear-gradient(
    135deg,
    #ff6426 0%,
    #ff7a35 28%,
    #a855f7 72%,
    #7c3ded 100%
  );
}

/* =========================
BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dd-bg);
  color: var(--dd-text);
  font-family: Inter, Poppins, Arial, sans-serif;
  overflow-x: hidden;
}

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

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

p {
  color: var(--dd-text-soft);
  line-height: 1.7;
}

.dd-page-content {
  min-height: 60vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 100, 38, 0.08), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(155, 89, 182, 0.08), transparent 24%),
    radial-gradient(circle at 72% 70%, rgba(34, 197, 94, 0.05), transparent 20%),
    var(--dd-bg);
}

/* =========================
HEADER
========================= */

.dd-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.78);
  transition: 0.25s ease;
}

.admin-bar .dd-header {
  top: 32px;
}

.dd-header.is-scrolled {
  box-shadow: 0 10px 35px rgba(17, 24, 39, 0.07);
}

.dd-header-inner {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dd-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--dd-text);
}

.dd-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--dd-purple-dark), var(--dd-orange));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(255, 100, 38, 0.22);
}

.dd-brand-text {
  font-size: 22px;
  letter-spacing: -0.6px;
}

.dd-main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.dd-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.dd-menu a {
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  transition: 0.25s ease;
}

.dd-menu a:hover {
  color: var(--dd-orange);
}

.dd-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--dd-orange);
  transform: translateX(-50%);
  transition: 0.25s ease;
}

.dd-menu a:hover::after {
  width: 22px;
}

.dd-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--dd-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 100, 38, 0.30);
  transition: 0.25s ease;
}

.dd-header-cta:hover {
  background: var(--dd-orange-dark);
  transform: translateY(-2px);
}

.dd-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--dd-border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.dd-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dd-text);
  margin: 5px auto;
  border-radius: 999px;
}

/* =========================
ELEMENTOR COMPATIBILITY
========================= */

.elementor-section,
.e-con {
  --container-default-padding-top: 0;
  --container-default-padding-right: 0;
  --container-default-padding-bottom: 0;
  --container-default-padding-left: 0;
}

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* =========================
UTILIDADES PARA ELEMENTOR
========================= */

.dd-section {
  max-width: var(--dd-container);
  margin-left: auto;
  margin-right: auto;
}

/* =========================
SUBTÍTULOS / ETIQUETAS GENERALES
========================= */

.dd-kicker,
.dd-section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: max-content;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(155, 89, 182, 0.16);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
  color: var(--dd-purple-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  white-space: nowrap;
}

.dd-kicker::before,
.dd-section-kicker::before {
  content: "+";
  color: var(--dd-orange);
  font-size: 13px;
  font-weight: 900;
  margin-right: 7px;
}

.dd-kicker span,
.dd-section-kicker span {
  color: var(--dd-purple-dark);
}

/* =========================
ETIQUETA SUPERIOR DEL HERO
FREELANCER • DISEÑO Y DESARROLLO WEB
========================= */

.dd-hero-badge {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.dd-hero-badge .elementor-widget-container,
.dd-hero-badge .elementor-heading-title,
.dd-hero-badge p,
.dd-hero-badge span,
.dd-hero-badge-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 8px 15px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(155, 89, 182, 0.18) !important;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05) !important;
  color: var(--dd-purple-dark) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  white-space: nowrap !important;
}

.dd-hero-badge .elementor-widget-container::before,
.dd-hero-badge .elementor-heading-title::before,
.dd-hero-badge p::before,
.dd-hero-badge span::before,
.dd-hero-badge-text::before {
  content: "+";
  color: var(--dd-orange) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.dd-hero-badge,
.dd-hero-badge *,
.dd-hero-badge .elementor-heading-title {
  color: var(--dd-purple-dark) !important;
}

.elementor-widget.dd-hero-badge {
  width: fit-content !important;
  max-width: 100% !important;
}

.dd-kicker-green {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(155, 89, 182, 0.16) !important;
  color: var(--dd-purple-dark) !important;
}

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

.dd-text-main {
  color: var(--dd-text) !important;
}

.dd-text-soft {
  color: var(--dd-text-soft) !important;
}

.dd-text-orange {
  color: var(--dd-orange) !important;
}

.dd-text-green {
  color: var(--dd-green) !important;
}

.dd-text-purple {
  color: var(--dd-purple-dark) !important;
}

.dd-card-style {
  background: var(--dd-card);
  border: 1px solid var(--dd-border-soft);
  border-radius: var(--dd-radius);
  box-shadow: var(--dd-shadow-soft);
}

.dd-card-style:hover {
  box-shadow: var(--dd-shadow);
}

/* =========================
BOTONES ELEMENTOR
========================= */

.dd-btn-orange,
.elementor .dd-btn-orange a,
.elementor .dd-btn-orange .elementor-button {
  background: var(--dd-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 32px rgba(255, 100, 38, 0.25);
  font-weight: 800 !important;
  transition: 0.25s ease;
}

.dd-btn-orange:hover,
.elementor .dd-btn-orange a:hover,
.elementor .dd-btn-orange .elementor-button:hover {
  background: var(--dd-orange-dark) !important;
  transform: translateY(-2px);
}

.dd-btn-green,
.elementor .dd-btn-green a,
.elementor .dd-btn-green .elementor-button {
  background: var(--dd-green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.22);
  font-weight: 800 !important;
  transition: 0.25s ease;
}

.dd-btn-green:hover,
.elementor .dd-btn-green a:hover,
.elementor .dd-btn-green .elementor-button:hover {
  background: var(--dd-green-2) !important;
  transform: translateY(-2px);
}

.dd-btn-outline,
.elementor .dd-btn-outline a,
.elementor .dd-btn-outline .elementor-button {
  background: #fff !important;
  color: var(--dd-orange) !important;
  border: 2px solid rgba(255, 100, 38, 0.22) !important;
  border-radius: 13px !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  transition: 0.25s ease;
}

.dd-btn-outline:hover,
.elementor .dd-btn-outline a:hover,
.elementor .dd-btn-outline .elementor-button:hover {
  background: rgba(255, 100, 38, 0.06) !important;
  transform: translateY(-2px);
}

/* =========================
HERO
========================= */

.dd-hero {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 70px 24px 38px;
}

.dd-hero-copy {
  position: relative;
  z-index: 2;
}

.dd-hero-main-title {
  margin: 0;
  max-width: 780px;
  color: var(--dd-text);
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -3.2px;
}

.dd-title-line {
  display: block;
}

.dd-water-text {
  position: relative;
  display: inline-block;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 10%),
    linear-gradient(
      120deg,
      #ff6426 0%,
      #ff7a35 18%,
      #ffb15c 32%,
      #9b59b6 58%,
      #7c3ded 78%,
      #22c55e 100%
    );
  background-size: 190% 190%, 330% 330%;
  background-position: 0% 50%, 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation:
    ddLiquidGradient 4.2s ease-in-out infinite,
    ddSoftBounce 3.2s ease-in-out infinite;
  text-shadow:
    0 8px 20px rgba(255, 100, 38, 0.10),
    0 12px 28px rgba(124, 58, 237, 0.10);
}

.dd-water-text::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 5px;
  height: 16px;
  z-index: -1;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 100, 38, 0.25),
      rgba(255, 122, 53, 0.18),
      rgba(155, 89, 182, 0.20),
      rgba(34, 197, 94, 0.16)
    );
  filter: blur(10px);
  opacity: 0.75;
  transform-origin: center;
  animation: ddLiquidGlow 2.8s ease-in-out infinite;
}

.dd-water-text::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: -18px;
  top: 10px;
  border-radius: 50%;
  z-index: -1;
  background: var(--dd-green);
  box-shadow:
    -38px 30px 0 -5px var(--dd-orange),
    -82px -8px 0 -6px var(--dd-purple-light),
    -132px 38px 0 -7px var(--dd-green-2),
    -190px -16px 0 -8px var(--dd-orange-2);
  opacity: 0.78;
  animation: ddBubbles 3s ease-in-out infinite;
}

@keyframes ddLiquidGradient {
  0% {
    background-position: 0% 50%, 0% 50%;
    filter: saturate(1.04);
  }

  25% {
    background-position: 45% 20%, 55% 30%;
    filter: saturate(1.22);
  }

  50% {
    background-position: 100% 55%, 100% 65%;
    filter: saturate(1.12);
  }

  75% {
    background-position: 55% 90%, 45% 85%;
    filter: saturate(1.26);
  }

  100% {
    background-position: 0% 50%, 0% 50%;
    filter: saturate(1.04);
  }
}

@keyframes ddSoftBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  35% {
    transform: translateY(-2px) scale(1.012);
  }

  65% {
    transform: translateY(1px) scale(0.997);
  }
}

@keyframes ddLiquidGlow {
  0%, 100% {
    transform: scaleX(0.84) translateY(0);
    opacity: 0.42;
  }

  50% {
    transform: scaleX(1.05) translateY(2px);
    opacity: 0.88;
  }
}

@keyframes ddBubbles {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }

  40% {
    transform: translateY(-8px) scale(1.12);
    opacity: 0.9;
  }

  70% {
    transform: translateY(4px) scale(0.9);
    opacity: 0.68;
  }
}

.dd-hero-subtitle {
  max-width: 590px;
  margin-top: 22px;
  margin-bottom: 26px;
  color: var(--dd-text-soft);
  font-size: 18px;
  line-height: 1.75;
}

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

.dd-hero-points .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.dd-hero-points .elementor-icon-list-item {
  margin: 0 !important;
}

.dd-hero-points .elementor-icon-list-text {
  color: var(--dd-text-soft) !important;
  font-size: 15px;
  font-weight: 600;
}

.dd-hero-points .elementor-icon-list-icon i,
.dd-hero-points .elementor-icon-list-icon svg {
  color: var(--dd-green) !important;
  fill: var(--dd-green) !important;
}

.dd-hero-visual img {
  filter: drop-shadow(0 24px 40px rgba(17, 24, 39, 0.10));
}

/* =========================
BLOQUE HUMANO / BENEFICIOS
========================= */

.dd-soft-benefits {
  max-width: var(--dd-container);
  margin: 28px auto 0;
  padding: 0 24px;
}

.dd-soft-card {
  background: #fff;
  border: 1px solid var(--dd-border-soft);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--dd-shadow-soft);
  transition: 0.25s ease;
  height: 100%;
}

.dd-soft-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dd-shadow);
  border-color: rgba(34, 197, 94, 0.20);
}

.dd-soft-card h3,
.dd-soft-card .elementor-heading-title {
  color: var(--dd-text);
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 7px;
}

.dd-soft-card p {
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.dd-soft-card .elementor-icon {
  color: var(--dd-green) !important;
}

.dd-soft-card .elementor-icon svg {
  fill: var(--dd-green) !important;
}

/* =========================
SECCIONES GENERALES
========================= */

.dd-section-block {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 80px 24px;
}

.dd-section-title,
.dd-section-block h2 {
  color: var(--dd-text);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.dd-section-text {
  color: var(--dd-text-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}

/* =========================
SERVICIOS
========================= */

.dd-services-grid {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 0 24px;
}

.dd-service-card {
  background: #fff;
  border: 1px solid var(--dd-border-soft);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--dd-shadow-soft);
  transition: 0.25s ease;
  height: 100%;
}

.dd-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 100, 38, 0.22);
  box-shadow: var(--dd-shadow);
}

.dd-service-card h3,
.dd-service-card .elementor-heading-title {
  color: var(--dd-text);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.dd-service-card p {
  color: var(--dd-muted);
  font-size: 15px;
  line-height: 1.65;
}

.dd-service-card .elementor-icon {
  color: var(--dd-orange) !important;
}

.dd-service-card.icon-green .elementor-icon {
  color: var(--dd-green) !important;
}

.dd-service-card.icon-purple .elementor-icon {
  color: var(--dd-purple-dark) !important;
}

.dd-service-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.dd-service-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--dd-muted);
  font-size: 14px;
}

.dd-service-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dd-green);
  font-weight: 900;
}

/* =========================
PROJECTS SHORTCODE
========================= */

.dd-projects-section {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 80px 24px;
}

.dd-section-heading {
  margin-bottom: 30px;
}

.dd-section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.dd-section-heading h2 {
  margin: 0;
  color: var(--dd-text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 900;
}

.dd-view-all {
  color: var(--dd-orange);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.25s ease;
}

.dd-view-all:hover {
  color: var(--dd-green-2);
}

.dd-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dd-project-card {
  background: #fff;
  border: 1px solid var(--dd-border-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--dd-shadow-soft);
  transition: 0.28s ease;
}

.dd-project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(155, 89, 182, 0.26);
  box-shadow: var(--dd-shadow-hover);
}

.dd-project-card-link {
  display: block;
  color: inherit;
}

.dd-project-thumb {
  height: 168px;
  background: #f4f2ff;
  overflow: hidden;
}

.dd-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-project-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dd-purple-dark);
  font-weight: 900;
}

.dd-project-info {
  padding: 18px;
}

.dd-project-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--dd-text);
  letter-spacing: -0.4px;
  font-weight: 900;
}

.dd-project-info p {
  margin: 0 0 16px;
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dd-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dd-project-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

/* =========================
SOBRE MÍ
========================= */

.dd-about-section {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 80px 24px;
}

.dd-about-image img {
  border-radius: 28px;
  box-shadow: var(--dd-shadow);
}

.dd-about-stats {
  background: #fff;
  border: 1px solid var(--dd-border-soft);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--dd-shadow-soft);
}

.dd-stat-item {
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f5;
}

.dd-stat-item:last-child {
  border-bottom: none;
}

.dd-stat-item strong {
  display: block;
  color: var(--dd-text);
  font-size: 28px;
  font-weight: 900;
}

.dd-stat-item span {
  display: block;
  color: var(--dd-muted);
  font-size: 14px;
  margin-top: 4px;
}

.dd-skill {
  margin-bottom: 18px;
}

.dd-skill-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--dd-text);
  font-size: 14px;
  font-weight: 800;
}

.dd-skill-bar {
  width: 100%;
  height: 8px;
  background: #f2eee9;
  border-radius: 999px;
  overflow: hidden;
}

.dd-skill-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dd-orange), var(--dd-orange-2));
}

/* =========================
PROCESO
========================= */

.dd-process-section {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 70px 24px;
}

.dd-process-card {
  background: #fff;
  border: 1px solid var(--dd-border-soft);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: var(--dd-shadow-soft);
  transition: 0.25s ease;
  height: 100%;
}

.dd-process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dd-shadow);
}

.dd-process-card h3,
.dd-process-card .elementor-heading-title {
  color: var(--dd-text);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.dd-process-card p {
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dd-process-card .elementor-icon {
  color: var(--dd-purple-dark) !important;
}

/* =========================
CTA FINAL
========================= */

.dd-final-cta {
  max-width: var(--dd-container);
  margin: 0 auto;
  padding: 50px 24px;
}

.dd-final-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 42px;
  background: var(--dd-gradient-cta);
  box-shadow: var(--dd-shadow-hover);
}

.dd-final-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.16), transparent 18%);
  pointer-events: none;
}

.dd-final-cta-box h2,
.dd-final-cta-box h3,
.dd-final-cta-box p {
  color: #fff !important;
}

.dd-final-cta-box h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1.4px;
}

.dd-final-cta-btn,
.elementor .dd-final-cta-btn a,
.elementor .dd-final-cta-btn .elementor-button {
  background: var(--dd-green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.26);
  font-weight: 900 !important;
}

/* =========================
FOOTER
========================= */

.dd-footer {
  background: #fff;
  border-top: 1px solid var(--dd-border);
  padding: 56px 24px 24px;
}

.dd-footer-inner {
  max-width: var(--dd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 42px;
}

.dd-footer-brand p {
  max-width: 320px;
  margin: 18px 0 20px;
  color: var(--dd-muted);
  line-height: 1.7;
}

.dd-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dd-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.dd-social:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}

.dd-social.instagram {
  background: linear-gradient(135deg, var(--dd-purple), var(--dd-orange));
  box-shadow: 0 10px 22px rgba(124, 61, 237, 0.22);
}

.dd-footer-col h3 {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--dd-text);
  font-weight: 900;
}

.dd-footer-col a,
.dd-footer-col p {
  display: block;
  margin: 0 0 10px;
  color: var(--dd-muted);
  font-size: 14px;
}

.dd-footer-col a:hover {
  color: var(--dd-orange);
}

.dd-footer-bottom {
  max-width: var(--dd-container);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--dd-border);
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .dd-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .dd-hero-main-title {
    font-size: clamp(44px, 7vw, 68px);
    letter-spacing: -2.4px;
  }
}

@media (max-width: 768px) {
  .admin-bar .dd-header {
    top: 46px;
  }

  .dd-menu-toggle {
    display: block;
  }

  .dd-main-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--dd-border);
    border-radius: 18px;
    box-shadow: var(--dd-shadow);
  }

  .dd-header.is-open .dd-main-nav {
    display: flex;
  }

  .dd-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .dd-header-cta {
    width: 100%;
  }

  .dd-hero {
    padding: 42px 20px 24px;
  }

  .dd-hero-main-title {
    font-size: clamp(38px, 11vw, 54px);
    letter-spacing: -1.8px;
    line-height: 1.05;
    text-align: center;
    max-width: 100%;
  }

  .dd-water-text::before {
    bottom: 2px;
    height: 12px;
    filter: blur(7px);
  }

  .dd-water-text::after {
    display: none;
  }

  .dd-hero-subtitle {
    font-size: 16px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .dd-hero-actions {
    justify-content: center;
  }

  .dd-hero-points .elementor-icon-list-items {
    justify-content: center;
  }

  .dd-section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .dd-projects-grid {
    grid-template-columns: 1fr;
  }

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

  .dd-final-cta-box {
    padding: 30px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .dd-header-inner {
    padding: 14px 18px;
  }

  .dd-brand-text {
    font-size: 19px;
  }

  .dd-brand-icon {
    width: 38px;
    height: 38px;
  }

  .dd-hero-main-title {
    font-size: clamp(34px, 12vw, 46px);
  }

  .dd-projects-section,
  .dd-section-block,
  .dd-about-section,
  .dd-process-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dd-hero-badge .elementor-widget-container,
  .dd-hero-badge .elementor-heading-title,
  .dd-hero-badge p,
  .dd-hero-badge span,
  .dd-hero-badge-text {
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }
}

/* =========================================================
FIX DEFINITIVO - ETIQUETA SUPERIOR HERO
Evita línea azul/verde detrás del texto
========================================================= */

.dd-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: max-content !important;

  margin: 0 0 18px 0 !important;
  padding: 8px 15px !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05) !important;

  color: #7c3ded !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  overflow: visible !important;
}

/* Quita fondos raros de Elementor dentro del texto */
.dd-hero-badge *,
.dd-hero-badge .elementor-widget-container,
.dd-hero-badge .elementor-heading-title,
.dd-hero-badge p,
.dd-hero-badge span {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;

  color: #7c3ded !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;

  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  display: inline !important;
}

/* Punto naranja al inicio */
.dd-hero-badge::before {
  content: "+";
  color: #ff6426 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  margin-right: 8px !important;
  line-height: 1 !important;
}

/* Desactiva pseudo-elementos internos anteriores */
.dd-hero-badge .elementor-widget-container::before,
.dd-hero-badge .elementor-heading-title::before,
.dd-hero-badge p::before,
.dd-hero-badge span::before {
  content: none !important;
  display: none !important;
}

/* Por si todavía tiene clase verde */
.dd-kicker-green {
  background: transparent !important;
  color: #7c3ded !important;
}

/* =========================================================
FIX HERO - ESTILO COMO REFERENCIA
========================================================= */

.dd-hero-section {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 70px 24px 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 56px !important;
  background: transparent !important;
}

.dd-hero-left {
  width: 48% !important;
  max-width: 560px !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.dd-hero-right {
  width: 52% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dd-hero-right img {
  width: 100% !important;
  max-width: 620px !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 28px 45px rgba(17, 24, 39, 0.10)) !important;
}

/* Etiqueta superior */
.dd-hero-badge-real {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin-bottom: 22px !important;
  padding: 8px 15px !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05) !important;

  color: #7c3ded !important;
  font-family: Inter, Poppins, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.dd-hero-badge-real::before {
  content: "+";
  color: #ff6426;
  font-size: 13px;
  font-weight: 900;
  margin-right: 8px;
}

/* Título principal */
.dd-hero-title-real {
  margin: 0 !important;
  max-width: 560px !important;

  color: #111827 !important;
  font-family: Inter, Poppins, Arial, sans-serif !important;
  font-size: clamp(46px, 4.8vw, 68px) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -2.4px !important;
  text-align: left !important;
}

.dd-hero-title-real span {
  display: inline-block !important;

  background: linear-gradient(
    105deg,
    #ff6426 0%,
    #ff7a35 28%,
    #c45aa5 58%,
    #7c3ded 100%
  ) !important;

  background-size: 180% 180% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;

  animation: ddHeroTitleMove 4s ease-in-out infinite !important;
}

@keyframes ddHeroTitleMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Descripción */
.dd-hero-description-real {
  max-width: 520px !important;
  margin: 22px 0 28px !important;

  color: #5b6574 !important;
  font-family: Inter, Poppins, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

/* Botones */
.dd-hero-buttons-real {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 28px !important;
}

.dd-btn-real {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  border-radius: 12px !important;

  font-family: Inter, Poppins, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;

  transition: 0.25s ease !important;
}

.dd-btn-main-real {
  background: #ff6426 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(255, 100, 38, 0.28) !important;
}

.dd-btn-main-real:hover {
  background: #f04414 !important;
  transform: translateY(-2px) !important;
}

.dd-btn-second-real {
  background: #ffffff !important;
  color: #7c3ded !important;
  border: 2px solid rgba(124, 58, 237, 0.22) !important;
}

.dd-btn-second-real:hover {
  background: rgba(124, 58, 237, 0.06) !important;
  transform: translateY(-2px) !important;
}

/* Checks pequeños debajo */
.dd-hero-points-real {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 22px !important;
  margin-top: 6px !important;
}

.dd-hero-points-real div {
  position: relative !important;
  padding-left: 22px !important;

  color: #4b5563 !important;
  font-family: Inter, Poppins, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.dd-hero-points-real div::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;

  width: 15px;
  height: 15px;
  border-radius: 50%;

  background: #22c55e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quita estilos viejos del badge anterior */
.dd-hero-badge,
.dd-kicker-green,
.dd-text-green {
  background: transparent !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-hero-section {
    gap: 36px !important;
  }

  .dd-hero-title-real {
    font-size: clamp(42px, 5vw, 58px) !important;
  }
}

@media (max-width: 768px) {
  .dd-hero-section {
    flex-direction: column !important;
    padding: 48px 20px 40px !important;
    text-align: center !important;
  }

  .dd-hero-left,
  .dd-hero-right {
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .dd-hero-badge-real {
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .dd-hero-title-real,
  .dd-hero-description-real {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .dd-hero-title-real {
    font-size: clamp(38px, 11vw, 52px) !important;
    letter-spacing: -1.8px !important;
  }

  .dd-hero-buttons-real {
    justify-content: center !important;
  }

  .dd-hero-points-real {
    justify-content: center !important;
  }

  .dd-hero-right img {
    max-width: 500px !important;
  }
}

/* =========================================================
BLOQUE DE BENEFICIOS DEBAJO DEL HERO
========================================================= */

.dd-benefits-row {
  max-width: 1180px;
  margin: 24px auto 70px;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dd-benefit-card {
  display: flex;
  align-items: center;
  gap: 20px;

  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 18px;

  padding: 26px 28px;

  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.07);
  transition: 0.25s ease;
}

.dd-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.10);
  border-color: rgba(34, 197, 94, 0.28);
}

.dd-benefit-icon {
  flex: 0 0 auto;

  width: 54px;
  height: 54px;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(34, 197, 94, 0.08);
}

.dd-benefit-icon svg {
  width: 34px;
  height: 34px;

  fill: none;
  stroke: #22c55e;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dd-benefit-content h3 {
  margin: 0 0 7px;

  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.dd-benefit-content p {
  margin: 0;

  color: #5b6574;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-benefits-row {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

@media (max-width: 600px) {
  .dd-benefits-row {
    margin: 20px auto 50px;
    padding: 0 18px;
  }

  .dd-benefit-card {
    align-items: flex-start;
    padding: 22px 20px;
  }

  .dd-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .dd-benefit-icon svg {
    width: 30px;
    height: 30px;
  }
}
/* =========================================================
PROYECTOS DINÁMICOS - TARJETAS TIPO VENTANA
========================================================= */

.dd-projects-window-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 24px 70px;
}

.dd-projects-window-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.dd-projects-window-head > div {
  max-width: 760px;
}

.dd-projects-window-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #7c3ded;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.dd-projects-window-head h2 {
  margin: 0 0 12px;
  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.4px;
}

.dd-projects-window-head p {
  margin: 0;
  max-width: 780px;
  color: #5b6574;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

.dd-projects-window-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.dd-project-window-card {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.07);
  transition: 0.28s ease;
}

.dd-project-window-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.38);
  box-shadow: 0 24px 55px rgba(17, 24, 39, 0.12);
}

.dd-project-window-link-card {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.dd-project-window-browser {
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.dd-project-window-browser span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.dd-project-window-browser span:nth-child(1) {
  background: #ff6426;
}

.dd-project-window-browser span:nth-child(2) {
  background: #ffb020;
}

.dd-project-window-browser span:nth-child(3) {
  background: #22c55e;
}

.dd-project-window-image {
  height: 165px;
  padding: 12px 12px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 100, 38, 0.08), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(124, 58, 237, 0.10), transparent 26%),
    #ffffff;
}

.dd-project-window-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: 0.35s ease;
}

.dd-project-window-card:hover .dd-project-window-image img {
  transform: scale(1.04);
}

.dd-project-window-placeholder {
  height: 100%;
  border-radius: 14px;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3ded;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.dd-project-window-content {
  padding: 18px 18px 20px;
}

.dd-project-window-content h3 {
  margin: 0 0 8px;
  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.dd-project-window-content p {
  margin: 0 0 16px;
  color: #5b6574;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.dd-project-window-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dd-project-window-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #6b7280;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

/* =========================================================
MODAL DE PROYECTOS
========================================================= */

.dd-modal-open {
  overflow: hidden;
}

.dd-project-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.dd-project-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dd-project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(10px);
}

.dd-project-modal-box {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.28);
  transform: translateY(20px) scale(0.96);
  transition: 0.25s ease;
}

.dd-project-modal.is-active .dd-project-modal-box {
  transform: translateY(0) scale(1);
}

.dd-project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.14);
}

.dd-project-modal-browser {
  height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eef0f4;
  background: #ffffff;
  border-radius: 26px 26px 0 0;
}

.dd-project-modal-browser span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dd-project-modal-browser span:nth-child(1) {
  background: #ff6426;
}

.dd-project-modal-browser span:nth-child(2) {
  background: #ffb020;
}

.dd-project-modal-browser span:nth-child(3) {
  background: #22c55e;
}

.dd-project-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 34px;
  padding: 34px;
  align-items: center;
}

.dd-project-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dd-project-modal-kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  color: #7c3ded;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dd-project-modal-content h3 {
  margin: 0 0 14px;
  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.dd-project-modal-content p {
  margin: 0 0 22px;
  color: #5b6574;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.dd-project-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dd-project-modal-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #6b7280;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

/* =========================================================
CARRUSEL RESPONSIVO DENTRO DEL MODAL
========================================================= */

.dd-project-modal-gallery {
  position: relative;
  width: 100%;
  min-width: 0;
}

.dd-project-modal-image {
  width: 100%;
  height: clamp(260px, 42vw, 460px);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f0ebe6;
}

.dd-project-modal-image img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: contain !important;
  background: #ffffff;
}

.dd-project-carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.72);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.22);
  transition: 0.25s ease;
}

.dd-project-carousel-btn:hover {
  background: #ff6426;
  transform: translateY(-2px);
}

.dd-project-carousel-prev {
  left: 14px;
}

.dd-project-carousel-next {
  right: 14px;
}

.dd-project-modal.has-multiple-images .dd-project-carousel-btn {
  display: flex;
}

.dd-project-carousel-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.dd-project-carousel-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  opacity: 0.72;
  transition: 0.25s ease;
}

.dd-project-carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-project-carousel-thumb:hover,
.dd-project-carousel-thumb.is-active {
  opacity: 1;
  border-color: #ff6426;
  transform: translateY(-2px);
}

/* =========================================================
RESPONSIVE PROYECTOS Y MODAL
========================================================= */

@media (max-width: 1024px) {
  .dd-projects-window-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dd-project-modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dd-projects-window-section {
    padding: 60px 20px;
  }

  .dd-projects-window-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dd-projects-window-grid {
    grid-template-columns: 1fr;
  }

  .dd-project-window-image {
    height: 210px;
  }

  .dd-project-modal {
    padding: 16px;
  }

  .dd-project-modal-body {
    padding: 22px;
    gap: 22px;
  }

  .dd-project-modal-image {
    height: clamp(220px, 65vw, 340px);
  }

  .dd-project-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .dd-project-carousel-thumb {
    flex-basis: 70px;
    width: 70px;
    height: 50px;
  }

  .dd-project-modal-content h3 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .dd-project-window-image {
    height: 180px;
  }
}
  
/* =========================================================
SOBRE MÍ / DISEÑO Y DESARROLLO CON PROPÓSITO
Diseño visual tecnológico hecho con CSS
========================================================= */

.dd-about-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}

.dd-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}

/* =========================
COLUMNA VISUAL
========================= */

.dd-about-visual {
  position: relative;
  width: 100%;
}

/* Tarjeta flotante pequeña de tecnologías */
.dd-about-visual::before {
  content: "HTML  CSS  JS";
  position: absolute;
  left: 34px;
  top: 46px;
  z-index: 6;

  padding: 11px 16px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.10);
  backdrop-filter: blur(14px);

  color: #7c3ded;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Puntitos decorativos */
.dd-about-visual::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: 72px;
  z-index: 1;

  width: 110px;
  height: 110px;

  background-image: radial-gradient(circle, rgba(124, 58, 237, 0.34) 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.75;
}

.dd-about-image-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;

  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 100, 38, 0.12), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(124, 58, 237, 0.16), transparent 34%),
    radial-gradient(circle at 74% 84%, rgba(34, 197, 94, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8f7ff 54%, #fff8f4 100%);

  border: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.09);
}

/* Oculta la imagen rota y deja el diseño CSS */
.dd-about-image-card img {
  display: none !important;
}

/* Ventana principal tipo navegador / dashboard */
.dd-about-image-card::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 74px;
  z-index: 2;

  width: 70%;
  height: 290px;
  border-radius: 26px;

  background:
    /* barra superior */
    linear-gradient(#ffffff 0 44px, transparent 44px),

    /* botones navegador */
    radial-gradient(circle at 24px 22px, #ff6426 0 4px, transparent 5px),
    radial-gradient(circle at 42px 22px, #ffb020 0 4px, transparent 5px),
    radial-gradient(circle at 60px 22px, #22c55e 0 4px, transparent 5px),

    /* bloque imagen */
    linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(255, 100, 38, 0.12)) 34px 78px / 130px 110px no-repeat,

    /* líneas de texto */
    linear-gradient(90deg, #7c3ded, #a855f7) 190px 82px / 108px 10px no-repeat,
    linear-gradient(90deg, #d8d5e3, #ebe9f4) 190px 108px / 210px 9px no-repeat,
    linear-gradient(90deg, #d8d5e3, #ebe9f4) 190px 132px / 180px 9px no-repeat,
    linear-gradient(90deg, #d8d5e3, #ebe9f4) 190px 156px / 150px 9px no-repeat,

    /* botón naranja */
    linear-gradient(90deg, #ff6426, #ff7a35) 190px 194px / 110px 34px no-repeat,

    /* cards inferiores */
    linear-gradient(#ffffff, #ffffff) 34px 214px / 118px 48px no-repeat,
    linear-gradient(#ffffff, #ffffff) 170px 214px / 118px 48px no-repeat,
    linear-gradient(#ffffff, #ffffff) 306px 214px / 118px 48px no-repeat,

    /* mini líneas de cards */
    linear-gradient(90deg, #22c55e, #16a34a) 54px 235px / 54px 6px no-repeat,
    linear-gradient(90deg, #7c3ded, #a855f7) 190px 235px / 54px 6px no-repeat,
    linear-gradient(90deg, #ff6426, #ff7a35) 326px 235px / 54px 6px no-repeat,

    #ffffff;

  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.13);
  transform: rotate(-2.2deg);
}

/* Teléfono / mockup secundario */
.dd-about-image-card::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: 58px;
  z-index: 3;

  width: 138px;
  height: 238px;
  border-radius: 28px;

  background:
    /* notch */
    linear-gradient(#111827, #111827) 44px 14px / 50px 8px no-repeat,

    /* pantalla interna */
    linear-gradient(#ffffff, #ffffff) 10px 10px / calc(100% - 20px) calc(100% - 20px) no-repeat,

    /* tarjeta morada */
    linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(168, 85, 247, 0.10)) 24px 54px / 90px 72px no-repeat,

    /* check verde */
    radial-gradient(circle at 35px 150px, #22c55e 0 11px, transparent 12px),
    radial-gradient(circle at 35px 180px, #22c55e 0 11px, transparent 12px),

    /* líneas */
    linear-gradient(90deg, #d8d5e3, #ebe9f4) 56px 145px / 54px 7px no-repeat,
    linear-gradient(90deg, #d8d5e3, #ebe9f4) 56px 175px / 48px 7px no-repeat,

    /* botón */
    linear-gradient(90deg, #ff6426, #ff7a35) 28px 204px / 82px 20px no-repeat,

    #f8fafc;

  border: 8px solid #ffffff;
  outline: 2px solid rgba(17, 24, 39, 0.14);
  box-shadow: 0 28px 55px rgba(17, 24, 39, 0.18);
  transform: rotate(6deg);
}

/* Círculo naranja inferior */
.dd-about-tech-orb {
  display: none;
}

.dd-about-stats-card {
  position: absolute;
  right: -38px;
  top: 50%;
  transform: translateY(-50%);

  width: 165px;
  padding: 24px 22px;

  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;

  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(14px);
  z-index: 7;
}

.dd-about-stats-card div {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eef0f4;
}

.dd-about-stats-card div:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.dd-about-stats-card strong {
  display: block;
  margin-bottom: 5px;

  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.8px;
}

.dd-about-stats-card span {
  display: block;

  color: #6b7280;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

/* =========================
COLUMNA DE TEXTO
========================= */

.dd-about-content {
  width: 100%;
}

.dd-about-kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;

  color: #7c3ded;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.dd-about-content h2 {
  margin: 0 0 18px;

  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.dd-about-content p {
  margin: 0 0 24px;

  color: #5b6574;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

/* =========================
LISTA
========================= */

.dd-about-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;

  display: grid;
  gap: 12px;
}

.dd-about-list li {
  position: relative;
  padding-left: 32px;

  color: #4b5563;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.dd-about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;

  width: 20px;
  height: 20px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #22c55e;
  color: #ffffff;

  font-size: 12px;
  font-weight: 900;
}

/* =========================
BARRAS DE HABILIDADES
Compatible con:
- dd-skill-top + dd-skill-bar span
- dd-skill-head + dd-skill-fill
========================= */

.dd-skills {
  display: grid;
  gap: 18px;
}

.dd-skill {
  margin: 0;
}

.dd-skill-top,
.dd-skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.dd-skill-top span,
.dd-skill-top strong,
.dd-skill-head span,
.dd-skill-head strong {
  color: #111827;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.dd-skill-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #f2eee9;
  overflow: hidden;
}

.dd-skill-bar span,
.dd-skill-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6426, #ff7a35);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .dd-about-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .dd-about-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .dd-about-stats-card {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .dd-about-section {
    padding: 64px 20px;
  }

  .dd-about-image-card {
    min-height: 390px;
  }

  .dd-about-image-card::before {
    left: 28px;
    top: 62px;
    width: 74%;
    height: 240px;
    transform: rotate(-1.5deg) scale(0.92);
    transform-origin: left top;
  }

  .dd-about-image-card::after {
    right: 34px;
    bottom: 52px;
    width: 118px;
    height: 205px;
  }

  .dd-about-stats-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;

    width: 100%;
    margin-top: 18px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .dd-about-stats-card div {
    padding: 0;
    margin: 0;
    border-bottom: none;
  }

  .dd-about-content {
    text-align: left;
  }

  .dd-about-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .dd-about-section {
    padding: 56px 18px;
  }

  .dd-about-image-card {
    min-height: 330px;
    border-radius: 24px;
  }

  .dd-about-image-card::before {
    left: 20px;
    top: 62px;
    width: 88%;
    height: 220px;
    transform: rotate(-1.2deg) scale(0.82);
    transform-origin: left top;
  }

  .dd-about-image-card::after {
    right: 18px;
    bottom: 36px;
    width: 94px;
    height: 168px;
    border-width: 6px;
  }

  .dd-about-visual::before {
    left: 18px;
    top: 28px;
    font-size: 10px;
    padding: 9px 12px;
  }

  .dd-about-stats-card {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
CTA FINAL WHATSAPP
========================================================= */

.dd-whatsapp-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 76px;
}

.dd-whatsapp-inner {
  position: relative;
  overflow: hidden;

  min-height: 190px;
  padding: 42px 48px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;

  border-radius: 26px;

  background:
    radial-gradient(circle at 7% 30%, rgba(255, 255, 255, 0.20), transparent 20%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #ff6426 0%, #ff7a35 34%, #a855f7 72%, #7c3ded 100%);

  box-shadow: 0 24px 65px rgba(255, 100, 38, 0.22);
}

/* Círculos decorativos */
.dd-whatsapp-inner::before {
  content: "";
  position: absolute;
  left: -44px;
  bottom: -62px;

  width: 190px;
  height: 190px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.13);
}

.dd-whatsapp-inner::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 28px;

  width: 120px;
  height: 120px;

  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.34) 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.75;
}

.dd-whatsapp-icon {
  position: relative;
  z-index: 2;

  width: 86px;
  height: 86px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);

  color: #ffffff;
  font-size: 42px;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.dd-whatsapp-content {
  position: relative;
  z-index: 2;
}

.dd-whatsapp-kicker {
  display: inline-block;
  margin-bottom: 9px;

  color: rgba(255, 255, 255, 0.82);
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dd-whatsapp-content h2 {
  margin: 0 0 10px;

  color: #ffffff;
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.dd-whatsapp-content p {
  max-width: 610px;
  margin: 0;

  color: rgba(255, 255, 255, 0.88);
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.dd-whatsapp-action {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}

.dd-whatsapp-btn {
  min-height: 58px;
  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 14px;

  background: #22c55e;
  color: #ffffff !important;

  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none !important;

  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.34);
  transition: 0.25s ease;
}

.dd-whatsapp-btn i {
  font-size: 22px;
}

.dd-whatsapp-btn:hover {
  background: #16a34a;
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(34, 197, 94, 0.42);
}

.dd-whatsapp-action span {
  color: rgba(255, 255, 255, 0.82);
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 980px) {
  .dd-whatsapp-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 42px 28px;
  }

  .dd-whatsapp-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .dd-whatsapp-cta {
    padding: 46px 18px 62px;
  }

  .dd-whatsapp-inner {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .dd-whatsapp-icon {
    width: 72px;
    height: 72px;
    font-size: 34px;
  }

  .dd-whatsapp-content h2 {
    font-size: 30px;
  }

  .dd-whatsapp-btn {
    width: 100%;
    min-height: 56px;
  }

  .dd-whatsapp-action {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
DIGITAL DREAM · INTEGRACIÓN GLOBAL DE FONDOS Y EFECTOS
Pega este bloque AL FINAL de:
digital-dream/assets/css/main.css

IMPORTANTE EN ELEMENTOR:
- Al contenedor EXTERIOR de “Proyectos realizados” agrégale
  la clase CSS: dd-projects-bridge
- No agregues punto antes del nombre.
========================================================= */

:root {
  --dd-flow-base: #fffdfb;
  --dd-flow-white: #ffffff;
  --dd-flow-purple: #7c3ded;
  --dd-flow-orange: #ff6426;
  --dd-flow-green: #22c55e;
  --dd-flow-lilac: #f7f3ff;
  --dd-flow-peach: #fff6f1;
  --dd-flow-ice: #f8fbff;
}

/* ---------------------------------------------------------
1. FONDO GENERAL CONTINUO
--------------------------------------------------------- */

html,
body {
  background: var(--dd-flow-base) !important;
}

.dd-page-content {
  position: relative !important;
  isolation: isolate;
  overflow-x: clip !important;
  overflow-y: visible !important;
  background:
    radial-gradient(
      circle at 6% 5%,
      rgba(255, 100, 38, 0.075),
      transparent 23%
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(124, 61, 237, 0.085),
      transparent 27%
    ),
    radial-gradient(
      circle at 10% 48%,
      rgba(34, 197, 94, 0.045),
      transparent 21%
    ),
    radial-gradient(
      circle at 88% 72%,
      rgba(255, 100, 38, 0.055),
      transparent 23%
    ),
    linear-gradient(
      180deg,
      #fffdfb 0%,
      #ffffff 20%,
      #fbf9ff 43%,
      #fffaf6 67%,
      #ffffff 100%
    ) !important;
}

/* Luces ambientales grandes detrás de todo el contenido */
.dd-page-content::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -120px -90px;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 100, 38, 0.10) 0,
      rgba(255, 100, 38, 0.04) 19%,
      transparent 38%
    ),
    radial-gradient(
      circle at 82% 29%,
      rgba(124, 61, 237, 0.11) 0,
      rgba(124, 61, 237, 0.045) 20%,
      transparent 40%
    ),
    radial-gradient(
      circle at 17% 72%,
      rgba(34, 197, 94, 0.07) 0,
      rgba(34, 197, 94, 0.025) 18%,
      transparent 37%
    ),
    radial-gradient(
      circle at 83% 88%,
      rgba(255, 100, 38, 0.08) 0,
      transparent 36%
    );
  filter: blur(7px);
  transform: translate3d(0, 0, 0);
  animation: ddFlowBackground 18s ease-in-out infinite alternate;
}

/* Patrón tecnológico muy discreto */
.dd-page-content::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(
      rgba(124, 61, 237, 0.25) 1px,
      transparent 1px
    );
  background-size: 22px 22px;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 73%,
      #000 86%,
      transparent 100%
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 73%,
      #000 86%,
      transparent 100%
    );
}

.dd-page-content > *,
.dd-page-content .elementor {
  position: relative;
  z-index: 1;
}

@keyframes ddFlowBackground {
  0% {
    transform: translate3d(-1.5%, -0.4%, 0) scale(1);
  }

  100% {
    transform: translate3d(1.5%, 0.7%, 0) scale(1.025);
  }
}

/* Respeta usuarios que desactivan animaciones */
@media (prefers-reduced-motion: reduce) {
  .dd-page-content::before {
    animation: none !important;
  }
}

/* ---------------------------------------------------------
2. QUITAR LOS “BLOQUES ENCAJONADOS” DE ELEMENTOR
--------------------------------------------------------- */

.dd-page-content .elementor-widget-html,
.dd-page-content .elementor-widget-html > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/*
Los HTML pueden seguir dentro de un contenedor de Elementor
de 1180px. Estas reglas hacen que SOLO el fondo salga hasta
los bordes de la pantalla y que el contenido interno siga
alineado a 1180px.
*/
.dd-page-content .dd-b1,
.dd-page-content .dd-after-projects {
  position: relative !important;
  z-index: 1;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: transparent !important;
  overflow: clip !important;
}

/* ---------------------------------------------------------
3. TRANSICIÓN DEL HERO AL RESTO DE LA PÁGINA
--------------------------------------------------------- */

.dd-b1 .dd-b1-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 90% 34%,
      rgba(124, 61, 237, 0.12),
      transparent 31%
    ),
    radial-gradient(
      circle at 6% 76%,
      rgba(255, 100, 38, 0.09),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(255, 253, 251, 0.98) 0%,
      rgba(255, 255, 255, 0.96) 70%,
      rgba(250, 248, 255, 0.96) 100%
    ) !important;
}

.dd-b1 .dd-b1-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4%;
  right: 3%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(124, 61, 237, 0.13),
      rgba(124, 61, 237, 0.025) 48%,
      transparent 70%
    );
  filter: blur(14px);
  animation: ddFlowOrb 10s ease-in-out infinite alternate;
}

@keyframes ddFlowOrb {
  from {
    transform: translate3d(0, -8px, 0) scale(0.98);
  }

  to {
    transform: translate3d(-22px, 16px, 0) scale(1.05);
  }
}

.dd-b1 #dd-b1-soluciones {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 8% 48%,
      rgba(34, 197, 94, 0.045),
      transparent 22%
    ),
    radial-gradient(
      circle at 91% 24%,
      rgba(255, 100, 38, 0.055),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      #faf8ff 0%,
      #fffdfb 42%,
      #f9fbff 100%
    ) !important;
}

.dd-b1 #dd-b1-beneficios {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 86% 52%,
      rgba(124, 61, 237, 0.075),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #fffdfb 48%,
      #f8f5ff 100%
    ) !important;
}

/* Desvanece el final del primer HTML hacia Proyectos */
.dd-b1 #dd-b1-beneficios::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 115px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(248, 245, 255, 0.72) 50%,
      #f8f5ff 100%
    );
}

/* ---------------------------------------------------------
4. SECCIÓN EXTERNA DE PROYECTOS
En Elementor:
Avanzado > Clases CSS > dd-projects-bridge
--------------------------------------------------------- */

.dd-projects-bridge {
  position: relative !important;
  isolation: isolate;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-top: 88px !important;
  padding-bottom: 92px !important;
  overflow: clip !important;
  background:
    radial-gradient(
      circle at 10% 24%,
      rgba(255, 100, 38, 0.055),
      transparent 23%
    ),
    radial-gradient(
      circle at 90% 68%,
      rgba(124, 61, 237, 0.085),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #f8f5ff 0%,
      #fffdfb 46%,
      #f5f1ff 100%
    ) !important;
}

.dd-projects-bridge::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 42px;
  right: max(22px, calc((100vw - 1180px) / 2));
  width: 135px;
  height: 105px;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    radial-gradient(
      rgba(124, 61, 237, 0.62) 1.4px,
      transparent 1.4px
    );
  background-size: 12px 12px;
}

.dd-projects-bridge > *,
.dd-projects-bridge .e-con-inner,
.dd-projects-bridge .elementor-widget-wrap {
  position: relative;
  z-index: 1;
}

/* Mantener el contenido de Proyectos alineado con los HTML */
.dd-projects-bridge > .e-con-inner,
.dd-projects-bridge.elementor-section > .elementor-container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}

/* ---------------------------------------------------------
5. PROCESO, PRECIOS, FAQ Y CTA SIN CORTES
--------------------------------------------------------- */

.dd-after-projects .dd-ap-process-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 7% 22%,
      rgba(124, 61, 237, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 94% 78%,
      rgba(255, 100, 38, 0.06),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #f5f1ff 0%,
      #fbf9ff 34%,
      #fffdfb 100%
    ) !important;
}

.dd-after-projects .dd-ap-process-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 4%;
  top: 12%;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(124, 61, 237, 0.075),
      transparent 68%
    );
  filter: blur(8px);
  animation: ddFlowOrb 12s ease-in-out infinite alternate-reverse;
}

.dd-after-projects .dd-ap-pricing-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 10% 42%,
      rgba(34, 197, 94, 0.04),
      transparent 22%
    ),
    radial-gradient(
      circle at 92% 22%,
      rgba(255, 100, 38, 0.075),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      #fffdfb 0%,
      #fff8f4 46%,
      #fffdfb 100%
    ) !important;
}

.dd-after-projects .dd-ap-faq-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 88% 34%,
      rgba(124, 61, 237, 0.07),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #fffdfb 0%,
      #f7f4ff 48%,
      #fffdfb 100%
    ) !important;
}

.dd-after-projects .dd-ap-contact-section {
  position: relative;
  isolation: isolate;
  padding-top: 76px !important;
  padding-bottom: 58px !important;
  background:
    radial-gradient(
      circle at 9% 76%,
      rgba(255, 100, 38, 0.045),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      #fffdfb 0%,
      #ffffff 82%,
      #ffffff 100%
    ) !important;
}

/* Sombra suave para que el CTA no parezca pegado al footer */
.dd-after-projects .dd-ap-contact-box {
  box-shadow:
    0 28px 75px rgba(90, 40, 165, 0.22),
    0 14px 32px rgba(255, 100, 38, 0.10) !important;
}

/* ---------------------------------------------------------
6. TRANSICIÓN HACIA EL FOOTER
--------------------------------------------------------- */

.dd-footer {
  margin-top: 0 !important;
  background:
    radial-gradient(
      circle at 13% 4%,
      rgba(255, 100, 38, 0.055),
      transparent 23%
    ),
    radial-gradient(
      circle at 89% 5%,
      rgba(124, 61, 237, 0.065),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fffdfb 100%
    ) !important;
}

/* ---------------------------------------------------------
7. AJUSTES DE ELEMENTOR
--------------------------------------------------------- */

/*
Para la página:
Elementor > Ajustes de página > Diseño de página:
Elementor ancho completo
*/

body.elementor-page .dd-page-content .elementor {
  width: 100% !important;
  max-width: none !important;
}

/*
Evita líneas blancas entre contenedores.
No elimina el espacio interno diseñado dentro de cada sección.
*/
.dd-page-content .elementor-element.e-con,
.dd-page-content .elementor-section {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* ---------------------------------------------------------
8. RESPONSIVE Y RENDIMIENTO
--------------------------------------------------------- */

@media (max-width: 767px) {
  .dd-page-content::after {
    opacity: 0.08;
    background-size: 18px 18px;
  }

  .dd-b1 .dd-b1-hero::before,
  .dd-after-projects .dd-ap-process-section::after {
    width: 250px;
    height: 250px;
    opacity: 0.75;
  }

  .dd-projects-bridge {
    padding-top: 70px !important;
    padding-bottom: 72px !important;
  }

  .dd-projects-bridge > .e-con-inner,
  .dd-projects-bridge.elementor-section > .elementor-container {
    width: min(100% - 28px, 1180px) !important;
  }

  .dd-after-projects .dd-ap-contact-section {
    padding-bottom: 42px !important;
  }
}

@media (max-width: 480px) {
  .dd-page-content::before {
    opacity: 0.72;
  }

  .dd-projects-bridge::before {
    width: 90px;
    height: 70px;
    right: 15px;
    background-size: 10px 10px;
  }
}

/* =========================================================
DIGITAL DREAM · CARRUSEL PRINCIPAL DE PROYECTOS PREMIUM
Versión con luces, profundidad, sombras y adaptación móvil.
Este bloque sustituye visualmente la cuadrícula anterior.
========================================================= */

.dd-projects-bridge {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.dd-projects-window-section[data-dd-project-carousel] {
  --dd-project-purple: #7c3ded;
  --dd-project-purple-soft: #eee7ff;
  --dd-project-orange: #ff6426;
  --dd-project-green: #22c55e;
  --dd-project-dark: #111827;
  --dd-project-muted: #667085;
  --dd-project-duration: 6000ms;

  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 24px 92px;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 50% 49%,
      rgba(113, 56, 238, 0.095),
      transparent 31%
    ),
    radial-gradient(
      circle at 13% 48%,
      rgba(255, 100, 38, 0.075),
      transparent 28%
    ),
    radial-gradient(
      circle at 91% 42%,
      rgba(34, 197, 94, 0.055),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.32),
      rgba(248, 245, 255, 0.66)
    );
}

.dd-projects-window-section[data-dd-project-carousel]::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 54%;
  width: min(780px, 76vw);
  height: 370px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse,
      rgba(113, 56, 238, 0.20) 0%,
      rgba(255, 100, 38, 0.09) 37%,
      transparent 72%
    );
  filter: blur(32px);
  transform: translate(-50%, -50%);
  animation: ddProjectsAmbientPulse 7s ease-in-out infinite;
}

.dd-projects-window-section[data-dd-project-carousel]::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.27;
  background-image:
    linear-gradient(
      110deg,
      transparent 0 42%,
      rgba(113, 56, 238, 0.08) 49%,
      transparent 56% 100%
    ),
    radial-gradient(
      rgba(113, 56, 238, 0.35) 1px,
      transparent 1px
    );
  background-size: 100% 100%, 22px 22px;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 15%,
      #000 85%,
      transparent
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 15%,
      #000 85%,
      transparent
    );
}

.dd-projects-light {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}

.dd-projects-light-purple {
  top: 30%;
  left: 41%;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(
      circle,
      rgba(113, 56, 238, 0.19),
      transparent 69%
    );
  animation: ddProjectsFloatLight 8s ease-in-out infinite;
}

.dd-projects-light-orange {
  right: 6%;
  bottom: 12%;
  width: 230px;
  height: 230px;
  background:
    radial-gradient(
      circle,
      rgba(255, 100, 38, 0.13),
      transparent 70%
    );
  animation: ddProjectsFloatLight 10s ease-in-out infinite reverse;
}

.dd-projects-light-green {
  left: 4%;
  bottom: 8%;
  width: 190px;
  height: 190px;
  background:
    radial-gradient(
      circle,
      rgba(34, 197, 94, 0.10),
      transparent 70%
    );
  animation: ddProjectsFloatLight 9s ease-in-out infinite -2s;
}

.dd-projects-ambient-star {
  position: absolute;
  z-index: 4;
  display: block;
  pointer-events: none;
  color: var(--dd-project-purple);
  line-height: 1;
  text-shadow: 0 0 18px rgba(113, 56, 238, 0.42);
  animation: ddProjectsTwinkle 3.2s ease-in-out infinite;
}

.dd-projects-star-one {
  top: 20%;
  left: 6%;
  font-size: 21px;
}

.dd-projects-star-two {
  top: 30%;
  right: 8%;
  color: var(--dd-project-orange);
  font-size: 29px;
  animation-delay: -1.1s;
}

.dd-projects-star-three {
  left: 18%;
  bottom: 18%;
  color: var(--dd-project-green);
  font-size: 15px;
  animation-delay: -2s;
}

.dd-projects-star-four {
  right: 19%;
  bottom: 8%;
  font-size: 18px;
  animation-delay: -.65s;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head {
  position: relative;
  z-index: 6;
  width: min(100%, 1050px);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2, .75, .2, 1);
}

.dd-projects-window-section.is-visible
.dd-projects-window-head {
  opacity: 1;
  transform: translateY(0);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head > div:first-child {
  max-width: 720px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 13px;
  color: var(--dd-project-purple);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-kicker::before {
  content: "✦";
  color: var(--dd-project-orange);
  font-size: 12px;
  animation: ddProjectsTwinkle 2.5s ease-in-out infinite;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head h2 {
  max-width: 690px;
  margin: 0 0 14px;
  color: var(--dd-project-dark);
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head p {
  max-width: 680px;
  margin: 0;
  color: var(--dd-project-muted);
  font-size: 16px;
  line-height: 1.72;
}

.dd-projects-window-head-note {
  min-width: 235px;
  padding: 15px 17px;
  border: 1px solid rgba(113, 56, 238, 0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4d5768;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 15px 40px rgba(17, 24, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.dd-projects-head-note-icon {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--dd-project-purple),
      var(--dd-project-orange)
    );
  box-shadow: 0 12px 25px rgba(113, 56, 238, 0.24);
  animation: ddProjectsNoteFloat 4s ease-in-out infinite;
}

.dd-projects-window-head-note small {
  display: block;
  margin-bottom: 3px;
  color: var(--dd-project-purple);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
}

.dd-projects-carousel-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  opacity: 0;
  transform: translateY(35px) scale(.985);
  transition:
    opacity .85s ease .12s,
    transform .85s cubic-bezier(.2, .75, .2, 1) .12s;
}

.dd-projects-window-section.is-visible
.dd-projects-carousel-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dd-projects-window-viewport {
  position: relative;
  width: 100%;
  height: 510px;
  outline: none;
  perspective: 1450px;
  perspective-origin: 50% 48%;
  touch-action: pan-y;
}

.dd-projects-window-viewport:focus-visible {
  border-radius: 30px;
  box-shadow: 0 0 0 4px rgba(113, 56, 238, 0.16);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(455px, 43vw);
  height: 485px;
  margin: 0;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(
      145deg,
      rgba(113, 56, 238, 0.24),
      rgba(255, 100, 38, 0.18),
      rgba(34, 197, 94, 0.13)
    ) border-box;
  box-shadow:
    0 28px 70px rgba(17, 24, 39, 0.13),
    0 8px 22px rgba(113, 56, 238, 0.09);
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(-50%, 24px, -180px)
    scale(.72);
  transform-origin: center center;
  transition:
    left .72s cubic-bezier(.2, .8, .2, 1),
    opacity .5s ease,
    transform .72s cubic-bezier(.2, .8, .2, 1),
    filter .55s ease,
    box-shadow .55s ease;
  will-change: transform, left, opacity;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 10%;
  right: 10%;
  bottom: -35px;
  height: 58px;
  border-radius: 50%;
  background: rgba(51, 35, 90, 0.23);
  filter: blur(24px);
  opacity: .34;
  transform: scale(.78);
  transition:
    opacity .55s ease,
    transform .55s ease,
    background .55s ease;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-active {
  z-index: 8;
  left: 50%;
  opacity: 1;
  pointer-events: auto;
  filter: saturate(1.05);
  transform:
    translate3d(-50%, 0, 0)
    scale(1)
    rotateY(0);
  box-shadow:
    0 38px 95px rgba(17, 24, 39, 0.20),
    0 18px 48px rgba(113, 56, 238, 0.16),
    0 0 0 7px rgba(255, 255, 255, 0.52),
    0 0 75px rgba(113, 56, 238, 0.18);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-active::before {
  opacity: .82;
  background:
    linear-gradient(
      90deg,
      rgba(113, 56, 238, 0.42),
      rgba(255, 100, 38, 0.34)
    );
  transform: scale(1.08);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-prev {
  z-index: 5;
  left: 17.5%;
  opacity: .78;
  pointer-events: auto;
  filter: saturate(.78) brightness(.98);
  transform:
    translate3d(-50%, 42px, -105px)
    scale(.77)
    rotateY(8deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-next {
  z-index: 5;
  left: 82.5%;
  opacity: .78;
  pointer-events: auto;
  filter: saturate(.78) brightness(.98);
  transform:
    translate3d(-50%, 42px, -105px)
    scale(.77)
    rotateY(-8deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-far-prev {
  z-index: 2;
  left: 5%;
  opacity: 0;
  transform:
    translate3d(-50%, 60px, -180px)
    scale(.62)
    rotateY(12deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-far-next {
  z-index: 2;
  left: 95%;
  opacity: 0;
  transform:
    translate3d(-50%, 60px, -180px)
    scale(.62)
    rotateY(-12deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-hidden {
  z-index: 1;
  left: 50%;
  opacity: 0;
  transform:
    translate3d(-50%, 60px, -220px)
    scale(.56);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-prev:hover {
  opacity: .96;
  filter: saturate(.92);
  transform:
    translate3d(-50%, 30px, -80px)
    scale(.80)
    rotateY(5deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-next:hover {
  opacity: .96;
  filter: saturate(.92);
  transform:
    translate3d(-50%, 30px, -80px)
    scale(.80)
    rotateY(-5deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-active:hover {
  transform:
    translate3d(-50%, -8px, 0)
    scale(1.012);
  box-shadow:
    0 46px 105px rgba(17, 24, 39, 0.22),
    0 20px 54px rgba(113, 56, 238, 0.19),
    0 0 0 7px rgba(255, 255, 255, 0.62),
    0 0 88px rgba(113, 56, 238, 0.21);
}

.dd-project-featured-badge {
  position: absolute;
  z-index: 12;
  top: -16px;
  left: 50%;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--dd-project-purple),
      var(--dd-project-orange)
    );
  box-shadow:
    0 13px 30px rgba(113, 56, 238, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 8px) scale(.88);
  transition:
    opacity .4s ease .16s,
    transform .45s cubic-bezier(.2, .8, .2, 1) .16s;
}

.dd-project-window-card.is-active
.dd-project-featured-badge {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.dd-project-featured-badge i {
  font-style: normal;
  animation: ddProjectsTwinkle 2.4s ease-in-out infinite;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-link-card {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 27px;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: rgba(255, 255, 255, 0.97);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-link-card:focus-visible {
  outline: 4px solid rgba(113, 56, 238, 0.30);
  outline-offset: 4px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-browser {
  position: relative;
  flex: 0 0 42px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.84);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 1),
      rgba(249, 248, 252, .96)
    );
}

.dd-project-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.dd-project-browser-dots span:nth-child(1) {
  background: var(--dd-project-orange);
}

.dd-project-browser-dots span:nth-child(2) {
  background: #ffb020;
}

.dd-project-browser-dots span:nth-child(3) {
  background: var(--dd-project-green);
}

.dd-project-browser-address {
  min-width: 0;
  max-width: 210px;
  padding: 6px 12px;
  overflow: hidden;
  border: 1px solid rgba(113, 56, 238, 0.09);
  border-radius: 999px;
  color: #9a9faf;
  background: rgba(247, 245, 252, 0.82);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dd-project-browser-number {
  color: rgba(113, 56, 238, 0.55);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-image {
  position: relative;
  flex: 0 0 236px;
  height: 236px;
  padding: 13px 13px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(255, 100, 38, 0.12),
      transparent 27%
    ),
    radial-gradient(
      circle at 88% 4%,
      rgba(113, 56, 238, 0.16),
      transparent 29%
    ),
    linear-gradient(180deg, #fffdfb, #f8f5ff);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-image::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -23px;
  height: 45px;
  border-radius: 50%;
  background: rgba(113, 56, 238, 0.27);
  filter: blur(20px);
  opacity: .46;
  transition: opacity .4s ease;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(113, 56, 238, 0.10);
  border-radius: 15px 15px 0 0;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.12);
  transition:
    transform .7s cubic-bezier(.2, .75, .2, 1),
    filter .5s ease;
}

.dd-project-window-card.is-active
.dd-project-window-image img {
  transform: scale(1.018);
}

.dd-project-window-card.is-active:hover
.dd-project-window-image img {
  transform: scale(1.045) translateY(-2px);
}

.dd-project-window-card.is-prev
.dd-project-window-image img,
.dd-project-window-card.is-next
.dd-project-window-image img {
  filter: contrast(.96) brightness(.99);
}

.dd-project-image-shine {
  position: absolute;
  z-index: 3;
  top: -15%;
  bottom: -15%;
  left: -48%;
  width: 34%;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      transparent,
      rgba(255, 255, 255, 0.64),
      transparent
    );
  transform: skewX(-17deg);
  opacity: 0;
}

.dd-project-window-card.is-active
.dd-project-image-shine {
  animation: ddProjectsShine 5.8s ease-in-out infinite 1s;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-placeholder {
  position: relative;
  z-index: 2;
  height: 100%;
  border-radius: 15px 15px 0 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--dd-project-purple);
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(255, 255, 255, .88),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #f0e9ff,
      #fff3ec
    );
  font-size: 15px;
  font-weight: 900;
}

.dd-project-window-placeholder span {
  font-size: 31px;
  animation: ddProjectsTwinkle 2.6s ease-in-out infinite;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.dd-project-window-type {
  display: block;
  margin-bottom: 6px;
  color: var(--dd-project-purple);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content h3 {
  margin: 0 0 7px;
  color: var(--dd-project-dark);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--dd-project-muted);
  font-size: 13px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dd-project-window-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-tags {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-tags span {
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(113, 56, 238, 0.10);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #6d6680;
  background: #f8f6fc;
  font-size: 9px;
  font-weight: 850;
}

.dd-project-window-action {
  flex: 0 0 auto;
  min-height: 35px;
  padding: 0 12px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--dd-project-purple),
      #9147e8
    );
  box-shadow: 0 10px 22px rgba(113, 56, 238, 0.19);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.dd-project-window-action i {
  font-style: normal;
  font-size: 14px;
  transition: transform .25s ease;
}

.dd-project-window-card.is-active:hover
.dd-project-window-action {
  transform: translateY(-2px);
  box-shadow: 0 14px 27px rgba(113, 56, 238, 0.25);
}

.dd-project-window-card.is-active:hover
.dd-project-window-action i {
  transform: translate(2px, -2px);
}

.dd-projects-carousel-controls {
  position: relative;
  z-index: 10;
  width: min(420px, 100%);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 14px;
}

.dd-projects-main-arrow {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(113, 56, 238, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--dd-project-purple);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .96),
      rgba(247, 243, 255, .92)
    );
  box-shadow:
    0 14px 32px rgba(17, 24, 39, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  transition:
    color .25s ease,
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.dd-projects-main-arrow:hover {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--dd-project-purple),
      var(--dd-project-orange)
    );
  box-shadow: 0 16px 34px rgba(113, 56, 238, 0.25);
  transform: translateY(-3px);
}

.dd-projects-main-arrow:focus-visible,
.dd-projects-main-dot:focus-visible {
  outline: 3px solid rgba(113, 56, 238, 0.25);
  outline-offset: 3px;
}

.dd-projects-main-arrow:disabled {
  opacity: .38;
  pointer-events: none;
}

.dd-projects-main-dots {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.dd-projects-main-dot {
  position: relative;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(113, 56, 238, 0.20);
  cursor: pointer;
  transition:
    width .3s ease,
    background .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

.dd-projects-main-dot:hover {
  transform: scale(1.2);
  background: rgba(113, 56, 238, 0.42);
}

.dd-projects-main-dot.is-active {
  width: 34px;
  background:
    linear-gradient(
      90deg,
      var(--dd-project-purple),
      var(--dd-project-orange)
    );
  box-shadow: 0 6px 16px rgba(113, 56, 238, 0.23);
}

.dd-projects-main-progress {
  width: min(270px, calc(100% - 48px));
  height: 4px;
  margin: 15px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(113, 56, 238, 0.09);
}

.dd-projects-main-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--dd-project-purple),
      var(--dd-project-orange),
      var(--dd-project-green)
    );
  box-shadow: 0 0 15px rgba(113, 56, 238, 0.30);
}

.dd-projects-main-progress span.is-running {
  animation: ddProjectsProgress var(--dd-project-duration) linear forwards;
}

.dd-projects-window-section.has-one-project
.dd-projects-carousel-controls,
.dd-projects-window-section.has-one-project
.dd-projects-main-progress {
  display: none;
}

/* El modal conserva el carrusel de imágenes existente. */
.dd-project-modal-gallery.has-no-image
.dd-project-modal-image,
.dd-project-modal-gallery.has-no-image
.dd-project-carousel-thumbs,
.dd-project-modal-gallery.has-no-image
.dd-project-carousel-btn {
  display: none !important;
}

/* Animaciones */
@keyframes ddProjectsProgress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes ddProjectsAmbientPulse {
  0%, 100% {
    opacity: .68;
    transform: translate(-50%, -50%) scale(.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.07);
  }
}

@keyframes ddProjectsFloatLight {
  0%, 100% {
    opacity: .55;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: .92;
    transform: translate3d(18px, -14px, 0) scale(1.09);
  }
}

@keyframes ddProjectsTwinkle {
  0%, 100% {
    opacity: .34;
    transform: scale(.78) rotate(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.17) rotate(8deg);
  }
}

@keyframes ddProjectsNoteFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes ddProjectsShine {
  0%, 52% {
    left: -48%;
    opacity: 0;
  }
  60% {
    opacity: .8;
  }
  78% {
    left: 122%;
    opacity: 0;
  }
  100% {
    left: 122%;
    opacity: 0;
  }
}

/* Tabletas */
@media (max-width: 1024px) {
  .dd-projects-window-section[data-dd-project-carousel] {
    padding: 76px 20px 82px;
    border-radius: 34px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .dd-projects-window-head-note {
    width: fit-content;
  }

  .dd-projects-window-viewport {
    height: 495px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    width: min(425px, 50vw);
    height: 465px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-prev {
    left: 13%;
    transform:
      translate3d(-50%, 46px, -110px)
      scale(.73)
      rotateY(8deg);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-next {
    left: 87%;
    transform:
      translate3d(-50%, 46px, -110px)
      scale(.73)
      rotateY(-8deg);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-image {
    flex-basis: 222px;
    height: 222px;
  }
}

/* Celulares */
@media (max-width: 767px) {
  .dd-projects-bridge {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .dd-projects-window-section[data-dd-project-carousel] {
    width: 100%;
    padding: 64px 14px 70px;
    overflow: hidden;
    border-radius: 28px;
  }

  .dd-projects-window-section[data-dd-project-carousel]::before {
    top: 56%;
    width: 112vw;
    height: 310px;
    filter: blur(28px);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head {
    margin-bottom: 30px;
    text-align: center;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head > div:first-child {
    margin-inline: auto;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-kicker {
    margin-inline: auto;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head h2 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 47px);
    line-height: 1;
    letter-spacing: -.05em;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .dd-projects-window-head-note {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: left;
  }

  .dd-projects-window-viewport {
    height: 484px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    width: calc(100% - 12px);
    max-width: 430px;
    height: 458px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-active {
    left: 50%;
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-prev {
    left: -43%;
    opacity: 0;
    pointer-events: none;
    transform:
      translate3d(-50%, 35px, -120px)
      scale(.72);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-next {
    left: 143%;
    opacity: 0;
    pointer-events: none;
    transform:
      translate3d(-50%, 35px, -120px)
      scale(.72);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-active:hover {
    transform: translate3d(-50%, -4px, 0) scale(1.005);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-image {
    flex-basis: 210px;
    height: 210px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-content {
    padding: 18px 18px 16px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-content h3 {
    font-size: 21px;
  }

  .dd-project-window-bottom {
    align-items: center;
  }

  .dd-project-window-action {
    min-height: 34px;
    padding-inline: 10px;
  }

  .dd-projects-carousel-controls {
    width: min(330px, 100%);
    grid-template-columns: 45px 1fr 45px;
    gap: 10px;
    margin-top: 7px;
  }

  .dd-projects-main-arrow {
    width: 45px;
    height: 45px;
  }

  .dd-projects-star-one {
    top: 28%;
    left: 4%;
  }

  .dd-projects-star-two {
    top: 39%;
    right: 3%;
  }
}

@media (max-width: 430px) {
  .dd-projects-window-section[data-dd-project-carousel] {
    padding-inline: 10px;
  }

  .dd-projects-window-viewport {
    height: 472px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    width: calc(100% - 8px);
    height: 448px;
    border-radius: 24px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-link-card {
    border-radius: 23px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-browser {
    padding-inline: 11px;
  }

  .dd-project-browser-address {
    max-width: 155px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-image {
    flex-basis: 192px;
    height: 192px;
    padding: 10px 10px 0;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-content {
    padding: 16px;
    gap: 11px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-content p {
    font-size: 12px;
  }

  .dd-project-window-tags span:nth-child(n + 3) {
    display: none;
  }

  .dd-project-window-action {
    font-size: 9px;
  }
}

/* =========================================================
DIGITAL DREAM · IDENTIDAD OFICIAL, HEADER, FOOTER Y PRIVACIDAD
Este bloque final unifica la navegación del tema con Elementor.
========================================================= */

:root {
  --dd-orange: #ff6426;
  --dd-orange-2: #ff8452;
  --dd-orange-dark: #dd4915;
  --dd-purple: #7c3ded;
  --dd-purple-light: #9568f2;
  --dd-purple-dark: #5d25bf;
  --dd-green: #22c55e;
  --dd-green-2: #16a34a;
}

html {
  scroll-padding-top: 96px;
}

#inicio,
#dd-b1-soluciones,
#proyectos,
#dd-proceso,
#dd-beneficios,
#dd-preguntas,
#dd-cotizar {
  scroll-margin-top: 96px;
}

/* Ancho completo real para los contenedores HTML de Elementor. */
.dd-page-content .dd-full-bleed {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: visible !important;
}

.dd-page-content .dd-full-bleed > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.dd-page-content .dd-full-bleed .dd-b1,
.dd-page-content .dd-full-bleed .ddx5 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Header */
.dd-header {
  z-index: 1000;
  background: rgba(255, 253, 251, 0.94);
  border-bottom-color: rgba(124, 61, 237, 0.10);
}

.dd-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.09);
}

.dd-header-inner {
  max-width: 1280px;
  min-height: 78px;
  padding: 10px 24px;
  gap: 24px;
}

.dd-brand {
  flex-shrink: 0;
  gap: 11px;
}

.dd-brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.dd-brand-text {
  color: var(--dd-text);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.75px;
}

.dd-main-nav,
.dd-menu {
  gap: 23px;
}

.dd-menu a {
  font-size: 14px;
}

.dd-menu a::after {
  bottom: -12px;
  background: linear-gradient(90deg, var(--dd-purple), var(--dd-orange));
}

.dd-menu a:hover,
.dd-menu a:focus-visible {
  color: var(--dd-purple);
}

.dd-header-cta {
  min-height: 46px;
  padding-inline: 20px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--dd-orange), #ff8452);
  box-shadow: 0 13px 28px rgba(255, 100, 38, 0.25);
}

.dd-header-cta:hover,
.dd-header-cta:focus-visible {
  background: linear-gradient(135deg, var(--dd-orange-dark), var(--dd-orange));
}

.dd-menu-toggle {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
}

.dd-menu-toggle span {
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.dd-header.is-open .dd-menu-toggle span:nth-child(2) {
  opacity: 0;
}

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

/* Footer */
.dd-footer {
  padding-top: 62px;
  border-top-color: rgba(124, 61, 237, 0.10);
}

.dd-footer-inner {
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1fr;
}

.dd-footer-logo {
  width: 62px;
  height: 62px;
}

.dd-footer-brand p {
  margin-top: 16px;
}

.dd-social.facebook {
  background: var(--dd-purple);
  box-shadow: 0 10px 22px rgba(124, 61, 237, 0.22);
}

.dd-social.whatsapp {
  background: var(--dd-green);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
}

.dd-social:focus-visible,
.dd-footer a:focus-visible,
.dd-header a:focus-visible,
.dd-menu-toggle:focus-visible {
  outline: 3px solid rgba(124, 61, 237, 0.28);
  outline-offset: 4px;
}

.dd-footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #15803d !important;
  font-weight: 800;
}

.dd-footer-contact-link i {
  font-size: 17px;
}

.dd-footer-privacy-link {
  margin-top: 18px !important;
  color: var(--dd-purple) !important;
  font-weight: 800;
}

.dd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.dd-footer-bottom a {
  color: var(--dd-purple);
  font-weight: 800;
}

.dd-footer-bottom a:hover {
  color: var(--dd-orange);
}

/* Página de Política de Privacidad */
.dd-privacy-page {
  min-height: 70vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 100, 38, 0.09), transparent 25%),
    radial-gradient(circle at 92% 14%, rgba(124, 61, 237, 0.10), transparent 27%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 100%);
}

.dd-privacy-hero {
  padding: 82px 24px 54px;
  text-align: center;
}

.dd-privacy-shell {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.dd-privacy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--dd-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dd-privacy-kicker i {
  color: var(--dd-orange);
  font-style: normal;
}

.dd-privacy-hero h1 {
  margin: 0;
  color: var(--dd-text);
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.dd-privacy-hero p {
  max-width: 690px;
  margin: 20px auto 0;
  font-size: 17px;
}

.dd-privacy-updated {
  display: inline-flex;
  margin-top: 22px;
  padding: 9px 14px;
  border: 1px solid rgba(124, 61, 237, 0.14);
  border-radius: 999px;
  color: var(--dd-muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.dd-privacy-content {
  padding: 0 0 90px;
}

.dd-privacy-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(124, 61, 237, 0.10);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 25px 65px rgba(44, 31, 85, 0.09);
}

.dd-privacy-card section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--dd-border-soft);
}

.dd-privacy-card h2 {
  margin: 0 0 14px;
  color: var(--dd-text);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.2;
}

.dd-privacy-card p,
.dd-privacy-card li {
  color: var(--dd-text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.dd-privacy-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.dd-privacy-card li + li {
  margin-top: 8px;
}

.dd-privacy-card a {
  color: var(--dd-purple);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(124, 61, 237, 0.28);
  text-underline-offset: 3px;
}

.dd-privacy-contact-box {
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(124, 61, 237, 0.09), rgba(255, 100, 38, 0.08));
}

.dd-privacy-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 20px;
  border-radius: 13px;
  color: #ffffff !important;
  background: var(--dd-green);
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.22);
}

.ddx5-form-security a {
  color: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .dd-menu-toggle {
    display: inline-flex;
  }

  .dd-main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(124, 61, 237, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--dd-shadow);
  }

  .dd-header.is-open .dd-main-nav {
    display: flex;
  }

  .dd-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .dd-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
  }

  .dd-menu a:hover {
    background: rgba(124, 61, 237, 0.07);
  }

  .dd-menu a::after {
    display: none;
  }

  .dd-header-cta {
    width: 100%;
  }

  .dd-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 34px;
  }

  .dd-footer-brand,
  .dd-footer-col,
  .dd-footer-contact {
    min-width: 0;
  }

  .dd-footer-brand p {
    max-width: none;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .dd-page-content,
  .dd-page-content .elementor,
  .dd-page-content .elementor-element,
  .dd-page-content .elementor-widget-container {
    min-width: 0;
    max-width: 100%;
  }

  .dd-brand-logo {
    width: 47px;
    height: 47px;
  }

  .dd-header-inner {
    width: 100%;
    min-height: 70px;
    padding: 10px 18px;
  }

  .dd-brand {
    min-width: 0;
  }

  .dd-brand-text {
    white-space: nowrap;
  }

  .dd-main-nav {
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }

  .dd-footer {
    width: 100%;
    max-width: 100%;
    padding: 46px 20px 24px;
    overflow: hidden;
  }

  .dd-footer-inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .dd-footer-brand,
  .dd-footer-col,
  .dd-footer-contact {
    min-width: 0;
    width: 100%;
  }

  .dd-footer-brand p {
    max-width: none;
    margin: 16px 0 20px;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .dd-footer-col h3 {
    margin-bottom: 13px;
    font-size: 16px;
  }

  .dd-footer-col a,
  .dd-footer-col p {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .dd-footer-bottom {
    width: 100%;
    margin-top: 32px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  .dd-privacy-hero {
    padding-top: 58px;
  }

  .dd-privacy-content {
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .dd-brand-text {
    font-size: 17px;
  }

  .dd-brand-logo {
    width: 41px;
    height: 41px;
  }

  .dd-header-inner {
    min-height: 64px;
    padding: 9px 14px;
    gap: 12px;
  }

  .dd-menu-toggle {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
  }

  .dd-footer-logo {
    width: 52px;
    height: 52px;
  }

  .dd-footer .dd-brand-text {
    white-space: normal;
    font-size: 21px;
    line-height: 1.05;
  }

  .dd-footer {
    padding-inline: 18px;
  }

  .dd-socials {
    flex-wrap: wrap;
  }

  .dd-privacy-shell {
    width: min(100% - 28px, 920px);
  }

  .dd-privacy-card {
    border-radius: 23px;
  }
}

@media (max-width: 360px) {
  .dd-projects-window-viewport {
    height: 462px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    height: 438px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-image {
    flex-basis: 180px;
    height: 180px;
  }

  .dd-project-browser-address {
    max-width: 130px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-content h3 {
    font-size: 19px;
  }

  .dd-project-window-action {
    padding-inline: 9px;
  }
}

/* Accesibilidad y rendimiento */
@media (prefers-reduced-motion: reduce) {
  .dd-projects-window-section[data-dd-project-carousel] *,
  .dd-projects-window-section[data-dd-project-carousel] *::before,
  .dd-projects-window-section[data-dd-project-carousel] *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .dd-project-window-card,
  .dd-projects-window-head,
  .dd-projects-carousel-shell {
    transition-duration: .001ms !important;
  }

  .dd-projects-main-progress {
    display: none;
  }
}


/* =========================================================
DIGITAL DREAM · CARRUSEL DE PROYECTOS V2
Ajuste visual fiel a la referencia:
- tres tarjetas visibles en escritorio;
- proyecto central destacado;
- luces, ondas y sombras;
- tarjetas laterales honestas "Próximamente" si faltan proyectos;
- una sola tarjeta en móvil.
========================================================= */

.dd-projects-window-section[data-dd-project-carousel] {
  max-width: 1180px;
  padding: 70px 30px 72px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 58%, rgba(113, 56, 238, .12), transparent 33%),
    radial-gradient(circle at 8% 72%, rgba(255, 100, 38, .075), transparent 24%),
    radial-gradient(circle at 94% 26%, rgba(113, 56, 238, .09), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(248,245,255,.88));
}

.dd-projects-window-section[data-dd-project-carousel]::before {
  top: 61%;
  width: min(920px, 84vw);
  height: 310px;
  filter: blur(38px);
}

.dd-projects-window-section[data-dd-project-carousel]::after {
  opacity: .18;
  background-size: 100% 100%, 20px 20px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head {
  width: min(100%, 1060px);
  margin-bottom: 24px;
  grid-template-columns: 1fr;
  gap: 0;
}

.dd-projects-window-head-note {
  display: none !important;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head > div:first-child {
  max-width: 720px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head h2 {
  max-width: 650px;
  font-size: clamp(40px, 4.45vw, 58px);
  line-height: 1;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head p {
  max-width: 650px;
  font-size: 15px;
}

.dd-projects-carousel-shell {
  min-height: 455px;
}

.dd-projects-carousel-shell::before,
.dd-projects-carousel-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  width: 116%;
  border-radius: 50%;
  pointer-events: none;
}

.dd-projects-carousel-shell::before {
  top: 54px;
  height: 180px;
  border-top: 2px solid rgba(151, 108, 255, .26);
  border-right: 2px solid rgba(255, 146, 100, .15);
  transform: rotate(-7deg);
  filter:
    drop-shadow(0 0 9px rgba(113,56,238,.16))
    drop-shadow(0 0 18px rgba(255, 100, 38,.08));
  animation: ddProjectsWaveA 8s ease-in-out infinite;
}

.dd-projects-carousel-shell::after {
  top: 105px;
  height: 205px;
  border-top: 1px solid rgba(255,255,255,.92);
  border-left: 2px solid rgba(113,56,238,.12);
  transform: rotate(6deg);
  filter: drop-shadow(0 0 13px rgba(113,56,238,.15));
  animation: ddProjectsWaveB 10s ease-in-out infinite;
}

.dd-projects-window-viewport {
  height: 420px;
  perspective: 1500px;
  perspective-origin: 50% 46%;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card {
  top: 3px;
  width: min(360px, 34vw);
  height: 405px;
  border-radius: 25px;
  box-shadow:
    0 24px 58px rgba(17,24,39,.12),
    0 8px 24px rgba(113,56,238,.08);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-active {
  left: 50%;
  transform: translate3d(-50%, 0, 0) scale(1);
  box-shadow:
    0 34px 82px rgba(17,24,39,.19),
    0 15px 42px rgba(113,56,238,.20),
    0 0 0 6px rgba(255,255,255,.58),
    0 0 70px rgba(113,56,238,.22);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-prev {
  left: 17%;
  opacity: .9;
  filter: saturate(.9) brightness(.99);
  transform:
    translate3d(-50%, 28px, -95px)
    scale(.84)
    rotateY(6deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-next {
  left: 83%;
  opacity: .9;
  filter: saturate(.9) brightness(.99);
  transform:
    translate3d(-50%, 28px, -95px)
    scale(.84)
    rotateY(-6deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-active:hover {
  transform: translate3d(-50%, -6px, 0) scale(1.01);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-link-card {
  border-radius: 24px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-browser {
  flex-basis: 36px;
  height: 36px;
  padding-inline: 12px;
}

.dd-project-browser-address {
  max-width: 165px;
  padding: 5px 10px;
  font-size: 8px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-image {
  flex-basis: 190px;
  height: 190px;
  padding: 10px 10px 0;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-image img {
  border-radius: 13px 13px 0 0;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content {
  padding: 16px 17px 15px;
  gap: 11px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content h3 {
  font-size: 20px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content p {
  font-size: 11px;
  line-height: 1.5;
}

.dd-project-window-bottom {
  gap: 8px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-tags span {
  min-height: 22px;
  padding-inline: 8px;
  font-size: 8px;
}

.dd-project-window-action {
  min-height: 32px;
  padding-inline: 10px;
  font-size: 9px;
}

/* Tarjetas laterales honestas cuando todavía no hay tres proyectos. */
.dd-project-side-placeholder {
  z-index: 4 !important;
  top: 3px !important;
  width: min(360px, 34vw) !important;
  height: 405px !important;
  opacity: .9 !important;
  pointer-events: none !important;
  filter: saturate(.86) brightness(.99);
}

.dd-project-side-placeholder.is-placeholder-left {
  left: 17% !important;
  transform:
    translate3d(-50%, 28px, -95px)
    scale(.84)
    rotateY(6deg) !important;
}

.dd-project-side-placeholder.is-placeholder-right {
  left: 83% !important;
  transform:
    translate3d(-50%, 28px, -95px)
    scale(.84)
    rotateY(-6deg) !important;
}

.has-two-projects .dd-project-side-placeholder.is-placeholder-right {
  left: 83% !important;
}

.dd-project-side-placeholder .dd-project-window-link-card {
  cursor: default !important;
}

.dd-project-window-action-muted {
  color: #766b86;
  background: #f4f0fb;
  box-shadow: none;
}

.dd-project-placeholder-preview {
  display: grid;
  place-items: center;
}

.dd-project-wireframe-preview,
.dd-project-catalog-preview {
  position: relative;
  z-index: 2;
  width: calc(100% - 20px);
  height: calc(100% - 12px);
  border: 1px solid rgba(113,56,238,.12);
  border-radius: 13px 13px 0 0;
  background: rgba(255,255,255,.94);
  box-shadow: 0 17px 35px rgba(17,24,39,.09);
}

.dd-project-wireframe-preview {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
}

.dd-project-wireframe-preview > i {
  color: var(--dd-project-orange);
  font-size: 28px;
  font-style: normal;
}

.dd-project-wireframe-preview > strong {
  height: 92px;
  padding: 14px;
  border: 2px solid rgba(113,56,238,.25);
  border-radius: 9px;
  display: grid;
  gap: 8px;
  background: linear-gradient(145deg,#fff,#f5efff);
}

.dd-project-wireframe-preview > strong span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(113,56,238,.22);
}

.dd-project-wireframe-preview > strong span:nth-child(2) {
  width: 72%;
}

.dd-project-wireframe-preview > strong span:nth-child(3) {
  width: 48%;
  background: rgba(255, 100, 38,.42);
}

.dd-wire-box {
  position: absolute;
  left: 14px;
  width: 48px;
  height: 42px;
  border: 2px solid rgba(17,24,39,.32);
  border-radius: 7px;
}

.dd-wire-box-a { top: 28px; }
.dd-wire-box-b { top: 78px; left: 31px; }
.dd-wire-box-c { top: 78px; left: 86px; width: 35px; }

.dd-project-catalog-preview {
  padding: 17px;
}

.dd-catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dd-catalog-top span {
  width: 88px;
  height: 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.12);
}

.dd-catalog-top i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--dd-project-purple-soft);
}

.dd-catalog-products {
  margin-top: 23px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.dd-catalog-products strong {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(113,56,238,.10);
  border-radius: 9px;
  background: #fff;
}

.dd-catalog-products strong > i {
  display: block;
  aspect-ratio: 1;
  border-radius: 7px;
  background:
    radial-gradient(circle at 62% 30%,rgba(255,255,255,.7),transparent 25%),
    linear-gradient(145deg,#ece3ff,#ffd8c8);
}

.dd-catalog-products strong:nth-child(2) > i {
  background: linear-gradient(145deg,#e8faef,#e5ddff);
}

.dd-catalog-products strong:nth-child(3) > i {
  background: linear-gradient(145deg,#fff0e8,#efe7ff);
}

.dd-catalog-products strong > span,
.dd-catalog-products strong > b {
  display: block;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(17,24,39,.13);
}

.dd-catalog-products strong > b {
  width: 53%;
  background: rgba(113,56,238,.30);
}

/* Flechas flotantes como en la referencia. */
.dd-projects-carousel-controls {
  position: absolute;
  z-index: 20;
  inset: 0;
  width: 100%;
  margin: 0;
  display: block;
  pointer-events: none;
}

.dd-projects-main-arrow {
  position: absolute;
  top: 44%;
  width: 52px;
  height: 52px;
  pointer-events: auto;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}

.dd-projects-main-prev {
  left: 2px;
}

.dd-projects-main-next {
  right: 2px;
}

.dd-projects-main-dots {
  position: absolute;
  left: 50%;
  bottom: -17px;
  min-height: 34px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.dd-projects-main-progress {
  display: none !important;
}

.dd-projects-window-section.has-one-project
.dd-projects-carousel-controls {
  display: none;
}

@keyframes ddProjectsWaveA {
  0%,100% { transform: rotate(-7deg) translateY(0); opacity: .74; }
  50% { transform: rotate(-5deg) translateY(-10px); opacity: 1; }
}

@keyframes ddProjectsWaveB {
  0%,100% { transform: rotate(6deg) translateY(0); opacity: .6; }
  50% { transform: rotate(4deg) translateY(9px); opacity: .92; }
}

@media (max-width: 1024px) {
  .dd-projects-window-section[data-dd-project-carousel] {
    padding-inline: 22px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card,
  .dd-project-side-placeholder {
    width: min(340px, 38vw) !important;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-prev,
  .dd-project-side-placeholder.is-placeholder-left {
    left: 15% !important;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-next,
  .dd-project-side-placeholder.is-placeholder-right {
    left: 85% !important;
  }
}

@media (max-width: 820px) {
  .dd-projects-window-section[data-dd-project-carousel] {
    padding: 62px 18px 68px;
    border-radius: 28px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head {
    margin-bottom: 24px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head h2 {
    font-size: clamp(37px, 8.6vw, 50px);
  }

  .dd-projects-carousel-shell {
    min-height: 455px;
  }

  .dd-projects-window-viewport {
    height: 430px;
  }

  .dd-project-side-placeholder {
    display: none !important;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    width: min(390px, calc(100% - 28px)) !important;
    height: 410px !important;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-active {
    left: 50% !important;
    opacity: 1 !important;
    transform: translate3d(-50%,0,0) scale(1) !important;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-prev,
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-next,
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-far-prev,
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-far-next {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .dd-projects-main-arrow {
    top: auto;
    bottom: -3px;
    width: 46px;
    height: 46px;
  }

  .dd-projects-main-prev {
    left: calc(50% - 100px);
  }

  .dd-projects-main-next {
    right: calc(50% - 100px);
  }

  .dd-projects-main-dots {
    bottom: 2px;
  }
}

@media (max-width: 480px) {
  .dd-projects-window-section[data-dd-project-carousel] {
    padding: 52px 12px 62px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head {
    padding-inline: 6px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head h2 {
    font-size: clamp(34px, 11vw, 44px);
    letter-spacing: -.045em;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head p {
    font-size: 14px;
  }

  .dd-projects-window-viewport {
    height: 415px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    width: calc(100% - 8px) !important;
    height: 398px !important;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-image {
    flex-basis: 180px;
    height: 180px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-content {
    padding: 15px;
  }

  .dd-project-browser-address {
    max-width: 135px;
  }
}


/* =========================================================
DIGITAL DREAM · CARRUSEL DE PROYECTOS V3
SOLO PROYECTOS REALES
- No crea tarjetas de relleno.
- 1 proyecto: tarjeta destacada centrada y sección compacta.
- 2 proyectos: composición equilibrada.
- 3 o más: carrusel con una tarjeta central y dos laterales.
========================================================= */

.dd-projects-window-section[data-dd-project-carousel] {
  padding: 72px 24px 66px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 58%, rgba(113, 56, 238, .15), transparent 31%),
    radial-gradient(circle at 10% 70%, rgba(255, 100, 38, .09), transparent 25%),
    radial-gradient(circle at 91% 29%, rgba(113, 56, 238, .11), transparent 27%),
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(247,243,255,.92));
}

.dd-projects-window-section[data-dd-project-carousel]::before {
  top: 61%;
  width: min(980px, 88vw);
  height: 340px;
  filter: blur(42px);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head {
  width: min(100%, 1060px);
  margin-bottom: 28px;
  grid-template-columns: minmax(0, 720px) auto;
  align-items: end;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head h2 {
  max-width: 680px;
  font-size: clamp(40px, 4.5vw, 59px);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-projects-window-head p {
  max-width: 660px;
}

.dd-projects-window-head-note {
  display: flex !important;
}

.dd-projects-carousel-shell {
  min-height: 470px;
}

.dd-projects-carousel-shell::before,
.dd-projects-carousel-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7%;
  width: 114%;
  border-radius: 50%;
  pointer-events: none;
}

.dd-projects-carousel-shell::before {
  top: 68px;
  height: 175px;
  border-top: 2px solid rgba(143, 92, 255, .34);
  border-right: 2px solid rgba(255, 133, 82, .20);
  transform: rotate(-7deg);
  filter: drop-shadow(0 0 12px rgba(113,56,238,.22));
  animation: ddProjectsWaveA 8s ease-in-out infinite;
}

.dd-projects-carousel-shell::after {
  top: 126px;
  height: 205px;
  border-top: 1px solid rgba(255,255,255,.96);
  border-left: 2px solid rgba(113,56,238,.16);
  transform: rotate(6deg);
  filter: drop-shadow(0 0 15px rgba(113,56,238,.18));
  animation: ddProjectsWaveB 10s ease-in-out infinite;
}

.dd-projects-window-viewport {
  height: 442px;
  perspective: 1550px;
  perspective-origin: 50% 44%;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card {
  top: 2px;
  width: min(400px, 36vw);
  height: 426px;
  border-radius: 26px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-active {
  left: 50%;
  transform: translate3d(-50%, 0, 0) scale(1);
  box-shadow:
    0 38px 90px rgba(17,24,39,.21),
    0 17px 46px rgba(113,56,238,.22),
    0 0 0 6px rgba(255,255,255,.62),
    0 0 82px rgba(113,56,238,.24);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-prev {
  left: 16.5%;
  opacity: .92;
  filter: saturate(.9) brightness(.99);
  transform: translate3d(-50%, 29px, -100px) scale(.80) rotateY(6deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-card.is-next {
  left: 83.5%;
  opacity: .92;
  filter: saturate(.9) brightness(.99);
  transform: translate3d(-50%, 29px, -100px) scale(.80) rotateY(-6deg);
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-image {
  flex-basis: 235px;
  height: 235px;
}

.dd-projects-window-section[data-dd-project-carousel]
.dd-project-window-content {
  padding: 18px 21px 17px;
}

/* Un solo proyecto real: sin huecos ni tarjetas falsas. */
.dd-projects-window-section.has-one-project {
  padding-bottom: 58px;
}

.dd-projects-window-section.has-one-project
.dd-projects-carousel-shell {
  min-height: 455px;
}

.dd-projects-window-section.has-one-project
.dd-projects-window-viewport {
  height: 430px;
}

.dd-projects-window-section.has-one-project
.dd-project-window-card {
  width: min(440px, 84vw);
  height: 414px;
}

.dd-projects-window-section.has-one-project
.dd-project-window-card.is-active {
  box-shadow:
    0 39px 94px rgba(17,24,39,.19),
    0 18px 52px rgba(113,56,238,.25),
    0 0 0 7px rgba(255,255,255,.64),
    0 0 94px rgba(113,56,238,.26);
}

.dd-projects-window-section.has-one-project
.dd-projects-carousel-shell::before,
.dd-projects-window-section.has-one-project
.dd-projects-carousel-shell::after {
  width: 84%;
  left: 8%;
}

/* Dos proyectos reales: composición equilibrada. */
.dd-projects-window-section.has-two-projects
.dd-project-window-card.is-active {
  left: 34%;
  opacity: 1;
  transform: translate3d(-50%, 12px, 0) scale(.91) rotateY(3deg);
}

.dd-projects-window-section.has-two-projects
.dd-project-window-card.is-next {
  left: 66%;
  opacity: 1;
  pointer-events: auto;
  filter: none;
  transform: translate3d(-50%, 12px, 0) scale(.91) rotateY(-3deg);
}

.dd-projects-window-section.has-two-projects
.dd-project-window-card.is-next:hover,
.dd-projects-window-section.has-two-projects
.dd-project-window-card.is-active:hover {
  transform: translate3d(-50%, 4px, 0) scale(.925) rotateY(0deg);
}

/* Flechas laterales como en la referencia. */
.dd-projects-carousel-controls {
  position: absolute;
  z-index: 20;
  inset: 0;
  width: 100%;
  margin: 0;
  display: block;
  pointer-events: none;
}

.dd-projects-main-arrow {
  position: absolute;
  top: 47%;
  pointer-events: auto;
  transform: translateY(-50%);
}

.dd-projects-main-prev { left: 4px; }
.dd-projects-main-next { right: 4px; }

.dd-projects-main-arrow:hover {
  transform: translateY(calc(-50% - 3px));
}

.dd-projects-main-dots {
  position: absolute;
  left: 50%;
  bottom: -18px;
  min-height: 35px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.dd-projects-main-progress {
  margin-top: 10px;
}

.dd-projects-window-section.has-one-project
.dd-projects-carousel-controls,
.dd-projects-window-section.has-one-project
.dd-projects-main-progress {
  display: none !important;
}

/* Ninguna tarjeta artificial debe mostrarse. */
.dd-project-side-placeholder,
.is-placeholder-left,
.is-placeholder-right {
  display: none !important;
}

@media (max-width: 1024px) {
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-projects-window-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dd-projects-window-head-note {
    width: fit-content;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card {
    width: min(385px, 46vw);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-prev { left: 14%; }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-next { left: 86%; }
}

@media (max-width: 767px) {
  .dd-projects-window-section[data-dd-project-carousel] {
    padding: 62px 13px 68px;
    border-radius: 28px;
  }

  .dd-projects-window-head-note {
    width: 100%;
    justify-content: center;
  }

  .dd-projects-window-viewport,
  .dd-projects-window-section.has-one-project
  .dd-projects-window-viewport {
    height: 468px;
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card,
  .dd-projects-window-section.has-one-project
  .dd-project-window-card {
    width: calc(100% - 10px);
    max-width: 425px;
    height: 448px;
  }

  .dd-projects-window-section.has-two-projects
  .dd-project-window-card.is-active,
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-active {
    left: 50%;
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .dd-projects-window-section.has-two-projects
  .dd-project-window-card.is-next,
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-next {
    left: 143%;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, 34px, -110px) scale(.72);
  }

  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card.is-prev {
    left: -43%;
    opacity: 0;
    pointer-events: none;
  }

  .dd-projects-carousel-controls {
    position: relative;
    inset: auto;
    width: min(330px, 100%);
    height: 49px;
    margin: 6px auto 0;
    display: grid;
    grid-template-columns: 45px 1fr 45px;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
  }

  .dd-projects-main-arrow {
    position: static;
    transform: none;
  }

  .dd-projects-main-arrow:hover {
    transform: translateY(-2px);
  }

  .dd-projects-main-dots {
    position: static;
    transform: none;
  }

  .dd-projects-main-progress {
    margin-top: 10px;
  }
}

@media (max-width: 430px) {
  .dd-projects-window-section[data-dd-project-carousel]
  .dd-project-window-card,
  .dd-projects-window-section.has-one-project
  .dd-project-window-card {
    height: 438px;
  }

  .dd-projects-window-viewport,
  .dd-projects-window-section.has-one-project
  .dd-projects-window-viewport {
    height: 455px;
  }
}
