/* =============================================
   BRANCH'S — CONTACT PAGE
   ============================================= */

/* ---- HERO ---- */
.contact-hero {
  position: relative;
  height: 380px;
  background: linear-gradient(135deg, #2C1A00 0%, #3D2400 50%, #0e1620 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(200,134,10,0.08)"/></svg>');
  background-size: 60px 60px;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,26,0,0.9) 0%, transparent 60%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw 52px;
}

.contact-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #C8860A;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.contact-hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(40px, 6.5vw, 68px);
  color: #fff;
  line-height: 1.1;
  margin: 0 0 12px;
}

.contact-hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(44,26,0,0.6);
  text-transform: uppercase;
  margin: 0;
}

/* ---- QUICK CONTACT CARDS ---- */
.contact-cards-section {
  background: #C8860A;
  padding: 0;
}

.contact-cards-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.contact-card {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(16px);
}

.contact-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-card:last-child {
  border-right: none;
}

.contact-card-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.contact-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2C1A00;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.contact-card p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(44,26,0,0.7);
  line-height: 1.55;
  margin: 0 0 10px;
}

.contact-card-link {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2C1A00;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(44,26,0,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
  display: inline-block;
}

.contact-card-link:hover {
  border-color: #2C1A00;
}

.contact-social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ---- MAIN CONTACT LAYOUT ---- */
.contact-main {
  background: #2C1A00;
  padding: 90px 6vw;
}

.contact-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ---- FORM ---- */
.contact-form-intro {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin: 0 0 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-row {
  margin-bottom: 20px;
}

.cf-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-field label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(44,26,0,0.7);
  text-transform: uppercase;
}

.req {
  color: #C8860A;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  background: rgba(200,134,10,0.08);
  border: 1px solid rgba(200,134,10,0.14);
  border-radius: 3px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: #C8860A;
  background: rgba(200,134,10,0.10);
}

.cf-field select option {
  background: #3D2400;
  color: #fff;
}

.cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

.cf-error {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #e74c3c;
  display: none;
}

.cf-error.show {
  display: block;
}

.cf-submit {
  margin-top: 8px;
  padding: 14px 32px;
  background: #C8860A;
  color: #2C1A00;
  border: none;
  border-radius: 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}

.cf-submit:hover {
  background: #f5d76e;
  transform: translateY(-2px);
}

/* ---- SUCCESS STATE ---- */
.cf-success {
  text-align: center;
  padding: 48px 24px;
}

.cf-success-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
}

.cf-success h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  color: #C8860A;
  margin: 0 0 12px;
}

.cf-success p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: rgba(44,26,0,0.65);
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- INFO COLUMN ---- */
.contact-map-wrap {
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 28px;
}

.contact-map-wrap iframe {
  display: block;
  filter: grayscale(30%) brightness(0.85);
}

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

.contact-info-block {
  background: #3D2400;
  border: 1px solid rgba(200,134,10,0.12);
  border-radius: 3px;
  padding: 20px 22px;
}

.contact-info-block h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #C8860A;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.contact-info-block p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(44,26,0,0.65);
  line-height: 1.65;
  margin: 0;
}

.contact-info-block a {
  color: rgba(44,26,0,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-block a:hover {
  color: #C8860A;
}

.contact-directions-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #C8860A !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,10,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.contact-directions-link:hover {
  border-color: #C8860A;
}

.contact-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}

.contact-hours-table td {
  padding: 5px 0;
  color: rgba(44,26,0,0.65);
}

.contact-hours-table td:last-child {
  text-align: right;
  color: #C8860A;
}

.closed-row td {
  color: rgba(44,26,0,0.35) !important;
}

.contact-hours-note {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: rgba(44,26,0,0.4);
  margin-top: 10px !important;
  font-style: italic;
}

.contact-social-btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.contact-social-btn {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(200,134,10,0.1);
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: 3px;
  color: #C8860A !important;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-social-btn:hover {
  background: rgba(200,134,10,0.2);
  border-color: #C8860A;
}

/* ---- FAQ SECTION ---- */
.contact-faq {
  background: #3D2400;
  padding: 90px 6vw;
}

.contact-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(200,134,10,0.10);
  opacity: 0;
  transform: translateY(12px);
}

.faq-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #C8860A;
}

.faq-question[aria-expanded="true"] {
  color: #C8860A;
}

.faq-icon {
  font-size: 22px;
  color: #C8860A;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin: 0;
}

.faq-answer a {
  color: #C8860A;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,10,0.4);
  padding-bottom: 1px;
}

.faq-answer a:hover {
  border-color: #C8860A;
}

/* ---- SHARED ---- */
.section-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #C8860A;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 24px;
  line-height: 1.15;
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid #C8860A;
  color: #C8860A;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline-gold:hover {
  background: #C8860A;
  color: #2C1A00;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .contact-cards-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .contact-main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .contact-cards-inner {
    grid-template-columns: 1fr;
  }

  .cf-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    height: 320px;
  }
}

