/* ========== CONTACT PAGE ========== */
.page-contact { background: #EFE1D5; }
.page-contact .site-footer { --footer-curve: clamp(72px, 12vw, 120px); }
.page-contact .footer-curve { top: -2px; }

/* Solid bar, the page background is light so the transparent header would be unreadable */
.page-contact .site-header,
.page-contact .site-header.is-scrolled {
  background: rgba(9, 9, 9, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(198, 172, 141, 0.18);
}

.contact-page {
  position: relative;
  isolation: isolate;
  /* clip (not hidden) so the decorative paws stay contained without breaking position: sticky */
  overflow: hidden;
  overflow: clip;
  background: #EFE1D5;
  color: #3b2a1c;
  padding: calc(102px + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(4.5rem, 8vw, 7.5rem);
}
.contact-page a { text-decoration: none; color: inherit; }
.contact-page * { min-width: 0; }
.contact-page a,
.contact-brand-desc,
.contact-item p,
.contact-hours p { overflow-wrap: anywhere; }

.contact-paw {
  position: absolute;
  z-index: -1;
  width: clamp(200px, 24vw, 360px);
  height: auto;
  color: #c9ad90;
  opacity: .3;
  pointer-events: none;
}
.contact-paw--tr { top: clamp(60px, 8vw, 110px); right: clamp(-40px, -2vw, 0px); transform: rotate(-18deg); }
.contact-paw--bl { bottom: clamp(20px, 4vw, 60px); left: clamp(-60px, -3vw, -10px); width: clamp(160px, 18vw, 260px); opacity: .2; transform: rotate(22deg); }

.contact-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ---- Heading ---- */
/* ---- Page header, same treatment as the News heading ---- */
.contact-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(1.4rem, 2.6vw, 2rem);
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0 0 .55rem;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #8a6848;
}
.contact-kicker--ornament span {
  position: relative;
  width: clamp(1.7rem, 4vw, 2.65rem);
  height: 1px;
  background: currentColor;
  opacity: .8;
}
.contact-kicker--ornament span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.contact-title {
  margin: 0;
  font-family: var(--font-th);
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #1a120c;
}
.contact-rule {
  display: block;
  width: 3.15rem;
  height: 3px;
  margin: .75rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #e2a44c 18%, #f4d08a 50%, #c4842a 82%, transparent);
  box-shadow: 0 0 10px rgba(202, 134, 39, .45);
}
.contact-sub {
  max-width: 42rem;
  margin: 1.1rem auto 0;
  font-family: var(--font-th);
  font-size: clamp(.88rem, 1.1vw, 1rem);
  line-height: 1.75;
  color: #6d5c4c;
}

/* ---- Layout ---- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(1.2rem, 2.4vw, 2rem);
  row-gap: clamp(.9rem, 1.4vw, 1.2rem);
  align-items: start;
}
.contact-info { display: contents; }
.contact-head { grid-column: 1 / -1; grid-row: 1; }
.contact-details {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: clamp(.9rem, 1.4vw, 1.2rem);
  align-content: start;
}
.contact-form-card { grid-column: 2; grid-row: 2; }

/* Shared card look */
.contact-card {
  border-radius: 22px;
  border: 1px solid rgba(74, 52, 35, .06);
  background: #fff;
  box-shadow: 0 14px 34px rgba(74, 52, 35, .1);
}

/* ---- Brand card ---- */
.contact-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: .6rem;
  align-items: center;
  padding: 1.3rem 1.5rem;
}
.contact-brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #090909;
  box-shadow: 0 10px 22px rgba(9, 9, 9, .22);
}
.contact-brand-mark img { width: 30px; height: 30px; object-fit: contain; }
.contact-brand-name {
  margin: 0;
  font-family: var(--font);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.15;
  color: #3b2a1c;
}
.contact-brand-tag {
  margin: .15rem 0 0;
  font-family: var(--font-th);
  font-size: .82rem;
  color: #8a7562;
}
.contact-brand-desc {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: .8rem;
  border-top: 1px dashed rgba(74, 52, 35, .14);
  font-family: var(--font-th);
  font-size: .88rem;
  line-height: 1.75;
  color: #6f5c4a;
}

