/* ============================================
   CONTACT PAGE STYLES
   contact.html
   ============================================ */

/* ── Hero — split layout: navy text left / photo right ── */
.contact-hero {
  position: relative;
  height: clamp(300px, 32vw, 400px);
  display: flex;
  align-items: stretch;
  background: var(--navy);
  overflow: hidden;
}

/* ── RIGHT: photo panel ── */
.contact-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 60%;
  height: 100%;
  z-index: 0;
  clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%);
}

.contact-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(11,28,54,1.00)  0%,
    rgba(11,28,54,0.85) 15%,
    rgba(11,28,54,0.55) 30%,
    rgba(11,28,54,0.25) 45%,
    rgba(11,28,54,0.00) 62%
  );
  pointer-events: none;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.92) contrast(1.04);
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: auto;
}

/* ── LEFT: navy text panel ── */
.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  width: 55%;
  height: 100%;
  z-index: 1;
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 120px) 0, 100% 100%, 0 100%);
}

/* Teal accent line at the top of the blue panel */
.contact-hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal) 60%, transparent);
}

/* ── Content sits above both panels ── */
.contact-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--container-pad, 48px);
}

.contact-hero-text {
  width: clamp(320px, 46%, 560px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Mobile: collapse to full-bleed photo hero ── */
@media (max-width: 900px) {
  .contact-hero {
    height: auto;
    min-height: 300px;
  }
  .contact-hero-bg {
    position: absolute;
    width: 100%;
    clip-path: none;
  }
  .contact-hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(11,28,54,0.35) 0%,
      rgba(11,28,54,0.75) 60%,
      rgba(11,28,54,0.92) 100%
    );
  }
  .contact-hero-overlay {
    position: absolute;
    width: 100%;
    clip-path: none;
    background: transparent;
  }
  .contact-hero-overlay::after { display: none; }
  .contact-hero-content {
    justify-content: center;
    align-items: flex-end;
    padding: 32px 40px 44px;
  }
  .contact-hero-text {
    width: 100%;
    max-width: 600px;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .contact-hero       { min-height: 260px; }
  .contact-hero-sub   { display: none; }
  .contact-hero-title { letter-spacing: 0; }
}

.contact-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(76,201,240,0.15);
  border: 1px solid rgba(76,201,240,0.4);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.contact-hero-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 14px;
  max-width: 520px;
}


.contact-hero-sub {
  font-size: clamp(12px, 1.3vw, 14px);
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 480px;
}

/* Contact info badges inside the hero */
.contact-hero-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-hero-info-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-hero-info-item:hover { color: var(--teal); }

.contact-hero-info-item i {
  color: var(--teal);
  font-size: 11px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* ── Hero CTA Buttons ── */
.contact-hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--navy);
  font-size: var(--text-base);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.contact-hero-cta:hover {
  background: #3ab8d8;
  transform: translateY(-2px);
}

.contact-hero-cta--outline {
  background: transparent;
  color: rgba(255,255,255,0.90);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.contact-hero-cta--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--teal);
  color: var(--teal);
}

/* ── Info Strip ── */
.contact-info-strip {
  background: var(--navy);
  border-top: none;
  border-bottom: 1px solid rgba(11,28,54,0.10);
  padding: 6px 0;
}

/* Row 1: Address / Phone / Email */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding-bottom: 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 180px;
  padding: 2px 20px;
}

.contact-info-item > i {
  color: var(--teal);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1px;
  line-height: 1;
}

.contact-info-value {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-info-value a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-value a:hover { color: var(--teal); }

/* Live status dot in contact strip */

.contact-strip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4CC9F0;
  flex-shrink: 0;
  animation: nav-pulse 2s infinite;
}

.contact-strip-dot.closed {
  background: #ef4444;
  animation: none;
}

#contact-strip-status.closed { color: #ef4444; }

.contact-info-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Row 2: Hours of Operation ── */
.contact-hours-row {
  padding: 16px 0 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-hours-row-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.contact-hours-row-header i {
  font-size: var(--text-sm);
}

.contact-hours-cols {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  flex: 1;
}

.contact-hours-col {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-hours-col-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.contact-hours-col-range {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--teal);
}

.contact-hours-col-sub {
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.contact-hours-col-note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.50);
  font-style: italic;
}

.contact-hours-col-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.contact-hours-col-divider--tall {
  height: 40px;
  background: rgba(255,255,255,0.25);
  margin: 0 8px;
}

