:root {
  --obelisco-primary: #0f172a;
  --obelisco-accent: #004aad;
  --obelisco-gold: #f4b000;
  --obelisco-cta: #f97316;
  --obelisco-cta-hover: #ea580c;
  --obelisco-bg: #f5f5f7;
  --obelisco-dark: #020617;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background-color: var(--obelisco-bg);
}

a {
  text-decoration: none;
}

/* ================= NAVBAR ================= */

.navbar {
  background-color: #020617;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(244, 176, 0, 0.35);
  /* línea muy fina clara */
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #f9fafb;
  /* texto claro */
}

/* Desktop / tablet: tamaño normal */
.navbar-brand img {
  height: 28px;
  width: auto;
  display: inline-block;
}

/* Mobile: logo más pequeño y un poco más compacto */
@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 20px;
    /* prueba 20px, si aún es grande, baja a 18px */
    margin-right: 0.35rem;
    /* un poquito menos espacio con el texto */
  }

  .navbar-brand {
    font-size: 0.8rem;
    /* opcional, texto un pelín más chico */
  }
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #e5e7eb;
  /* gris claro */
  transition: color 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #f97316;
  /* naranja CTA */
}

.navbar-toggler {
  border-color: rgba(248, 250, 252, 0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(248,250,252,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ajuste de color para el brand del navbar */
.navbar-brand,
.navbar-brand:link,
.navbar-brand:visited {
  color: #f9fafb;
}

.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
  color: #f9fafb;
  opacity: 0.9;
  /* leve feedback visual */
  text-decoration: none;
  /* sin subrayado */
}

/* Colores por defecto de links en el navbar */
.navbar-nav .nav-link,
.navbar-nav .nav-link:visited {
  color: #e5e7eb;
}

/* Estado activo */
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link[aria-current="page"] {
  color: #f97316 !important;
  /* naranja CTA */
  font-weight: 600;
}

/* ================= PAGE HERO (Tours index) ================= */
/* Compensa el navbar fixed-top */
.page-hero {
  padding-top: 6.75rem;
  /* separa el contenido del navbar */
  padding-bottom: 1.75rem;
}

/* En desktop el navbar suele ser un poco más alto */
@media (min-width: 992px) {
  .page-hero {
    padding-top: 7.25rem;
  }
}

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

.btn-cta-main {
  background-color: var(--obelisco-cta);
  border-color: var(--obelisco-cta);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.45);
  transform: translateY(0);
  transition: background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-cta-main:hover {
  background-color: var(--obelisco-cta-hover);
  border-color: var(--obelisco-cta-hover);
  color: #0b1120;
  box-shadow: 0 18px 40px rgba(194, 65, 12, 0.55);
  transform: translateY(-1px);
}

.btn-cta-main:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.45);
}

/* Botón secundario genérico (FAQ, etc.) */
.btn-secondary-outline {
  border-color: #e5e7eb;
  color: #111827;
  background-color: transparent;
}

.btn-secondary-outline:hover {
  background-color: #e5e7eb;
  color: #111827;
}

/* Botones de idioma dentro del navbar (override) */
.navbar .btn-secondary-outline {
  border-color: rgba(248, 250, 252, 0.4);
  color: #e5e7eb;
  background-color: transparent;
}

.navbar .btn-secondary-outline:hover {
  background-color: rgba(248, 250, 252, 0.1);
  color: #ffffff;
  border-color: rgba(248, 250, 252, 0.9);
}

/* Secondary button sobre hero oscuro */
.btn-hero-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #f9fafb;
  background-color: transparent;
  font-weight: 500;
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

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

.hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 5.5rem;
  color: #ffffff;
  overflow: hidden;
  /* la imagen se sobreescribe por JS, esto es solo fallback */
  background-image: linear-gradient(115deg,
      rgba(15, 23, 42, 0.96) 0%,
      rgba(15, 23, 42, 0.92) 38%,
      rgba(15, 23, 42, 0.72) 60%,
      rgba(15, 23, 42, 0.25) 100%),
    url("/img/hero-mirador-1.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-logo-img {
  max-width: 320px;
  height: auto;
}

