/* =========================================================
   CONTACT PAGE
   Mahjong Mania — Social House & Bar
   Path: /assets/css/contact.css
   ========================================================= */


/* =========================================================
   01. CONTACT HERO
   ========================================================= */

.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-top: 72px;
  padding-bottom: 90px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
}

.contact-hero-copy {
  padding: 35px 0;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 26px 0 30px;
  font-family: var(--display);
  font-size: clamp(57px, 5.6vw, 90px);
  font-weight: 600;
  line-height: 1.045;
  letter-spacing: -0.079em;
}

.contact-hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.contact-hero-copy > p {
  max-width: 585px;
  margin-bottom: 39px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.contact-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7c8790;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.contact-hero-meta i {
  color: var(--red);
  font-style: normal;
}

.contact-hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 535px;
  padding: 37px 39px 35px;
  overflow: hidden;
  color: white;
  background: var(--navy);
  border-radius: 145px 145px 5px 5px;
}

.contact-hero-panel::before {
  content: "";
  position: absolute;
  right: -105px;
  bottom: -135px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.contact-hero-panel::after {
  content: "";
  position: absolute;
  top: 29px;
  right: 29px;
  bottom: 29px;
  left: 29px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 118px 118px 2px 2px;
  pointer-events: none;
}

.contact-panel-top,
.contact-panel-copy,
.contact-panel-foot {
  position: relative;
  z-index: 1;
}

.contact-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  color: #c8d1da;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.contact-panel-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 58px;
  color: var(--red);
  background: var(--cream);
  border-radius: 6px;
  box-shadow: 4px 5px 0 rgba(255, 255, 255, 0.12);
  font: 700 25px var(--serif);
  transform: rotate(5deg);
}

.contact-panel-copy {
  max-width: 370px;
}

