@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --red: #c9282d;
  --red-dark: #8f171c;
  --ink: #1c1b1b;
  --muted: #746e6d;
  --paper: #fffaf8;
  --line: #eadbd7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}

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

.topbar {
  background: var(--red-dark);
  color: #fbe9e5;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
}

.contact-page {
  padding: 78px 0 96px;
}

.contact-intro {
  max-width: 790px;
}

.eyebrow {
  align-items: center;
  color: var(--red);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--red);
  display: inline-block;
  height: 2px;
  width: 28px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.08em;
  margin-top: 30px;
  text-decoration: none;
}

.brand > span:last-child > span {
  color: var(--red);
}

.brand-mark {
  align-items: center;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.brand-mark svg {
  display: block;
}

.contact-intro h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(43px, 6.2vw, 78px);
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 34px 0 20px;
  max-width: 800px;
}

.contact-intro h1 em {
  color: var(--red);
  font-style: normal;
}

.contact-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 590px;
}

.contact-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 72px;
  grid-template-columns: 0.84fr 1.16fr;
  margin-top: 72px;
  padding-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.info-block {
  align-items: flex-start;
  display: flex;
  gap: 16px;
}

.info-icon {
  align-items: center;
  background: #f7e5e1;
  color: var(--red);
  display: flex;
  height: 42px;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
}

.info-icon svg {
  display: block;
}

.info-block small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.info-block strong,
.big-link {
  font-size: 18px;
  line-height: 1.45;
}

.phone-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.big-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.hours {
  border-top: 1px solid var(--line);
  margin-top: 7px;
  padding-top: 25px;
}

.hours h2 {
  align-items: center;
  display: flex;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  gap: 9px;
  margin: 0 0 15px;
}

.hours h2 svg {
  color: var(--red);
  flex-shrink: 0;
}

.hours-row {
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 8px 0;
}

.hours-row span {
  color: var(--muted);
}

.hours-row strong {
  font-weight: 600;
  text-align: right;
}

.map-wrap {
  background: #eee;
  border: 1px solid var(--line);
  min-height: 460px;
  position: relative;
}

.map-wrap iframe {
  border: 0;
  height: 100%;
  min-height: 460px;
  width: 100%;
  filter: saturate(0.7);
}

.map-link {
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  left: 16px;
  padding: 11px 14px;
  position: absolute;
  text-decoration: none;
  top: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 24px 0 30px;
}

.red-theme {
  min-height: 100vh;
}

/* Vacation banner + modal */
.vacation-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  border: 0;
  background: var(--red);
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.vacation-banner[hidden] {
  display: none !important;
}

.vacation-banner:hover {
  background: var(--red-dark);
}

.vacation-banner-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.vacation-banner-text {
  font-size: 14px;
  font-weight: 600;
}

.vacation-banner-cta {
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vacation-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vacation-modal[hidden] {
  display: none !important;
}

.vacation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 27, 0.55);
}

.vacation-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 32px 28px;
  box-shadow: 0 24px 60px rgba(28, 27, 27, 0.18);
}

.vacation-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.vacation-modal-eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vacation-modal-dialog h2 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.vacation-modal-dates {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

.vacation-modal-message {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.vacation-modal-btn {
  appearance: none;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
}

.vacation-modal-btn:hover {
  background: var(--red-dark);
}

body.vacation-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 1120px);
  }

  .topbar-inner span:last-child {
    display: none;
  }

  .contact-page {
    padding: 52px 0 68px;
  }

  .brand {
    margin-top: 24px;
  }

  .contact-intro h1 {
    font-size: 48px;
    margin-top: 27px;
  }

  .contact-intro p {
    font-size: 16px;
  }

  .contact-grid {
    gap: 46px;
    grid-template-columns: 1fr;
    margin-top: 50px;
    padding-top: 34px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 340px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hours-row {
    gap: 15px;
  }

  .vacation-banner {
    flex-direction: column;
    gap: 6px;
  }
}
