/* ============================================================
   VARIABLES & BASE
   ============================================================ */
:root {
  --green-dark:  #1a3320;
  --green-mid:   #2d5a2d;
  --green-light: #4a7c59;
  --green-pale:  #e8f0e8;
  --brown-dark:  #3d2b1f;
  --brown-mid:   #7a5c44;
  --brown-light: #c4a882;
  --cream:       #f5f0e8;
  --cream-dark:  #ede8dc;
  --gold:        #c9a84c;
  --white:       #ffffff;
  --text-dark:   #2c1f14;
  --text-mid:    #5a4a3a;
  --text-light:  #8a7a6a;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.14);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.2);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all 0.3s ease;
}

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

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.8); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--green-mid); border-color: var(--green-mid); }
.btn-outline-dark:hover { background: var(--green-mid); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   SECTION LABELS & HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section-label.light { color: var(--brown-light); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 16px; }
.section-header p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(26, 51, 32, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; color: var(--gold); }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.38);
  color: rgba(255,255,255,0.82);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

.btn-book {
  background: var(--gold);
  color: var(--brown-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}
.btn-book:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  z-index: 1001;
  position: relative;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 38, 18, 0.35) 0%,
    rgba(18, 38, 18, 0.6)  50%,
    rgba(18, 38, 18, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  animation: scrollBounce 2.2s infinite;
  z-index: 2;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.55);
  border-bottom: 2px solid rgba(255,255,255,0.55);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ============================================================
   ABOUT / NOSOTROS
   ============================================================ */
.about { padding: 100px 0; background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text h2 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--green-dark); margin-bottom: 20px; }
.about-text .section-label { color: var(--green-mid); }
.about-text p { color: var(--text-mid); margin-bottom: 16px; font-size: 1.02rem; line-height: 1.85; }
.about-text .btn { margin-top: 8px; }

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-image:hover img { transform: scale(1.04); }

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--cream-dark);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2.3rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   ROOMS / HABITACIONES
   ============================================================ */
.rooms { padding: 100px 0; background: var(--green-dark); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.room-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.room-card:hover .room-img img { transform: scale(1.07); }

.room-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.room-info { padding: 28px; }
.room-info h3 { font-size: 1.35rem; color: var(--green-dark); margin-bottom: 10px; }
.room-info p { color: var(--text-mid); font-size: 0.93rem; margin-bottom: 16px; line-height: 1.72; }

.room-amenities { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.room-amenities span { font-size: 0.78rem; color: var(--text-light); background: var(--cream); padding: 4px 12px; border-radius: 50px; }

/* ============================================================
   RESTAURANT / RESTAURANTE
   ============================================================ */
.restaurant { background: var(--brown-dark); }

.restaurant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.restaurant-image { overflow: hidden; }
.restaurant-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.restaurant-image:hover img { transform: scale(1.04); }

.restaurant-content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.restaurant-content h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white); margin-bottom: 20px; }
.restaurant-content p { color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.85; margin-bottom: 16px; }

.rest-highlights { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }

.rest-item { display: flex; align-items: flex-start; gap: 16px; }
.rest-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.rest-item strong { display: block; color: var(--gold); font-size: 0.98rem; margin-bottom: 3px; }
.rest-item span { color: rgba(255,255,255,0.66); font-size: 0.88rem; }

/* ============================================================
   SURROUNDINGS / ENTORNO
   ============================================================ */
.surroundings { padding: 100px 0; background: var(--cream); }

.surroundings .section-header h2 { color: var(--green-dark); }
.surroundings .section-header p { color: var(--text-mid); }
.surroundings .section-label { color: var(--green-mid); }

.surr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.surr-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.surr-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.surr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.surr-card:hover .surr-img img { transform: scale(1.07); }

.surr-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,40,18,0.92) 0%, rgba(18,40,18,0.08) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.surr-overlay h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.surr-overlay p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.surr-card:hover .surr-overlay p { opacity: 1; transform: translateY(0); }

/* ============================================================
   ROUTES / RUTAS DESTACADAS
   ============================================================ */
.routes-section {
  margin-top: 80px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px 48px;
  box-shadow: var(--shadow-sm);
}

.routes-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.routes-header h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--green-dark);
  margin-bottom: 14px;
}
.routes-header p { color: var(--text-mid); font-size: 1rem; line-height: 1.75; }

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

.route-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.route-img { aspect-ratio: 16/9; overflow: hidden; }
.route-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.route-card:hover .route-img img { transform: scale(1.06); }

.route-info { padding: 24px; }
.route-info h4 { font-size: 1.15rem; color: var(--green-dark); margin-bottom: 8px; }
.route-info p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.68; }

.route-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-light);
}

.difficulty {
  padding: 3px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}
.difficulty.baja       { background: #d4edda; color: #155724; }
.difficulty.media      { background: #fff3cd; color: #856404; }
.difficulty.media-alta { background: #ffe0cc; color: #a0440a; }

@media (max-width: 900px) {
  .routes-grid { grid-template-columns: 1fr; }
  .routes-section { padding: 36px 24px 32px; }
}

/* ============================================================
   REVIEWS / OPINIONES
   ============================================================ */
.reviews { padding: 100px 0; background: var(--cream-dark); }
.reviews .section-header h2 { color: var(--green-dark); }
.reviews .section-header p  { color: var(--text-mid); }
.reviews .section-label     { color: var(--green-mid); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.review-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }

.review-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}
.review-name { display: block; font-size: 0.95rem; color: var(--text-dark); }
.review-date { font-size: 0.78rem; color: var(--text-light); }

.review-source {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  white-space: nowrap;
}
.review-source--google     { background: #e8f0fe; color: #1a73e8; }
.review-source--tripadvisor { background: #e6f4ea; color: #00aa6c; }

.review-ratings {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.review-ratings span { display: flex; justify-content: space-between; gap: 12px; }
.review-ratings strong { color: var(--text-dark); }

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

/* ============================================================
   CONTACT / CONTACTO
   ============================================================ */
.contact { padding: 100px 0; background: var(--green-dark); }

.contact .section-header h2 { color: var(--white); }
.contact .section-label { color: var(--brown-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 30px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.contact-item p, .contact-item a { color: rgba(255,255,255,0.82); font-size: 1rem; }
.contact-item a:hover { color: var(--gold); }

.contact-cta { margin-top: 8px; }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-map iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--brown-dark); padding: 64px 0 30px; }

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 44px;
}

.footer-brand { display: flex; flex-direction: column; }
.footer-brand .logo-icon { font-size: 2rem; color: var(--gold); margin-bottom: 4px; }
.footer-brand .logo-text { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }

.footer-contact p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .restaurant-content { padding: 60px 50px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--green-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a { font-size: 1.5rem; font-family: 'Playfair Display', serif; }
  .nav-actions { z-index: 1001; position: relative; }
  .btn-book { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: repeat(2, 1fr); }

  .rooms-grid { grid-template-columns: 1fr; }

  .restaurant-grid { grid-template-columns: 1fr; }
  .restaurant-image { height: 300px; }
  .restaurant-content { padding: 50px 30px; }

  .surr-grid { grid-template-columns: 1fr; }
  .surr-overlay p { opacity: 1; transform: translateY(0); }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .section-header { margin-bottom: 44px; }
}
