/* ===== Contact page — match fresure Contact layout ===== */

.section-contact {
  padding: 56px 0 72px;
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(125, 176, 140, 0.14), transparent 60%),
    linear-gradient(180deg, #f7faf6 0%, #f2f5f1 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.55fr);
  gap: 28px;
  align-items: start;
}

/* ===== Info Cards ===== */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 18px;
  background: #eef5ea;
  border-radius: 14px;
  border: 1px solid #dce8d6;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  box-shadow: 0 8px 22px rgba(0, 18, 76, 0.08);
  border-color: #c8d8c2;
  transform: translateY(-1px);
}

.info-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d8e8d2;
  border-radius: 10px;
  color: #00124c;
}

.info-card-icon svg {
  display: block;
}

.info-card-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #00124c;
  margin: 0 0 4px;
}

.info-card-content p,
.info-card-content a {
  font-size: 0.9rem;
  color: #5a6d5e;
  line-height: 1.5;
  text-decoration: none;
  margin: 0;
}

.info-card-content a {
  display: inline-block;
  color: #00124c;
  font-weight: 650;
  margin-bottom: 2px;
}

.info-card-content a:hover {
  color: #00124c;
  text-decoration: underline;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

/* ===== Professional inquiry embed ===== */
.contact-form-wrapper {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-width: 0;
}

.contact-form-wrapper--professional .fresure-inquiry-mount {
  display: block;
  min-width: 0;
}

.contact-form-wrapper--professional .inquiry-professional-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(23, 58, 99, 0.12);
}

.contact-form-wrapper--professional .inquiry-contact-panel {
  min-height: 100%;
}

.contact-form-wrapper--professional .global-presence {
  margin-top: 22px;
}

/* Match screenshot: Global Presence text only */
.contact-form-wrapper--professional .presence-metrics,
.contact-form-wrapper--professional .global-presence small {
  display: none;
}

.contact-form-wrapper--professional .fresure-inquiry-form.inquiry-template-standard {
  box-shadow: none;
  border: 0;
  max-width: none;
}

.contact-form-wrapper--professional .required-marker {
  color: #e05353;
}

/* ===== Map ===== */
.map-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 18, 76, 0.08);
  border: 1px solid #e4ede0;
}

.map-container {
  width: 100%;
  height: 400px;
}

html[data-map="static"] #fresure-map,
html[data-map="osm"] #fresure-map-static {
  display: none !important;
}

.map-static {
  position: relative;
  background: #f6f9f4;
}

.map-static-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.map-static-img.is-active {
  opacity: 1;
}

.fresure-marker {
  background: none !important;
  border: none !important;
}

.fresure-marker-label {
  background: #00124c;
  color: #fff;
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  position: relative;
  letter-spacing: 0.5px;
}

.fresure-marker-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #00124c;
}

.map-static .map-static-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  transform: translate(-50%, calc(-100% - 10px));
  z-index: 2;
  pointer-events: none;
}

.map-address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.map-address-detail {
  display: block;
  width: 100%;
  text-align: center;
  padding: 20px 24px;
  background: #f6f9f4;
  border-radius: 12px;
  border: 1px solid #e4ede0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.map-address-detail:hover {
  border-color: #bdd0b6;
  box-shadow: 0 4px 14px rgba(0, 18, 76, 0.08);
  background: #fff;
}

.map-address-detail:focus-visible {
  outline: 2px solid #00124c;
  outline-offset: 2px;
}

.map-address-detail.is-active {
  border-color: #00124c;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 18, 76, 0.12);
}

.map-address-detail h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #00124c;
  margin-bottom: 8px;
}

.map-address-detail p {
  font-size: 0.9375rem;
  color: #5a6d5e;
  line-height: 1.6;
  margin: 0;
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e4ede0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 18, 76, 0.06);
}

.faq-item.active {
  border-color: #bdd0b6;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #00124c;
  text-align: left;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #00124c;
  font-size: 0.8rem;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: #5a6d5e;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.section-map {
  padding: 60px 0;
}

.section-map h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #00124c;
  margin-bottom: 8px;
}

.section-map .section-subtitle {
  text-align: center;
  color: #5a6d5e;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .section-contact {
    padding: 36px 0 48px;
  }

  .info-card {
    padding: 18px 16px;
  }

  .map-address-list {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 280px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.9375rem;
  }

  .faq-answer-inner {
    padding: 0 18px 16px;
  }
}
