/* ========== Marek Kamenický — Therapy site (Serene Path) ========== */

@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;0,7..72,600;0,7..72,700;1,7..72,400&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--neutral);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- SERENE PATH PALETTE ---- */
:root, [data-palette="warm"], [data-palette="forest"] {
  /* Brand */
  --primary: #4A7C77;
  --primary-deep: #355f5b;
  --primary-soft: #6c9893;
  --primary-tint: #d6e3e1;
  --secondary: #D9C5B2;
  --secondary-soft: #ECDFD0;
  --secondary-deep: #B89A7E;
  --tertiary: #8BA88E;
  --tertiary-soft: #BCCFBE;
  --neutral: #F9F7F2;
  --neutral-soft: #F2EEE5;
  --neutral-deep: #E8E2D4;

  /* Functional */
  --bg: #F9F7F2;
  --bg-soft: #F2EEE5;
  --bg-deep: #E8E2D4;
  --paper: #FFFFFF;
  --ink: #1F3331;
  --ink-soft: #4A6360;
  --ink-mute: #7F938F;
  --line: #E5DFD3;
  --line-soft: #EEE9DE;
  --accent: var(--primary);
  --accent-deep: var(--primary-deep);
  --accent-soft: var(--primary-soft);
  --accent-tint: var(--primary-tint);
  --leaf: var(--tertiary);
  --shadow-sm: 0 2px 8px -2px rgba(31, 51, 49, 0.06);
  --shadow: 0 12px 32px -16px rgba(31, 51, 49, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(31, 51, 49, 0.22);
}

/* ---- TYPE ---- */
.display, h1, h2, h3, h4 {
  font-family: 'Literata', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(42px, 5.4vw, 72px); font-weight: 600; }
h2 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 600; }
h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.25; }
h4 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--ink); }

a {
  color: var(--primary-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
a:hover { color: var(--primary); border-color: var(--primary); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---- LAYOUT ---- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .shell { padding: 0 22px; } }

section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--neutral) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled {
  border-bottom-color: var(--line-soft);
  background: color-mix(in srgb, var(--neutral) 96%, transparent);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: 'Literata', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--primary-deep);
  border: none;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand .brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--primary);
  color: white !important;
  border: 1px solid var(--primary);
  font-weight: 500;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: white !important;
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 14px 22px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  font-weight: 500;
}
.btn:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: white;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--paper);
  color: var(--primary-deep);
  border-color: var(--primary);
}

.btn-light {
  background: white;
  color: var(--primary-deep);
  border: 1px solid white;
}
.btn-light:hover {
  background: var(--neutral-soft);
  color: var(--primary-deep);
  border-color: var(--neutral-soft);
}

.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- HERO ---- */
.hero {
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 .em {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}
.hero-lead {
  margin-top: 24px;
  max-width: 52ch;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  color: var(--ink-mute);
  font-size: 13.5px;
  flex-wrap: wrap;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-meta-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tertiary); }

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
}
.hero-portrait image-slot {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  --image-slot-bg: var(--secondary-soft);
  --image-slot-fg: var(--secondary-deep);
  --image-slot-border: var(--secondary);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--tertiary-soft);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.5;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { max-width: 420px; margin: 0 auto; }
}

/* ---- SECTION HEADER ---- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: start;
}
.section-head .eyebrow { padding-top: 14px; }
.section-head .head-body p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
}

/* ---- ABOUT ---- */
.about { background: var(--paper); }
.about-grid.about-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}
.about-photo {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.about-photo image-slot {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  --image-slot-bg: var(--secondary-soft);
  --image-slot-fg: var(--secondary-deep);
  --image-slot-border: var(--secondary);
}
.about-prose p {
  font-size: 17px;
  margin-bottom: 1.2em;
  color: var(--ink-soft);
  line-height: 1.7;
}
.about-prose em {
  color: var(--primary-deep);
  font-style: italic;
  font-weight: 500;
}
.about-sig {
  margin-top: 32px;
  font-family: 'Literata', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--primary);
  font-weight: 500;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 360px; }
}

/* ---- APPROACH ---- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.approach-card {
  background: var(--paper);
  padding: 36px 32px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-tint);
}
.approach-card .num {
  font-family: 'Literata', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
}
.approach-card h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-deep);
}
.approach-card .approach-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 4px;
}
.approach-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}
@media (max-width: 760px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { padding: 28px 24px; }
}

/* ---- SERVICES / PRICING ---- */
.services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--neutral);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-tint);
}
.service-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.service-card .price {
  font-family: 'Literata', serif;
  font-size: 46px;
  line-height: 1;
  color: var(--primary-deep);
  font-weight: 600;
}
.service-card .price-unit {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  align-items: flex-start;
}
.service-card li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--primary-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%234A7C77' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.service-card h3 {
  font-size: 28px;
  color: var(--primary-deep);
}
.service-card .service-tag {
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--primary-tint);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 26px; }
}

