/* =========================================================
   UNICO SLAB — Contact Page
   Extends style.css + product-detail.css design tokens.
========================================================= */

.contact-hero {
  padding-bottom: 70px;
}

/* ---------- Contact info + form (dark, reuses .pd-contact / .pd-field) ---------- */

.contact-main .section-title {
  margin-top: 14px;
  margin-bottom: 44px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
}

.contact-info-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.contact-info-list .contact-info-block:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.cib-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  font-size: 14px;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}

.contact-info-block:hover .cib-icon {
  background: #fff;
  border-color: #fff;
  color: var(--black);
}

.cib-body h4 {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.cib-body a {
  display: block;
  font-size: 15px;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), opacity .3s var(--ease);
}

.cib-body a:hover {
  border-color: rgba(255, 255, 255, .6);
}

.cib-body a:last-child {
  margin-bottom: 0;
}

.cib-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .62);
}

.contact-info-social .socials a {
  border-color: rgba(255, 255, 255, .2);
}

.contact-form .pd-submit {
  margin-top: 6px;
}

.cib-body .socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

/* ---------- Map ---------- */

.contact-map {
  height: 440px;
  background: var(--warm);
}

.contact-map iframe {
  display: block;
  filter: grayscale(.25) contrast(1.02);
}

/* ---------- Travel cards ---------- */

.travel-section {
  background: var(--white);
}

.travel-card {
  height: 100%;
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}

.travel-card:hover {
  border-color: var(--black);
  background: var(--warm);
  transform: translateY(-4px);
}

.travel-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 26px;
  font-size: 15px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

.travel-card:hover .travel-card-icon {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.travel-card h3 {
  margin: 0 0 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

.travel-route {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.travel-route:last-child {
  padding-bottom: 0;
}

.travel-route span {
  color: var(--muted);
}

.travel-route strong {
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Weather table ---------- */

.weather-section {
  background: var(--warm);
}

.weather-table-wrap {
  overflow-x: auto;
}

.weather-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.weather-table thead th {
  text-align: left;
  padding: 0 0 18px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.weather-table tbody td {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: -.005em;
}

.weather-table tbody tr:hover td {
  color: var(--black);
}

.weather-table tbody tr td:first-child {
  font-weight: 600;
}

.weather-table tbody td:nth-child(2) {
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .contact-hero {
    padding-bottom: 55px;
  }

  .contact-map {
    height: 340px;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 95px 0;
  }

  .weather-table thead {
    display: none;
  }

  .weather-table,
  .weather-table tbody,
  .weather-table tbody tr {
    display: block;
    min-width: 0;
  }

  .weather-table tbody tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .weather-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border: 0;
  }

  .weather-table tbody td::before {
    content: attr(data-label);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
  }
}