/* =====================================================
   PYLARIS HOME — CSS de página
   Archivo: assets/pylaris-home.css
   Prefijo: ph-  (pylaris-home)
   ===================================================== */

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

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

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

/* ── Typography compartida ──────────────────────────── */
.span-hero {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ph-text-primary);
}
.ph-section h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

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

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

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

/* ── Utilitarios ─────────────────────────────────────── */
.ph-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ── Badge ───────────────────────────────────────────── */
.ph-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 3px;
}
/* ── Button ─────────────────────────────────────────── */
.ph-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;
}
.ph-btn--primary       { background: var(--ph-orange); color: #fff; }
.ph-btn--primary:hover { background: #e55f2e; transform: translateY(-2px); }

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

/* ── Pill ────────────────────────────────────────────── */
.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* ── Photo placeholder ───────────────────────────────── */
.ph-photo-placeholder {
  width: 100%;
  min-height: 300px;
  background: linear-gradient(135deg, #e0ddd5 0%, #c8c5be 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

/* =====================================================
   SEC 1: HERO
   ===================================================== */
/* Pulse animation para el dot del label */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.ph-hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
}

/* ── Foto de fondo ─────────────────────────────────── */
.ph-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ph-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2px);
  transform: scale(1.06);
  transform-origin: center;
}

/* Desktop: muestra oficina, oculta móvil */
.ph-hero__bg-img--mobile  { display: none;  }

/* Overlay */
.ph-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

/* ── Contenido centrado ──────────────────────────────── */
.ph-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* ── Label con dot pulsante ──────────────────────────── */
.ph-section-label-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #A0A4A8;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.ph-section-label-hero::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Resto del contenido ─────────────────────────────── */
.ph-hero__subtitle {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}

.ph-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.ph-hero__cta      { margin-top: 32px; }
.ph-hero__cta-note { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 14px; }

/* =====================================================
   FRANJA: STATS
   ===================================================== */
.py-hero-stats {
            display: flex;
            gap: 36px;
            padding-top: 32px;
            border-top: 1px solid var(--ph-text-primary);
            margin-top: 2rem;	
        }

        .py-hero-stat__value {
            font-size: 28px;
            font-weight: 600;
            color: var(--orange-light);
            letter-spacing: -0.02em;
        }

        .py-hero-stat__label {
            font-size: 12px;
            margin-top: 4px;
        }

/* =====================================================
   SEC 2: PROBLEMA
   ===================================================== */
.ph-problema {
  background: var(--ph-bg-surface);
}

.ph-problema__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.ph-problema__intro h2 { color: var(--ph-text-primary); }
.ph-problema__intro p  { max-width: 500px; margin: 0 auto; margin-top: 16px; }

.ph-problema__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ph-border-dim);
  gap: 1px;
}

.ph-problema__cell { padding: 32px 28px; }
.ph-problema__cell:nth-child(odd)  { background: var(--ph-bg-surface); }
.ph-problema__cell:nth-child(even) { background: var(--ph-bg-elevated); }

.ph-problema__num {
  font-size: 48px;
  font-weight: 500;
  color: rgba(255,255,255,.05);
  line-height: 1;
  margin-bottom: 12px;
  user-select: none;
}

.ph-problema__cell h3 { color: var(--ph-text-primary); margin-bottom: 0; }
.ph-problema__cell p  { font-size: 14px; line-height: 1.65; }

/* =====================================================
   SEC 3: EL VIAJERO
   ===================================================== */
.ph-viajero {
  background: var(--ph-bg-light);
  padding: var(--ph-section-v) 0;
}

.ph-viajero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ph-viajero h2 { color: var(--ph-text-dark); }

.ph-viajero__journey { margin-top: 24px; }

.ph-journey-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.ph-journey-item:last-child { margin-bottom: 0; }

.ph-journey-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}

.ph-journey-circle--a { background: var(--ph-orange); }
.ph-journey-circle--b { background: #888; }
.ph-journey-circle--c { background: #3A3A3A; }

.ph-journey-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-text-dark);
  margin-bottom: 3px;
}

.ph-journey-body {
  font-size: 13px;
  color: var(--ph-text-dark-muted);
  line-height: 1.5;
}