/* ---- HOW IT WORKS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--primary-tint); transform: translateY(-2px); }
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: 'Literata', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; color: var(--primary-deep); }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- ETHICS ---- */
.ethics { background: var(--secondary-soft); }
.ethics-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ethics-wrap h2 { margin-bottom: 22px; color: var(--primary-deep); }
.ethics-wrap > p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.ethics-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary-deep);
  margin: 0 auto 24px;
}
.ethics-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  text-align: left;
}
.ethics-point {
  background: var(--neutral);
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--secondary);
}
.ethics-point h4 {
  font-family: 'Literata', serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--primary-deep);
}
.ethics-point p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 760px) {
  .ethics-points { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- FAQ ---- */
.faq-section { background: var(--paper); }
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--neutral);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary-tint); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Literata', serif;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink);
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  transition: color .2s;
}
.faq-q:hover { color: var(--primary-deep); }
.faq-q .plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary-deep);
  font-size: 16px;
  font-weight: 400;
  transition: transform .35s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}
.faq-a-inner {
  padding: 0 28px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 68ch;
}

/* ---- CTA STRIP ---- */
.cta-strip { padding: clamp(48px, 6vw, 80px) 0; }
.cta-card {
  background: var(--primary);
  border-radius: 18px;
  padding: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 36px;
  align-items: center;
  color: white;
  background-image: radial-gradient(circle at 90% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-card h2 { color: white; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.cta-card p { color: rgba(255,255,255,0.85); margin: 0; max-width: 50ch; }
.cta-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cta-card { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- CONTACT ---- */
.contact { background: var(--neutral-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-areas:
    "info form"
    "more form";
  grid-template-rows: auto 1fr;
  gap: 36px 60px;
  align-items: start;
}
.contact-info { grid-area: info; }
.contact-grid > .form,
.contact-grid > .success { grid-area: form; }
.contact-grid > .more-about { grid-area: more; }
.contact-info p { color: var(--ink-soft); }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line-soft);
}
.contact-list .label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.contact-list .value {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}
.contact-list a {
  border: none;
  color: var(--ink);
}
.contact-list a:hover { color: var(--primary); }

.form {
  background: var(--paper);
  padding: 36px 36px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--neutral);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
  border-radius: 8px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  background: white;
}
.field textarea { resize: vertical; min-height: 110px; }
.field.error input, .field.error textarea { border-color: #B85A3E; }
.field .err-msg {
  font-size: 12px;
  color: #B85A3E;
  margin-top: 2px;
}
.radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.radio-pill {
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--ink-soft);
  background: var(--neutral);
  transition: all .2s;
  font-weight: 500;
}
.radio-pill:hover { border-color: var(--primary-soft); color: var(--primary-deep); }
.radio-pill.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.form-bottom {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 12px;
  color: var(--ink-mute);
  max-width: 38ch;
}

.success {
  text-align: center;
  padding: 36px 20px;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.success h3 {
  font-family: 'Literata', serif;
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--primary-deep);
}
.success p { color: var(--ink-soft); }

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "form"
      "more";
    grid-template-rows: auto;
    gap: 40px;
  }
  .form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
}
.footer .shell {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer .brand-mark {
  font-family: 'Literata', serif;
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
  font-weight: 600;
}
.footer p, .footer li {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.7;
}
.footer a { color: rgba(255,255,255,0.85); border: none; }
.footer a:hover { color: white; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.social-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.social-link svg { color: var(--primary-deep, currentColor); }
.social-link:hover {
  background: white;
  border-color: var(--primary, var(--line)) !important;
  transform: translateY(-1px);
}
.more-about {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.more-about-text { margin-bottom: 16px; }
.more-about-text p {
  margin: 6px 0 0;
  max-width: 36ch;
}
@media (max-width: 760px) {
  .footer .shell { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .footer .shell { grid-template-columns: 1fr; }
}

/* ---- ANIMATION ---- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise .6s ease both; }
.rise.d1 { animation-delay: .06s; }
.rise.d2 { animation-delay: .12s; }
.rise.d3 { animation-delay: .18s; }
.rise.d4 { animation-delay: .24s; }
