@font-face {
  font-family: "KG Blank Space Sketch";
  src: url("../assets/fonts/kg-blank-space-sketch.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --page-yellow: #fce47e;
  --teal: #007b9a;
  --nav-green: #bada55;
  --tour-green: #89bf24;
  --panel-blue: #77d7ef;
  --panel-green: #a4db2c;
  --panel-orange: #f29746;
  --panel-ink: #2d3f0c;
  --sketch-brown: #7f643d;
  --white: #ffffff;
  --shell: 980px;
  --body-font: Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --sketch-font: "KG Blank Space Sketch", "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-yellow);
  color: var(--teal);
  font-family: var(--body-font);
  line-height: 1.35;
}

a {
  color: inherit;
}

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

.shell {
  width: min(var(--shell), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 999;
  padding: 0.65rem 0.9rem;
  background: #111;
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  padding-top: 0.9rem;
}

.header-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: 150px 36px;
  align-items: stretch;
}

.brand-mark {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: start;
  width: 174px;
  margin-left: 15px;
  z-index: 2;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.site-title {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 2.15rem 0 0 7.5rem;
  color: var(--teal);
  font-family: var(--sketch-font);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.94;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-width: 0;
  min-height: 36px;
  background: var(--nav-green);
}

.site-nav a {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 0 0.72rem;
  color: #445364;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: #0e9bd1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 1.45rem;
  text-align: center;
}

.location-card h2 {
  margin: 0 0 0.18rem;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.location-card address {
  margin: 0;
  color: var(--teal);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.34;
}

.location-card a {
  text-decoration: none;
}

/* Hero */

.hero-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: #d9c7b9;
}

.hero-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 45%;
}

.hero-tour {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 158px;
  height: 158px;
  place-items: center;
  border-radius: 50%;
  background: var(--tour-green);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.28);
  color: #7d4a35;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  width: 25px;
  height: 25px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  opacity: 0.95;
}

.carousel-arrow-left {
  left: 1rem;
  transform: translateY(-50%) rotate(-135deg);
}

.carousel-arrow-right {
  right: 1.2rem;
  transform: translateY(-50%) rotate(45deg);
}

/* Introduction */

.intro {
  padding-top: 0.6rem;
}

.intro > h1,
.quick-links > h2 {
  margin: 0;
  color: var(--sketch-brown);
  font-family: var(--sketch-font);
  font-weight: 400;
  line-height: 1;
}

.intro > h1 {
  margin-top: 0.55rem;
  margin-bottom: 0.9rem;
  font-size: 3.2rem;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.intro-copy {
  padding-left: 1.2rem;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.28;
}

.intro-copy p {
  margin: 0 0 1.3rem;
}

.intro-contact {
  border-left: 2px solid #72aee7;
  padding: 1.35rem 0.5rem 0.5rem 2.5rem;
  text-align: center;
}

.intro-contact h2 {
  margin: 0 0 1.65rem;
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.intro-contact p {
  margin: 0 0 1.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.intro-contact .email {
  margin-top: 1.7rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.intro-contact a {
  text-decoration: none;
}

.tour-bar {
  display: block;
  width: min(450px, calc(100% - 2rem));
  margin: 5.6rem auto 3.4rem;
  padding: 0.55rem 1rem 0.62rem;
  border-radius: 999px;
  background: var(--tour-green);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.35);
  color: var(--sketch-brown);
  font-family: var(--sketch-font);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

/* Information panels */

.quick-links {
  padding-bottom: 6.4rem;
}

.quick-links > h2 {
  margin: 0 0 1.1rem;
  font-size: 3rem;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-link {
  display: grid;
  min-height: 324px;
  place-items: center;
  padding: 1.5rem 0.75rem;
  color: var(--panel-ink);
  text-align: center;
  text-decoration: none;
}

.quick-link span {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.06;
}

.quick-link-blue {
  background: var(--panel-blue);
}

.quick-link-green {
  background: var(--panel-green);
}

.quick-link-orange {
  background: var(--panel-orange);
}

.quick-link:hover,
.quick-link:focus-visible {
  filter: brightness(1.035);
}

/* Footer */

.site-footer {
  background: var(--nav-green);
  color: var(--teal);
}

.footer-inner {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  margin: 0;
  font-size: 1.55rem;
}

.footer-contact strong {
  font-weight: 600;
}

.footer-contact a {
  font-weight: 600;
  text-decoration: none;
}

.footer-divider {
  font-weight: 400;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.social-links > span {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  text-decoration: none;
}

.social-facebook {
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.social-instagram {
  border: 2.5px solid #fff;
  border-radius: 7px;
}

.social-instagram::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2.5px solid #fff;
  border-radius: 50%;
}

.social-instagram::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.social-youtube {
  width: 34px !important;
  height: 22px !important;
  border-radius: 5px;
  background: #fff;
}

.social-youtube::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--nav-green);
}

/* Responsive */

@media (max-width: 1100px) {
  .header-grid {
    grid-template-columns: 110px 1fr;
    grid-template-rows: 130px 36px;
  }

  .brand-mark {
    width: 150px;
    margin-left: 0;
  }

  .site-title {
    margin: 2rem 0 0 3rem;
    font-size: 3.4rem;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 0 0.8rem;
  }

  .locations {
    gap: 1.25rem;
    margin-top: 2.75rem;
  }

  .hero-photo {
    height: min(47vw, 460px);
    min-height: 380px;
  }

  .intro-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }

  .intro-copy {
    padding-left: 0;
  }

  .intro-contact {
    padding-left: 2rem;
  }

  .footer-contact {
    gap: 2rem;
    font-size: 1.35rem;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 0.5rem;
  }

  .header-grid {
    display: block;
    text-align: center;
  }

  .brand-mark {
    width: 125px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-title {
    display: block;
    margin: 0.25rem 0 1rem;
    font-size: clamp(3rem, 12vw, 4.8rem);
    white-space: normal;
  }

  .site-nav {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-height: 44px;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 0.75rem 0.9rem;
  }

  .locations {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-top: 2rem;
  }

  .location-card h2 {
    font-size: 1.5rem;
  }

  .location-card address {
    font-size: 1rem;
  }

  .hero-carousel {
    width: 100%;
  }

  .hero-photo {
    min-height: 330px;
    height: 58vw;
  }

  .hero-tour {
    width: 130px;
    height: 130px;
    right: 0.7rem;
    font-size: 1.75rem;
  }

  .intro > h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

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

  .intro-copy {
    font-size: 1.08rem;
  }

  .intro-contact {
    border-top: 2px solid #72aee7;
    border-left: 0;
    padding: 2rem 0 0;
  }

  .tour-bar {
    width: min(450px, calc(100% - 2rem));
    margin: 3rem auto;
    white-space: normal;
  }

  .quick-links > h2 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .quick-link-grid {
    grid-template-columns: 1fr;
  }

  .quick-link {
    min-height: 230px;
  }

  .quick-link span {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .quick-links {
    padding-bottom: 4rem;
  }

  .footer-inner {
    min-height: 0;
    padding: 1.25rem 0;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    font-size: 1.2rem;
  }

  .footer-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(var(--shell), calc(100% - 1rem));
  }

  .hero-photo {
    min-height: 290px;
  }

  .hero-tour {
    width: 108px;
    height: 108px;
    font-size: 1.45rem;
  }

  .intro-copy,
  .intro-contact {
    padding-left: 0;
    padding-right: 0;
  }

  .intro-contact .email {
    font-size: 1.05rem;
  }

  .tour-bar {
    font-size: 1.65rem;
  }

  .social-links {
    gap: 1.25rem;
  }
}
