* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f1ea;
  --paper: #fffdfa;
  --ink: #25251f;
  --muted: #777267;
  --line: #e3ddd2;
  --green: #1b3024;
  --olive: #58623e;
  --gold: #b9985c;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--sans);
}

a {
  text-decoration: none;
  color: inherit;
}


/* ========================================
   CONTACT PAGE
======================================== */

.contact-page {
  max-width: 1240px;
  margin: auto;
  padding: 70px 34px 80px;
}


/* ========================================
   CONTACT INTRO
======================================== */

.contact-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;

  padding: 60px 10px 48px;
  border-bottom: 1px solid var(--line);
}

.kicker,
.mini-label {
  display: block;

  color: #94784b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.contact-intro h1 {
  margin: 12px 0 0;

  font: 600 68px/.86 var(--serif);
  letter-spacing: -1.5px;
}

.contact-intro h1 em {
  color: var(--olive);
  font-style: italic;
}

.intro-copy {
  max-width: 400px;
  margin: 0 0 4px;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}


/* ========================================
   CONTACT LAYOUT
======================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 24px;

  margin-top: 30px;
}


/* ========================================
   CONTACT INFORMATION
======================================== */

.contact-info {
  padding: 8px 4px;
}

.info-head {
  padding: 0 10px 17px;
}

.info-head h2,
.form-top h2,
.location-copy h2 {
  margin: 8px 0;

  font: 600 35px/1 var(--serif);
}

.info-head p,
.form-top p,
.location-copy p {
  margin: 0;

  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.info-item {
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  gap: 13px;

  padding: 17px 10px;
  border-top: 1px solid var(--line);

  transition: 0.2s;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
}

.icon {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border: 1px solid #d5c7ad;
  border-radius: 50%;

  color: var(--gold);
  font-size: 17px;
}

.info-text small {
  display: block;

  color: #9a8b72;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.info-text strong {
  display: block;

  margin: 3px 0 4px;

  font: 600 21px/1.1 var(--serif);
}

.info-text b {
  display: block;

  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.arrow {
  color: var(--olive);
  font-size: 18px;
}


/* ========================================
   OPENING HOURS
======================================== */

.hours {
  margin: 14px 10px 0;
  padding: 20px;

  background: var(--green);
  color: #fff;

  border-radius: 12px;
}

.hours>div:first-child {
  margin-bottom: 10px;
}

.hours small {
  display: block;

  color: #d1b16f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hours strong {
  display: block;

  margin-top: 4px;

  font: 600 22px/1.05 var(--serif);
}

.hour-row {
  display: flex;
  justify-content: space-between;

  padding: 9px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.13);

  color: #bfc5bc;
  font-size: 10px;
}

.hour-row b {
  color: #e1d1ae;
  font-weight: 500;
}


/* ========================================
   CONTACT FORM
======================================== */

.form-card {
  order: -1;

  padding: 34px 36px;

  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;

  box-shadow: 0 14px 35px rgba(42, 40, 33, 0.06);
}

.form-top {
  padding-bottom: 25px;
}

.form-top h2 {
  margin-top: 8px;
  font-size: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 16px;
}

label {
  display: block;
}

label>span {
  display: block;

  margin-bottom: 7px;

  color: #81796d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;

  padding: 12px 13px;

  background: #faf7f1;
  border: 1px solid #dcd5c9;
  border-radius: 8px;

  color: var(--ink);
  font: 12px var(--sans);

  outline: 0;
  transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: #b9985c;
  box-shadow: 0 0 0 3px rgba(185, 152, 92, 0.12);
}

.message {
  margin-top: 17px;
}

textarea {
  min-height: 142px;
  resize: vertical;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 17px;
}

.form-bottom p {
  margin: 0;

  color: #928a7e;
  font-size: 9px;
  line-height: 1.5;
}

button,
.location-copy a {
  padding: 13px 17px;

  background: var(--olive);
  border: 0;
  border-radius: 8px;

  color: white;
  font: 700 9px var(--sans);
  letter-spacing: 1px;

  cursor: pointer;
  white-space: nowrap;
}

button span {
  margin-left: 25px;
  font-size: 14px;
}


/* ========================================
   LOCATION
======================================== */

.location-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;

  min-height: 310px;
  margin-top: 24px;

  background: #e9e4da;
  border-radius: 16px;

  overflow: hidden;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 42px 48px;
}

