:root {
  --teal: #31575c;
  --deep-teal: #17363a;
  --mist: #e9eee8;
  --sea-glass: #b5cfca;
  --line: rgb(233 238 232 / 42%);
  --shadow: rgb(10 28 28 / 55%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  height: 100%;
  overflow: hidden;
}

body {
  color: var(--mist);
  background: var(--deep-teal);
  font-family: "Lora", Georgia, serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--sea-glass);
  outline-offset: 4px;
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.75rem) clamp(1.25rem, 5vw, 5rem) clamp(1rem, 2.6vw, 2.25rem);
}

.slideshow {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: var(--deep-teal);
}

.slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease-in-out, transform 6s linear;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slideshow::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(16 48 51 / 96%) 0%, rgb(20 53 55 / 82%) 38%, rgb(22 57 58 / 25%) 75%, rgb(17 49 52 / 12%) 100%),
    linear-gradient(0deg, rgb(16 46 48 / 65%) 0%, transparent 37%);
}

.site-header,
.site-footer,
.hero {
  animation: rise-in 700ms ease-out both;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  width: clamp(8.5rem, 14vw, 12rem);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  font-size: clamp(0.85rem, 1.15vw, 1rem);
  font-style: italic;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.status span {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #90ee90;
  box-shadow: 0 0 0 0.25rem rgb(144 238 144 / 30%);
  animation: status-flash 1.2s ease-in-out infinite;
}

@keyframes status-flash {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0.6rem 0.25rem rgb(144 238 144 / 70%);
  }

  50% {
    opacity: 0.25;
    box-shadow: 0 0 0 0 rgb(144 238 144 / 0%);
  }
}

.hero {
  align-self: center;
  width: min(100%, 42rem);
  padding: clamp(2.4rem, 8vh, 5.5rem) 0 clamp(1rem, 4vh, 3rem);
  animation-delay: 90ms;
}

.eyebrow {
  margin: 0 0 clamp(0.65rem, 1.6vh, 1rem);
  color: var(--sea-glass);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  color: var(--mist);
  font-size: clamp(3.2rem, 8.4vw, 7rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.92;
  text-wrap: balance;
  text-shadow: 0 2px 28px var(--shadow);
}

.intro {
  max-width: 38rem;
  margin: clamp(1rem, 2.5vh, 1.8rem) 0 0;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.contact-block {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
  margin-top: clamp(1.25rem, 3.4vh, 2.25rem);
  padding-top: clamp(0.9rem, 2vh, 1.3rem);
  border-top: 1px solid var(--line);
}

.contact-block > p {
  flex: 0 1 9rem;
  margin: 0;
  color: var(--sea-glass);
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  font-style: italic;
  line-height: 1.4;
}

.whatsapp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.city-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--mist);
  border-radius: 2px;
  font-size: 0.76rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.city-link svg,
.site-footer svg {
  width: 0.95rem;
  height: 0.95rem;
}

.city-link:hover,
.city-link:focus-visible {
  color: var(--deep-teal);
  background: var(--mist);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 2vw, 1.75rem);
  animation-delay: 180ms;
}

.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
}

.footer-links {
  gap: clamp(0.85rem, 2vw, 1.75rem);
}

.footer-meta {
  gap: 0.45rem;
  margin: 0;
  color: var(--mist);
  font-size: clamp(0.6rem, 0.78vw, 0.7rem);
  font-style: italic;
  white-space: nowrap;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--mist);
  font-size: clamp(0.66rem, 0.85vw, 0.75rem);
  font-style: italic;
  opacity: 0.88;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--sea-glass);
  opacity: 1;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .slideshow::after {
    background:
      linear-gradient(180deg, rgb(17 49 52 / 72%) 0%, rgb(17 49 52 / 82%) 58%, rgb(17 49 52 / 95%) 100%),
      linear-gradient(90deg, rgb(17 49 52 / 70%), transparent);
  }

  .hero {
    padding-block: 1.5rem;
  }

  .contact-block {
    display: block;
  }

  .contact-block > p {
    margin-bottom: 0.75rem;
  }

  .site-footer {
    display: grid;
    gap: 0.4rem;
  }

  .footer-links,
  .footer-meta {
    justify-content: space-between;
  }

  .site-footer a {
    gap: 0.25rem;
    font-size: 0.58rem;
  }

  .footer-meta {
    font-size: 0.55rem;
  }

  .site-footer svg {
    width: 1.05rem;
    height: 1.05rem;
  }
}

@media (max-height: 680px) and (min-width: 641px) {
  .hero {
    padding-block: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .slide:not(:first-child) {
    display: none;
  }
}