/* =====================================================
   DISEÑO WEB HOTELES — CSS de página
   Archivo: assets/diseno-web-hoteles.css
   Prefijo: dw-  (diseno-web)
   ===================================================== */

/* ── Variables ─────────────────────────────────────── */
:root {
  --dw-bg-base:        #0A0A0A;
  --dw-bg-surface:     #0D0D0D;
  --dw-bg-elevated:    #111111;
  --dw-bg-light:       #F5F3EE;
  --dw-bg-white:       #FFFFFF;
  --dw-text-primary:   #F0EDE6;
  --dw-text-secondary: #C8C5BE;
  --dw-text-muted:     #9A9690;
  --dw-text-dim:       #555550;
  --dw-text-dark:      #1A1A1A;
  --dw-text-dark-muted:#666666;
  --dw-orange:         #FF6A00;
  --dw-orange-subtle:  rgba(255, 106, 0, 0.12);
  --dw-orange-border:  rgba(255, 106, 0, 0.30);
  --dw-border-dim:     rgba(255, 255, 255, 0.06);
  --dw-border-dark:    rgba(0, 0, 0, 0.10);
  --dw-section-v:      72px;
}

/* ── Layout ─────────────────────────────────────────── */
.dw-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.dw-section { padding: var(--dw-section-v) 0; }

/* ── Typography ─────────────────────────────────────── */
.dw-hero h1,
.dw-section h1 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dw-text-primary);
}

.dw-section h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--dw-text-primary);
}

.dw-section h3 { font-size: 14px; font-weight: 500; line-height: 1.25; }

.dw-section p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--dw-text-secondary);
}

.dw-section-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dw-orange);
  margin-bottom: 16px;
}

/* ── Line decor ─────────────────────────────────────── */
.dw-line-decor {
  width: 32px;
  height: 2px;
  background: var(--dw-orange);
  border-radius: 1px;
  margin: 20px 0;
}
.dw-line-decor--center { margin-left: auto; margin-right: auto; }

/* ── Badge ───────────────────────────────────────────── */
.dw-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 3px;
}
.dw-badge--orange { background: var(--dw-orange-subtle); color: var(--dw-orange); }
.dw-badge--gray   { background: rgba(255,255,255,.07);  color: var(--dw-text-muted); }

/* ── Button ─────────────────────────────────────────── */
.dw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dw-btn--primary       { background: var(--dw-orange); color: #fff; }
.dw-btn--primary:hover { background: #e55f2e; transform: translateY(-2px); }

/* ── Link arrow ─────────────────────────────────────── */
.dw-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dw-orange);
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: 24px;
}
.dw-link-arrow:hover { gap: 10px; }

/* ── Photo placeholder ───────────────────────────────── */
.dw-photo-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dw-text-dim);
  font-size: 12px;
  width: 100%;
  height: 100%;
}

/* =====================================================
   SECTION 1: HERO
   ===================================================== */
.dw-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

/* Fondo */
.dw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://pylaris.com/wp-content/uploads/2026/02/Diseno-web-que-aumentan-reservas-para-hoteles-Pylaris.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
	    filter: blur(4px);
}

/* Overlay */
.dw-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* Contenedor principal */
.dw-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Bloque de contenido, misma lógica del hero bueno */
.dw-hero__content {
  max-width: 600px;
}

/* Título con mismo criterio del primero */
.dw-hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Línea decorativa con mismo ritmo */
.dw-hero__line {
  margin-bottom: 24px;
}

/* Texto */
.dw-hero__subtitle {
  font-size: 14px;
  color: var(--dw-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Badges */
.dw-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* CTA */
.dw-hero__cta {
  margin-top: 0;
}

.dw-hero__cta-note {
  font-size: 11px;
  color: var(--dw-text-dim);
  margin-top: 14px;
}

/* =====================================================
   FRANJA: STATS
   ===================================================== */
.dw-stats-bar { background: var(--dw-orange); padding: 22px 0; }

.dw-stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.dw-stats-bar__item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.3);
}
.dw-stats-bar__item:last-child { border-right: none; }