.location-copy h2 {
  margin: 9px 0 10px;
  font-size: 50px;
}

.location-copy p {
  max-width: 350px;
}

.location-copy a {
  align-self: flex-start;

  margin-top: 20px;

  background: var(--green);
}

.location-copy a span {
  margin-left: 25px;

  color: #d1b16f;
  font-size: 14px;
}


/* ========================================
   MAP
======================================== */

.map-art {
  position: relative;

  min-height: 310px;

  background: linear-gradient(135deg,
      #d8d5c9,
      #c9cabe);

  overflow: hidden;
}

.map-art::before {
  content: "";

  position: absolute;
  inset: -20%;

  background: repeating-linear-gradient(28deg,
      transparent 0 70px,
      rgba(255, 255, 255, 0.55) 71px 73px,
      transparent 74px 145px);

  transform: rotate(-8deg);
  opacity: 0.7;
}

.road {
  position: absolute;

  height: 11px;

  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;

  transform: rotate(-27deg);
}

.road-a {
  width: 80%;
  left: -8%;
  top: 32%;
}

.road-b {
  width: 75%;
  right: -15%;
  top: 62%;

  transform: rotate(17deg);
}

.road-c {
  width: 48%;
  left: 30%;
  top: 76%;

  transform: rotate(-58deg);
}

.map-dot {
  position: absolute;
  left: 54%;
  top: 49%;
  z-index: 2;

  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  background: var(--green);
  border: 5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-dot i {
  color: #d1b16f;
  font-size: 22px;
  font-style: normal;
}

.map-tag {
  position: absolute;
  left: calc(54% + 43px);
  top: calc(49% - 18px);
  z-index: 2;

  padding: 10px 13px;

  background: var(--paper);
  border-radius: 7px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.map-tag strong {
  display: block;

  font-size: 9px;
  letter-spacing: 1px;
}

.map-tag span {
  display: block;

  margin-top: 2px;

  color: var(--muted);
  font-size: 8px;
}


/* ========================================
   TOAST
======================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 10;

  padding: 11px 16px;

  background: var(--green);
  border-radius: 8px;

  color: #fff;
  font-size: 11px;

  opacity: 0;
  pointer-events: none;

  transform: translate(-50%, 15px);
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .contact-page {
    padding: 50px 24px 60px;
  }

  .contact-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 60px;
  }

  .contact-intro h1 {
    font-size: 58px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 8px;
  }

  .info-head {
    grid-column: 1 / -1;
  }

  .hours {
    grid-column: 1 / -1;
  }

  .form-card {
    padding: 28px;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .map-art {
    min-height: 280px;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 620px) {
  .contact-page {
    padding: 38px 16px 45px;
  }

  .contact-intro {
    padding: 60px 4px 34px;
  }

  .contact-intro h1 {
    font-size: 47px;
  }

  .intro-copy {
    font-size: 12px;
  }

  .contact-layout {
    margin-top: 20px;
  }

  .contact-info {
    display: block;
  }

  .info-item {
    padding: 15px 6px;
  }

  .info-head {
    padding-left: 6px;
  }

  .form-card {
    padding: 22px 18px;
    border-radius: 13px;
  }

  .form-top h2 {
    font-size: 34px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .message {
    margin-top: 14px;
  }

  .form-bottom {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-bottom button {
    width: 100%;
  }

  .location-card {
    margin-top: 18px;
  }

  .location-copy {
    padding: 34px 25px;
  }

  .location-copy h2 {
    font-size: 42px;
  }

  .map-art {
    min-height: 240px;
  }

  .map-dot {
    left: 48%;
    top: 48%;

    width: 52px;
    height: 52px;
  }

  .map-tag {
    left: calc(48% + 35px);
    top: calc(48% - 15px);
  }
}