/* ==========================================================================
   Jezdecký klub Wartov — varianta E
   Mobile-first. Zlomy: tablet ≥ 640 px, desktop ≥ 1024 px.
   ========================================================================== */

:root {
  --paper: #F6F4EF;
  --paper-2: #FBFAF6;
  --ink: #16150F;
  --text: #3B3930;
  --muted: #5E5A4E;
  --rule: #C9C4B6;
  --dots: #8C8778;
  --accent: #7B4A1E;         /* sedlová hnědá — změnou zde se přebarví celý web */

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: 20px;
  --max: 1312px;
  --gap: 24px;
}

@media (min-width: 640px)  { :root { --gutter: 40px; --gap: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 64px; --gap: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 72px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* ---------- Typografické pomůcky ---------- */
.mono { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.center { text-align: center; }
.label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.caption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.02; }
.h2--lg { font-size: 42px; }
.h2--xl { font-size: 52px; line-height: 1; }
.h2--xxl { font-size: 56px; line-height: .95; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text); }
.link-mono { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.quote { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.15; color: var(--accent); }
.nocaps { text-transform: none !important; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; border: 1px solid var(--ink); cursor: pointer; background: none; color: var(--ink);
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--block { display: flex; width: 100%; }

/* ---------- Kostra ---------- */
.page { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 44px 0; border-bottom: 1px solid var(--ink); }

/* ---------- Mobilní hlavička ---------- */
.mobile-bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 64px; padding: 0 var(--gutter);
  background: var(--paper); border-bottom: 3px double var(--ink);
}
.mobile-bar__logo { font-family: var(--serif); font-size: 32px; line-height: 1; text-decoration: none; }
.mobile-bar__actions { display: flex; gap: 8px; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); }
.menu-btn, .menu-close {
  min-width: 48px; height: 48px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; cursor: pointer;
}
.menu-btn { background: var(--ink); color: var(--paper); border: 0; }
.menu-close { background: none; color: var(--ink); border: 1px solid var(--ink); }

/* ---------- Mobilní menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto;
  display: flex; flex-direction: column; padding: 0 var(--gutter);
  background: var(--paper);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 3px double var(--ink); }
.mobile-menu__logo { font-family: var(--serif); font-size: 32px; line-height: 1; }
.mobile-menu__nav { display: flex; flex-direction: column; padding-top: 12px; }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 16px; min-height: 60px; padding: 12px 0;
  border-bottom: 1px solid var(--rule); text-decoration: none;
  font-family: var(--serif); font-size: 36px; line-height: 1;
}
.mobile-menu__nav a span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 24px 0; }
.mobile-menu__phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mobile-menu__phones .btn { text-transform: none; font-size: 13px; }
body.menu-open { overflow: hidden; }

/* ---------- Horní lišta + titul + menu ---------- */
.topstrip { display: none; }
.masthead { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 0 20px; border-bottom: 1px solid var(--ink); }
.masthead__kicker { color: var(--muted); font-size: 11px; }
.masthead__title { font-family: var(--serif); font-weight: 400; font-size: clamp(88px, 27vw, 240px); line-height: .92; letter-spacing: -.02em; margin-top: 4px; }
.masthead__tagline { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--accent); }
.mainnav { display: none; }

/* ---------- Úvod ---------- */
.hero { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
.hero__figure img { width: 100%; height: 280px; object-fit: cover; object-position: center 78%; }
.hero__text { display: flex; flex-direction: column; gap: 18px; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.02; }
.hero__actions { display: flex; flex-direction: column; gap: 14px; }
.hero__actions .btn { width: 100%; }
.hero__aside { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--rule); padding-top: 14px; }
.hero__cave { font-family: var(--serif); font-size: 24px; text-decoration: none; }

