/* src/style.css */
:root {
  --page: #fbfaf9;
  --ink: #251f21;
  --ink-2: #585254;
  --ink-3: #969394;
  --hairline: #eae9ea;
  --teal: #73a89a;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  margin: 0;
  min-height: 100%;
}
body {
  background: var(--page);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.site-header {
  margin-bottom: 28px;
}
.site-title {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    Georgia,
    serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.site-fact {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--ink-2);
}
.site-fact.known {
  color: var(--teal);
  font-weight: 600;
}
.site-intro {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}
.control {
  margin: 0 0 28px;
}
.control-label {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tab {
  appearance: none;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.tab[aria-pressed=true] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.group {
  margin: 0 0 36px;
}
.group-heading {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    Georgia,
    serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 16px;
}
div.group-heading {
  font-size: 20px;
  color: var(--ink-2);
}
.rows {
  display: flex;
  flex-direction: column;
}
.row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.row:last-child {
  border-bottom: 0;
}
.row-num {
  flex: 0 0 auto;
  color: var(--ink-2);
  font-size: 15px;
  min-width: 26px;
  padding-top: 1px;
}
.row-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.row-name {
  font-weight: 600;
  font-size: 15.5px;
}
.row-detail {
  color: var(--ink-2);
  font-size: 14.5px;
  white-space: pre-line;
}
.row-value {
  flex: 0 0 auto;
  color: var(--ink-2);
  font-size: 15px;
  padding-top: 1px;
  text-align: right;
}
.row-value.known {
  color: var(--teal);
  font-weight: 600;
}
.caption {
  color: var(--ink-3);
  font-size: 13px;
  margin: 10px 0 0;
}
.closing {
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.btn {
  appearance: none;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 16px;
  min-height: 40px;
  font-size: 14.5px;
  cursor: pointer;
  margin-bottom: 12px;
}
.btn:hover {
  background: var(--hairline);
}
.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}
.thumb {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}
.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.fotos-chicas .photos {
  gap: 8px;
}
.fotos-chicas .thumb {
  flex: 0 0 auto;
}
.fotos-chicas .thumb img {
  width: auto;
  max-width: 132px;
  max-height: 176px;
  object-fit: contain;
}
video {
  width: 100%;
  border-radius: 12px;
  display: block;
  background: #000;
}
.zoom {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom > img {
  max-width: 96vw;
  max-height: 96vh;
  object-fit: contain;
}
.zoom-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 44px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
}
.zoom-prev {
  left: 4px;
}
.zoom-next {
  right: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .tab,
  .btn,
  .thumb {
    transition: background-color .15s ease, border-color .15s ease;
  }
}
