:root {
  --forest: #134b40;
  --forest-deep: #0d392f;
  --ivory: #f7f3ed;
  --ink: #26332d;
  --muted: #5e6b62;
  --font: 'Geist Variable', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

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

body { margin: 0; }
img { display: block; max-width: 100%; }
h1, p { margin-top: 0; }
p { line-height: 1.65; }
::selection { background: var(--forest); color: var(--ivory); }

.container {
  width: min(1344px, calc(100% - 96px));
  margin-inline: auto;
}

.eco-hotel {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.eco-hotel-header {
  min-height: 80px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 27px;
  font-weight: 950;
  line-height: .82;
  letter-spacing: -.035em;
}

.eco-hotel-hero {
  position: relative;
  isolation: isolate;
  min-height: 34rem;
  display: grid;
  align-items: center;
  background: var(--forest-deep);
  color: var(--ivory);
}

.eco-hotel-image,
.eco-hotel-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.eco-hotel-image {
  object-fit: cover;
  object-position: 68% center;
}

.eco-hotel-hero::after {
  content: '';
  background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 76%, transparent), color-mix(in srgb, var(--ink) 53%, transparent) 40%, transparent 78%);
}

.eco-hotel-copy {
  padding-block: clamp(3rem, 7vw, 7rem);
}

.eco-hotel-copy h1 {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.eco-hotel-kind {
  display: block;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: .04em;
  line-height: 1.4;
}

.eco-hotel-name {
  display: block;
  font-family: 'Rubik', var(--font);
  font-size: clamp(3.25rem, 7.3vw, 6rem);
  font-weight: 500;
  line-height: 1.06;
}

.eco-hotel-copy p {
  max-width: 27rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.eco-hotel-footer {
  padding-block: .625rem;
  color: var(--forest);
}

.eco-hotel-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
}

.eco-hotel-footer p {
  display: flex;
  align-items: baseline;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  font-size: .9375rem;
}

.eco-hotel-footer strong {
  font-weight: 650;
}

.eco-hotel-footer span {
  color: var(--muted);
}

.eco-hotel-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 650;
  white-space: nowrap;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.eco-hotel-phone:hover { text-decoration-color: currentColor; }

.eco-hotel-phone:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .eco-hotel-header { min-height: 66px; }
  .brand { font-size: 23px; }
  .brand img { width: 42px; height: 42px; }

  .eco-hotel-hero {
    align-items: end;
    min-height: 33rem;
  }

  .eco-hotel-image {
    object-position: 82% center;
  }

  .eco-hotel-hero::after {
    background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 96%, transparent), color-mix(in srgb, var(--ink) 80%, transparent) 25%, transparent 65%);
  }

  .eco-hotel-copy {
    padding-block: 2.5rem;
  }

  .eco-hotel-name {
    font-size: clamp(2rem, 12.8vw, 3.25rem);
  }

  .eco-hotel-footer p {
    gap: .125rem 1rem;
  }
}

@media (max-width: 480px) {
  .eco-hotel-footer { padding-top: 1rem; }
  .eco-hotel-footer-inner { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
