/* Patient information extends the existing teal, gold and white surfaces. */
.quick-actions button {
  min-width: 0;
  padding: 5px 3px;
}

.quick-actions svg {
  flex-shrink: 0;
}

.quick-actions span {
  line-height: 1.3;
}

#horarios,
#preguntas-frecuentes {
  scroll-margin-top: 24px;
}

.office-hours {
  position: relative;
  z-index: 2;
  margin: 25px 0 0;
  padding: 20px 18px;
  border: 1px solid rgba(18, 100, 96, 0.12);
  border-radius: 18px;
  background: #fff;
  color: #36575a;
  font-size: 15px;
  line-height: 1.6;
}

.office-hours h3 {
  margin: 0 0 16px;
  color: #8b5b19;
  font: 600 16px/1.4 "DM Sans", sans-serif;
}

.office-hours dl {
  margin: 0;
}

.office-hours dl > div + div {
  margin-top: 12px;
}

.office-hours dt {
  color: #173c3d;
  font-weight: 600;
}

.office-hours dd {
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}

.office-hours .hours-appointment {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 100, 96, 0.12);
  color: #076f69;
}

.office-hours .hours-sunday {
  margin: 12px 0 0;
}

#locationSheet .office-hours {
  margin: 0 0 22px;
}

.faq-section {
  margin: 8px 28px 34px;
  padding: 26px 20px;
  border: 1px solid rgba(18, 100, 96, 0.12);
  border-radius: 25px;
  background: linear-gradient(145deg, #f0f8f5, #faf6ec);
  box-shadow: 0 16px 38px rgba(11, 67, 64, 0.06);
}

.faq-heading > p {
  margin: 0 0 9px;
  color: #8b5b19;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.faq-heading h2 {
  margin: 0 0 23px;
  color: #173c3d;
  font: 500 27px/1.2 "Playfair Display", serif;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(18, 100, 96, 0.13);
  border-radius: 16px;
  background: #fff;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 17px 16px;
  color: #173c3d;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(110deg, rgba(233, 247, 242, 0.65), rgba(249, 242, 222, 0.5));
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #8b5b19;
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(18, 100, 96, 0.1);
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid #076f69;
  outline-offset: -4px;
  border-radius: 14px;
}

.faq-answer {
  padding: 16px;
  color: #36575a;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: #076f69;
  text-underline-offset: 3px;
}

.faq-contact,
.faq-procedure-links button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  font: 600 15px/1.4 "DM Sans", sans-serif;
}

.faq-contact {
  margin-top: 10px;
}

.faq-procedure-links {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-top: 12px;
}

.faq-procedure-links button {
  border: 0;
  background: transparent;
  color: #076f69;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.faq-answer svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

.faq-answer a:focus-visible,
.faq-answer button:focus-visible {
  outline: 2px solid #076f69;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 390px) {
  .faq-section {
    margin-inline: 20px;
    padding-inline: 16px;
  }

  .office-hours {
    padding-inline: 15px;
  }

  .quick-actions button {
    flex-direction: column;
    gap: 5px;
    min-height: 60px;
  }

  .quick-actions span {
    margin-left: 0;
  }
}