.dw-stats-bar__number { font-size: 22px; font-weight: 500; color: #fff; }
.dw-stats-bar__label  { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 4px; line-height: 1.4; }

/* =====================================================
   SEC 2: JOURNEY
   ===================================================== */
.dw-journey-section {
  background: var(--dw-bg-light);
  padding: var(--dw-section-v) 0;
}

.dw-journey-section__intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
}

.dw-journey-section__intro h2 { color: var(--dw-text-dark); }
.dw-journey-section__intro p  { color: var(--dw-text-dark-muted); margin-top: 16px; }

.dw-journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  padding: 0 20px;
}

.dw-journey-line {
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: rgba(255, 106, 0, 0.2);
  z-index: 0;
}

.dw-journey-step {
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}

.dw-journey-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--dw-orange);
  background: var(--dw-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.dw-journey-circle--filled { background: var(--dw-orange); }
.dw-journey-circle--filled svg { stroke: #fff; }

.dw-journey-circle svg {
  stroke: var(--dw-orange);
  fill: none;
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-journey-label { font-size: 12px; font-weight: 500; color: var(--dw-text-dark); margin-bottom: 4px; }
.dw-journey-sub   { font-size: 11px; color: #888; line-height: 1.4; }
.dw-journey-sub--highlight { color: var(--dw-orange); font-weight: 500; }

.dw-journey-insight {
  margin-top: 32px;
  background: #fff;
  padding: 22px 28px;
  border-left: 3px solid var(--dw-orange);
  border-radius: 0 10px 10px 0;
}

.dw-journey-insight p  { font-size: 13px; color: #333; line-height: 1.65; }
.dw-journey-insight strong { color: var(--dw-text-dark); font-weight: 500; }

/* =====================================================
   SEC 3: DUDAS DEL VIAJERO
   ===================================================== */
.dw-doubts-section { background: var(--dw-bg-base); }

.dw-doubts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.dw-doubts-text {
  padding: 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dw-doubts-text h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--dw-text-primary);
  line-height: 1.35;
  margin-bottom: 28px;
  margin-top: 14px;
}

.dw-doubts-list { display: flex; flex-direction: column; }

.dw-doubt-item {
  padding: 13px 0;
  border-bottom: 0.5px solid rgba(255,255,255,.07);
}
.dw-doubt-item:first-child { border-top: 0.5px solid rgba(255,255,255,.07); }
.dw-doubt-item p { font-size: 13px; color: var(--dw-text-muted); font-style: italic; line-height: 1.5; }

.dw-doubts-conclusion {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dw-text-primary);
}

.dw-doubts-photo {
  position: relative;
  overflow: hidden;
}

.dw-doubts-photo img,
.dw-doubts-photo .dw-photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   SEC 4: RESOLVER DUDAS
   ===================================================== */
.dw-resolve-section {
  background: var(--dw-bg-light);
  padding: var(--dw-section-v) 0;
}

.dw-resolve-section__intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}

.dw-resolve-section__intro h2 { color: var(--dw-text-dark); }

.dw-resolve-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.dw-resolve-block:last-child { margin-bottom: 0; }

.dw-resolve-block--reverse          { direction: rtl; }
.dw-resolve-block--reverse > *      { direction: ltr; }

.dw-resolve-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dw-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.dw-resolve-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--dw-text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.dw-resolve-body { font-size: 13px; color: var(--dw-text-dark-muted); line-height: 1.65; }

.dw-resolve-photo { height: 260px; overflow: hidden; }

.dw-resolve-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dw-resolve-photo .dw-photo-placeholder {
  background: linear-gradient(135deg, #e0ddd5 0%, #c8c5be 100%);
  color: #999;
}

/* =====================================================
   SEC 5: QUÉ INCLUYE
   ===================================================== */
.dw-features-section { background: var(--dw-bg-surface); }

.dw-features-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.dw-features-intro {
  position: sticky;
  top: 80px;
}

.dw-features-intro h2 { color: var(--dw-text-primary); }
.dw-features-intro p  { margin-top: 16px; color: var(--dw-text-muted); }

.dw-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--dw-border-dim);
  gap: 1px;
}

.dw-feature-cell { padding: 26px 22px; }
.dw-feature-cell:nth-child(odd)  { background: var(--dw-bg-surface); }
.dw-feature-cell:nth-child(even) { background: var(--dw-bg-elevated); }

.dw-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--dw-orange-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.dw-feature-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--dw-orange);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-feature-title { font-size: 14px; font-weight: 500; color: var(--dw-text-primary); margin-bottom: 8px; }
.dw-feature-body  { font-size: 12px; color: #666; line-height: 1.6; }

/* =====================================================
   SEC 6: PORTFOLIO
   ===================================================== */
.dw-portfolio-section {
  position: relative;
  padding: 72px 0;
  background: var(--dw-bg-base);
  overflow: hidden;
}

.dw-portfolio-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.dw-portfolio-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.dw-portfolio-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.dw-portfolio-content h2 { color: var(--dw-text-primary); }
.dw-portfolio-content p  { margin-top: 16px; max-width: 420px; }

/* =====================================================
   SEC 7: PROCESO — TIMELINE VERTICAL
   ===================================================== */
.dw-process-section { background: var(--dw-bg-white); }

.dw-process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.dw-process-intro h2 { color: var(--dw-text-dark); }
.dw-process-intro p  { margin-top: 16px; color: var(--dw-text-dark-muted); }

.dw-vtimeline { display: flex; flex-direction: column; }

.dw-vtimeline-step { display: flex; gap: 16px; }

.dw-vtimeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.dw-vt-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--dw-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--dw-orange);
  flex-shrink: 0;
  background: #fff;
}

