/* The DFW Party Guide — один файл стилей.
   Сознательно НЕ похож на другие наши сайты: рубленый шрифт вместо антиквы,
   широкая сетка с карточками вместо узкой колонки, холодный фон с янтарным
   акцентом. Одинаковый шаблон на нескольких доменах — то, по чему их
   склеивают в одну семью, поэтому вёрстка здесь своя. */

:root {
  --ink: #16202b;
  --ink-soft: #56656f;
  --line: #dde4e9;
  --bg: #ffffff;
  --bg-2: #f2f5f7;
  --bg-3: #e7edf1;
  --accent: #0f6d6a;
  --accent-2: #d98324;
  --wide: 1040px;
  --text: 700px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16.5px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: #0a4f4d; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--text); }

/* ── шапка ── */
.top {
  border-bottom: 3px solid var(--accent);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}
.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 26px;
  padding-top: 16px;
  padding-bottom: 14px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo em { font-style: normal; color: var(--accent); }
.logo span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}
.top nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }

/* ── герой ── */
.hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 620px; margin: 14px 0 0; }
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 10px;
}

h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; margin: 36px 0 12px; font-weight: 700; }
h3 { font-size: 18px; margin: 26px 0 8px; font-weight: 700; }
p  { margin: 0 0 17px; }

main { padding: 34px 0 20px; }
article p, article ul, article ol { max-width: var(--text); }
article ul, article ol { padding-left: 21px; }
article li { margin-bottom: 9px; max-width: var(--text); }

figure { margin: 0 0 28px; }
figure img { border-radius: 6px; }
figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 9px; }

.meta {
  font-size: 13.5px;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent-2);
  padding-left: 12px;
  margin: 18px 0 26px;
}

/* ── карточки ── */
.grid { display: grid; gap: 22px; margin: 26px 0 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.card img { border-radius: 0; }
.card .pad { padding: 15px 17px 19px; }
.card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.3; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ── врезки ── */
.box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 18px 20px;
  margin: 26px 0;
  max-width: var(--text);
}
.box h3 { margin-top: 0; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding-left: 0; max-width: var(--text); }
.checklist li {
  padding-left: 27px;
  position: relative;
  margin-bottom: 11px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 13px; height: 13px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}

table.rates { border-collapse: collapse; width: 100%; max-width: var(--text); margin: 20px 0 26px; font-size: 15px; }
table.rates th, table.rates td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.rates th { background: var(--bg-2); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }

/* ── подвал ── */
footer.site { margin-top: 44px; background: var(--bg-3); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
footer.site .wrap { padding-top: 26px; padding-bottom: 30px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site .disclaimer { max-width: 640px; margin-top: 10px; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6edf2;
    --ink-soft: #93a3ae;
    --line: #2a353f;
    --bg: #0e151b;
    --bg-2: #151e26;
    --bg-3: #121a21;
    --accent: #3fb3ad;
    --accent-2: #e8a44e;
  }
  .card, .top { background: var(--bg); }
  figure img { opacity: 0.95; }
}
