/* ==========================================================================
   INKA WAYS — ESTILOS DE SECCIONES & COMPOSICIONES EDITORIALES (FONDO BLANCO)
   ========================================================================== */

/* --- 1. HERO PRINCIPAL CINEMATOGRÁFICO --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: brightness(0.85);
}

.hero-youtube-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 177.77vh; /* Ratio 16:9 */
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  filter: brightness(0.85);
}

.hero-loaded .hero-bg-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 11, 0.72) 0%, rgba(8, 12, 11, 0.45) 45%, rgba(8, 12, 11, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.hero-header-badge {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #F3E5AB;
  border: 1px solid rgba(243, 229, 171, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: clamp(0.72rem, 0.7rem + 0.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  font-family: var(--font-serif-display, 'Cinzel', serif);
  font-size: var(--text-hero, clamp(3.5rem, 8vw, 7rem));
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title-sub,
.hero-subtitle {
  font-family: var(--font-serif-editorial, 'Playfair Display', serif);
  font-style: italic;
  font-size: var(--text-2xl, clamp(1.6rem, 3.5vw, 2.6rem));
  color: #F3E5AB;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-lead,
.hero-description {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  color: #F8FAFC;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Indicador de Scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: #FFFFFF;
}

.scroll-line-track {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line-runner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-gold-light);
  animation: scrollRunner 2s infinite ease-in-out;
}

@keyframes scrollRunner {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* --- 2. SECCIÓN: UN MUNDO DIVERSO POR DESCUBRIR (FONDO BLANCO) --- */
.diverse-world-section {
  background-color: #FFFFFF;
  position: relative;
}

.diverse-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.diverse-visual {
  position: relative;
}

.diverse-main-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
}

.diverse-main-image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.diverse-main-image-wrapper:hover .diverse-main-image {
  transform: scale(1.04);
}

.diverse-floating-badge {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  background: #FFFFFF;
  border: 1px solid var(--color-gold-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 240px;
}

.diverse-floating-badge span {
  font-family: var(--font-serif-display);
  color: var(--color-gold-subtle);
  font-size: 1.1rem;
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.diverse-floating-badge p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.diverse-content .section-heading {
  margin-bottom: 2rem;
  color: #111816;
}

.diverse-text-highlight {
  font-family: var(--font-serif-editorial);
  font-size: var(--text-lg);
  color: #111816;
  font-style: italic;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-emerald-accent);
  margin: 2rem 0;
  line-height: 1.7;
}

/* --- 3. SECCIÓN: EXPERIMENTA EN CADA LUGAR (GALERÍA ASIMÉTRICA) --- */
.gallery-section {
  background: #F9FAF9;
  position: relative;
}

.gallery-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.gallery-header h2 {
  color: #111816;
}

.asymmetric-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 14, 13, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: opacity var(--transition-fast), background var(--transition-fast);
}

.gallery-item-tag {
  font-size: var(--text-xs);
  color: #22C55E;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gallery-item-title {
  font-family: var(--font-serif-display);
  font-size: var(--text-lg);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-item-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-10px);
  opacity: 0;
  transition: all var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-item-arrow {
  transform: translateX(0);
  opacity: 1;
  background: #22C55E;
  color: #000;
}

/* Colocación Asimétrica */
.gallery-item-1 {
  grid-column: 1 / 7;
  grid-row: 1 / 5;
}

.gallery-item-2 {
  grid-column: 7 / 13;
  grid-row: 1 / 4;
}

.gallery-item-3 {
  grid-column: 1 / 6;
  grid-row: 5 / 9;
}

.gallery-item-4 {
  grid-column: 6 / 13;
  grid-row: 4 / 9;
}

/* --- 4. SECCIÓN: DISEÑAMOS VIAJES EXCLUSIVOS --- */
.exclusive-journeys-section {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
}

.exclusive-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.exclusive-bg-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: brightness(0.65);
}

.exclusive-content-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 13, 0.95) 0%, rgba(11, 14, 13, 0.75) 50%, rgba(11, 14, 13, 0.4) 100%);
  display: flex;
  align-items: center;
  padding: 4rem 5rem;
}

.exclusive-text-block {
  max-width: 680px;
}