.dw-vt-circle--filled {
  background: var(--dw-orange);
  color: #fff;
  border-color: var(--dw-orange);
}

.dw-vt-line {
  width: 1.5px;
  flex: 1;
  background: rgba(255, 106, 0, 0.2);
  margin: 4px 0;
  min-height: 28px;
}

.dw-vt-content { padding-bottom: 28px; padding-top: 6px; }
.dw-vt-content h3 { font-size: 13px; font-weight: 500; color: var(--dw-text-dark); margin-bottom: 6px; }
.dw-vt-content p  { font-size: 12px; color: #888; line-height: 1.6; }

/* =====================================================
   SEC 8: GEOGRAFÍA
   ===================================================== */
.dw-geo-section { background: var(--dw-bg-light); }

.dw-geo-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.dw-geo-intro h2 { color: var(--dw-text-dark); }
.dw-geo-intro p  { margin-top: 16px; color: var(--dw-text-dark-muted); }

.dw-geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dw-geo-tile {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.dw-geo-tile h3 { font-size: 12px; font-weight: 500; color: var(--dw-text-dark); margin-bottom: 3px; }
.dw-geo-tile p  { font-size: 11px; color: #999; }

.dw-geo-tile--highlight { background: var(--dw-orange); }
.dw-geo-tile--highlight h3 { color: #fff; }
.dw-geo-tile--highlight p  { color: rgba(255,255,255,.75); }

/* =====================================================
   SEC 9: FAQ
   ===================================================== */
.dw-faq-section { background: var(--dw-bg-surface); }

.dw-faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.dw-faq-intro h2 { color: var(--dw-text-primary); }
.dw-faq-intro p  { margin-top: 16px; color: var(--dw-text-muted); }

.dw-faq-list { border-top: 0.5px solid rgba(255,255,255,.08); }
.dw-faq-item { border-bottom: 0.5px solid rgba(255,255,255,.08); }

.dw-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.dw-faq-item summary::-webkit-details-marker { display: none; }

.dw-faq-item summary h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--dw-text-primary);
  margin: 0;
  padding-right: 16px;
}

.dw-faq-icon { font-size: 18px; color: var(--dw-orange); flex-shrink: 0; transition: transform 0.2s ease; }
.dw-faq-item[open] .dw-faq-icon { transform: rotate(45deg); }

.dw-faq-answer { padding: 0 0 18px; font-size: 13px; color: var(--dw-text-muted); line-height: 1.7; }

/* =====================================================
   SEC 10: CTA FINAL
   ===================================================== */
.dw-cta-final {
  position: relative;
  background-image: url('/wp-content/uploads/2026/01/Dise%C3%B1o-web-con-seo-y-motor-de-reservas-para-hoteles.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 80px 0;
}

/* Overlay más fuerte (sección de cierre = más impacto) */
.dw-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 19, 0.85);
  z-index: 1;
}

/* Contenido arriba */
.dw-cta-final .dw-container {
  position: relative;
  z-index: 2;
}

.dw-cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--dw-bg-elevated);
  border: 0.5px solid var(--dw-orange-border);
  border-radius: 10px;
  padding: 40px 20px;
}