/* Option 1 overrides */
.contact-page { background: #FFF8EE !important; }
.contact-hero { background: linear-gradient(135deg, rgba(44,26,0,0.85), rgba(61,36,0,0.75)), url('../images/brownie-sundae.jpg') center/cover !important; }
.quick-contact { background: #FFF0D6 !important; }
.contact-card { background: #ffffff !important; border: 1px solid #F0D9A8 !important; }
.contact-card:hover { border-color: #C8860A !important; }
.contact-card h3 { color: #2C1A00 !important; }
.contact-card p, .contact-card a { color: #6B4200 !important; }
.contact-form-section { background: #FFF8EE !important; }
.form-wrapper { background: #ffffff !important; border: 1px solid #F0D9A8 !important; }
.form-group input, .form-group select, .form-group textarea { background: #FFF8EE !important; border-color: #F0D9A8 !important; color: #2C1A00 !important; }
.form-group label { color: #2C1A00 !important; }
.faq-section { background: #FFF0D6 !important; }
.faq-item { background: #ffffff !important; border: 1px solid #F0D9A8 !important; }
.faq-question { color: #2C1A00 !important; }
.faq-answer { color: #6B4200 !important; }

/* Contact page contrast fixes */
.contact-hero-title, .contact-hero-subtitle { color: #ffffff!important; }
.quick-contact-card h3 { color: #2C1A00!important; font-weight: 700; }
.quick-contact-card p, .quick-contact-card a { color: #2C1A00!important; }
.quick-contact-icon { color: #C8860A!important; }
.contact-form-section h2, .contact-form-section p { color: #2C1A00!important; }
.contact-form label { color: #2C1A00!important; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { color: #2C1A00!important; background: #fff!important; border-color: #C8860A!important; }
.contact-info h3 { color: #2C1A00!important; }
.contact-info p, .contact-info a { color: #2C1A00!important; }
.faq-question { color: #2C1A00!important; font-weight: 600; }
.faq-answer { color: #2C1A00!important; }
.map-section h2 { color: #2C1A00!important; }

.quick-contact-icon { color: #C8860A!important; }


/* ============================================================
   CONTACT PAGE — DEFINITIVE CONTRAST FIX
   ============================================================ */

/* Quick contact cards — light bg */
.quick-contact { background: #FFF8EE !important; }
.quick-contact .section-eyebrow { color: #C8860A !important; }
.quick-contact h2 { color: #2C1A00 !important; }
.quick-contact-card { background: #ffffff !important; border-color: #F0D9A8 !important; }
.quick-contact-card .contact-icon { color: #C8860A !important; }
.quick-contact-card h4, .quick-contact-card h3 { color: #2C1A00 !important; }
.quick-contact-card p, .quick-contact-card a { color: #5A3800 !important; }

/* Contact form section — light bg */
.contact-form-section { background: #FFF0D6 !important; }
.contact-form-section .section-eyebrow { color: #C8860A !important; }
.contact-form-section h2 { color: #2C1A00 !important; }
.contact-form-section .section-desc { color: #5A3800 !important; }
.contact-info-block h3 { color: #2C1A00 !important; }
.contact-info-block p, .contact-info-block a { color: #5A3800 !important; }
.contact-form-card { background: #ffffff !important; border-color: #F0D9A8 !important; }
.contact-form-card h3 { color: #2C1A00 !important; }
.contact-form-card label { color: #2C1A00 !important; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea { background: #FFF8EE !important; color: #2C1A00 !important; border-color: #F0D9A8 !important; }
.contact-form-card input::placeholder, .contact-form-card textarea::placeholder { color: #8A6A40 !important; }

/* Map section */
.map-section { background: #FFF8EE !important; }
.map-section h2 { color: #2C1A00 !important; }
.map-info-card { background: #ffffff !important; border-color: #F0D9A8 !important; }
.map-info-card h4 { color: #2C1A00 !important; }
.map-info-card p, .map-info-card a { color: #5A3800 !important; }
.map-info-card .info-icon { color: #C8860A !important; }

/* FAQ section — light bg */
.faq-section { background: #FFF8EE !important; }
.faq-section .section-eyebrow { color: #C8860A !important; }
.faq-section h2 { color: #2C1A00 !important; }
.faq-item { background: #ffffff !important; border-color: #F0D9A8 !important; }
.faq-question { color: #2C1A00 !important; }
.faq-answer { color: #5A3800 !important; }
.faq-icon { color: #C8860A !important; }

/* Contact CTA — dark bg */
.contact-cta { background: #2C1A00 !important; }
.contact-cta .section-eyebrow { color: #C8860A !important; }
.contact-cta h2 { color: #ffffff !important; }
.contact-cta p { color: rgba(255,255,255,0.82) !important; }

/* ===== WHITE TEXT OVERRIDES FOR DARK SECTIONS ===== */
.contact-hero-sub { color: rgba(255,255,255,0.7) !important; }
.contact-info .section-eyebrow { color: #C8860A !important; }
.contact-info .section-title { color: #fff !important; }
.contact-info .section-desc { color: rgba(255,255,255,0.7) !important; }
.cinfo-label { color: rgba(255,255,255,0.55) !important; }
.cinfo-value { color: #fff !important; }
.cinfo-value a { color: #C8860A !important; }
.hours-row td { color: rgba(255,255,255,0.8) !important; }
.hours-row.today td { color: #fff !important; }
.social-link-label { color: rgba(255,255,255,0.7) !important; }
.faq-section .section-eyebrow { color: #C8860A !important; }
.faq-section .section-title { color: #fff !important; }
.faq-question { color: #fff !important; }
.faq-answer { color: rgba(255,255,255,0.75) !important; }