.exclusive-quote {
  font-family: var(--font-serif-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.exclusive-quote .highlight-gold {
  color: #F3E5AB;
  display: block;
}

.exclusive-desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* --- 5. SECCIÓN: LUGARES MÁGICOS (CUSCO & COLLAGE) --- */
.magical-places-section {
  background: #FFFFFF;
}

.magical-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.magical-info h2 {
  color: #111816;
}

.magical-collage {
  position: relative;
  height: 520px;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-slow);
}

.collage-img-1 {
  width: 65%;
  height: 380px;
  top: 0;
  left: 0;
  z-index: 1;
}

.collage-img-2 {
  width: 55%;
  height: 320px;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 3px solid #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.collage-img:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 3;
}

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

/* Cuadrícula Dinámica para 3 o 4 Imágenes */
.magical-collage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 520px;
}

.collage-grid-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-subtle);
  position: relative;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.collage-grid-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 4;
}

.collage-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Si son 3 imágenes: 1 alta a la izquierda + 2 a la derecha */
.magical-collage-3 .collage-grid-item:nth-child(1) {
  grid-row: 1 / 3;
  height: 100%;
}
.magical-collage-3 .collage-grid-item:nth-child(2),
.magical-collage-3 .collage-grid-item:nth-child(3) {
  height: 250px;
}

/* Si son 4 imágenes: mosaico 2x2 armónico */
.magical-collage-4 .collage-grid-item {
  height: 250px;
}

/* --- 6. SECCIÓN: ¿POR QUÉ ELEGIR PERÚ? --- */
.why-peru-section {
  background: #F5F8F6;
}

.why-peru-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem;
}

.why-peru-intro h2 {
  color: #111816;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid rgba(18, 23, 21, 0.08);
  border-radius: var(--radius-md);
  padding: 3rem 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-emerald);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-primary);
  margin-bottom: 2rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.why-card:hover .why-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-emerald);
  color: #FFFFFF;
}

.why-card-title {
  font-family: var(--font-serif-display);
  font-size: var(--text-lg);
  margin-bottom: 1rem;
  color: #111816;
}

.why-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- 7. SECCIÓN DESTACADA: MACHU PICCHU CINEMATOGRÁFICO --- */
.machupicchu-video-section {
  background: #FFFFFF;
  position: relative;
}

.video-showcase-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

.video-showcase-container.in-view {
  transform: scale(1);
}

.video-poster-wrapper {
  position: relative;
  height: 600px;
  width: 100%;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 13, 0.4) 0%, rgba(11, 14, 13, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.play-video-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.95);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.6);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.play-video-btn:hover {
  transform: scale(1.15);
  background: #FFFFFF;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
}

.play-video-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-showcase-title {
  font-size: var(--text-2xl);
  max-width: 750px;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.video-showcase-desc {
  max-width: 640px;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
}

/* --- 8. SECCIÓN DE CONTACTO & FORMULARIO --- */
.contact-section {
  background: #F8FAF9;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-block h2 {
  color: #111816;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid rgba(184, 134, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-subtle);
  flex-shrink: 0;
}

.contact-detail-content span {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.contact-detail-content strong,
.contact-detail-content a {
  font-size: var(--text-base);
  color: #111816;
  font-weight: 600;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(18, 23, 21, 0.08);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111816;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #FAFAF9;
  border: 1px solid rgba(18, 23, 21, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.25rem;
  color: #111816;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-emerald-primary);
  box-shadow: 0 0 15px rgba(22, 163, 74, 0.15);
  outline: none;
  background: #FFFFFF;
}

.form-select option {
  background: #FFFFFF;
  color: #111816;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  cursor: pointer;
  margin-bottom: 2rem;
}

.form-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--color-emerald-primary);
}

/* --- 9. FOOTER & CERTIFICACIONES (TEMA CLARO DE ALTA GAMA) --- */
.site-footer {
  background: #F4F6F5;
  border-top: 1px solid rgba(18, 23, 21, 0.1);
  padding: 4.5rem 0 2.5rem;
  color: #475569;
}

.site-footer .brand-name {
  color: #111816;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-serif-display);
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #15803D;
  margin-bottom: 1.75rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list a {
  font-size: var(--text-sm);
  color: #334155;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #15803D;
}

.certifications-block {
  border-top: 1px solid rgba(18, 23, 21, 0.08);
  border-bottom: 1px solid rgba(18, 23, 21, 0.08);
  padding: 2.5rem 0;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.certifications-title {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #15803D;
}

.certifications-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cert-badge-item {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.cert-badge-item:hover {
  opacity: 1;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: #15803D;
  color: #FFFFFF;
  border-color: #15803D;
}
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: #22C55E;
  color: #000;
  transform: translateY(-2px);
}
