/* ==========================================================================
   Contact page — css/page-contact.css
   Loaded after css/style.css. Page-scoped styles only.
   ========================================================================== */

/* ---------- Contact method cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-light);
  box-shadow: 0 20px 44px -18px rgba(23, 10, 17, .18);
}
.contact-card .why-icon { margin-bottom: 16px; }
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.contact-card .contact-note {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pink-deep);
  margin-bottom: 10px;
}
.contact-card p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.contact-card .contact-action { margin-top: auto; }
.contact-card--wa { border-top: 4px solid #25D366; }
.contact-card--wa .contact-note { color: #1b9e4b; }

/* ---------- Hours / night-trade band ---------- */
.hours-band { background: var(--ink); overflow: hidden; }
.hours-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.hours-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.hours-copy .section-title { color: #fff; margin-bottom: 14px; }
.hours-copy > p { color: var(--muted-light); font-size: .98rem; margin-bottom: 26px; }
.hours-list { display: flex; flex-direction: column; gap: 14px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
}
.hours-row dt { color: #fff; font-weight: 600; font-size: .95rem; }
.hours-row dt small {
  display: block;
  font-weight: 400;
  color: var(--muted-light);
  font-size: .8rem;
  margin-top: 2px;
}
.hours-row dd { color: var(--sun); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.hours-foot {
  margin-top: 20px;
  font-size: .85rem;
  color: var(--muted-light);
}
.hours-foot strong { color: #fff; }

/* ---------- FAQ accordions ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] {
  border-color: var(--pink-light);
  box-shadow: 0 16px 40px -22px rgba(var(--pink-rgb), .35);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pink-deep); }
.faq-chevron {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--pink-deep);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--pink-deep);
  color: #fff;
}
.faq-body { padding: 0 24px 22px; }
.faq-body p {
  font-size: .94rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Closing CTA band ---------- */
.contact-cta {
  background: #fff;
  text-align: center;
  color: var(--ink);
}
.contact-cta .section-head { max-width: 680px; margin-inline: auto; }
.contact-cta .eyebrow { justify-content: center; color: var(--pink-deep); }
.contact-cta .eyebrow::before { display: none; }
.contact-cta .section-title { color: var(--ink); }
.contact-cta .section-sub { color: var(--muted); margin-inline: auto; }
.contact-cta .accent-script { color: var(--pink-deep); }
.contact-cta .btn-ghost-light { background: #fff; color: var(--ink); border-color: #D8CCD2; }
.contact-cta .btn-ghost-light:hover { background: var(--paper-2); border-color: var(--pink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hours-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hours-row { flex-direction: column; gap: 4px; }
  .hours-row dd { white-space: normal; }
}

/* white re-theme */
.hours-band { background: #fff; }
.hours-copy .section-title { color: var(--ink); }
.hours-copy > p { color: var(--muted); }
.hours-row { background: var(--paper-2); border: 1px solid var(--border); }
.hours-row dt { color: var(--ink); }
.hours-row dt small { color: var(--muted); }
.hours-row dd { color: var(--leaf-deep); }
.hours-band .eyebrow.light { color: var(--pink-deep); }
.hours-band .section-title.light { color: var(--ink); }
.hours-band .section-title.light .accent-script { color: var(--pink-deep); }

/* ---------- Location card with embedded map ---------- */
.loc-card {
  display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 30px 70px -32px rgba(23, 10, 17, .18);
}
.loc-info { padding: clamp(30px, 4vw, 52px); }
.loc-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 8px; color: var(--ink); }
.loc-address { font-style: normal; font-size: 1.08rem; line-height: 1.6; color: var(--ink); font-weight: 600; margin-bottom: 22px; }
.loc-facts { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 0; }
.loc-facts li { display: flex; gap: 14px; align-items: baseline; font-size: .95rem; color: var(--muted); border-bottom: 1px dashed var(--border); padding-bottom: 11px; }
.loc-facts strong { flex: 0 0 96px; color: var(--ink); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.loc-facts a { color: var(--pink-deep); font-weight: 600; }
.loc-map { min-height: 420px; }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) {
  .loc-card { grid-template-columns: 1fr; }
  .loc-map, .loc-map iframe { min-height: 320px; }
}

/* stronger halo over the truck photo */
.cat-hero-light .hero-panel .cat-title,
.cat-hero-light .hero-panel .cat-tagline,
.cat-hero-light .hero-panel .breadcrumb {
  text-shadow: 0 0 22px rgba(255,255,255,1), 0 0 10px rgba(255,255,255,1), 0 0 4px rgba(255,255,255,.98), 0 1px 2px rgba(255,255,255,.95);
}

/* full-truck banner: fixed 2:1 crop keeps the whole vehicle in frame */
.contact-hero-truck {
  padding: 0; min-height: 0; aspect-ratio: 2 / 1; max-height: 620px;
  width: min(1180px, 92%); margin: 128px auto 0;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 26px 60px -28px rgba(23, 10, 17, .22);
}
@media (max-width: 860px) { .contact-hero-truck { margin-top: 108px; aspect-ratio: 1.8 / 1; border-radius: 18px; } }

/* Our Locations hero — Sysco style: full photo, big white title bottom-left */
.loc-hero .cat-hero-scrim { background: linear-gradient(180deg, rgba(23,10,17,.28) 0%, rgba(23,10,17,.12) 45%, rgba(23,10,17,.5) 100%); }
.loc-hero-title { color: #fff; font-size: clamp(3rem, 7vw, 5.4rem); margin-bottom: 10px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* full-truck fit for Our Locations hero (image 1693x929) */
.loc-hero { padding: 0 0 34px; min-height: 0; aspect-ratio: 2 / 1; }
.loc-hero .cat-hero-img { object-position: 50% 45%; }
@media (max-width: 860px) { .loc-hero { aspect-ratio: 1.82 / 1; padding-bottom: 22px; } .loc-hero-title { font-size: clamp(2.2rem, 9vw, 3rem); } }

/* Contact Us hero — Sysco style full-bleed */
.contact-hero-cc { aspect-ratio: 2.1 / 1; padding: 0 0 44px; min-height: 380px; }
.contact-hero-cc .cat-hero-scrim { background: linear-gradient(180deg, rgba(40,40,48,.45) 0%, rgba(40,40,48,.35) 55%, rgba(23,10,17,.55) 100%); }
.cc-tagline { color: rgba(255,255,255,.95); font-size: clamp(1.05rem, 1.8vw, 1.5rem); text-shadow: 0 1px 10px rgba(0,0,0,.3); }

/* Full-width WhatsApp contact panel */
.wa-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background: linear-gradient(135deg, #effcf3 0%, #ffffff 58%);
  border: 1px solid #cdeed6;
  border-left: 5px solid #25D366;
  border-radius: var(--radius);
  padding: 38px 42px;
  box-shadow: 0 22px 54px -30px rgba(37, 211, 102, .38);
}
.wa-panel-main { display: flex; align-items: center; gap: 26px; min-width: 0; }
.wa-panel-icon {
  flex: 0 0 auto; width: 66px; height: 66px; border-radius: 18px;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .55);
}
.wa-panel-icon svg { width: 34px; height: 34px; color: #fff; }
.wa-panel-note {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: #1b9e4b; margin: 0 0 6px;
}
.wa-panel-title { font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); margin: 0 0 8px; }
.wa-panel-desc { font-size: .98rem; color: var(--muted); line-height: 1.6; margin: 0; max-width: 62ch; }
.wa-panel-cta { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 780px) {
  .wa-panel { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 22px; }
  .wa-panel-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wa-panel-desc { max-width: 100%; }
  .wa-panel-cta { width: 100%; text-align: center; justify-content: center; }
}
