/* Brand Azure — chłodny slate, akcent cyan, tech-premium */

:root {
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --bg: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-warm: #e2e8f0;

  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;

  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --accent: #0369a1;
  --accent-mid: #0284c7;
  --accent-bright: #38bdf8;
  --accent-hover: #075985;
  --accent-soft: rgba(2, 132, 199, 0.12);
  --accent-glow: rgba(56, 189, 248, 0.35);

  --dark: #020617;
  --dark-elevated: #0f172a;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-premium: 0 24px 60px rgba(2, 132, 199, 0.12);

  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(
      ellipse 90% 50% at 100% 0%,
      rgba(56, 189, 248, 0.14),
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 0% 100%,
      rgba(2, 132, 199, 0.08),
      transparent 50%
    );
  background-attachment: fixed;
  line-height: 1.62;
  font-size: clamp(15px, 1.9vw, 17px);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
.section-head h2,
.hero h1,
.seo-chunk h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-mid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.wrap {
  width: min(1100px, 100% - clamp(1.25rem, 5vw, 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(253, 252, 250, 0.82);
  backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.brand-sigil {
  width: 3px;
  align-self: stretch;
  min-height: 2.5rem;
  background: linear-gradient(
    180deg,
    var(--accent-bright) 0%,
    var(--accent-mid) 50%,
    var(--accent) 100%
  );
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.site-header__brand:hover {
  text-decoration: none;
}

.site-header__brand:hover .site-header__title-main {
  color: var(--accent-hover);
}

.brand-logo {
  width: clamp(36px, 6.5vw, 42px);
  height: auto;
  flex-shrink: 0;
  opacity: 0.88;
  filter: grayscale(0.15) contrast(1.05);
}

.site-header__title {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  font-weight: 600;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-header__title-main {
  transition: color 0.2s var(--ease);
}

.site-header__title small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.nav a {
  font-size: clamp(0.72rem, 1.7vw, 0.82rem);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: none;
  background: var(--accent-soft);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      160deg,
      rgba(35, 28, 22, 0.25) 0%,
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(18, 15, 12, 0.15) 0%,
      rgba(18, 15, 12, 0.5) 45%,
      rgba(12, 10, 8, 0.88) 100%
    );
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 45% at 70% 20%,
    rgba(56, 189, 248, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.hero__content {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2.5rem, 6vw, 3.75rem);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(186, 230, 253, 0.95);
}

.hero__kicker-line {
  width: min(48px, 11vw);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
  flex-shrink: 0;
  border-radius: 2px;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 18ch;
  text-wrap: balance;
  font-weight: 800;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.hero .lead {
  margin: 0 0 1.5rem;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.1vw, 1.08rem);
  max-width: 34ch;
  line-height: 1.58;
  opacity: 0.93;
  letter-spacing: 0.01em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(
    145deg,
    var(--accent-bright) 0%,
    var(--accent-mid) 45%,
    var(--accent) 100%
  );
  color: #f8fafc;
  box-shadow: 0 4px 24px rgba(2, 132, 199, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(
    145deg,
    #7dd3fc 0%,
    var(--accent-mid) 50%,
    var(--accent-hover) 100%
  );
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 32px rgba(3, 105, 161, 0.5);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 248, 240, 0.38);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 248, 240, 0.55);
  text-decoration: none;
  color: #fff;
}

.btn--dark {
  background: var(--dark);
  color: #faf8f5;
  box-shadow: var(--shadow-md);
}

.btn--dark:hover {
  background: var(--dark-elevated);
  text-decoration: none;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
  text-decoration: none;
  color: var(--ink);
}

.hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem 1.5rem;
  max-width: 540px;
}

@media (min-width: 560px) {
  .hero__trust {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__trust li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.9;
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
  transform: none;
}

/* ——— Sections ——— */
.section {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  position: relative;
}

.section--white {
  background: var(--bg-elevated);
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}

.section-head {
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
  max-width: 560px;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.97rem;
  max-width: 48ch;
  line-height: 1.6;
}

/* ——— About ——— */
.about-compact {
  margin-bottom: 1.65rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.68;
  max-width: 58ch;
}

.adv-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .adv-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.adv-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

@media (hover: hover) {
  .adv-card:hover {
    border-color: rgba(139, 105, 20, 0.25);
    box-shadow: var(--shadow-md);
  }
}

.adv-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}

.adv-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.52;
}

/* ——— Services ——— */
.svc-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-bright),
    var(--accent-mid),
    transparent
  );
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

@media (hover: hover) {
  .svc-card:hover {
    border-color: rgba(139, 105, 20, 0.22);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
  .svc-card:hover::before {
    opacity: 1;
  }
}

.svc-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.svc-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.58;
}

/* ——— Gallery ——— */
.gallery-intro {
  max-width: 48ch;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.gallery-note {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.08) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-mid);
  font-size: 0.87rem;
  color: var(--ink-soft);
  max-width: 54ch;
  line-height: 1.58;
}

