.header_container {
  width: 100%;
  height: 90px;
  display: flex;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  background-color: var(--background);
  position: fixed;
  z-index: 2;
  border-bottom: 1px solid var(--border);
}

.p_header {
  color: var(--muted-foreground);
  font-size: 14px;
}

.back_btn {
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  gap: 5px;
  color: var(--muted-foreground);
  font-size: 14px;
  transition: 0.3s ease-in-out;
  white-space: nowrap;
}

.back_btn:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.img_header {
  width: 100px;
  
}

.wsp_btn_header {
  display: flex;
  color: white;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background-color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  white-space: nowrap;
}

.wsp_btn_header:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.main_container {
  width: 100%;
  height: auto;
  padding-top: 90px;
  display: grid;
  place-items: center;
}

/* HERO */
.hero {
  width: 100%;
  height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image:
    linear-gradient(to top, rgba(30, 40, 25, 0.75) 0%, rgba(30, 40, 25, 0.5) 60%, transparent 100%),
    url(assets/heroHab.webp);
  background-size: cover;
  background-position: center 100%;
  background-repeat: no-repeat;
  position: relative;
}

.hero_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
  gap: 8px;
}

.hero_title { font-size: 50px; }
.hero_subtitle { font-size: 25px; }

.hero_info p {
  font-size: 12px;
  font-weight: bold;
  color: var(--accent);
}

.scroll_indicator {
  width: 34px;
  height: 58px;
  border: 2px solid white;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  position: absolute;
  bottom: 40px;
}

.scroll_dot {
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
  0%   { transform: translateY(0);    opacity: 1;   }
  50%  { transform: translateY(14px); opacity: 0.5; }
  100% { transform: translateY(0);    opacity: 1;   }
}