/* ---------- Stručně ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px 18px 0; }
.fact:nth-child(odd) { border-right: 1px solid var(--rule); }
.fact:nth-child(even) { padding-left: 12px; }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
.fact__value { font-family: var(--serif); font-size: 26px; line-height: 1; }

/* ---------- O nás ---------- */
.about { display: grid; gap: 16px; }
.about__head { display: flex; flex-direction: column; gap: 14px; }
.about__col { color: var(--text); line-height: 1.7; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 64px; line-height: .8; padding: 6px 8px 0 0; color: var(--accent); }

/* ---------- Služby ---------- */
.services { display: grid; gap: 20px; }
.services__side { display: flex; flex-direction: column; gap: 16px; }
.services__side > p { color: var(--text); }
.services__figure img { width: 100%; height: 220px; object-fit: cover; object-position: center 72%; }
.callout { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--accent); background: var(--paper-2); }
.callout__label { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.callout__title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.callout p { color: var(--text); }
.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.index li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-bottom: 1px dotted var(--dots); }
.index__no { font-family: var(--mono); font-size: 11px; color: var(--accent); padding-top: 8px; }
.index__name { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.index__desc { grid-column: 2; font-size: 15px; line-height: 1.55; color: var(--text); margin-top: 6px; }
.services__price { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; text-decoration: none; }

/* ---------- Solná jeskyně ---------- */
.cave { display: grid; gap: 22px; }
.cave__head { display: flex; flex-direction: column; gap: 14px; }
.cave__title { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: .92; }
.cave__intro { display: flex; flex-direction: column; gap: 18px; }
.cave__intro > p:not(.quote):not(.cave__price) { color: var(--text); line-height: 1.7; }
.cave__price { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); }
.benefits { border-top: 1px solid var(--ink); }
.benefits > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.benefits dt { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.benefits dd { font-size: 15px; line-height: 1.6; color: var(--text); }
.notice { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--ink); align-self: start; }
.notice ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--text); }