.contact-panel-copy small {
  display: block;
  margin-bottom: 12px;
  color: #ecb1ad;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.contact-panel-copy strong {
  display: block;
  font: italic clamp(34px, 3.8vw, 54px) var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

.contact-panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: #b9c4ce;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}


/* =========================================================
   02. CONTACT PATHS
   ========================================================= */

.contact-paths {
  background: var(--offwhite);
}

.contact-paths-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.contact-paths-heading h2,
.contact-form-copy h2,
.contact-visit-heading h2,
.contact-quick h2 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(41px, 4.2vw, 66px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.069em;
}

.contact-paths-heading h2 em,
.contact-form-copy h2 em,
.contact-visit-heading h2 em,
.contact-quick h2 em {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.contact-paths-heading > p {
  max-width: 380px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 53px;
}

.contact-card {
  position: relative;
  min-height: 355px;
  padding: 37px 34px 31px;
  border: 1px solid var(--line);
  background: white;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 71, 70, 0.35);
  box-shadow: 0 20px 45px rgba(20, 47, 80, 0.08);
}

.contact-card-number {
  position: absolute;
  top: 29px;
  right: 30px;
  color: #9ba5ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 74px;
  margin-bottom: 37px;
  color: var(--red);
  background: var(--cream);
  border: 1px solid #dedfd9;
  border-radius: 7px;
  box-shadow: 4px 5px 0 #c7d2da;
  font: 700 26px var(--serif);
  transform: rotate(-4deg);
}

.contact-card:nth-child(2) .contact-card-icon {
  transform: rotate(4deg);
}

.contact-card:nth-child(3) .contact-card-icon {
  transform: rotate(-2deg);
}

.contact-card h3 {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.contact-card p {
  max-width: 310px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.82;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--red);
}


/* =========================================================
   03. CONTACT FORM
   ========================================================= */

.contact-form-section {
  background: var(--navy-deep);
  color: white;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
}

.contact-form-copy h2 {
  margin-top: 25px;
  color: white;
}

.contact-form-copy h2 em {
  color: #efb4ae;
}

.contact-form-copy > p {
  max-width: 500px;
  margin: 28px 0 36px;
  color: #bdc8d2;
  font-size: 14px;
  line-height: 1.92;
}

.contact-note-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-note-list > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-note-list span {
  color: #efb4ae;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.contact-note-list p {
  margin: 0;
  color: #c0cad3;
  font-size: 13px;
  line-height: 1.65;
}

.contact-form-wrap {
  padding: 42px;
  background: var(--offwhite);
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 19px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.contact-form label > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-form label small {
  color: #8a949d;
  font-size: 9px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dadd;
  border-radius: 0;
  outline: none;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 145px;
  padding: 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(20, 47, 80, 0.08);
}

.contact-submit {
  width: 100%;
  margin-top: 3px;
}

.contact-form-note {
  margin: -2px 0 0;
  color: #7e8992;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}


/* =========================================================
   04. VISIT / INFORMATION
   ========================================================= */

.contact-visit {
  background: var(--cream);
}

.contact-visit-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(60px, 9vw, 145px);
}

.contact-visit-heading h2 {
  margin-top: 24px;
}

.contact-info-list {
  border-top: 1px solid var(--line);
}

.contact-info-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-label {
  padding-top: 4px;
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-info-list h3 {
  grid-column: 2;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.contact-info-list p {
  grid-column: 2;
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}


/* =========================================================
   05. QUICK LINKS
   ========================================================= */

.contact-quick {
  background: var(--offwhite);
}

.contact-quick-inner {
  max-width: 940px;
}

.contact-quick h2 {
  margin: 24px auto 47px;
  text-align: center;
}

.contact-quick-links {
  border-top: 1px solid var(--line);
}

.contact-quick-links a {
  display: grid;
  grid-template-columns: 105px 1fr 30px;
  gap: 25px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition:
    color 0.2s ease,
    padding 0.2s ease;
}

.contact-quick-links a:hover {
  padding-left: 12px;
  color: var(--red);
}

.contact-quick-links span {
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.contact-quick-links strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.contact-quick-links i {
  font-style: normal;
  font-size: 19px;
}


/* =========================================================
   06. CLOSING
   ========================================================= */

.contact-closing {
  padding-top: 100px;
}


/* =========================================================
   07. TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .contact-hero-grid {
    gap: 45px;
  }

  .contact-hero-panel {
    min-height: 500px;
  }

  .contact-form-grid {
    gap: 55px;
  }

  .contact-form-wrap {
    padding: 32px;
  }

  .contact-visit-grid {
    gap: 60px;
  }
}


/* =========================================================
   08. SMALL TABLET
   ========================================================= */

@media (max-width: 850px) {
  .contact-hero-grid,
  .contact-form-grid,
  .contact-visit-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: 45px;
  }

  .contact-hero-copy {
    padding-top: 10px;
  }

  .contact-hero-panel {
    min-height: 480px;
  }

  .contact-paths-heading {
    display: block;
  }

  .contact-paths-heading > p {
    max-width: 560px;
    margin-top: 24px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-form-copy > p {
    max-width: 620px;
  }

  .contact-info-list article {
    grid-template-columns: 130px 1fr;
  }
}


/* =========================================================
   09. MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .contact-hero {
    padding-top: 24px;
    padding-bottom: 70px;
  }

  .contact-hero h1 {
    margin: 21px 0 24px;
    font-size: clamp(47px, 12vw, 67px);
  }

  .contact-hero-copy > p {
    font-size: 14px;
    line-height: 1.85;
  }

  .contact-hero-meta {
    gap: 9px;
    font-size: 7.5px;
    letter-spacing: 0.1em;
  }

  .contact-hero-panel {
    min-height: 112vw;
    padding: 29px 28px 27px;
    border-radius: 100px 100px 5px 5px;
  }

  .contact-hero-panel::after {
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: 18px;
    border-radius: 82px 82px 2px 2px;
  }

  .contact-panel-copy strong {
    font-size: clamp(32px, 9vw, 45px);
  }

  .contact-panel-foot {
    font-size: 7px;
  }

  .contact-paths-heading h2,
  .contact-form-copy h2,
  .contact-visit-heading h2,
  .contact-quick h2 {
    font-size: clamp(36px, 9.4vw, 49px);
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 36px;
  }

  .contact-card,
  .contact-card:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 29px 27px;
  }

  .contact-card-icon {
    width: 55px;
    height: 64px;
    margin-bottom: 27px;
    font-size: 23px;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .contact-field-row {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .contact-form-copy > p {
    font-size: 13.5px;
  }

  .contact-info-list article {
    display: block;
    padding: 23px 0;
  }

  .contact-info-label {
    display: block;
    margin-bottom: 11px;
  }

  .contact-info-list h3,
  .contact-info-list p {
    grid-column: auto;
  }

  .contact-quick h2 {
    margin-bottom: 32px;
  }

  .contact-quick-links a {
    grid-template-columns: 1fr 25px;
    gap: 8px 15px;
    padding: 21px 0;
  }

  .contact-quick-links span {
    grid-column: 1 / -1;
  }

  .contact-quick-links strong {
    font-size: 16px;
  }

  .contact-closing {
    padding-top: 75px;
  }
}


/* =========================================================
   10. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-quick-links a {
    transition: none;
  }

  .contact-card:hover {
    transform: none;
  }
}

/* =========================================================
   VISIT THE HOUSE
   ========================================================= */

.contact-visit-intro {
  max-width: 430px;
  margin-top: 28px;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}


.contact-reservation-info {
  padding-bottom: 10px;
}


.contact-channel-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 25px;
}


.contact-channel-btn {
  min-width: 155px;
  min-height: 48px;
}


/* Mobile */

@media (max-width: 620px) {

  .contact-channel-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-channel-btn {
    width: 100%;
  }
}