/* ---- Detail cards ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 1.4vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-item--wide {
  grid-column: 1 / -1;
}
.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: .85rem;
  padding: 1.15rem 1.25rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(74, 52, 35, .16);
}
.contact-item-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(202, 134, 39, .18), rgba(175, 106, 25, .1));
  color: var(--amber);
}
.contact-item-icon :is(svg, img) { width: 20px; height: 20px; fill: currentColor; }
.contact-item h3 {
  margin: 0;
  font-family: var(--font-th);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #3b2a1c;
}
.contact-item p {
  margin: .35rem 0 0;
  font-family: var(--font-th);
  font-size: .86rem;
  line-height: 1.7;
  color: #6f5c4a;
}
.contact-item p a { transition: color .25s ease; }
.contact-item p a:hover { color: var(--amber); }

/* ---- Business hours ---- */
.contact-hours {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: .85rem;
  padding: 1.15rem 1.35rem;
  border-radius: 22px;
  background: linear-gradient(120deg, #CA8627, #AF6A19 55%, #8a5412);
  color: #fff;
  box-shadow: 0 18px 38px rgba(175, 106, 25, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.contact-hours::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}
.contact-hours .contact-item-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.contact-hours h3 {
  margin: 0;
  font-family: var(--font-th);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.contact-hours p {
  margin: .3rem 0 0;
  font-family: var(--font-th);
  font-size: .9rem;
  color: rgba(255, 255, 255, .9);
}

/* ---- Map ---- */
.contact-map { padding: 1.15rem 1.25rem 1.25rem; }
.contact-map h3 {
  margin: 0 0 .85rem;
  font-family: var(--font-th);
  font-size: 1rem;
  font-weight: 700;
  color: #3b2a1c;
}
.contact-map-frame {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 200px;
  overflow: hidden;
  border-radius: 16px;
  background: #e9dccd;
  border: 1px solid rgba(74, 52, 35, .1);
}
.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Google's own "view larger map" link sits top-left, so keep ours out of its way */
.contact-map-link {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  padding: 0 .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #3b2a1c;
  font-family: var(--font-th);
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(74, 52, 35, .18);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.contact-map-link svg { width: 14px; height: 14px; }
.contact-map-link:hover { transform: translateY(-2px); background: #4a3423; color: #fff; }

/* ---- Form ---- */
.contact-form-card {
  position: static;
  top: calc(102px + 1.25rem);
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.3rem, 2.2vw, 1.8rem);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(74, 52, 35, .12);
}
.contact-form-head { text-align: center; margin-bottom: 1.4rem; }
.contact-form-head h2 {
  margin: 0;
  font-family: var(--font-th);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #3b2a1c;
}
.contact-form-head p {
  margin: .35rem 0 0;
  font-family: var(--font-th);
  font-size: .88rem;
  color: #8a7562;
}

.contact-form { position: relative; display: grid; gap: 1.05rem; }
.contact-field { display: grid; gap: .4rem; }
.contact-field label {
  font-family: var(--font-th);
  font-size: .86rem;
  font-weight: 600;
  color: #3b2a1c;
}
.contact-field label .req { color: #c2410c; margin-left: .15rem; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 46px;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(74, 52, 35, .18);
  background: #fff;
  color: #3b2a1c;
  font-family: var(--font-th);
  font-size: .92rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-field textarea { min-height: 190px; resize: vertical; line-height: 1.7; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #a08b76; }
.contact-field select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b2a1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}
.contact-field select:invalid,
.contact-field select option[value=""] { color: #a08b76; }
.contact-field select option { color: #3b2a1c; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(202, 134, 39, .18);
}
.contact-field.is-error input,
.contact-field.is-error select,
.contact-field.is-error textarea { border-color: #c2410c; }
.contact-field-error {
  display: none;
  font-family: var(--font-th);
  font-size: .78rem;
  color: #c2410c;
}
.contact-field.is-error .contact-field-error { display: block; }

.contact-phone {
  display: flex;
  align-items: stretch;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(74, 52, 35, .18);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-phone:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(202, 134, 39, .18);
}
.contact-field.is-error .contact-phone { border-color: #c2410c; box-shadow: none; }
.contact-dial { position: static; display: flex; flex: 0 0 auto; }
.contact-dial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  align-self: stretch;
  flex: 0 0 auto;
  min-width: 5.4rem;
  margin: 0;
  padding: 0 .65rem 0 .9rem;
  border: 0;
  border-right: 1px solid rgba(74, 52, 35, .14);
  border-radius: 12px 0 0 12px;
  background: transparent;
  color: #3b2a1c;
  font-family: var(--font-th);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.contact-dial-btn svg { width: 14px; height: 14px; flex: 0 0 auto; transition: transform .2s ease; }
.contact-dial-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.contact-field .contact-phone .contact-phone-input {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: transparent;
  box-shadow: none;
}
.contact-field .contact-phone .contact-phone-input:focus,
.contact-field.is-error .contact-phone .contact-phone-input {
  border-color: transparent;
  box-shadow: none;
}
.contact-dial-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  max-height: 280px;
  border-radius: 12px;
  border: 1px solid rgba(74, 52, 35, .16);
  background: #fff;
  box-shadow: 0 16px 36px rgba(74, 52, 35, .16);
  overflow: hidden;
}
.contact-dial-panel.is-up {
  top: auto;
  bottom: calc(100% + 6px);
  flex-direction: column-reverse;
}
.contact-field .contact-dial-panel.is-up .contact-dial-search {
  border-bottom: 0;
  border-top: 1px solid rgba(74, 52, 35, .12);
}
.contact-dial-panel[hidden] { display: none !important; }
.contact-field .contact-dial-search {
  width: 100%;
  min-height: 42px;
  padding: .65rem .9rem;
  border: 0;
  border-bottom: 1px solid rgba(74, 52, 35, .12);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  appearance: none;
}
.contact-field .contact-dial-search:focus,
.contact-field.is-error .contact-dial-search {
  border-color: transparent;
  border-bottom-color: rgba(74, 52, 35, .12);
  box-shadow: none;
}
.contact-dial-list {
  list-style: none;
  margin: 0;
  padding: .3rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.contact-dial-option,
.contact-dial-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  margin: 0;
  padding: .5rem .65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3b2a1c;
  font-family: var(--font-th);
  font-size: .88rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.contact-dial-empty { justify-content: flex-start; cursor: default; color: #8a7562; }
.contact-dial-option span:first-child { min-width: 0; }
.contact-dial-option span:last-child { flex: 0 0 auto; color: #8a7562; font-weight: 600; }
.contact-dial-option.is-active,
.contact-dial-option:hover { background: rgba(202, 134, 39, .14); }
.contact-dial-option[aria-selected="true"] span:last-child { color: #8a5412; }
.contact-honey {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contact-page .contact-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  min-height: 52px;
  margin-top: .3rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, #CA8627, #AF6A19);
  color: #fff;
  font-family: var(--font-th);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(175, 106, 25, .32), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.contact-page .contact-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #EDC18B, #CA8627);
  opacity: 0;
  transition: opacity .3s ease;
}
.contact-page .contact-submit svg { width: 18px; height: 18px; transition: transform .3s ease; }
.contact-page .contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(175, 106, 25, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.contact-page .contact-submit:hover::before { opacity: 1; }
.contact-page .contact-submit:hover svg { transform: translateX(3px); }
.contact-page .contact-submit:focus-visible { outline: 2px solid #4a3423; outline-offset: 3px; }
.contact-page .contact-submit[disabled] { opacity: .7; cursor: progress; transform: none; }

.contact-note {
  margin: 0;
  text-align: center;
  font-family: var(--font-th);
  font-size: .76rem;
  color: #a08b76;
}

/* ---- Alerts ---- */
.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1.2rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  font-family: var(--font-th);
  font-size: .88rem;
  line-height: 1.6;
}
.contact-alert svg { flex: none; width: 20px; height: 20px; margin-top: .1rem; }
.contact-alert--ok { background: #eaf6ec; color: #1f6b34; border: 1px solid rgba(31, 107, 52, .18); }
.contact-alert--err { background: #fbeeea; color: #9a3412; border: 1px solid rgba(154, 52, 18, .18); }

/* ---- Responsive ---- */

@media (min-width: 1600px) {
  .contact-inner { width: min(1320px, calc(100% - 4rem)); }
}

@media (max-width: 1100px) {
  .contact-page { padding-top: calc(78px + 2.5rem); }
  .contact-form-card { top: calc(78px + 1rem); }
  .contact-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.2rem; }
  .contact-brand { padding: 1.15rem 1.25rem; }
  .contact-item { grid-template-columns: 36px minmax(0, 1fr); gap: .7rem; padding: 1rem 1.05rem; }
  .contact-item .contact-item-icon { width: 36px; height: 36px; border-radius: 10px; }
  .contact-item .contact-item-icon :is(svg, img) { width: 18px; height: 18px; }
  .contact-item p { font-size: .82rem; line-height: 1.6; }
  .contact-form-card { padding: 1.4rem 1.25rem; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact-head,
  .contact-details,
  .contact-form-card { grid-column: 1; }
  .contact-head { grid-row: 1; }
  .contact-details { grid-row: 2; }
  .contact-form-card { grid-row: 3; position: static; }
  .contact-paw--tr { width: clamp(150px, 30vw, 220px); opacity: .22; }
  .contact-paw--bl { width: clamp(120px, 24vw, 200px); }
  .contact-sub { max-width: none; }
  .contact-item { grid-template-columns: 40px minmax(0, 1fr); gap: .85rem; padding: 1.15rem 1.25rem; }
  .contact-item .contact-item-icon { width: 40px; height: 40px; border-radius: 12px; }
  .contact-item .contact-item-icon :is(svg, img) { width: 20px; height: 20px; }
  .contact-item p { font-size: .86rem; line-height: 1.7; }
  .contact-form-card { padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 1.8rem); }
}

@media (max-width: 560px) {
  .contact-page { padding: calc(70px + 2rem) 0 clamp(3.5rem, 12vw, 5rem); }
  .contact-inner { width: calc(100% - 2rem); }
  .contact-kicker { letter-spacing: .22em; }
  .contact-title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .contact-sub { font-size: .92rem; }
  .contact-card, .contact-hours { border-radius: 18px; }
  .contact-cards { grid-template-columns: 1fr; gap: .8rem; }
  .contact-details { gap: .8rem; }
  .contact-brand { grid-template-columns: auto minmax(0, 1fr); column-gap: .85rem; padding: 1.1rem 1.1rem; }
  .contact-brand-mark { width: 46px; height: 46px; border-radius: 12px; }
  .contact-brand-mark img { width: 26px; height: 26px; }
  .contact-brand-name { font-size: 1.15rem; }
  .contact-brand-desc { font-size: .84rem; line-height: 1.7; }
  .contact-item { padding: 1rem 1.1rem; }
  .contact-hours { padding: 1rem 1.15rem; }
  .contact-hours::after { width: 140px; height: 140px; right: -50px; top: -60px; }
  .contact-map { padding: 1rem 1rem 1.1rem; }
  .contact-map-frame { aspect-ratio: 4 / 3; min-height: 220px; border-radius: 14px; }
  .contact-map-link { right: .6rem; bottom: .6rem; min-height: 32px; padding: 0 .75rem; font-size: .76rem; }
  .contact-form-card { padding: 1.35rem 1.1rem 1.25rem; border-radius: 20px; }
  .contact-form-head { margin-bottom: 1.1rem; }
  .contact-form { gap: .9rem; }
  .contact-field input,
  .contact-field select,
  .contact-field textarea,
  .contact-dial-btn { font-size: 1rem; } /* >= 16px prevents iOS zoom-on-focus */
  .contact-field textarea { min-height: 160px; }
  .contact-alert { font-size: .84rem; padding: .8rem .9rem; }
}

@media (max-width: 380px) {
  .contact-inner { width: calc(100% - 1.5rem); }
  .contact-title { font-size: 1.65rem; }
  .contact-brand, .contact-item, .contact-hours, .contact-map { padding-inline: .95rem; }
  .contact-item { grid-template-columns: 36px minmax(0, 1fr); gap: .7rem; }
  .contact-item .contact-item-icon, .contact-hours .contact-item-icon { width: 36px; height: 36px; }
  .contact-item .contact-item-icon :is(svg, img), .contact-hours .contact-item-icon :is(svg, img) { width: 18px; height: 18px; }
  .contact-hours { grid-template-columns: 36px minmax(0, 1fr); gap: .7rem; }
  .contact-form-card { padding: 1.2rem .95rem 1.1rem; }
  .contact-paw--tr { width: 130px; }
}

/* Landscape phones / very short viewports */
@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
  .contact-page { padding-top: calc(78px + 1.5rem); padding-bottom: 3rem; }
  .contact-head { margin-bottom: 1rem; }
  .contact-map-frame { aspect-ratio: 16 / 7; min-height: 180px; }
}

/* Desktop / tablet landscape: the whole section fits one screen under the navbar.
   Sizes scale with viewport height; the map and the message box absorb leftover space. */
@media (min-width: 901px) {
  .contact-page {
    --hdr: 102px;
    --pad-top: clamp(.75rem, 2.4vh, 1.75rem);
    --pad-bottom: clamp(1rem, 3vh, 2rem);
    --gap: clamp(.5rem, 1.6vh, 1.1rem);
    padding: calc(var(--hdr) + var(--pad-top)) 0 var(--pad-bottom);
  }
  .contact-layout {
    min-height: calc(100vh - var(--hdr) - var(--pad-top) - var(--pad-bottom));
    min-height: calc(100svh - var(--hdr) - var(--pad-top) - var(--pad-bottom));
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    column-gap: clamp(.9rem, 1.8vw, 1.5rem);
    row-gap: var(--gap);
  }

  .contact-details { display: flex; flex-direction: column; gap: var(--gap); min-height: 0; }
  .contact-head { margin-bottom: 0; }
  .contact-kicker { margin-bottom: .35rem; font-size: clamp(.62rem, 1.2vh, .72rem); }
  .contact-title { font-size: clamp(1.7rem, min(3.2vw, 5.6vh), 3rem); line-height: 1.15; }
  .contact-rule { margin-top: clamp(.4rem, 1.2vh, .75rem); }
  .contact-sub { margin-top: clamp(.4rem, 1.4vh, .8rem); font-size: clamp(.85rem, min(1.05vw, 1.9vh), 1.05rem); line-height: 1.55; }

  .contact-brand { row-gap: clamp(.35rem, 1vh, .6rem); padding: clamp(.7rem, 1.8vh, 1.3rem) clamp(1rem, 1.4vw, 1.5rem); }
  .contact-brand-mark { width: clamp(40px, 6vh, 52px); height: clamp(40px, 6vh, 52px); }
  .contact-brand-desc { padding-top: clamp(.4rem, 1vh, .8rem); font-size: clamp(.8rem, 1.6vh, .88rem); line-height: 1.6; }

  .contact-cards { gap: var(--gap); }
  .contact-item { padding: clamp(.7rem, 1.8vh, 1.15rem) clamp(.85rem, 1.2vw, 1.25rem); }
  .contact-item p { margin-top: .2rem; font-size: clamp(.78rem, 1.6vh, .86rem); line-height: 1.55; }
  .contact-hours { padding: clamp(.7rem, 1.8vh, 1.15rem) clamp(.9rem, 1.3vw, 1.35rem); }

  .contact-map {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: clamp(.7rem, 1.6vh, 1.15rem) clamp(.85rem, 1.2vw, 1.25rem);
  }
  .contact-map h3 { margin-bottom: clamp(.4rem, 1vh, .85rem); }
  .contact-map-frame { flex: 1 1 auto; aspect-ratio: auto; min-height: 160px; }

  .contact-form-card {
    position: static;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: clamp(.9rem, 2.2vh, 1.6rem) clamp(1.1rem, 1.8vw, 1.6rem);
  }
  .contact-form-head { margin-bottom: clamp(.5rem, 1.4vh, 1rem); }
  .contact-form { flex: 1 1 auto; display: flex; flex-direction: column; gap: clamp(.45rem, 1.2vh, .85rem); }
  .contact-field--message { flex: 1 1 auto; grid-template-rows: auto minmax(90px, 1fr); }
  .contact-field--message textarea { height: 100%; min-height: 90px; }
  .contact-field { gap: clamp(.2rem, .5vh, .35rem); }
  .contact-field input,
  .contact-field select { min-height: clamp(36px, 5vh, 44px); padding-block: clamp(.35rem, .9vh, .6rem); }
  .contact-page .contact-submit { min-height: clamp(40px, 5.4vh, 48px); margin-top: .2rem; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .contact-page { --hdr: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-item, .contact-submit, .contact-submit::before, .contact-submit svg, .contact-map-link {
    transition: none !important;
  }
}

/* Contact reference layout */
.page-contact,.contact-page{background:#efe1d5}
.contact-page{background-image:none}
.contact-paw{display:none}
.contact-inner{width:min(1730px,calc(100% - 5rem))}
.contact-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:1.7rem 1.1rem}
.contact-head{margin-bottom:0}
.contact-kicker{color:#8a6848;letter-spacing:.32em;font-size:clamp(.68rem,1.15vw,.82rem);font-weight:600;margin-bottom:.55rem}
.contact-kicker--ornament span{width:clamp(1.7rem,4vw,2.65rem);height:1px}
.contact-kicker--ornament span::after{display:block}.contact-rule{display:block}
.contact-title{color:#1a120c;font-size:clamp(1.45rem,3.1vw,2.5rem);line-height:1.25;letter-spacing:.01em}
.contact-sub{max-width:none;margin-top:.7rem;color:#583827;font-size:clamp(.88rem,1.1vw,1rem)}
.contact-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;align-content:stretch}
.contact-cards{display:contents}
.contact-card{background:linear-gradient(155deg,#fff 20%,#fffaf5);border:0;border-radius:24px;box-shadow:0 10px 22px rgba(88,48,25,.11)}
.contact-brand{grid-column:1/-1;grid-template-columns:64px minmax(0,1fr);gap:0 1.35rem;padding:1.15rem 1.8rem}
.contact-brand-mark{width:64px;height:64px;border-radius:16px;background:linear-gradient(145deg,#896741,#af6a19)}
.contact-brand-mark img{width:38px;height:38px}
.contact-brand-name{color:#896741;font-size:1.7rem;letter-spacing:0}
.contact-brand-tag{color:#402718;font-size:1rem}
.contact-brand-desc{grid-column:2;border:0;padding:0;color:#402718;font-size:.95rem;line-height:1.35}
.contact-item,.contact-hours{grid-template-columns:60px minmax(0,1fr);gap:.75rem;min-height:120px;padding:1rem .85rem}
.contact-item--wide{grid-column:auto}
.contact-cards>:nth-child(5){order:2}
.contact-cards>:nth-child(2){order:3}
.contact-cards>:nth-child(3){order:4}
.contact-cards>:nth-child(4){order:5}
.contact-hours{order:6;border-radius:24px;background:linear-gradient(155deg,#fff 20%,#fffaf5);color:#3b2a1c;box-shadow:0 10px 22px rgba(88,48,25,.11)}
.contact-hours::after{display:none}
.contact-item .contact-item-icon,.contact-hours .contact-item-icon{width:60px;height:60px;border-radius:18px;background:#fff6ea;color:#dd911d}
.contact-item .contact-item-icon :is(svg, img),.contact-hours .contact-item-icon :is(svg, img){width:32px;height:32px}
.contact-item h3,.contact-hours h3{font-size:1.05rem;color:#16110e}
.contact-item p,.contact-hours p{margin-top:.25rem;color:#292019;font-size:.83rem;line-height:1.45}
.contact-map{order:7;grid-column:1/-1;padding:.9rem 1.2rem 1.1rem}
.contact-map h3{margin:0 0 .6rem;color:#896741;font-size:1.2rem}
.contact-map h3::before{content:'📍';margin-right:.45rem}
.contact-map-frame{aspect-ratio:16/2.65;min-height:135px;border:0;border-radius:14px}
.contact-form-card{overflow:visible;align-self:stretch;display:flex;flex-direction:column;padding:0}
.contact-form-head{position:relative;overflow:hidden;display:flex;align-items:center;min-height:104px;margin:0;padding:1rem 2.1rem 1rem 7.5rem;border-radius:24px 24px 0 0;background:linear-gradient(110deg,#211b16 0%,#5f472f 54%,#896741 100%);box-shadow:inset 0 -4px 0 #ca8627;text-align:left}
.contact-form-head-icon{position:absolute;left:2.1rem;display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:linear-gradient(145deg,#af6a19,#ca8627);color:#fff}
.contact-form-head-icon svg{width:36px;height:36px}
.contact-form-head h2{position:relative;z-index:1;color:#fff;font-size:1.65rem}
.contact-form-head p{position:relative;z-index:1;color:#fff5ee;font-size:1rem}
.contact-form-head-paw{position:absolute;right:2rem;top:12px;width:88px;height:88px;color:#dca863;opacity:.85;transform:rotate(-18deg)}
.contact-form{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;padding:1.35rem 1.8rem 1.7rem}
.contact-field--message,.contact-submit,.contact-note{grid-column:1/-1}
.contact-field label{color:#18120e;font-size:1rem;font-weight:700}
.contact-field input,.contact-field select,.contact-field textarea,.contact-phone{border-radius:17px;border-color:#e4d4cb}
.contact-field input,.contact-field select{min-height:48px}
.contact-field textarea{min-height:155px}
.contact-page .contact-submit{min-height:56px;border-radius:24px;background:linear-gradient(100deg,#ca8627,#af6a19);box-shadow:0 9px 18px rgba(129,77,23,.18);font-size:1.1rem}
.contact-alert{margin:1rem 1.8rem 0}
@media(min-width:901px){
.contact-layout{min-height:auto;grid-template-rows:auto auto;align-items:stretch}
.contact-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.contact-brand{padding:1.15rem 1.8rem}
.contact-brand-desc{padding:0;font-size:.95rem}
.contact-item,.contact-hours{min-height:120px;padding:1rem .85rem}
.contact-item p,.contact-hours p{font-size:.83rem;line-height:1.45}
.contact-map{display:block;padding:.9rem 1.2rem 1.1rem}
.contact-map-frame{aspect-ratio:16/2.65;min-height:135px}
.contact-form-card{display:flex;padding:0}
.contact-form-head{margin:0}
.contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem}
.contact-field{gap:.4rem}
.contact-field input,.contact-field select{min-height:48px;padding-block:.7rem}
.contact-field--message{grid-template-rows:auto minmax(150px,1fr)}
.contact-field--message textarea{min-height:150px}
.contact-page .contact-submit{min-height:56px}
}
@media(max-width:1100px) and (min-width:901px){
.contact-inner{width:calc(100% - 3rem)}
.contact-details{grid-template-columns:repeat(2,minmax(0,1fr))}
.contact-brand,.contact-map{grid-column:1/-1}
.contact-item,.contact-hours{min-height:105px}
.contact-form{gap:.75rem}
}
@media(max-width:900px){
.contact-inner{width:calc(100% - 2rem)}
.contact-details{grid-template-columns:repeat(2,minmax(0,1fr))}
.contact-brand,.contact-map{grid-column:1/-1}
.contact-form-card{padding:0}
}
@media(max-width:600px){
.contact-layout{row-gap:1.2rem}
.contact-details{grid-template-columns:1fr}
.contact-brand{grid-column:1;grid-template-columns:52px minmax(0,1fr);padding:1rem}
.contact-brand-mark{width:52px;height:52px}
.contact-brand-desc{grid-column:1/-1;padding-top:.55rem}
.contact-item,.contact-hours{min-height:0;grid-template-columns:52px minmax(0,1fr);padding:.85rem 1rem}
.contact-item .contact-item-icon,.contact-hours .contact-item-icon{width:52px;height:52px}
.contact-map{grid-column:1}
.contact-map-frame{aspect-ratio:4/3}
.contact-form-head{padding:1rem 1rem 1rem 4.85rem}
.contact-form-head-icon{left:1rem;width:48px;height:48px}
.contact-form-head-icon svg{width:28px;height:28px}
.contact-form-head h2{font-size:1.25rem}
.contact-form-head p{font-size:.82rem}
.contact-form-head-paw{right:.5rem;opacity:.25}
.contact-form{grid-template-columns:1fr;padding:1.1rem}
.contact-field--message,.contact-submit,.contact-note{grid-column:1}
.contact-alert{margin:1rem 1rem 0}
}
/* Contact details in the PETPAL reference style */
.contact-details {
  gap: 14px;
}
.contact-brand {
  position: relative;
  min-height: 94px;
  grid-template-columns: 56px minmax(0, 164px) 1px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(115deg, #fff 0%, #fdfaf5 100%);
  box-shadow: 0 8px 26px rgba(75, 51, 30, .07);
}
.contact-brand::after {
  content: "";
  grid-column: 3;
  grid-row: 1;
  width: 1px;
  height: 50px;
  background: #e9dbca;
}
.contact-brand-mark {
  grid-column: 1;
  grid-row: 1;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(145deg, #714226, #4e291b);
  box-shadow: 0 6px 15px rgba(60, 35, 21, .14);
}
.contact-brand-mark img {
  width: 32px;
  height: 32px;
}
.contact-brand > div {
  grid-column: 2;
  grid-row: 1;
}
.contact-brand-name {
  color: #4b2d1f;
  font-size: 1.45rem;
  letter-spacing: 0;
}
.contact-brand-tag {
  margin-top: 2px;
  color: #4f382a;
  font-size: .84rem;
  font-weight: 400;
}
.contact-brand-desc {
  grid-column: 4;
  grid-row: 1;
  max-width: none;
  margin: 0;
  padding: 0 0 0 12px;
  color: #534033;
  font-size: .85rem;
  line-height: 1.55;
}
.contact-item,
.contact-hours {
  min-height: 112px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff 0%, #fffdf9 100%);
  box-shadow: 0 7px 22px rgba(75, 51, 30, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-item:hover,
.contact-hours:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(75, 51, 30, .11);
}
.contact-item .contact-item-icon,
.contact-hours .contact-item-icon {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbf6ed, #f1e4d2);
  color: #956128;
}
.contact-item .contact-item-icon :is(svg, img),
.contact-hours .contact-item-icon :is(svg, img) {
  width: 26px;
  height: 26px;
}
.contact-item .contact-item-icon {
  border-radius: 14px;
  background: linear-gradient(145deg, #714226, #4e291b);
  color: #fff;
}
.contact-item .contact-item-icon img {
  filter: brightness(0) invert(1);
}
.contact-item h3,
.contact-hours h3 {
  margin: 0;
  color: #251b15;
  font-size: .98rem;
  font-weight: 700;
}
.contact-item p,
.contact-hours p {
  margin-top: 5px;
  color: #4d4037;
  font-size: .8rem;
  line-height: 1.55;
}
.contact-hours-time::before {
  content: " ";
}
.contact-item p a:hover {
  color: #a76517;
}
.contact-item p a:focus-visible,
.contact-map-link:focus-visible {
  outline: 2px solid #ca8627;
  outline-offset: 3px;
}
.contact-map {
  overflow: hidden;
  padding: 14px 22px 20px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #fffdf9 100%);
  box-shadow: 0 8px 26px rgba(75, 51, 30, .07);
}
.contact-map h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: #4b2d1f;
  font-size: 1.02rem;
}
.contact-map h3 { position: relative; }
.contact-map h3::before {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #714226, #4e291b);
}
.contact-map h3::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background: #fff;
  -webkit-mask: url("../img/icon/map.png") center / 19px no-repeat;
  mask: url("../img/icon/map.png") center / 19px no-repeat;
}
.contact-map-frame {
  aspect-ratio: 16 / 2.7;
  min-height: 124px;
  border: 0;
  border-radius: 13px;
}
.contact-map-link {
  border: 1px solid #e8ded2;
  background: #fff;
  color: #5f452e;
  box-shadow: 0 5px 15px rgba(49, 34, 21, .14);
}
@media (min-width: 901px) {
  .contact-details { gap: 14px; }
  .contact-brand { min-height: 94px; padding: 18px 28px; }
  .contact-brand-desc { padding: 0 0 0 12px; font-size: .85rem; line-height: 1.55; }
  .contact-item, .contact-hours { min-height: 112px; padding: 15px 16px; }
  .contact-item p, .contact-hours p { font-size: .8rem; line-height: 1.55; }
  .contact-map { padding: 14px 22px 20px; }
  .contact-map-frame { aspect-ratio: 16 / 2.7; min-height: 124px; }
  }
@media (max-width: 1100px) and (min-width: 901px) {
  .contact-brand { grid-template-columns: 56px minmax(0, 120px) 1px minmax(0, 1fr); }
  .contact-item, .contact-hours { min-height: 112px; }
}
@media (max-width: 700px) {
  .contact-brand {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 18px;
  }
  .contact-brand-mark { width: 52px; height: 52px; }
  .contact-brand > div { grid-column: 2; }
  .contact-brand::after { display: none; }
  .contact-brand-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 8px 0 0;
    border-top: 1px solid #eee3d5;
  }
}
@media (max-width: 600px) {
  .contact-item, .contact-hours { min-height: 0; padding: 15px; }
  .contact-item .contact-item-icon, .contact-hours .contact-item-icon { width: 52px; height: 52px; }
  .contact-map { padding: 14px; }
  .contact-map-frame { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-item, .contact-hours { transition: none; }
}
/* Match the PETPAL brand mark */
.contact-form-head-icon {
  background: linear-gradient(145deg, #714226, #4e291b);
  box-shadow: 0 7px 16px rgba(36, 20, 13, .2);
}
.contact-page .contact-submit {
  background: linear-gradient(145deg, #714226, #4e291b);
  box-shadow: 0 9px 18px rgba(48, 27, 18, .2);
}
.contact-page .contact-submit::before {
  background: linear-gradient(145deg, #805039, #5b3323);
}
.contact-page .contact-submit:hover {
  box-shadow: 0 15px 27px rgba(48, 27, 18, .27);
}
/* Harmonize the contact form header */
.contact-form-head {
  background: linear-gradient(110deg, #f5e9dc, #fffdf9);
  border-bottom: 1px solid #e7d8c6;
  box-shadow: none;
}
.contact-form-head h2 {
  color: #3f291d;
}
.contact-form-head p {
  color: #6b5342;
}
/* Match all detail icons to the PETPAL mark */
.contact-hours .contact-item-icon {
  border-radius: 14px;
  background: linear-gradient(145deg, #714226, #4e291b);
  color: #fff;
}
.contact-hours .contact-item-icon img {
  filter: brightness(0) invert(1);
}
/* Balance the visible size of contact icons */
.contact-item .contact-item-icon :is(svg, img),
.contact-hours .contact-item-icon :is(svg, img) {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.contact-item .contact-item-icon img[src$="office01.png"],
.contact-item .contact-item-icon img[src$="factory02.png"] {
  width: 32px;
  height: 32px;
}
.contact-item .contact-item-icon img[src$="headquarters.png"] {
  width: 38px;
  height: 38px;
}
.contact-cards > li:nth-child(3) .contact-item-icon svg {
  width: 38px;
  height: 38px;
}

/* Laptop only (wide enough for the desktop layout, but viewport height <= 900px):
   map runs edge to edge inside its card, and the whole section fits one screen.
   Tall desktop monitors keep the base sizing above. */
@media (min-width: 901px) and (max-height: 900px) {
  .contact-map {
    padding: 14px 0 0;
  }
  .contact-map h3 {
    padding: 0 22px;
  }
  .contact-map h3::after {
    left: 22px;
  }
  .contact-map-frame {
    width: 100%;
    aspect-ratio: auto;
    flex: 1 1 auto;
    height: auto;
    min-height: 120px;
    border-radius: 0 0 20px 20px;
  }

  /* Fit the whole contact section in one laptop screen: every fixed size scales with viewport height */
  .contact-page {
    --pad-top: clamp(.5rem, 1.6vh, 1rem);
    --pad-bottom: clamp(.6rem, 1.6vh, 1.1rem);
    --gap: clamp(.4rem, 1.3vh, .7rem);
  }
  .contact-kicker { margin-bottom: .2rem; }
  .contact-title { font-size: clamp(1.4rem, 3.6vh, 2rem); }
  .contact-rule { margin-top: .3rem; }
  .contact-sub { margin-top: .3rem; font-size: clamp(.8rem, 1.7vh, .95rem); }

  .contact-brand {
    min-height: clamp(60px, 9.5vh, 84px);
    padding-block: clamp(.4rem, 1.1vh, .8rem);
  }
  .contact-item,
  .contact-hours {
    min-height: clamp(60px, 9.5vh, 92px);
    padding-block: clamp(.35rem, 1vh, .75rem);
  }
  .contact-map-frame {
    min-height: clamp(84px, 12vh, 130px);
  }
  .contact-details {
    gap: clamp(8px, 1.6vh, 14px);
  }
  .contact-item p,
  .contact-hours p {
    font-size: clamp(.72rem, 1.4vh, .8rem);
    line-height: 1.4;
  }
  .contact-map {
    padding-top: clamp(.45rem, 1.2vh, .9rem);
  }
  .contact-map h3 {
    margin-bottom: .3rem;
  }

  .contact-form-head {
    min-height: 0;
    padding-block: clamp(.5rem, 1.4vh, .9rem);
  }
  .contact-form-head h2 {
    font-size: clamp(1.1rem, 2.9vh, 1.45rem);
  }
  .contact-form-head p {
    font-size: clamp(.8rem, 1.6vh, .92rem);
  }
  .contact-form {
    gap: clamp(.3rem, .9vh, .6rem) 1rem;
    padding: clamp(.6rem, 1.6vh, 1rem) clamp(1rem, 1.6vw, 1.5rem) clamp(.7rem, 1.6vh, 1.1rem);
  }
  .contact-field { gap: .2rem; }
  .contact-field input,
  .contact-field select {
    min-height: clamp(32px, 5.2vh, 42px);
    padding-block: clamp(.25rem, .7vh, .5rem);
  }
  .contact-hours p {
    overflow-wrap: normal;
  }
  .contact-hours-time {
    display: block;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
  .contact-hours-time::before {
    content: none;
  }
  .contact-field--message textarea {
    height: clamp(156px, 22vh, 180px);
    min-height: 156px;
  }
  .contact-page .contact-submit {
    min-height: clamp(38px, 6vh, 50px);
  }
}