/* ======================================
   HOTEL RUTA ROMANA — Landing Pages CSS
   Estilo fiel al index de hotelrutaromana.com
   ====================================== */

:root {
  --orange: #ff6600;
  --dark-bg: #0a0a0a;
  --dark-section: #1a1a1a;
  --light-bg: #f8f8f8;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-radius: 6px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --gutter: 1rem;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ======================================
   Contenedor
   ====================================== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gutter) 0;
}

/* ======================================
   HEADER & NAVBAR
   ====================================== */
header {
  background: var(--dark-bg);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Menú toggle (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.25rem;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--orange); }

.btn-reservar {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-reservar:hover { background: #e65500; }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: var(--dark-bg);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    border-top: 2px solid var(--orange);
  }
  .nav-menu.open { display: flex; }
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-menu ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #222;
  }
}

/* ======================================
   HERO BANNER DE CAMPAÑA
   ====================================== */
.hero-campaign {
  position: relative;
  background: var(--dark-bg);
  color: var(--text-light);
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-campaign::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-campaign .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-campaign .hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-campaign .badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.hero-campaign h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-campaign h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-campaign .hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #eee;
}

.hero-campaign .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #e65500; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border: 2px solid #fff;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.btn-secondary:hover { background: #fff; color: var(--dark-bg); }

/* ======================================
   SECCIÓN: PROPUESTA DE VALOR (iconos)
   ====================================== */
.value-props {
  background: #fff;
  padding: 3rem 0;
}

.value-props h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.value-props h2 span { color: var(--orange); }

.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.prop-item {
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  border: 2px solid #f0f0f0;
  transition: border-color var(--transition), transform var(--transition);
}
.prop-item:hover { border-color: var(--orange); transform: translateY(-4px); }

.prop-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.prop-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.prop-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ======================================
   SECCIÓN: IMÁGENES DE CAMPAÑA
   ====================================== */
.campaign-images {
  background: var(--dark-section);
  padding: 3rem 0;
}

.campaign-images h2 {
  text-align: center;
  color: var(--text-light);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.campaign-images .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.images-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.images-duo img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}
.images-duo img:hover { transform: scale(1.02); }

/* ======================================
   SECCIÓN: INFORMACIÓN DETALLADA
   ====================================== */
.info-detail {
  background: #fff;
  padding: 3rem 0;
}

.info-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-detail h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.info-detail h2 span { color: var(--orange); }

.info-detail p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-list li::before {
  content: "✓";
  background: var(--orange);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box-orange {
  background: var(--orange);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
}

.info-box-orange h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.info-box-orange p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.info-box-orange a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .info-detail .container { grid-template-columns: 1fr; }
}

/* ======================================
   SECCIÓN: CTA WHATSAPP
   ====================================== */
.cta-whatsapp {
  background: var(--dark-bg);
  padding: 3rem 0;
  text-align: center;
}

.cta-whatsapp h2 {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta-whatsapp p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.btn-whatsapp img {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.cta-phone {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.cta-phone a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

/* ======================================
   SECCIÓN: MAPA / UBICACIÓN
   ====================================== */
.location-section {
  background: #fff;
  padding: 3rem 0;
}

.location-section h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.location-info {
  background: var(--orange);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  color: #fff;
}

.location-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.location-info p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.9);
}

.location-info a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.map-embed {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* ======================================
   FOOTER
   ====================================== */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 2.5rem 0 1rem;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-col p {
  font-size: 0.875rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-col .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-col .social-links a img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-col .social-links a img:hover { opacity: 1; transform: scale(1.1); }

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-keywords {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #444;
  line-height: 1.8;
}

@media (max-width: 768px) {
  footer .container { flex-direction: column; }
  .footer-col { min-width: 100%; }
}

/* ======================================
   BOTÓN FLOTANTE WHATSAPP
   ====================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ======================================
   BACK TO TOP
   ====================================== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.back-to-top.visible { opacity: 0.8; pointer-events: auto; }
.back-to-top:hover { opacity: 1; }

/* ======================================
   SECCIÓN TESTIMONIOS
   ====================================== */
.testimonials {
  background: #000;
  padding: 2.5rem 0;
}

.testimonials h2 {
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.testimonial {
  background: var(--orange);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  text-align: center;
}

.testimonial .stars { font-size: 1.2rem; margin-bottom: 0.5rem; }

.testimonial p {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.testimonial .author {
  font-weight: 700;
  color: #000;
  font-size: 0.85rem;
}

/* ======================================
   RESPONSIVE GENERAL
   ====================================== */
@media (max-width: 480px) {
  .hero-campaign h1 { font-size: 1.6rem; }
  .hero-campaign .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .props-grid { grid-template-columns: 1fr 1fr; }
  .images-duo { grid-template-columns: 1fr; }
}