.info_hab {
  width: 100%;
  padding: 120px 8%;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

.header_section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.title_header_section {
  font-size: 32px;
  color: var(--primary);
}

.line {
  width: 75px;
  height: 3px;
  background-color: var(--muted-foreground);
  border-radius: 2px;
}

.info_grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info_cards {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info_cards:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.info_cards ion-icon {
  font-size: 42px;
  color: var(--primary);
  padding: 16px;
  border-radius: 50%;
  background-color: rgba(107, 123, 94, 0.1);
}

.info_cards p {
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.5;
}

.habs_img_article {
  width: 100%;
  display: grid;
  place-items: center;
}

.img_act_bg {
  width: 100%;
  height: 600px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius);
  background-image:
    linear-gradient(to top, rgba(30, 40, 25, 0.75) 0%, rgba(30, 40, 25, 0.5) 60%, transparent 100%),
    url(assets/habitaciones/DSCN5813.webp);
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.img_act_bg h3 { font-size: 25px; color: white; }
.img_act_bg p  { width: 600px; text-align: center; color: white; }

.grid_img {
  width: 100%;
  padding-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.room_wrapper {
  border-radius: var(--radius);
  overflow: hidden;
}

.room {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.room_wrapper:hover .room  { transform: scale(1.06); }
.room_wrapper:hover .bird  { transform: scale(1.06); }

.breakfast_article {
  display: grid;
  padding-top: 80px;
  place-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.breakfast_img {
  width: 70%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(54, 54, 44, 0.15), 0 2px 8px rgba(68, 68, 68, 0.08);
}

.break_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  color: var(--muted-foreground);
}

.break_info h4 {
  font-weight: bold;
  font-size: 23px;
  color: var(--foreground);
}

.shared_spaces_section {
  width: 100%;
  padding: 120px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  background-color: var(--muted);
}

.space_card_article {
  width: 100%;
  height: 500px;
  display: flex;
  gap: 30px;
}

.space_background {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: var(--radius);
  color: white;
  padding: 0 30px 30px 30px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.space_background::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: background 0.3s ease;
}

.space_background:hover::before {
  background: rgba(0, 0, 0, 0.15);
}

.space_background h4 { position: relative; z-index: 1; font-size: 18px; }
.space_background p  { position: relative; z-index: 1; font-size: 12px; }

.galery {
  background-image:
    linear-gradient(to top, rgba(30, 40, 25, 0.75) 0%, rgba(30, 40, 25, 0.5) 50%, transparent 100%),
    url(assets/habitaciones/galeria.webp);
  background-size: cover;
  background-position: center;
}

.pool {
  background-image:
    linear-gradient(to top, rgba(30, 40, 25, 0.75) 0%, rgba(30, 40, 25, 0.5) 50%, transparent 100%),
    url(assets/habitaciones/pile.webp);
  background-size: cover;
  background-position: center;
}

.grill {
  background-image:
    linear-gradient(to top, rgba(30, 40, 25, 0.75) 0%, rgba(30, 40, 25, 0.5) 50%, transparent 100%),
    url(assets/habitaciones/quincho.webp);
  background-size: cover;
  background-position: center;
}

.native_garden_section {
  width: 100%;
  padding: 120px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

.garden_article {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}

.bird {
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in-out;
}

/* ── RESERVE SECTION ── */
.reserve_section {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reserve_special {
  padding: 80px 8%;
  background-color: #8ea37d;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.reserve_special_title { font-size: 32px; color: #ffffff; }

.reserve_special_p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}

.reserve_btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn_wsp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--secondary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn_wsp:hover {
  background-color: #c4945f;
  transform: translateY(-2px);
}

.btn_posada {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background-color: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn_posada:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.reserve_note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.res_exp {
  padding: 80px 8%;
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

.res_exp_title { font-size: 32px; color: var(--primary); }

.res_exp p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-foreground);
  max-width: 440px;
}

.btn_reserve_big {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn_reserve_big:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.wsp_btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wsp_btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

@media (max-width: 1440px) {
  .grid_img          { grid-template-columns: repeat(2, 1fr); }
  .breakfast_img     { width: 100%; }
  .space_card_article{ height: 380px; }
  .img_act_bg        { height: 480px; }
  /* JARDÍN */
}

@media (max-width: 1024px) {
  .info_grid         { grid-template-columns: repeat(2, 1fr); }
  .nature_grid       { grid-template-columns: repeat(2, 1fr); }
  .reserve_section   { grid-template-columns: 1fr; }
  .breakfast_article { grid-template-columns: 1fr; gap: 40px; }
  .breakfast_img     { width: 100%; }
  .img_act_bg p      { width: 100%; padding: 0 20px; }

  .space_card_article {
    height: auto;
    flex-direction: column;
    gap: 20px;
  }

  .space_background  { height: 300px; }
}

@media (max-width: 768px) {
  /* HEADER */
  .header_container  { padding: 0 16px; height: 64px; }
  .p_header          { display: none; }
  .img_header        { width: 70px; }
  .back_btn          { font-size: 13px; padding: 6px 8px; }
  .back_btn span     { display: none; }
  .wsp_btn           { padding: 8px 12px; font-size: 13px; }
  .wsp_btn span      { display: none; }

  /* MAIN */
  .main_container    { padding-top: 64px; }
  .hero              { height: calc(100vh - 64px); }

  /* HERO */
  .hero_title        { font-size: 28px; }
  .hero_subtitle     { font-size: 16px; }
  .hero_info p       { font-size: 11px; padding: 0 16px; }
  .scroll_indicator  { display: none; }

  /* SECTIONS padding */
  .info_hab,
  .shared_spaces_section,
  .native_garden_section,
  .nature_section    { padding: 60px 5%; gap: 40px; }

  /* AMENITIES */
  .info_grid         { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .info_cards        { padding: 20px 12px; gap: 12px; }
  .info_cards ion-icon { font-size: 28px; padding: 10px; }
  .info_cards p      { font-size: 13px; }

  /* CARD GRANDE HAB */
  .img_act_bg        { height: 320px; padding: 20px; }
  .img_act_bg h3     { font-size: 18px; }
  .img_act_bg p      { font-size: 13px; }

  /* GALERÍA */
  .grid_img          { grid-template-columns: repeat(2, 1fr); gap: 10px; padding-top: 30px; }

  /* DESAYUNO */
  .breakfast_article { padding-top: 40px; gap: 24px; }
  .break_info h4     { font-size: 20px; }
  .break_info p      { font-size: 14px; }

  /* ESPACIOS */
  .space_card_article{ flex-direction: column; height: auto; }
  .space_background  { height: 240px; }

  /* NATURE */
  .nature_grid       { grid-template-columns: 1fr; }
  .nature_card       { padding: 28px 20px; }

  /* RESERVE */
  .reserve_section   { grid-template-columns: 1fr; }
  .reserve_special,
  .res_exp           { padding: 48px 5%; }
  .reserve_special_title,
  .res_exp_title     { font-size: 22px; }
  .reserve_btns      { flex-direction: column; }
  .btn_posada,
  .btn_reserve_big   { width: 100%; justify-content: center; font-size: 14px; }

  .garden_article { 
     grid-template-columns: repeat(2,1fr);
     gap: 20px; }
  
  /* TIPOGRAFÍA */
  .title_header_section { font-size: 24px; }
  .wsp_btn { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
}

@media (max-width: 480px) {
  .info_grid         { grid-template-columns: 1fr; }
  .grid_img          { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero_title        { font-size: 24px; }
  .title_header_section { font-size: 20px; }
  .nature_grid       { grid-template-columns: 1fr; }
}