.ph-viajero__photo {
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
  min-height: 300px;
}

.ph-viajero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   SEC 4: MÉTODO
   ===================================================== */
.ph-metodo {
  background: var(--ph-bg-base);
  padding: var(--ph-section-v) 0;
  position: relative;
  overflow: hidden;
}

.ph-metodo__watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.04;
  pointer-events: none;
}

.ph-metodo__content { position: relative; z-index: 1; }

.ph-metodo__intro { max-width: 480px; margin-bottom: 48px; }
.ph-metodo__intro h2 { color: var(--ph-text-primary); }
.ph-metodo__intro p  { margin-top: 16px; }

.ph-metodo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ph-border-dim);
  gap: 1px;
  margin-bottom: 28px;
}

.ph-pilar { padding: 28px 22px; }
.ph-pilar:nth-child(odd)  { background: var(--ph-bg-surface); }
.ph-pilar:nth-child(even) { background: var(--ph-bg-elevated); }

.ph-pilar--featured {
  border-left: 2px solid var(--ph-orange);
  padding-left: 20px;
}
.ph-pilar--featured h3 { color: var(--ph-orange); }

.ph-pilar__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #666;
  font-weight: 500;
  margin-bottom: 14px;
}

.ph-pilar__num--filled {
  background: var(--ph-orange);
  border-color: var(--ph-orange);
  color: #fff;
}

.ph-pilar h3 { color: var(--ph-text-primary); margin-bottom: 10px; }
.ph-pilar p  { font-size: 13px; color: var(--ph-text-muted); line-height: 1.6; }

/* =====================================================
   SEC 5: SERVICIOS
   ===================================================== */
.ph-servicios { background: var(--ph-bg-white); }

.ph-servicios__intro {
  text-align: center;
  max-width: 460px;
  margin: 0 auto 48px;
}

.ph-servicios__intro h2 { color: var(--ph-text-dark); }
.ph-servicios__intro p  { color: var(--ph-text-dark-muted); margin-top: 12px; }

.ph-servicios__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ph-svc-card {
  background: #fff;
  border: 0.5px solid var(--ph-border-dark);
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color 0.2s ease;
}

.ph-svc-card:hover          { border-color: var(--ph-orange-border); }
.ph-svc-card--featured      { border-top: 3px solid var(--ph-orange); }

.ph-svc-photo {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #f0f0f0;
}

.ph-svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-svc-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--ph-orange);
  display: block;
  margin-bottom: 10px;
}

.ph-svc-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-text-dark);
}

.ph-svc-body {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  margin-top: 8px;
}

.ph-svc-link {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ph-orange);
  font-weight: 500;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.ph-svc-link:hover { text-decoration: underline; }

/* =====================================================
   SEC 6: DIFERENCIACIÓN
   ===================================================== */
.ph-diferenciacion {
  position: relative;
  padding: 80px 0;
  background: var(--ph-bg-base);
  overflow: hidden;
}

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

.ph-diferenciacion__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.80);
}

.ph-diferenciacion__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.ph-diferenciacion h2 { color: var(--ph-text-primary); font-size: 22px; font-weight: 500; }
.ph-diferenciacion p  { margin-top: 16px; max-width: 520px; }

.ph-diferenciacion__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* =====================================================
   SEC 7: PARA QUIÉN
   ===================================================== */
.ph-para-quien { background: var(--ph-bg-light); }

.ph-para-quien__grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 48px;
  align-items: start;
}

.ph-para-quien h2 { color: var(--ph-text-dark); }
.ph-para-quien__intro p { color: var(--ph-text-dark-muted); margin-top: 12px; }

.ph-para-quien__list {
  list-style: none;
  margin-top: 24px;
  padding: 0;
}

.ph-para-quien__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ph-text-dark);
}

.ph-check-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ph-orange);
  flex-shrink: 0;
  margin-top: 7px;
}

.ph-check-dot--gray { background: var(--ph-text-dim); }

.ph-no-card {
  background: #1A1A1A;
  border-radius: 10px;
  padding: 28px 24px;
}