.gallery-editorial {
  display: grid;
  gap: 0.85rem;
}

.gallery-editorial figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd8d0;
  box-shadow: var(--shadow-md);
}

.gallery-editorial img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-editorial__hero img {
  aspect-ratio: auto;
  min-height: 220px;
}

@media (min-width: 768px) {
  .gallery-editorial {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    min-height: 400px;
  }

  .gallery-editorial__hero {
    grid-row: 1 / -1;
  }

  .gallery-editorial__hero img {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
  }

  .gallery-editorial figure:not(.gallery-editorial__hero) img {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: 100%;
    max-height: 210px;
  }
}

/* ——— Finance ——— */
.finance-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .finance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.finance-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow);
}

.finance-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--dark);
}

.finance-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.58;
}

/* ——— Steps ——— */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.2rem 1.1rem 1.2rem 3.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: linear-gradient(
    145deg,
    var(--dark-elevated) 0%,
    var(--dark) 100%
  );
  color: var(--accent-bright);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
}

.step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.52;
}

/* ——— FAQ ——— */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 720px;
}

.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq details[open] {
  border-color: rgba(139, 105, 20, 0.2);
}

.faq summary {
  padding: 1rem 1.1rem;
  padding-right: 2.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
  color: var(--dark);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent-mid);
  font-family: var(--font-display);
}

.faq details[open] summary::after {
  content: "−";
}

.faq .faq__body {
  padding: 0 1.1rem 1.05rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.58;
  border-top: 1px solid var(--line);
}

.faq .faq__body p {
  margin: 0.75rem 0 0;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.85rem);
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.65rem);
  box-shadow: var(--shadow-md);
}

.contact-panel h3 {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
}

.dl-contact {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.dl-contact > div {
  display: grid;
  gap: 0.2rem;
}

.dl-contact dt {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.dl-contact dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.dl-contact a {
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.form-group {
  margin-bottom: 1.05rem;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.38rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group textarea {
  min-height: 104px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-mid);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-errors {
  background: #fdf2f2;
  border: 1px solid #f5c4c4;
  color: #991b1b;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.form-success {
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: var(--accent-hover);
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.requisites-block {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--line);
}

.requisites-block h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dl-req {
  display: grid;
  gap: 0.55rem 1.5rem;
  margin: 0;
  font-size: 0.87rem;
}

@media (min-width: 560px) {
  .dl-req {
    grid-template-columns: 130px 1fr;
  }
}

.dl-req dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.dl-req dd {
  margin: 0;
  color: var(--ink-soft);
}

/* ——— SEO ——— */
.seo-wrap {
  max-width: 680px;
}

.seo-chunk {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.seo-chunk:last-child {
  margin-bottom: 0;
}

.seo-chunk h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.seo-chunk h4 {
  margin: 1rem 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-mid);
}

.seo-chunk p {
  margin: 0 0 0.65rem;
  font-size: 0.89rem;
  color: var(--muted);
  line-height: 1.68;
}

.seo-chunk p:last-child {
  margin-bottom: 0;
}

.seo-chunk ul {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
  font-size: 0.89rem;
  color: var(--muted);
  line-height: 1.55;
}

.seo-chunk li + li {
  margin-top: 0.35rem;
}

/* ——— Footer ——— */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: rgba(226, 232, 240, 0.72);
  padding: clamp(2rem, 5vw, 2.75rem) 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.58;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
}

.site-footer a {
  color: #7dd3fc;
}

.site-footer a:hover {
  color: #bae6fd;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer code {
  font-size: 0.78em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  color: rgba(250, 248, 245, 0.85);
}

@media (max-width: 639px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
    padding-top: 0.5rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 640px) {
  .nav {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
  }
}

