/* ==========================================================
   ROOTMAN — contact.css
   Page-specific styles for contact.html
   ========================================================== */

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.page-hero {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  min-height: 58vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -220px;
  right: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.page-hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.page-hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 62px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
}

.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.page-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  max-width: 620px;
}

.hero-btn-row {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gold,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.22);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.section-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-label-line {
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-label-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-title-white {
  color: var(--white);
}

.section-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 42px;
}

/* ----------------------------------------------------------
   Contact cards
   ---------------------------------------------------------- */
.contact-cards-section {
  padding: 90px 0;
  background: var(--off-white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid #ece7df;
  padding: 30px 24px;
  box-shadow: 0 8px 26px rgba(11,34,64,0.05);
  transition: all 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(11,34,64,0.09);
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.12);
  color: var(--navy);
  margin-bottom: 18px;
}

.contact-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.contact-card-detail {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.contact-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.contact-card-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ----------------------------------------------------------
   Form section
   ---------------------------------------------------------- */
.contact-form-section {
  padding: 90px 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.contact-form-section::after {
  content: '';
  position: absolute;
  bottom: -220px;
  right: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.form-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.form-info {
  padding: 10px 0;
}

.form-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.form-info-item:last-child {
  border-bottom: none;
}

.form-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-info-title {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-info-value,
.form-info-value a {
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.7;
}

.form-card {
  background: var(--white);
  border-radius: 16px;
  border-top: 3px solid var(--gold);
  padding: 34px 28px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.form-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 22px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}

.optional-label {
  color: var(--text-light);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid #ddd6cb;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #c44b4b;
  box-shadow: none;
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #c44b4b;
  font-size: 12px;
}

.field-error.visible {
  display: block;
}

.popia-box {
  margin-top: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 12px;
  padding: 16px 16px 14px;
}

.popia-box.invalid {
  border-color: #c44b4b;
  box-shadow: 0 0 0 3px rgba(196,75,75,0.08);
}

.popia-title {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.popia-text,
.popia-decline {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.7;
}

.popia-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 12px;
  cursor: pointer;
}

.popia-check-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

.popia-check-row span {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.7;
}

.submit-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  text-align: center;
  padding: 26px 12px;
}

.form-success-icon {
  color: var(--gold);
  margin-bottom: 14px;
}

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   Hours
   ---------------------------------------------------------- */
.office-hours {
  padding: 90px 0;
  background: var(--white);
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hours-card {
  background: var(--off-white);
  border: 1px solid #ece7df;
  border-radius: 12px;
  padding: 22px 20px;
  transition: all 0.25s ease;
}

.hours-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11,34,64,0.06);
}

.hours-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.hours-status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hours-status.open {
  background: rgba(40,167,69,0.12);
  color: #1f7a35;
}

.hours-status.closed {
  background: rgba(180,60,60,0.1);
  color: #9e3333;
}

.hours-time {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.7;
}

.hours-note {
  margin-top: 24px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   Chat button consistency
   ---------------------------------------------------------- */
#chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--gold);
  color: white;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(11,34,64,0.4);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-toggle:hover {
  transform: scale(1.08);
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 58px 0 46px;
    min-height: auto;
  }

  .page-hero-inner,
  .section-inner {
    width: min(100%, calc(100% - 24px));
  }

  .page-hero-title {
    font-size: 38px;
  }

  .page-hero-desc {
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-gold,
  .btn-outline-white {
    width: 100%;
  }

  .contact-cards-section,
  .contact-form-section,
  .office-hours {
    padding: 46px 0;
  }

  .section-title {
    font-size: 34px;
  }

  .section-desc {
    font-size: 14px;
    margin-bottom: 26px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .form-card-title {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }

  #chat-box {
    width: 300px;
    height: 420px;
  }

  #chat-widget {
    right: 16px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 34px;
  }

  .section-title {
    font-size: 30px;
  }
}