/* ── Forms Section ── */
.contact-forms-section {
  background: var(--gray-bg);
  padding: 48px 0 60px;
}

.contact-forms-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

/* ── Form Card ── */
.contact-form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(11,28,54,0.08);
  border-top: 4px solid var(--teal);
  display: flex;
  flex-direction: column;
}

/* Push the form to fill available height so cards stay even */
.contact-form {
  flex: 1;
}

.contact-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.contact-form-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(76,201,240,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-form-icon--tour {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.contact-form-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 2px;
}

.contact-form-tag--tour { color: #ffffff; }

.contact-form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.contact-form-title-divider {
  color: var(--teal);
  font-weight: 400;
}

.contact-form-desc {
  font-size: var(--text-sm);
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ── Form Fields ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.req { color: var(--teal); }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  padding: 8px 11px;
  font-size: var(--text-sm);
  font-family: var(--font-base);
  color: var(--color-navy);
  background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(76,201,240,0.12);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 211px; margin-bottom: 0; }

.contact-submit {
  margin-top: 2px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 13px 24px;
  width: 100%;
}

.contact-submit--tour {
  background: var(--teal) !important;
  color: var(--navy) !important;
  border-color: var(--teal) !important;
}

.contact-submit--tour:hover {
  background: #3ab8d8 !important;
  border-color: #3ab8d8 !important;
}

/* ── Trust Note below submit ── */
.contact-trust-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(76,201,240,0.06);
  border-radius: 8px;
  border: 1px solid rgba(76,201,240,0.18);
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  font-size: var(--text-xs);
  color: var(--gray-text);
  line-height: 1.4;
}

.contact-trust-item i {
  color: var(--teal);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

/* ── Success State ── */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}

.contact-success i {
  font-size: 42px;
  color: var(--teal);
}

.contact-success h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.contact-success p {
  font-size: var(--text-sm);
  color: var(--gray-text);
  line-height: 1.6;
}

/* ── Right Info Panel ── */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.info-panel-card {
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(11,28,54,0.08);
}

.info-panel-card--navy {
  background: var(--navy);
  border-top: 4px solid var(--teal);
  position: relative;
  overflow: hidden;
}

.info-panel-card--teal {
  background: var(--teal);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.info-panel-card--light {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
}

/* Hours card header */
.info-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.info-panel-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-panel-snowflake {
  height: 27px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(80%) saturate(400%) hue-rotate(170deg) brightness(105%);
}

.info-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(76,201,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.info-panel-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 2px;
}

.info-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

/* Hours blocks */
.info-hours-block {
  margin-bottom: 4px;
}

.info-hours-day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.info-hours-day {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}

.info-hours-range {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

.info-hours-range--gold {
  color: #ffffff;
}

.info-hours-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.info-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 7px 12px;
}

.info-hours-time {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.info-hours-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

.info-hours-badge--open {
  background: rgba(76,201,240,0.18);
  color: var(--teal);
}

.info-hours-badge--appt {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.info-hours-divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 14px 0;
}

/* Phone callout */
.info-panel-callout-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.info-panel-callout-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(11,28,54,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.info-panel-callout-number {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.info-panel-callout-number:hover { opacity: 0.75; }

/* Location card */
.info-panel-location-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.info-panel-location-addr {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.info-panel-location-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--gray-text);
}

.info-loc-pill i {
  color: var(--teal);
  font-size: var(--text-xs);
}

/* ── Google Map Card ── */
.info-map-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(76,201,240,0.25);
  background: var(--navy);
  flex: 1;
}

.info-map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  background: var(--navy);
}

.info-map-header i {
  color: var(--teal);
  font-size: var(--text-sm);
}

.info-map-frame {
  width: 100%;
  height: 300px;
  position: relative;
}

.info-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-map-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--navy);
  transition: background 0.2s, color 0.2s;
}

.info-map-directions:hover {
  background: rgba(76,201,240,0.10);
  color: #fff;
}

.info-map-directions i {
  font-size: var(--text-sm);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .contact-forms-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .info-hours-day-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .contact-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .contact-info-divider { display: none; }
  .contact-info-item { padding: 0; }
  .contact-hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .contact-hours-row-header {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 8px;
    width: 100%;
  }
  .contact-hours-cols {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .contact-hours-col-divider { display: none; }
  .contact-hours-col { padding: 0; }
}