@media (max-width: 576px) {
  .hero-logo-img {
    max-width: 220px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-badge span {
  color: var(--obelisco-gold);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-subtitle-strap {
  font-size: 0.95rem;
  color: #d1d5db;
}

.hero-stats {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 1.1rem;
  background-color: #020617;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.hero-stat-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.hero-stat-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5e7eb;
}

.hero-microcopy {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* texto destacado sobre hero oscuro, un poco más “luminoso” */
.hero-microcopy-dark {
  font-size: 0.9rem;
  color: #c7d2fe;
}

.hero-benefits-snippet {
  font-size: 0.9rem;
  color: #cbd5f5;
  font-weight: 500;
}

@media (min-width: 992px) {
  .hero {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }
}

/* ============ BOOKING CARD ================= */

.booking-card {
  background-color: #020617;
  color: #f9fafb;
  border-radius: 1.5rem;
  padding: 1.7rem 1.6rem 1.9rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(22px);
  max-width: 400px;
  margin-left: auto;
  border: 1px solid rgba(244, 176, 0, 0.35);
}

@media (min-width: 992px) {
  .booking-card {
    max-width: 420px;
    /* un pelín más ancha en desktop */
  }
}

.booking-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.2rem;
}

.booking-card small {
  font-size: 0.8rem;
  color: #e5e7eb;
}

.booking-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.booking-card .form-control,
.booking-card .form-select {
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background-color: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
}

.booking-card .form-control:focus,
.booking-card .form-select:focus {
  border-color: var(--obelisco-gold);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.4);
  background-color: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
}

.booking-price {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.booking-price strong {
  font-size: 0.95rem;
}

.booking-trust {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.booking-trust span {
  color: #4ade80;
  font-weight: 500;
}

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

main {
  background-color: var(--obelisco-bg);
}

/* helper heredado (home / historia) */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--obelisco-accent);
  font-weight: 600;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
}

.section-subtitle {
  max-width: 40rem;
  color: #4b5563;
}

/* helper genérico para páginas de producto / contenido */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-light {
  background-color: #f9fafb;
}

.section-white {
  background-color: #ffffff;
}


/* ============ MODIFICADORES DE SECCIÓN (PRODUCTOS) ========== */
/* Se usan en páginas EN/PT (y algunos productos ES) para headers y bloques alternativos */

.section--alt {
  background-color: #ffffff;
}

.section--dark {
  position: relative;
  background-color: #020617;
  color: #f9fafb;
  overflow: hidden;
  background-image: linear-gradient(
    115deg,
    rgba(15, 23, 42, 0.96) 0%,
    rgba(15, 23, 42, 0.92) 38%,
    rgba(15, 23, 42, 0.72) 60%,
    rgba(15, 23, 42, 0.25) 100%
  );
}

/* Tipografía y colores dentro de headers oscuros */
.section--dark .section-eyebrow {
  color: #facc15;
  opacity: 0.95;
}

.section--dark .section-title {
  color: #f9fafb;
}

.section--dark .section-subtitle {
  color: #d1d5db;
}

.section--dark .section-subtitle strong {
  color: #ffffff;
}

/* Microcopy: cuando se usa en fondos claros, aumentamos contraste */
.section--alt .hero-microcopy-dark,
.section-white .hero-microcopy-dark,
.section-light .hero-microcopy-dark,
.section-padding .hero-microcopy-dark {
  color: #334155;
}

/* Feature cards (templates EN/PT) */
.feature-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.section--dark .feature-card {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: none;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(244, 176, 0, 0.18);
  color: #facc15;
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.section--dark .feature-title {
  color: #f9fafb;
}

.feature-text {
  font-size: 0.9rem;
  color: #6b7280;
}

.section--dark .feature-text {
  color: #d1d5db;
}

/* Info cards (incluye / no incluye / información útil) */
.info-card {
  background-color: #ffffff;
  border-radius: 1.3rem;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.info-card .h5,
.info-card h2 {
  font-weight: 600;
  margin-bottom: 0.8rem;
}


/* ============ BENEFICIOS ==================== */

.benefit-card {
  background-color: #ffffff;
  border-radius: 1.3rem;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
  height: 100%;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--obelisco-accent);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.benefit-icon i {
  font-size: 1.4rem;
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.benefit-text {
  font-size: 0.9rem;
  color: #6b7280;
}

.experience-accessibility {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: #f9fafb;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.experience-accessibility i {
  color: #2563eb;
  font-size: 0.95rem;
}

/* ============ TARJETAS DE ENTRADAS ========= */

.ticket-card {
  background-color: #ffffff;
  border-radius: 1.4rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ticket-card img {
  border-top-left-radius: 1.4rem;
  border-top-right-radius: 1.4rem;
  object-fit: cover;
  height: 210px;
}

.ticket-card,
.testimonial-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ticket-card:hover,
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ticket-body {
  padding: 1.5rem 1.5rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ticket-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.ticket-price {
  font-size: 0.9rem;
  color: #4b5563;
}

.ticket-price strong {
  font-size: 1rem;
}

.ticket-header h3 {
  margin-right: 0.5rem;
}

.ticket-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: normal;
  line-height: 1.2;
}

.ticket-tag i {
  font-size: 0.9rem;
  line-height: 1;
  position: relative;
  top: -1px;
}

/* ============ TESTIMONIOS =================== */

.testimonial-card {
  background-color: #ffffff;
  border-radius: 1.4rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
  height: 100%;
}

.testimonial-stars {
  color: #facc15;
  font-size: 0.95rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #4b5563;
}

.visitor-counter {
  font-size: 0.9rem;
  color: #4b5563;
}

.visitor-counter strong {
  font-size: 1.1rem;
  color: var(--obelisco-accent);
}

/* ============== GALERÍA DE FOTOS =================*/
.gallery-section {
  background-color: #ffffff;
  /* alterna con las secciones #f9fafb */
}

.gallery-carousel {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid #e5e7eb;
}

.gallery-carousel img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Opcional: suavizar los controles del carrusel sobre el fondo claro */
.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
  filter: invert(1) drop-shadow(0 0 6px rgba(15, 23, 42, 0.6));
}


/* ============== GALERÍA (COLLAGE) – MÁS PLANES ================= */
/* 
  Used in combo pages under the "More plans near the Obelisk" card.
  Two images side by side (collage) with consistent radius and shadow.
*/
.nearby-gallery {
  display: flex;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  background: #ffffff;
}

.nearby-gallery__item {
  flex: 0 0 32%;
}

.nearby-gallery__item--wide {
  flex: 1;
}

.nearby-gallery__item:first-child {
  border-right: 1px solid rgba(15, 23, 42, 0.12);
}

.nearby-gallery img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .nearby-gallery img {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .nearby-gallery {
    flex-direction: column;
  }

  .nearby-gallery__item,
  .nearby-gallery__item--wide {
    flex: 0 0 auto;
  }

  .nearby-gallery__item:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  }

  .nearby-gallery img {
    height: 200px;
  }
}


/* ================== HISTORIA ================== */

.history-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Alternancia clara/blanca para que respiren las secciones */
.history-section:nth-of-type(odd) {
  background-color: #f9fafb;
  /* claro */
}

.history-section:nth-of-type(even) {
  background-color: #ffffff;
  /* blanco */
}

/* Opcional: ajustar subtítulos de historia */
.history-section .section-subtitle {
  max-width: 44rem;
}

/* ============ PLANIFICA TU VISITA ========== */
#planifica-visita .section-subtitle {
  max-width: 34rem;
}

#planifica-visita h2 {
  margin-bottom: 0.75rem;
}

/* ============ CONTACTO ===================== */

.contact-section {
  background-color: #ffffff;
  /* alterna con el #f9fafb del FAQ */
}

.contact-form .form-label,
.contact-card .form-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form .form-control,
.contact-form textarea,
.contact-card .form-control,
.contact-card textarea {
  font-size: 0.9rem;
}

.contact-form .btn-cta-main,
.contact-card .btn-cta-main {
  margin-top: 0.5rem;
}

/* Card-style form used on product pages (EN/PT/ES) */
.contact-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.4rem 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

@media (max-width: 576px) {
  .contact-card {
    padding: 1.1rem 1rem;
  }
}

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

.footer {
  background-color: var(--obelisco-dark);
  color: #9ca3af;
}

.footer a {
  color: #e5e7eb;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-logo-wrapper {
  margin-bottom: 0.75rem;
}

.footer-logo {
  max-width: 140px;
  /* si lo ves grande: 120 o 110 */
  height: auto;
  display: inline-block;
}

@media (max-width: 576px) {
  .footer-logo {
    max-width: 90px;
  }
}

.footer-tagline {
  max-width: 260px;
}

/* efecto suave al pasar el mouse por el logo */
.footer-logo-link img {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.footer-logo-link img:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* ========== FONDOS COLOR ALTERNADO POR SECCION (HOME / HISTORIA) ============= */

#experiencia.section-padding,
#entradas.section-padding,
#planifica.section-padding,
#contacto.section-padding {
  background-color: #f9fafb;
}

#galeria.section-padding,
#testimonios.section-padding,
#faq.section-padding {
  background-color: #ffffff;
}

#hist-origen,
#hist-mirador {
  background-color: #f9fafb;
}

#hist-arquitectura,
#hist-timeline {
  background-color: #ffffff;
}

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

@media (max-width: 991.98px) {
  .booking-card {
    margin: 2rem auto 0;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .hero-stats {
    margin-top: 1.2rem;
  }
}

/* ================== PHOTO GALLERY (MODAL) ================== */
/* Re-usable lightbox-style modal powered by Bootstrap Modal + Carousel */
.photo-gallery-modal {
  background: #0b1220;
  color: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.6);
}

.photo-modal-img {
  max-height: 75vh;
  width: 100%;
  object-fit: contain;
  background: #0b1220;
  border-radius: 0.75rem;
}

.nearby-gallery img.js-gallery-thumb {
  cursor: zoom-in;
}

.nearby-gallery img.js-gallery-thumb:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.95);
  outline-offset: 3px;
  border-radius: 0.75rem;
}

#photoGalleryModal .carousel-control-prev-icon,
#photoGalleryModal .carousel-control-next-icon {
  filter: invert(1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.65));
}
