/* studijuok.lt */
:root {
  --navy: #1f2c56;
  --navy-2: #33416e;
  --teal: #23a98a;
  --teal-dark: #1a8a70;
  --teal-soft: #d9f0e9;
  --cream: #f8f6f1;
  --card: #ffffff;
  --line: #e5e1d6;
  --line-strong: #d3cec1;
  --text: #2c3557;
  --muted: #6b7290;
  --star: #f4b335;
  --star-empty: #e2dfd6;
  --danger: #c2413a;
  --warn-bg: #fff4dc;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31, 44, 86, .08), 0 2px 6px rgba(31, 44, 86, .05);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: #efece4; padding: .1em .35em; border-radius: 5px; font-size: .9em; word-break: break-all; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.teal { color: var(--teal); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(35, 169, 138, .45); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 56px; height: auto; flex: none; }
.logo-text { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.logo-text span { color: var(--teal); }
.logo-small .logo-mark { width: 40px; }
.logo-small .logo-text { font-size: 1.4rem; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal-dark); }
.icon-btn { background: none; border: 0; padding: 6px; color: var(--navy); cursor: pointer; border-radius: 8px; display: inline-flex; }
.icon-btn:hover { background: rgba(31, 44, 86, .06); }
.header-search { display: flex; gap: 10px; padding-bottom: 14px; }
.header-search[hidden] { display: none; }
.header-search input { flex: 1; }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .95rem;
  padding: 12px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: #fff; color: var(--navy);
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { border-color: var(--navy-2); color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-danger { color: var(--danger); border-color: #e7b9b5; }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-small { padding: 6px 12px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }

input, select, textarea {
  font: inherit; font-size: .95rem; color: var(--text);
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35, 169, 138, .15); }
select:disabled { background: #f6f5f1; color: #a0a4b6; }
textarea { resize: vertical; min-height: 80px; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 14px; grid-template-columns: 1.2fr .8fr 1.2fr; }
.grid-author { display: grid; gap: 14px; grid-template-columns: 1fr 120px; }
.grid-author .field-email { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--text); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.error { color: var(--danger); font-size: .85rem; margin: 0; }
.error-box { background: #fdeceb; border: 1px solid #f2c4c0; padding: 10px 14px; border-radius: var(--radius-sm); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* select su ikona */
.select-wrap { position: relative; }
.select-wrap select, .select-wrap input { padding-left: 46px; height: 52px; }
.select-wrap select { appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f2c56' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.select-wrap select:disabled { background-color: #f6f5f1; }
.select-wrap::before { content: ""; position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); background: no-repeat center / contain; opacity: .8; pointer-events: none; }
.icon-inst::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2c56' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 4l9 5.5M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E"); }
.icon-group::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2c56' stroke-width='1.6'%3E%3Crect x='4' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3C/svg%3E"); }
.icon-field::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2c56' stroke-width='1.6' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
.icon-program::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2c56' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 5.5c3-1 6-1 9 1 3-2 6-2 9-1V19c-3-1-6-1-9 1-3-2-6-2-9-1z'/%3E%3Cpath d='M12 6.5V20'/%3E%3C/svg%3E"); }
.icon-search::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2c56' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: 8px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; min-height: 380px; position: relative; }
.hero-text { padding: 40px 0 70px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.3rem); line-height: 1.12; margin-bottom: .55em; }
.lead { font-size: 1.15rem; color: var(--navy-2); max-width: 36em; }
/* Paveiksliukas permatomas, kaire jo dalis tuscia - rodomas visas, prie desinio apatinio kampo,
   gali lysti po tekstu; apacia baigiasi ties filtro kortele */
.hero-art { position: absolute; top: 0; right: -24px; bottom: 70px; width: 64%; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
/* Vieta paveiksliukui: kol jo nera - svelni demele */
.hero-art-empty::before {
  content: ""; position: absolute; inset: 20px 0 50px 30px;
  background: radial-gradient(closest-side at 55% 55%, rgba(35, 169, 138, .16), transparent 70%),
              radial-gradient(closest-side at 30% 35%, rgba(185, 212, 247, .35), transparent 70%);
  border-radius: 40% 60% 55% 45%;
}
.hero-filter { position: relative; margin-top: -70px; z-index: 2; }

.filter { padding: 26px 28px 28px; }
.filter-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px 24px; align-items: end; }
.filter-grid > * { min-width: 0; }
.filter-grid select { max-width: 100%; text-overflow: ellipsis; }
.filter-grid .field { grid-column: span 4; }
.filter-grid .field-wide { grid-column: span 4; }
.filter-grid .field-btn { grid-column: span 4; }
.filter-grid .field-btn .btn { height: 52px; font-size: 1rem; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; padding-top: 56px; padding-bottom: 40px; }
.feature h2 { font-size: 1.2rem; margin: 14px 0 8px; }
.feature p { color: var(--muted); font-size: .95rem; max-width: 18em; margin: 0 auto; }
.feature-icon { width: 66px; height: 66px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.feature-icon svg { width: 32px; height: 32px; }
.fi-teal { background: #cdeee4; }
.fi-yellow { background: #fbd27a; }
.fi-blue { background: #c3dcfb; }
.fi-violet { background: #e3d8f8; }

.wave-bg {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60c240 50 480 50 720 10s480-60 720 0V120H0z' fill='%23e3efe9'/%3E%3C/svg%3E") no-repeat top / 100% 120px,
    linear-gradient(#f8f6f1 0 118px, #e3efe9 118px);
  padding: 80px 0 40px;
}

/* ---------- sections ---------- */
.section { padding: 26px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.page { padding-top: 10px; padding-bottom: 48px; }
.page-narrow { max-width: 760px; }
.page-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; padding: 18px 0 10px; }
.page-head-simple { display: block; }
.page-head-side { display: grid; gap: 14px; justify-items: stretch; min-width: 280px; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 700; color: var(--teal-dark); margin-bottom: .4em; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 36px; align-items: start; }
.two-col aside { position: sticky; top: 16px; }
.empty { color: var(--muted); background: rgba(255, 255, 255, .6); border: 1px dashed var(--line-strong); padding: 18px; border-radius: var(--radius); }
.notice { background: var(--teal-soft); color: var(--navy); border-radius: var(--radius-sm); padding: 12px 16px; margin: 12px 0; font-weight: 500; }
.notice-warn { background: var(--warn-bg); }

.breadcrumbs ol { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); text-decoration: underline; }

/* tiles */
.tile-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 20px; background: #fff; border-radius: var(--radius); border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(31, 44, 86, .06); text-decoration: none; color: var(--navy); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.tile strong { font-size: 1.02rem; line-height: 1.3; }
.tile-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin-top: auto; }
.tile-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }

/* program list */
.program-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.program-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--navy);
  border: 1px solid transparent; box-shadow: 0 1px 3px rgba(31, 44, 86, .06); }
.program-row:hover { border-color: var(--teal); color: var(--navy); }
.program-main { display: grid; gap: 2px; }
.program-rating { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.facts { list-style: none; margin: 10px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: #fff; border-radius: var(--radius-sm); padding: 8px 14px; display: grid; line-height: 1.3; box-shadow: 0 1px 2px rgba(31, 44, 86, .05); }
.facts span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts strong { color: var(--navy); font-size: .95rem; }

/* ---------- stars ---------- */
.stars { --size: 18px; position: relative; display: inline-block; width: calc(var(--size) * 5); height: var(--size); flex: none;
  background: no-repeat left / var(--size) var(--size) repeat-x;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2dfd6' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden;
  background: no-repeat left / var(--size) var(--size) repeat-x;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f4b335' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.stars-sm { --size: 14px; }
.stars-lg { --size: 22px; }

.rating-summary { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 1px 3px rgba(31, 44, 86, .06); }
.rating-big { display: flex; align-items: center; gap: 14px; }
.rating-num { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.part-scores { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .88rem; }
.part-scores li { display: grid; grid-template-columns: 1fr 90px 30px; align-items: center; gap: 10px; }
.part-scores strong { text-align: right; color: var(--navy); }
.bar { height: 8px; background: var(--star-empty); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--teal); border-radius: 99px; }

/* star input */
.star-input { border: 0; padding: 0; margin: 0; min-width: 0; }
.star-input legend { font-weight: 600; font-size: .9rem; color: var(--navy); padding: 0; margin-bottom: 4px; }
.star-radios { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-radios label { width: 34px; height: 34px; cursor: pointer; border-radius: 6px;
  background: no-repeat center / 28px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2dfd6' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.star-radios label:hover, .star-radios label:hover ~ label,
.star-radios input:checked ~ label {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f4b335' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.star-radios input:focus-visible + label { outline: 3px solid rgba(35, 169, 138, .45); }
.has-error .star-radios { outline: 1px solid #f2c4c0; border-radius: 8px; }

/* review form */
.form-card h2 { margin-bottom: .25em; }
.form-card > .muted { font-size: .9rem; }
.parts { display: grid; gap: 14px; padding: 14px; background: #faf9f5; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.part { display: grid; gap: 6px; }
.part + .part { padding-top: 12px; border-top: 1px dashed var(--line); }
.success h2 { color: var(--teal-dark); }

/* ---------- reviews ---------- */
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.review { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 1px 3px rgba(31, 44, 86, .06); scroll-margin-top: 16px; }
.review:target { box-shadow: 0 0 0 2px var(--teal), var(--shadow); }
.review-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.review-author { color: var(--navy); }
.review-body { white-space: normal; }
.review-parts { margin: 0 0 8px; display: grid; gap: 10px; }
.review-part { background: #faf9f5; border-radius: var(--radius-sm); padding: 10px 14px; }
.review-part dt { font-weight: 700; color: var(--navy); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.review-part dd { margin: 4px 0 0; }
.replies { list-style: none; margin: 10px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--teal-soft); display: grid; gap: 10px; }
.reply p { margin: 4px 0 0; }
.review-editorial { background: #f2f9f6; box-shadow: inset 4px 0 0 var(--teal), 0 1px 3px rgba(31, 44, 86, .06); }
.review-editorial .avatar { background: var(--teal); color: #fff; }
.reply-team { background: #f2f9f6; border-radius: var(--radius-sm); padding: 8px 12px; }
.badge { display: inline-block; background: var(--teal); color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; vertical-align: 1px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.review-actions details { min-width: 0; }
.review-actions details[open] { flex-basis: 100%; }
details > summary { cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 600; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary:hover { color: var(--teal-dark); }
.reply-form { margin-top: 10px; }
.report form { display: flex; gap: 8px; margin-top: 8px; }
.report input { padding: 6px 10px; font-size: .85rem; }

.review-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review-card { padding: 20px 22px; display: flex; flex-direction: column; }
.review-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.review-card h3 a { color: var(--navy); text-decoration: none; }
.review-card h3 a:hover { color: var(--teal-dark); }
.review-card p:last-child { margin: auto 0 0; }

/* AdSense reklamos negalima apkarpyti (overflow/max-height) - aukstis ribojamas data-ad-format="horizontal" */
.ad-slot { margin: 28px 0; padding-top: 6px; border-top: 1px solid var(--line); min-height: 100px; }
/* AdSense neturi ka rodyti arba reklama uzblokuota - slepiam visa bloka su uzrasu "Reklama" */
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-slot.ad-empty { display: none; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }

.pager { display: flex; gap: 18px; justify-content: center; align-items: center; padding: 24px 0; }

/* ---------- 404 / message ---------- */
.hero-404 { text-align: center; padding: 30px 0 10px; max-width: 760px; margin: 0 auto; }
.big-404 { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--navy); line-height: 1; margin: 0 0 10px; letter-spacing: -.04em; }
.big-404 span { color: var(--teal); display: inline-block; transform: rotate(-12deg); }
.suggest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.suggest-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.message-card { text-align: center; margin-top: 30px; }
.search-big { display: flex; gap: 10px; max-width: 640px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9cfe3; padding: 40px 0 30px; }
.site-footer .logo-text { color: #fff; }
.site-footer .muted { color: #a5acc6; }
.site-footer a { color: #e3e7f3; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px 40px; }
.footer-inner nav { display: grid; gap: 6px; align-content: start; }
.footer-inner > p { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col aside { position: static; order: -1; }
  .filter-grid .field, .filter-grid .field-wide, .filter-grid .field-btn { grid-column: span 6; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 20px 0 10px; }
  .hero-art { position: static; width: auto; height: 240px; margin: 0 -24px; }
  .hero-art img { object-position: center bottom; }
  .hero-art-empty { display: none; }
  .hero-filter { margin-top: 10px; }
  .features { grid-template-columns: 1fr 1fr; }
  .page-head { grid-template-columns: 1fr; }
  .page-head-side { min-width: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .field:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero-art { margin: 0 -16px; }
  .logo-mark { width: 42px; }
  .logo-text { font-size: 1.5rem; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .85rem; }
  .filter { padding: 18px; }
  .filter-grid .field, .filter-grid .field-wide, .filter-grid .field-btn { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr; gap: 22px; }
  .card { padding: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .program-row { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .review-head { grid-template-columns: auto 1fr; }
  .review-rating { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .main-nav a[href="/apie"] { display: none; }
}
