/* ── HERO — split layout: navy left, photo right ── */
.df-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--navy);
}

/* Foto posicionada en la mitad derecha */
.df-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 0;
}

.df-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradiente sobre la foto: fade desde navy hacia transparente */
.df-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(25,62,104,1) 0%,
    rgba(25,62,104,0.7) 25%,
    rgba(25,62,104,0.2) 50%,
    rgba(25,62,104,0.0) 75%
  );
}

/* Contenido encima */
.df-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.df-hero__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

/* Columna izquierda — texto */
.df-hero__content {
  max-width: 580px;
}

.df-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(75,155,173,0.45);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
  background: rgba(75,155,173,0.08);
}

.df-hero__title {
  font-size: clamp(32px, 3.5vw, 54px) !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  letter-spacing: -2px;
  line-height: 1.08 !important;
  margin-bottom: 28px;
  word-break: keep-all;
}

.df-hero__title em {
  font-style: normal;
  color: var(--accent);
}

/* ── Rotating text ── */
.df-rotate {
  display: inline-grid;
}

.df-rotate__item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.df-rotate__item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.df-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.75;
}

.df-hero__tension {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(56,138,232,0.15);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 44px;
  max-width: 480px;
  backdrop-filter: blur(4px);
}

.df-hero__cta-wrap { display: flex; flex-direction: column; gap: 12px; }

.df-hero__cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* Columna derecha — badges flotantes */
.df-hero__badges {
  position: absolute;
  right: 200px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 280px;
  z-index: 2;
}
.df-hero__badge {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: 0 8px 32px rgba(75,155,173,0.45);
  backdrop-filter: blur(8px);
  animation: badgeFloat 3s ease-in-out infinite;
}

.df-hero__badge-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.df-hero__badge-lbl {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}

.df-hero__badge2 {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  animation: badgeFloat 3s ease-in-out infinite 1.5s;
}

.df-hero__badge2-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.df-hero__badge2-sub {
  font-size: 12px;
  color: var(--gray-md);
}

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


/* ── SECCIONES ── */
.df-section { padding: 100px 0; }
.df-section--white { background: var(--white); }
.df-section--bg    { background: var(--bg); }
.df-section--dark  { background: var(--navy); }

.df-section--dark .df-section-h { color: var(--white); }
.df-section--dark .df-section-p { color: rgba(255,255,255,0.6); }
.df-section--dark .df-tag        { color: var(--teal); }

/* ── VÍDEO ── */
.df-video__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.df-video__wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.df-video__wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.df-video__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #193E68 0%, #195769 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.15);
}

.df-video__quote {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700; color: var(--navy);
  line-height: 1.4; margin-bottom: 20px;
}

.df-video__quote em { font-style: italic; color: var(--accent); }
.df-video__text { font-size: 15px; color: #666; line-height: 1.75; margin-bottom: 8px; }

/* ── DOLOR ── */
.df-dolor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.df-dolor__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(25,62,104,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.df-dolor__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.df-dolor__card h4 {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; line-height: 1.35;
}
.df-dolor__card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ── CTA INTERMEDIA DOLOR ── */
.df-dolor-cta {
  padding: 0 0 100px;
  background: var(--white);
}
.df-dolor-cta__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}
.df-dolor-cta__inner .df-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.df-dolor-cta__text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.df-dolor-cta__text strong {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}
@media (max-width: 900px) {
  .df-dolor-cta__inner {
    flex-direction: column;
    text-align: center;
  }
}
/* ── QUIÉN ── */
.df-quien__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}

.df-quien__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}

.df-quien__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.df-quien__badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(25,62,104,0.3);
}

.df-quien__badge-num { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1; }
.df-quien__badge-lbl { font-size: 11px; opacity: 0.7; }

.df-quien__text { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.df-quien__text strong { color: var(--navy); font-weight: 700; }

.df-firma {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(25,62,104,0.08);
}

.df-firma__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 20px;
  flex-shrink: 0;
}

.df-firma__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); }
.df-firma__role { font-size: 13px; color: var(--gray-md); }

/* ── TECH ── */
.df-tech__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }

.df-tech__card {
  background: rgba(255,255,255,0.04);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
}

.df-tech__card:hover { background: rgba(255,255,255,0.07); border-bottom-color: var(--teal); }

.df-tech__icon { font-size: 36px; margin-bottom: 20px; }
.df-tech__card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--white) !important; margin-bottom: 12px; }
.df-tech__card p  { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; flex: 1; }

.df-tech__link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  transition: gap 0.2s;
}

.df-tech__link:hover { gap: 8px; }

/* ── NICHOS ── */
.df-nichos__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

