/**
 * @Name site.css
 * @Description Public styles for the El Hamaquero migration.
 * @Author Atlas
 * @Date 2026-05-10
 */

:root {
  --eh-green: #3d402c;
  --eh-green-dark: #252819;
  --eh-gold: #cc7d14;
  --eh-gold-light: #e7962b;
  --eh-sand: #fceee1;
  --eh-sand-deep: #efd6bd;
  --eh-sea: #62baac;
  --eh-white: #ffffff;
  --eh-text: #0a0a0a;
  --eh-muted: #626262;
  --eh-shadow: 0 16px 40px rgba(29, 42, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--eh-text);
  background: var(--eh-white);
  font-family: Montserrat, "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.eh-icon {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
}

.eh-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #092d3d;
  border-bottom: 1px solid rgba(251, 238, 223, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(61, 64, 44, 0.18);
}

.eh-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: #fbeedf;
}

.eh-logo {
  width: 120px;
  height: auto;
}

.eh-brand__sub {
  color: #fbeedf;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.eh-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.eh-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  color: #fbeedf;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.eh-nav a.is-active,
.eh-nav a:hover {
  color: #cc7d14;
}

.eh-header__booking,
.eh-button,
.eh-room-card a,
.eh-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.eh-header__booking {
  gap: 8px;
}

.eh-header__booking,
.eh-button--primary {
  background: var(--eh-green);
  color: var(--eh-white);
}

.eh-button--secondary {
  background: var(--eh-gold);
  color: var(--eh-green-dark);
}

.eh-button--ghost {
  border: 1px solid rgba(47, 95, 74, 0.35);
  color: var(--eh-green-dark);
}

.eh-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(251, 238, 223, 0.24);
  background: transparent;
}

.eh-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fbeedf;
}

.eh-hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  padding: clamp(72px, 12vw, 140px) clamp(20px, 6vw, 80px);
  background:
    linear-gradient(180deg, rgba(29, 42, 36, 0.2), rgba(29, 42, 36, 0.75)),
    url("../img/hero.jpg") center/cover no-repeat;
  color: var(--eh-white);
}

.eh-hero__content {
  max-width: 760px;
}

.eh-kicker {
  margin: 0 0 12px;
  color: var(--eh-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.eh-hero h1,
.eh-page-hero h1,
.eh-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.eh-section h2,
.eh-page-hero h1 {
  color: var(--eh-green-dark);
  font-size: clamp(2rem, 4vw, 4rem);
}

.eh-hero p {
  max-width: 640px;
  font-size: 1.12rem;
}

.eh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.eh-section,
.eh-page {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

.eh-section--tour {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  background: var(--eh-sand);
}

.eh-section__heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.eh-room-grid,
.eh-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.eh-room-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eh-room-card,
.eh-route-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(47, 95, 74, 0.14);
  border-radius: 8px;
  box-shadow: var(--eh-shadow);
}

.eh-route-card img {
  width: calc(100% + 36px);
  max-width: none;
  height: 180px;
  margin: -18px -18px 18px;
  object-fit: cover;
}

.eh-room-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--eh-sand);
}

.eh-room-card div,
.eh-route-card {
  padding: 18px;
}

.eh-room-card h3,
.eh-route-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
  color: var(--eh-green-dark);
}

.eh-room-card p,
.eh-route-card p,
.eh-route-card li {
  color: var(--eh-muted);
}

.eh-room-card a {
  margin-top: 12px;
  background: var(--eh-sand);
  color: var(--eh-green-dark);
}

.eh-link {
  margin-top: 24px;
  color: var(--eh-green);
}

.eh-routes {
  background: #092d3d;
  color: #fbeedf;
}

.eh-routes__heading {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eh-routes__heading h2,
.eh-routes__heading p {
  color: #ffffff;
}

.eh-routes .eh-kicker {
  color: #cc7d14;
}

.eh-route-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.eh-routes .eh-route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.eh-routes .eh-route-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: rgba(251, 238, 223, 0.06);
  border: 1px solid rgba(251, 238, 223, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.eh-route-card__media {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}

.eh-route-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(9, 45, 61, 0.06), rgba(9, 45, 61, 0.78));
}

.eh-route-card__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  margin: 0;
  object-fit: cover;
}

.eh-route-card__media figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #ffffff;
}

.eh-route-card__media figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #cc7d14;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eh-route-card__media figcaption strong {
  display: block;
  max-width: 520px;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.eh-route-card__content {
  padding: 26px;
}

.eh-routes .eh-route-card h3 {
  color: #ffffff;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eh-routes .eh-route-card p,
.eh-routes .eh-route-card li {
  color: rgba(251, 238, 223, 0.82);
}

.eh-routes .eh-route-card li + li {
  margin-top: 8px;
}

.eh-page-hero {
  max-width: 920px;
}

.eh-page-hero p {
  font-size: 1.08rem;
}

.eh-page-hero--tour {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eh-page-hero--bic {
  max-width: 980px;
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(252, 238, 225, 0.92), rgba(252, 238, 225, 0.72)),
    url("../img/bic-bg.jpg") center/cover no-repeat;
  border-radius: 8px;
}

.eh-bic-logo {
  width: min(260px, 70vw);
  margin-bottom: 28px;
}

.public-footer {
  background:
    linear-gradient(90deg, rgba(1, 64, 89, 0.98), rgba(0, 95, 131, 0.96));
  border-top: 3px solid #f7c948;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  padding: 28px 24px 30px;
}

.public-footer__inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
}

.public-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.public-footer__brand strong {
  color: #ffffff;
  font-family: "Barlow Condensed", "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.05;
}

.public-footer__brand span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 500;
}

.public-footer__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-footer__brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 500;
}

.public-footer__brand small a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.public-footer p {
  margin: 0;
}

.public-footer__credit {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin-left: auto;
  padding: 10px 12px;
  white-space: nowrap;
}

.public-footer__credit span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.sim-main-footer__logo {
  display: block;
  width: auto;
  height: 20px;
}

.eh-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #1f8f4d;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--eh-shadow);
}

@media (max-width: 920px) {
  .eh-header {
    grid-template-columns: 1fr auto;
  }

  .eh-menu-button {
    display: block;
  }

  .eh-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .eh-nav.is-open {
    display: flex;
  }

  .eh-header__booking {
    display: none;
  }

  .eh-room-grid,
  .eh-room-grid--wide,
  .eh-route-grid,
  .eh-section--tour {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .public-footer__inner {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .public-footer__brand {
    align-items: center;
  }

  .public-footer__credit {
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .eh-hero {
    min-height: 72vh;
  }

  .eh-actions {
    flex-direction: column;
  }

  .eh-button,
  .eh-room-card a {
    width: 100%;
  }
}