/* ---------- Ceník ---------- */
.pricing { display: grid; gap: 24px; }
.pricing__head { display: flex; flex-direction: column; gap: 14px; }
.pricing__head p { color: var(--text); }
.pricing__blocks { display: grid; gap: 40px; }
.price-block { display: flex; flex-direction: column; }
.price-block__head { font-weight: 400; font-size: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; letter-spacing: .08em; }
.price-row { display: flex; align-items: flex-end; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.price-row__name { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.price-row__name span { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.price-row__name small { font-size: 14px; color: var(--text); }
.price-row__dots { flex-grow: 1; min-width: 16px; border-bottom: 2px dotted var(--dots); margin-bottom: 10px; }
.price-row__price { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.price-row__price span { font-family: var(--serif); font-size: 30px; line-height: 1; white-space: nowrap; }
.price-row__price small { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.price-block__cta { margin-top: 20px; width: 100%; }
.discount { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; padding: 20px; border: 1px solid var(--accent); background: var(--paper-2); }
.stamp {
  display: none; /* na mobilu skryto */
  width: 118px; height: 118px; flex-shrink: 0; border-radius: 50%;
  border: 3px double var(--accent); color: var(--accent);
  flex-direction: column; align-items: center; justify-content: center; gap: 2px; transform: rotate(-9deg);
}
.stamp span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.stamp strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: .9; }
.discount__text { display: flex; flex-direction: column; gap: 8px; }
.discount__title { font-family: var(--serif); font-size: 24px; line-height: 1.05; }
.discount__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.discount__price del, .discount__price strong { white-space: nowrap; }
.discount__price del { font-family: var(--serif); font-size: 24px; color: var(--muted); }
.discount__price strong { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--accent); }

/* ---------- Fotogalerie ---------- */
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery__item { display: block; overflow: hidden; }
.gallery__item img { width: 100%; height: 150px; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--big, .gallery__item--wide { grid-column: span 2; }
.gallery__item--big img, .gallery__item--wide img { height: 220px; }
.gallery__item--big img { object-position: center 55%; }
.gallery__item img[src*="staj"] { object-position: center 60%; }
.gallery__item--wide img { object-position: center 55%; }

/* ---------- Poptávka ---------- */
.inquiry { display: grid; gap: 18px; }
.inquiry__head { display: flex; flex-direction: column; gap: 14px; }
.inquiry__head p { color: var(--text); }
.form { display: grid; gap: 20px; border: 1px solid var(--ink); padding: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  min-height: 44px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; font: inherit; font-size: 17px; padding: 0; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--accent); }
.field.is-invalid input { border-bottom-color: #A3261A; }
.form__foot { display: flex; flex-direction: column; gap: 16px; }
.form__foot .btn { width: 100%; min-height: 56px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--text); }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.form__status { min-height: 1em; color: var(--accent); text-transform: none; font-size: 13px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__turnstile:empty { display: none; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 24px; border-bottom: 0; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact__info > p { color: var(--text); }
.contact__list { border-top: 1px solid var(--ink); }
.contact__item { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact__item:last-child { border-bottom: 0; }
.contact__big { font-family: var(--serif); font-size: 30px; line-height: 1.15; text-decoration: none; }
.contact__mid { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.map { position: relative; border: 1px solid var(--ink); aspect-ratio: 3 / 2; overflow: hidden; background: #E4DECF; }
.map img, .map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.map__load {
  position: absolute; right: 12px; bottom: 12px;
  min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.map__load:hover { background: var(--ink); color: var(--paper); }
.contact__maplinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.contact__maplinks .btn { padding: 0 10px; }

/* ---------- Patička ---------- */
.footer { border-top: 3px double var(--ink); padding: 28px 0 32px; display: flex; flex-direction: column; gap: 24px; }
.footer__grid { display: grid; gap: 24px; }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__logo { font-family: var(--serif); font-size: 48px; line-height: .9; }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--accent); }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.footer__nav a, .footer__contact a { text-decoration: none; }
.footer__bottom { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--rule); padding-top: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   TABLET ≥ 640 px
   ========================================================================== */
@media (min-width: 640px) {
  .mobile-bar { display: none; }
  .mobile-menu { display: none !important; }

  .topstrip {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--ink);
    font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  }
  .topstrip__mid { display: none; }
  .topstrip__links { display: flex; gap: 24px; }
  .topstrip__email { display: none; }
  .topstrip a { text-decoration: none; }

  .masthead { padding: 16px 0 0; border-bottom: 0; }
  .masthead__kicker { display: none; }
  .masthead__title { font-size: clamp(120px, 19vw, 240px); }
  .masthead__tagline { font-size: 22px; margin: 6px 0 18px; }

  .mainnav {
    display: flex; justify-content: space-between; align-items: stretch;
    border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink);
    font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
    position: sticky; top: 0; z-index: 20; background: var(--paper);
  }
  .mainnav__links { display: flex; justify-content: space-between; flex-grow: 1; }
  .mainnav__links a { display: inline-flex; align-items: center; min-height: 52px; text-decoration: none; }
  .mainnav__links a.is-active { color: var(--accent); }
  .mainnav__cta { display: none; }

  .section { padding: 56px 0; }
  .h2 { font-size: 52px; }
  .h2--lg { font-size: 56px; }
  .h2--xl { font-size: 64px; }
  .h2--xxl { font-size: 72px; }

  .hero { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-top: 36px; }
  .hero__figure { grid-column: 1 / -1; }
  .hero__figure img { height: 460px; }
  .hero__text { display: contents; }
  .hero__text > .label, .hero__title, .lead { grid-column: 1 / span 4; }
  .hero__title { font-size: 56px; line-height: 1; }
  .hero__actions { grid-column: 5 / span 2; grid-row: 2 / span 2; align-self: end; border-left: 1px solid var(--rule); padding-left: 20px; }
  .hero__aside { grid-column: 5 / span 2; grid-row: 4; align-self: end; border-left: 1px solid var(--rule); padding-left: 20px; border-top: 0; padding-top: 0; }
  .hero__cave { font-size: 22px; }

  .fact { padding: 22px 20px 22px 0; }
  .fact:nth-child(even) { padding-left: 20px; }
  .fact__value { font-size: 34px; }

  .about { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; }
  .about__head { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 20px; }
  .dropcap::first-letter { font-size: 72px; }

  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .services__side { display: contents; }
  .services__side > .label, .services__side > .h2, .services__side > p { grid-column: 1 / span 3; }
  .services__figure { grid-column: 4 / span 3; grid-row: 1 / span 3; align-self: end; }
  .services__figure img { height: 240px; }
  .services__figure .caption { display: none; }
  .callout { grid-column: 1 / -1; grid-row: 5; padding: 24px; }
  .callout__title { font-size: 32px; }
  .services__list { grid-column: 1 / -1; grid-row: 4; }
  .index li { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 20px; align-items: baseline; padding: 18px 0; }
  .index__no { font-size: 12px; padding-top: 0; }
  .index__name { font-size: 26px; }
  .index__desc { grid-column: 3; margin-top: 0; }

  .cave { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cave__head, .benefits, .notice { grid-column: 1 / -1; }
  .cave__title { font-size: 104px; }
  .cave__intro { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; align-items: start; }
  .quote { font-size: 32px; }
  .cave__price, .cave__intro .btn { grid-column: 1 / -1; }
  .cave__intro .btn { justify-self: start; }
  .benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

  .pricing__blocks { gap: 48px; }
  .price-block__cta { width: auto; align-self: flex-start; }
  .price-row__name span { font-size: 28px; }
  .price-row__price span { font-size: 36px; }
  .stamp { display: flex; }
  .discount { flex-direction: row; align-items: center; }

  .gallery__grid { gap: 16px; }
  .gallery__item img { height: 240px; }
  .gallery__item--big img, .gallery__item--wide img { height: 360px; }

  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; padding: 32px; }
  .field--full, .form__foot, .form__status, .form__turnstile { grid-column: 1 / -1; }

  .contact__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
  .contact__item { padding: 24px; border-bottom: 1px solid var(--ink); }
  .contact__item:first-child { border-right: 1px solid var(--ink); }
  .contact__item:last-child { grid-column: 1 / -1; }
  .contact__maplinks { display: flex; gap: 12px; }

  .footer__grid { grid-template-columns: 1fr auto; align-items: end; }
  .footer__nav { flex-direction: row; gap: 20px; font-size: 12px; }
  .footer__contact { display: none; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   DESKTOP ≥ 1024 px
   ========================================================================== */
@media (min-width: 1024px) {
  .topstrip__mid { display: inline; }
  .topstrip__email { display: inline; }
  .masthead__tagline { font-size: 28px; margin: 8px 0 24px; }

  .mainnav { font-size: 14px; letter-spacing: .08em; }
  .mainnav__links { justify-content: flex-start; flex-grow: 0; }
  .mainnav__links a { padding: 0 22px; border-right: 1px solid var(--rule); min-height: 56px; }
  .mainnav__links a:first-child { padding-left: 0; }
  .mainnav__links a:last-child { border-right: 0; }
  .mainnav__cta { display: inline-flex; align-items: center; padding: 0 24px; background: var(--ink); color: var(--paper); text-decoration: none; }
  .mainnav__cta:hover { background: var(--accent); color: #fff; }

  .section { padding: 80px 0; }
  .h2 { font-size: 56px; }
  .h2--lg { font-size: 64px; line-height: 1; }
  .h2--xl { font-size: 72px; }
  .h2--xxl { font-size: 88px; }
  .lead { font-size: 18px; }

  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; padding: 48px 0 56px; }
  .hero__figure { grid-column: span 8; }
  .hero__figure img { height: 620px; }
  .hero__text { display: flex; grid-column: span 4; gap: 22px; border-left: 1px solid var(--rule); padding-left: 40px; }
  .hero__title { font-size: 64px; line-height: 1; }
  .hero__actions { border: 0; padding: 0; align-self: auto; }
  .hero__actions .btn { width: auto; align-self: flex-start; }
  .hero__aside { margin-top: auto; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .hero__cave { font-size: 28px; }

  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 28px 24px; border-bottom: 0 !important; border-right: 1px solid var(--rule); }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; padding-right: 0; }
  .fact__value { font-size: 40px; }

  .about { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .about__head { grid-column: span 4; flex-direction: column; gap: 14px; }
  .about__col { grid-column: span 4; font-size: 17px; }
  .dropcap::first-letter { font-size: 84px; padding: 6px 10px 0 0; }

  .services { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .services__side { display: flex; grid-column: span 4; grid-row: auto; }
  .services__side > p { font-size: 17px; }
  .services__figure { margin-top: 16px; grid-row: auto; align-self: stretch; }
  .services__figure img { height: 320px; }
  .services__figure .caption { display: block; }
  .callout { grid-row: auto; padding: 24px; }
  .callout__title { font-size: 34px; }
  .services__list { grid-column: 6 / span 7; grid-row: auto; }
  .index li { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 24px; padding: 20px 0; }
  .index__no { font-size: 13px; }
  .index__name { font-size: 30px; }
  .index__desc { font-size: 16px; }
  .services__price { font-size: 13px; }

  .cave { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .cave__head { flex-direction: row; align-items: baseline; gap: 24px; }
  .cave__title { font-size: 136px; }
  .cave__intro { grid-column: span 4; display: flex; gap: 20px; }
  .cave__intro > p:not(.quote):not(.cave__price) { font-size: 17px; }
  .quote { font-size: 40px; }
  .cave__intro .btn { align-self: flex-start; }
  .benefits { grid-column: span 4; display: block; }
  .benefits dt { font-size: 26px; }
  .benefits dd { font-size: 16px; }
  .notice { grid-column: span 4; }

  .pricing { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .pricing__head { grid-column: span 4; }
  .pricing__head p { font-size: 17px; }
  .pricing__blocks { grid-column: 6 / span 7; grid-template-columns: 1fr; gap: 56px; }
  .price-row__name span { font-size: 32px; }
  .price-row__name small { font-size: 15px; }
  .price-row__price span { font-size: 44px; }
  .price-block__cta { width: auto; align-self: flex-start; }
  .discount { gap: 24px; padding: 24px; }
  .discount__title { font-size: 26px; }
  .discount__price strong { font-size: 44px; }

  .gallery__head { margin-bottom: 32px; }
  .gallery__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .gallery__item { grid-column: span 3; }
  .gallery__item img { height: 300px; }
  .gallery__item--big { grid-column: span 6; grid-row: span 2; }
  .gallery__item--big img { height: 624px; }
  .gallery__item--wide { grid-column: span 6; }
  .gallery__item--wide img { height: 300px; }

  .inquiry { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .inquiry__head { grid-column: span 4; }
  .inquiry__head p { font-size: 17px; }
  .form { grid-column: 6 / span 7; padding: 40px; gap: 28px 32px; }
  .form__foot { flex-direction: row; justify-content: space-between; align-items: center; }
  .form__foot .btn { width: auto; min-height: 52px; }

  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; padding-bottom: 80px; }
  .contact__info { grid-column: span 4; }
  .contact__info > p { font-size: 17px; }
  .contact__list { display: block; border: 0; border-top: 1px solid var(--ink); }
  .contact__item { padding: 18px 0; border-right: 0 !important; border-bottom: 1px solid var(--rule); }
  .contact__big { font-size: 34px; }
  .contact__mid { font-size: 28px; }
  .contact__map { grid-column: span 8; }
  .map { aspect-ratio: auto; height: 520px; }

  .footer { padding: 40px 0 32px; gap: 40px; }
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
  .footer__brand { grid-column: span 6; }
  .footer__logo { font-size: 72px; }
  .footer__tagline { font-size: 20px; }
  .footer__nav { grid-column: span 3; flex-direction: column; gap: 10px; font-size: 13px; }
  .footer__contact { display: flex; grid-column: span 3; }
}