.ph-no-card__header {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ph-text-dim);
  margin-bottom: 20px;
}

.ph-no-card__list {
  list-style: none;
  padding: 0;
}

.ph-no-card__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--ph-text-dim);
}

.ph-no-card__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  color: var(--ph-text-dim);
  font-style: italic;
}

/* =====================================================
   SEC 8: TESTIMONIOS
   ===================================================== */
.ph-testimonios { background: var(--ph-bg-surface); }

.ph-testimonios__intro {
  text-align: center;
  margin-bottom: 48px;
}

.ph-testimonios__intro h2 { color: var(--ph-text-primary); }

.ph-testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ph-google-review-card {
  background: #111;
  border: 0.5px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 20px;
}

.ph-gr-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ph-gr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}

.ph-gr-avatar--blue   { background: #4285F4; }
.ph-gr-avatar--green  { background: #34A853; }
.ph-gr-avatar--red    { background: #EA4335; }
.ph-gr-avatar--yellow { background: #FBBC04; color: #333; }

.ph-gr-name  { font-size: 13px; font-weight: 500; color: var(--ph-text-primary); margin: 0; }
.ph-gr-hotel { font-size: 11px; color: #666; margin: 2px 0 0; }

.ph-gr-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ph-gr-stars      { display: flex; gap: 2px; }
.ph-gr-stars svg  { width: 14px; height: 14px; fill: #FBBC04; }

.ph-gr-google-logo { height: 16px; width: auto; opacity: 0.6; }

.ph-gr-body {
  font-size: 13px;
  color: var(--ph-text-muted);
  line-height: 1.65;
  font-style: italic;
}

/* =====================================================
   SEC 9: FAQ
   ===================================================== */
.ph-faq { background: var(--ph-bg-white); }

.ph-faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.ph-faq__intro h2 { color: var(--ph-text-dark); }
.ph-faq__intro p  { color: var(--ph-text-dark-muted); margin-top: 16px; }

.ph-faq__list { border-top: 0.5px solid var(--ph-border-dark); }

.ph-faq-item { border-bottom: 0.5px solid var(--ph-border-dark); }

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

.ph-faq-item summary::-webkit-details-marker { display: none; }

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

.ph-faq-icon {
  font-size: 18px;
  color: var(--ph-orange);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ph-faq-item[open] .ph-faq-icon { transform: rotate(45deg); }

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

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

/* Overlay */
.ph-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 19, 0.75); /* negro premium con opacidad */
  z-index: 1;
}
/* Contenido por encima del overlay */
.ph-cta-final .ph-container {
  position: relative;
  z-index: 2;
}

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

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

.ph-cta-body {
  font-size: 14px;
  color: var(--ph-text-muted);
  line-height: 1.65;
}

.ph-cta-box .ph-btn { margin-top: 24px; }

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

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

  .ph-fade-in.ph-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .ph-hero__grid         { grid-template-columns: 1fr; }
  .ph-problema__grid,
  .ph-metodo__grid       { grid-template-columns: repeat(2, 1fr); }

  .ph-servicios__grid,
  .ph-testimonios__grid  { grid-template-columns: repeat(2, 1fr); }

  .ph-viajero__grid,
  .ph-para-quien__grid,
  .ph-faq__grid          { grid-template-columns: 1fr; gap: 32px; }

  .ph-metodo__watermark  { display: none; }
}

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

  .ph-section { padding: 52px 0; }
  .ph-diferenciacion { padding: 52px 0; }
  .ph-cta-final { padding: 52px 0; }

  .ph-section h2     { font-size: 20px; }


  .ph-problema__grid,
  .ph-metodo__grid,
  .ph-servicios__grid,
  .ph-testimonios__grid { grid-template-columns: 1fr; }

  .ph-cta-box { padding: 36px 24px; }
	
	/* ── Mobile: todo centrado ───────────────────────────── */
.ph-hero {
    padding: 100px 0 80px;
  }

  .ph-hero__bg-img--desktop { display: none;  }
  .ph-hero__bg-img--mobile  { display: block; }

  .ph-hero__content {
    padding: 0 20px;
  }

  .ph-hero__subtitle {
    font-size: 14px;
  }
}