/* ==========================================================
   Radotín Fitness – vzhled převzatý z původního webu na HubSpotu
   Písmo Roboto, zelená z loga, bílá plovoucí hlavička,
   velké fotky přes celou šířku, bloky „fotka vedle textu“.
   Barvy a písmo měníte jen tady v :root.
   ========================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --green: #BBCA62;       /* tlačítka a zelený pás */
  --green-hover: #A3B34A;
  --green-dark: #6F9B52;  /* aktivní položka menu, odkazy */
  --logo-green: #ABBD4B;
  --ink: #1D1D1B;         /* nadpisy a text */
  --text: #222;
  --muted: #6B717C;
  --nav: #898F9D;         /* šedé položky menu */
  --line: #E3E5E8;
  --soft: #F6F7F2;        /* světlé pozadí sekcí */
  --paper: #fff;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --radius: 6px;
  --header-top: 20px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px); }
body { margin: 0; font: 400 1.125rem/1.6 var(--sans); color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1 em, h2 em { font-style: normal; color: var(--green-dark); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.narrow-wide { max-width: 1060px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 80; background: var(--green); color: #fff; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.plain { list-style: none; margin: 0; padding: 0; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.empty { font-size: 1.15rem; color: var(--muted); }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1.125rem/1.2 var(--sans); padding: 1.05em 2.1em; border-radius: var(--radius);
  background: var(--green); color: #fff; border: 2px solid var(--green);
  text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-small { padding: .8em 1.5em; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 2.2em; }
.link-more { font-weight: 700; color: var(--green-dark); text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- plovoucí hlavička ---------- */
.site-header { position: absolute; z-index: 50; left: 0; right: 0; top: var(--header-top); padding: 0 var(--gutter); }
.site-header.is-fixed { position: fixed; top: 10px; animation: dropin .3s ease both; }
@keyframes dropin { from { transform: translateY(-120%); } to { transform: none; } }
.header-bar {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; border-radius: 12px; padding: 0 16px 0 36px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .08);
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.brand-text { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 48px); }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 48px); margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--nav); font-size: clamp(1rem, 1.1vw, 1.15rem); padding: 8px 0; white-space: nowrap; transition: color .2s; }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--green-dark); }
.nav-btn { padding: 1em 2.2em; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  :root { --header-h: 72px; --header-top: 12px; }
  .header-bar { padding: 0 12px 0 20px; position: relative; }
  .brand img { height: 46px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: var(--radius);
    background: var(--soft); color: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px 20px 20px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.14);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
}
/* Když se menu na šířku nevejde (hodně položek), přepne se do mobilní podoby – třídu přidá site.js */
html.nav-compact { --header-h: 72px; --header-top: 12px; }
html.nav-compact .header-bar { padding: 0 12px 0 20px; position: relative; }
html.nav-compact .brand img { height: 46px; }
html.nav-compact .nav-toggle {
display: inline-flex; align-items: center; justify-content: center;
width: 48px; height: 48px; border: 0; border-radius: var(--radius);
background: var(--soft); color: var(--ink); cursor: pointer;
}
html.nav-compact .nav-toggle-bars, html.nav-compact .nav-toggle-bars::before, html.nav-compact .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
html.nav-compact .nav-toggle-bars::before, html.nav-compact .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
html.nav-compact .nav-toggle-bars::before { top: -6px; }
html.nav-compact .nav-toggle-bars::after { top: 6px; }
html.nav-compact .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
html.nav-compact .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
html.nav-compact .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
html.nav-compact .nav {
display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
flex-direction: column; align-items: stretch; gap: 16px;
padding: 8px 20px 20px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.14);
max-height: calc(100vh - 120px); overflow-y: auto;
}
html.nav-compact .nav.open { display: flex; }
html.nav-compact .nav ul { flex-direction: column; gap: 0; }
html.nav-compact .nav ul a { display: block; padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }

@media (max-width: 480px) { .brand img { height: 40px; } }