.df-nicho__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(25,62,104,0.08);
  display: flex; align-items: flex-start; gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.df-nicho__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(75,155,173,0.3); }

.df-nicho__icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.df-nicho__card h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.df-nicho__card p  { font-size: 13px; color: #777; line-height: 1.6; }

/* ── CTA INTERMEDIA NICHOS ── */
.df-nichos-cta {
  margin-top: 48px;
}

.df-nichos-cta__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}

.df-nichos-cta__inner .df-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.df-nichos-cta__text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.df-nichos-cta__text strong {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}

@media (max-width: 900px) {
  .df-nichos-cta__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── CASOS ── */
.df-casos__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.df-caso__card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(25,62,104,0.07);
  position: relative; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.df-caso__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}

.df-caso__card:hover::before { transform: scaleX(1); }
.df-caso__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.df-caso__sector { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-md); margin-bottom: 16px; }
.df-caso__result { font-family: var(--font-head); font-size: 56px; font-weight: 800; color: var(--teal); letter-spacing: -2px; line-height: 1; margin-bottom: 8px; }
.df-caso__desc   { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.df-caso__detail { font-size: 13px; color: #777; line-height: 1.7; margin-bottom: 16px; }

.df-caso__link {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; color: var(--teal);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}

.df-caso__link:hover { gap: 8px; }

.df-casos__cta { text-align: center; margin-top: 40px; }
.df-casos__cta a {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--teal); text-decoration: none;
  border-bottom: 2px solid rgba(75,155,173,0.3); padding-bottom: 2px;
  transition: border-color 0.2s;
}
.df-casos__cta a:hover { border-color: var(--teal); }

/* ── RESEÑAS ── */
.df-resenas__intro {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 60px; align-items: center; margin-bottom: 48px;
}

.df-rating { text-align: center; }
.df-rating__num   { font-family: var(--font-head); font-size: 72px; font-weight: 800; color: var(--navy); line-height: 1; }
.df-rating__stars { font-size: 24px; letter-spacing: 4px; color: #F5A623; margin: 8px 0; }
.df-rating__label { font-size: 13px; color: var(--gray-md); }


/* ── CTA FINAL ── */
.df-cta {
  padding: 120px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}

.df-cta::before {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,138,232,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.df-cta::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(75,155,173,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.df-cta__inner { text-align: center; position: relative; max-width: 700px; margin: 0 auto; }

.df-cta__eyebrow {
  display: inline-block; font-family: var(--font-head);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 24px;
}

.df-cta__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 20px;
}

.df-cta__title em { font-style: normal; color: var(--accent); }

.df-cta__sub { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 12px; }

.df-cta__tension {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(56,138,232,0.12);
  border: 1px solid rgba(56,138,232,0.2);
  padding: 16px 24px; border-radius: var(--radius-md);
  margin: 24px 0 40px; display: inline-block;
}

.df-cta__note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.35); }

.df-cta__features { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }

.df-cta__feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

.df-cta__feature::before { content: '✓'; color: var(--teal); font-weight: 700; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .df-hero__grid { grid-template-columns: 1fr; }
  .df-hero__badges { display: none; }
  .df-hero__bg {
    width: 100%;
  }
  .df-hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(25,62,104,0.88) 0%,
      rgba(25,62,104,0.75) 60%,
      rgba(25,62,104,0.55) 100%
    );
  }

  .df-video__grid,
  .df-quien__grid { grid-template-columns: 1fr; }

  .df-tech__grid { grid-template-columns: 1fr; }


  .df-nichos__grid      { grid-template-columns: 1fr 1fr; }
  .df-casos__grid       { grid-template-columns: 1fr; }
  .df-resenas__grid     { grid-template-columns: 1fr; }
  .df-dolor__grid       { grid-template-columns: 1fr; }
  .df-resenas__intro    { grid-template-columns: 1fr; gap: 32px; }
  .df-strip__divider    { display: none; }
	
	.df-hero__content {
    max-width: 100%;
    text-align: center;
}

.df-hero__eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.df-hero__sub,
.df-hero__tension {
    margin-left: auto;
    margin-right: auto;
}

.df-hero__cta-wrap {
    align-items: center;
}
}

@media (max-width: 600px) {
  .df-hero {
    padding: 90px 0 50px;
  }
  .df-hero__bg { display: none; }
  .df-hero__eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }
  .df-hero__title {
    font-size: 28px !important;
    margin-bottom: 16px;
  }
  .df-hero__sub {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .df-hero__tension {
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 24px;
  }
  .df-section { padding: 72px 0; }
  .df-nichos__grid { grid-template-columns: 1fr; }
  .df-cta__features { flex-direction: column; align-items: center; gap: 12px; }
}