.dw-cta-headline {
  font-size: 20px;
  font-weight: 500;
  color: var(--dw-text-primary);
  line-height: 1.3;
  margin: 16px 0 12px;
}

.dw-cta-body { font-size: 14px; color: var(--dw-text-muted); line-height: 1.65; }
.dw-cta-box .dw-btn { margin-top: 24px; }
.dw-cta-note { font-size: 11px; color: var(--dw-text-dim); margin-top: 14px; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@media (prefers-reduced-motion: no-preference) {
  .dw-fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .dw-fade-in.dw-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Tablet */
@media (max-width: 1023px) {
  .dw-container { padding: 0 24px; }

  .dw-doubts-content { grid-template-columns: 1fr; }
  .dw-doubts-photo   { position: relative; height: 280px; }

  .dw-resolve-block         { grid-template-columns: 1fr; gap: 32px; }
  .dw-resolve-block--reverse { direction: ltr; }
  .dw-resolve-photo         { order: 2; }

  .dw-features-layout { grid-template-columns: 1fr; gap: 40px; }
  .dw-features-intro  { position: static; }

  .dw-process-layout,
  .dw-geo-layout,
  .dw-faq-layout { grid-template-columns: 1fr; gap: 40px; }

  .dw-journey { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .dw-journey-line { display: none; }
}

/* Mobile */
@media (max-width: 767px) {
  .dw-container { padding: 0 20px; }

	 .dw-hero {
    padding: 90px 0 70px;
    min-height: 520px;
    align-items: flex-end;
  }
	/* Overlay */
.dw-hero__bg::before {
  background: rgba(0, 0, 0, 0.8);
}

  .dw-hero__bg {
    background-image: url('/wp-content/uploads/2026/02/Diseno-web-que-aumentan-reservas-para-hoteles.webp');
    background-position: top center;
  }

  .dw-hero .dw-container {
    justify-content: center;
  }

  .dw-hero__content {
    max-width: 100%;
  }
  .dw-section { padding: 52px 0; }
  .dw-cta-final { padding: 52px 0; }

  .dw-section h2 { font-size: 18px; }

  .dw-stats-bar__grid { grid-template-columns: 1fr; gap: 16px; }
  .dw-stats-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding: 12px 0;
  }
  .dw-stats-bar__item:last-child { border-bottom: none; }

  .dw-journey { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .dw-journey-step {
    display: flex;
    gap: 16px;
    text-align: left;
    padding: 16px 0 16px 20px;
    border-left: 2px solid rgba(255, 106, 0, 0.2);
  }
  .dw-journey-circle { margin: 0; flex-shrink: 0; }

  .dw-doubts-text { padding: 52px 20px; }
  .dw-doubts-photo { height: 220px; }

  .dw-features-grid { grid-template-columns: 1fr; }
  .dw-geo-grid      { grid-template-columns: 1fr 1fr; }

  .dw-cta-box { padding: 36px 24px; }
}