/* ---------- úvodní fotka ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: max(640px, 92svh); display: flex; align-items: center;
  background: #2a2c25 center / cover no-repeat;
  padding: calc(var(--header-h) + var(--header-top) + 48px) 0 72px;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 12, 8, .55); }
.hero-in { width: 100%; }
.hero-title { color: #fff; font-size: clamp(3.4rem, 7.6vw, 8.6rem); line-height: .98; letter-spacing: -.03em; max-width: 8ch; margin-bottom: .25em; text-wrap: balance; }
.hero-title em { color: var(--green); }
.hero-sub { font-size: clamp(1.35rem, 2.4vw, 2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.1em; max-width: 44ch; }
.hero-notice { font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.5; max-width: 48ch; }
.hero-notice p { margin-bottom: .9em; }
.hero .actions { margin-top: 2.6em; }

/* ---------- záhlaví podstránek ---------- */
.page-head {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: #222 center / cover no-repeat;
  padding: calc(var(--header-h) + var(--header-top) + clamp(56px, 8vw, 110px)) 0 clamp(64px, 9vw, 130px);
}
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .5); backdrop-filter: grayscale(1); -webkit-backdrop-filter: grayscale(1); }
.page-title { color: #fff; font-size: clamp(2.8rem, 6.5vw, 6.2rem); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.page-title em { color: var(--green); }
.page-lead { margin: 22px 0 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); max-width: 50ch; color: rgba(255,255,255,.92); }
.crumbs { margin-bottom: 16px; font-weight: 500; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.meta { margin-top: 16px; color: rgba(255,255,255,.8); }

/* ---------- sekce ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-text + .section { padding-top: 0; }
.section-title { font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: .55em; text-wrap: balance; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .section-title { margin-bottom: 0; }

.prose { max-width: 66ch; font-size: clamp(1.1rem, 1.25vw, 1.3rem); line-height: 1.65; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 1.5em 0 .5em; }
.prose h3 { font-size: 1.4rem; margin: 1.4em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green-dark); }
.prose img { margin: 1.5em 0; border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding-left: 22px; border-left: 4px solid var(--green); font-size: 1.25em; color: var(--ink); }
.prose a { color: var(--green-dark); font-weight: 500; }

/* ---------- bloky: fotka přes polovinu šířky vedle textu ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 52vw, 820px); }
.split-media { margin: 0; position: relative; overflow: hidden; background: var(--soft); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 140px) clamp(24px, 8vw, 180px) clamp(56px, 8vw, 140px) clamp(24px, 7vw, 140px); }
.split.flip .split-media { order: 2; }
.split.flip .split-copy { background: var(--soft); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { aspect-ratio: 4 / 3; }
  .split.flip .split-media { order: 0; }
  .split-copy { padding: 44px var(--gutter) 64px; }
}

/* ---------- kontakty: tři karty ---------- */
.contact-band { padding: clamp(56px, 8vw, 110px) 0; }
.contact-band.on-home { border-top: 1px solid var(--line); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.ccard { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 0 0 10px 10px; padding: clamp(28px, 3.5vw, 52px) clamp(24px, 3.5vw, 52px); }
.ccard h2 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 500; margin-bottom: .8em; }
.ccard li { font-size: clamp(1.08rem, 1.25vw, 1.3rem); margin-bottom: .75em; }
.ccard a { text-decoration: none; }
.ccard a:hover { color: var(--green-dark); text-decoration: underline; }
.ccard-link { margin-top: 1.4em; }
.ccard-link a { color: var(--green-dark); font-weight: 700; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- lekce ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vw, 72px); }
.chips a { text-decoration: none; font-weight: 500; padding: .6em 1.3em; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.chips a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.lesson-group + .lesson-group { margin-top: clamp(64px, 9vw, 120px); }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 32px; }
.lesson { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lesson-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--soft); }
.lesson-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.lesson h3 { font-size: 1.6rem; line-height: 1.2; }
.lesson-info { margin: 6px 0 0; color: var(--green-dark); font-weight: 700; }
.lesson-text { margin-top: 14px; color: #444; }
.lesson-cta { margin-top: auto; padding-top: 22px; }

/* ---------- trenéři ---------- */
.trainer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 48px 32px; }
.trainer { display: flex; flex-direction: column; }
.trainer-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--soft); }
.trainer-initials { display: grid; place-items: center; background: linear-gradient(150deg, #CBD786, var(--green)); }
.trainer-initials span { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; color: #fff; letter-spacing: .02em; }
.trainer-body { padding-top: 18px; }
.trainer h2 { font-size: 1.45rem; line-height: 1.2; }
.trainer-role { margin: 6px 0 0; color: var(--green-dark); font-weight: 500; }
.trainer-bio { margin-top: 12px; color: #444; font-size: 1.02rem; }
.trainer-phone { margin-top: 10px; font-weight: 700; }
.trainer-phone a { text-decoration: none; }

/* ---------- ceník ---------- */
.price-group + .price-group { margin-top: clamp(48px, 7vw, 88px); }
.price-title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; margin-bottom: .3em; }
.price-note { color: var(--muted); font-size: 1.1rem; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.price-table thead th { text-align: right; font-size: .85em; font-weight: 500; color: var(--muted); padding: 0 0 12px 16px; border-bottom: 3px solid var(--green); white-space: nowrap; }
.price-table thead th:first-child { text-align: left; padding-left: 0; }
.price-table tbody th { text-align: left; font-weight: 500; padding: 18px 16px 18px 0; color: var(--ink); }
.price-table tbody th span { display: block; font-weight: 400; font-size: .85em; color: var(--muted); margin-top: 2px; }
.price-table td { text-align: right; padding: 18px 0 18px 16px; font-weight: 700; white-space: nowrap; width: 1%; }
.price-table.two td { min-width: 9em; }
.price-table tr + tr th, .price-table tr + tr td { border-top: 1px solid var(--line); }
.price-table:not(:has(thead)) tbody tr:first-child th, .price-table:not(:has(thead)) tbody tr:first-child td { border-top: 3px solid var(--green); }
.price-notes { margin-top: clamp(48px, 6vw, 72px); padding: 32px 36px; background: var(--soft); border-left: 5px solid var(--green); border-radius: 0 10px 10px 0; max-width: none; }
.pricing .actions { margin-top: 48px; }
@media (max-width: 600px) {
  .price-table.two thead { display: none; }
  .price-table.two tr { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .price-table.two tr + tr { border-top: 1px solid var(--line); }
  .price-table.two tbody tr:first-child { border-top: 3px solid var(--green); }
  .price-table.two tbody th { grid-column: 1 / -1; padding: 0 0 8px; border: 0 !important; }
  .price-table.two td { text-align: left; padding: 0; border: 0 !important; width: auto; min-width: 0; }
  .price-table.two td::before { content: attr(data-label); display: block; font-size: .8em; font-weight: 400; color: var(--muted); }
}

/* ---------- novinky ---------- */
.news { background: var(--soft); }
.articles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 44px 32px; }
.article-media { display: block; overflow: hidden; margin-bottom: 20px; aspect-ratio: 3 / 2; border-radius: 10px; background: #ddd; }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-media:hover img { transform: scale(1.04); }
.article-body time { font-size: .95rem; color: var(--muted); }
.article-body h3 { font-size: 1.45rem; line-height: 1.25; margin: 6px 0 10px; }
.article-body h3 a { text-decoration: none; }
.article-body h3 a:hover { color: var(--green-dark); }
.article-body p { color: #444; }
.perex { font-size: 1.35rem; line-height: 1.55; color: var(--ink); margin-bottom: 32px; }
.cta-box { margin-top: 64px; padding: 40px; background: var(--soft); border-left: 5px solid var(--green); border-radius: 0 10px 10px 0; }
.cta-box h2 { font-size: 1.9rem; margin-bottom: 8px; }
.cta-box p { color: var(--muted); }
.cta-box .btn { margin-top: 18px; }
.more-articles { margin-top: 56px; }
.more-articles h2 { font-size: 1.5rem; margin-bottom: 12px; }
.more-articles li { padding: 14px 0; border-top: 1px solid var(--line); }
.more-articles a { font-weight: 500; text-decoration: none; }
.more-articles a:hover { color: var(--green-dark); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; }

/* ---------- kontaktní formulář ---------- */
.contact-form { padding-top: 0; }
.contact-form-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sheet { background: #fff; border: 1px solid #DCDCDC; padding: clamp(24px, 4vw, 52px); }
@media (max-width: 900px) { .contact-form-in { grid-template-columns: 1fr; } }
.inquiry { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 500; font-size: 1rem; }
.field em { font-style: normal; font-size: .9rem; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text); padding: .85em 1em;
  border: 1px solid #C9CDD2; border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(187, 202, 98, .35); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.field-error { color: #B3261E; font-size: .95rem; font-weight: 500; margin: 0; }
.form-alert { background: #FDECEA; border-left: 3px solid #B3261E; padding: 12px 16px; margin: 0; font-weight: 500; }
.form-note { font-size: .95rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--green-dark); }
.inquiry .btn { justify-self: start; }
.form-sent { border-left: 5px solid var(--green); padding: 4px 0 4px 22px; }
.form-sent h3 { font-size: 2rem; margin-bottom: 10px; }

/* ---------- patička ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 80px 0 28px; font-size: 1.02rem; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--green-dark); text-decoration: underline; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-name { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.footer-brand p { max-width: 30ch; color: #444; }
.footer-brand .btn { margin-top: 8px; }
.footer-h { font-size: 1.05rem; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; color: #444; }
.footer-addr { margin-top: 14px; }
.footer-bottom { margin-top: 56px; color: var(--muted); font-size: .92rem; }
.footer-bottom p { padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header.is-fixed { animation: none; }
  .article-media img { transition: none; }
}
