/* Network Sys Hub — Suwon Ledger theme */
:root {
  --ink: #1c2421;
  --ink-soft: #4a5853;
  --mist: #e4ece8;
  --fog: #f0f5f2;
  --paper: #d7e3dd;
  --forest: #16352f;
  --forest-mid: #2a5c52;
  --jade: #7eb8a8;
  --amber: #e8a85c;
  --amber-deep: #c4843a;
  --line: rgba(22, 53, 47, 0.14);
  --shadow: 0 20px 48px rgba(22, 53, 47, 0.14);
  --radius: 6px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1100px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(126, 184, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 5%, rgba(232, 168, 92, 0.14), transparent 50%),
    linear-gradient(168deg, #eef5f1 0%, #dce8e2 42%, #e8f0ec 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(22, 53, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 53, 47, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 68%);
}

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

a {
  color: var(--forest-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--amber-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--forest);
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.inline-error {
  background: #fde8e4;
  color: #7a2e22;
  border: 1px solid #e8b0a4;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  font-size: 0.92rem;
  border-radius: var(--radius);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(240, 245, 242, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 5px;
  background:
    radial-gradient(circle at 75% 25%, var(--amber) 0 20%, transparent 21%),
    linear-gradient(145deg, var(--forest) 0%, var(--forest-mid) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 560;
}

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

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--forest);
}

.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--forest-mid);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bar::before { position: absolute; top: -5px; }
.nav-toggle-bar::after { position: absolute; top: 5px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(240, 245, 242, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Layout */
.site-main {
  position: relative;
  z-index: 1;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.25rem 0;
}

.section-tight {
  padding: 2.75rem 0;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: rgba(22, 53, 47, 0.35);
}

.btn-secondary:hover {
  background: rgba(22, 53, 47, 0.06);
  color: var(--forest);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Full-bleed hero */
.hero-bleed {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #f4faf7;
  overflow: hidden;
}

.hero-bleed-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.72);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(22, 53, 47, 0.92) 0%, rgba(22, 53, 47, 0.55) 48%, rgba(22, 53, 47, 0.25) 100%),
    linear-gradient(to top, rgba(22, 53, 47, 0.75) 0%, transparent 45%);
}

.hero-bleed-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5rem 0 3.5rem;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1.1rem;
  color: #fff;
  animation: rise-in 0.85s ease both;
}

.hero-statement {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 32rem;
  margin: 0;
  color: rgba(244, 250, 247, 0.9);
  font-weight: 400;
  animation: rise-in 0.85s ease 0.12s both;
}

.hero-bleed .btn-group {
  animation: rise-in 0.85s ease 0.22s both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Map strip — control flow */
.map-strip {
  background: var(--forest);
  color: #e4f0eb;
  padding: 2.5rem 0;
}

.map-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.map-steps li {
  border-left: 2px solid rgba(126, 184, 168, 0.45);
  padding-left: 1rem;
  animation: fade-up 0.7s ease both;
}

.map-steps li:nth-child(2) { animation-delay: 0.08s; }
.map-steps li:nth-child(3) { animation-delay: 0.16s; }
.map-steps li:nth-child(4) { animation-delay: 0.24s; }

.map-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--jade);
  margin-bottom: 0.35rem;
}

.map-steps span {
  font-size: 0.88rem;
  opacity: 0.88;
}

@media (max-width: 800px) {
  .map-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .map-steps { grid-template-columns: 1fr; }
}

/* Featured course band */
.featured-band {
  padding: 4.5rem 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid img { height: 240px; }
}

/* Benefits as numbered rows */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.benefit-row:last-child {
  border-bottom: 1px solid var(--line);
}

.benefit-index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--amber-deep);
  letter-spacing: -0.03em;
}

/* Proof */
.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  padding: 1.75rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--forest);
  letter-spacing: -0.03em;
}

.proof-item span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Course tiles */
.course-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.course-tile img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.course-tile h3,
.course-tile p {
  padding: 0 1.1rem;
}

.course-tile h3 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.course-tile p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-bottom: 1.2rem;
}

@media (max-width: 800px) {
  .course-rail { grid-template-columns: 1fr; }
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}

.course-card:hover {
  box-shadow: var(--shadow);
  color: inherit;
}

.course-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.course-card-body {
  padding: 1.25rem 1.25rem 1.25rem 0;
}

@media (max-width: 700px) {
  .course-card { grid-template-columns: 1fr; }
  .course-card-body { padding: 0 1.25rem 1.25rem; }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
}

.page-hero.with-image {
  position: relative;
  padding: 0;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-hero.with-image .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero.with-image .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}

.page-hero.with-image .wrap {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.page-hero.with-image h1,
.page-hero.with-image .lede {
  color: #f4faf7;
}

/* Quote */
.quote-panel {
  background: var(--forest);
  color: #e8f2ee;
  padding: 3.25rem 0;
}

.quote-panel .wrap {
  max-width: 740px;
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  line-height: 1.4;
  font-weight: 500;
}

.quote-panel cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Testimonials */
.review-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

.review-item.wide {
  padding: 2rem;
}

.review-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.85rem;
}

.review-rating {
  font-weight: 650;
  color: var(--forest-mid);
  letter-spacing: 0.02em;
}

.case-study {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--forest);
  color: #e8f2ee;
  border-radius: var(--radius);
}

.case-study h3 {
  color: var(--jade);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.price-tier {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-tier.featured {
  background: var(--forest);
  color: #e8f2ee;
  border-color: transparent;
}

.price-tier.featured a {
  color: var(--jade);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}

.price-tier ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  flex: 1;
  color: inherit;
  opacity: 0.92;
}

.price-tier li {
  margin-bottom: 0.45rem;
}

@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  color: inherit;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card time {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.article-body .cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.article-body h2 {
  margin-top: 2rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details address {
  font-style: normal;
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  color: var(--ink);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #c45a4a;
}

.field-error {
  display: none;
  color: #9a3a2c;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-field.has-error .field-error {
  display: block;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  background: #e0f0e8;
  color: #1a4a38;
  border: 1px solid #a8d4bc;
}

.form-status.is-error {
  display: block;
  background: #fde8e4;
  color: #7a2e22;
  border: 1px solid #e8b0a4;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Legal / prose */
.prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(22, 53, 47, 0.06);
  font-weight: 650;
}

/* Modules / FAQ on course detail */
.module-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.module-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.module-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.module-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  font-weight: 650;
  cursor: pointer;
}

.faq-list p {
  margin-top: 0.65rem;
  color: var(--ink-soft);
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.outcomes li {
  padding-left: 1.1rem;
  position: relative;
}

.outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--amber);
  border-radius: 1px;
}

@media (max-width: 600px) {
  .outcomes { grid-template-columns: 1fr; }
  .instructor { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: #e8f2ee;
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 36rem;
  opacity: 0.9;
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--forest);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--forest);
  color: #d5e6df;
  padding: 3.5rem 0 0;
  margin-top: 0;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.65rem;
}

.footer-tag {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #d5e6df;
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-block;
  margin-bottom: 0.45rem;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-col p {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
}

.footer-col a {
  color: #d5e6df;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(22, 53, 47, 0.97);
  color: #e8f2ee;
  padding: 1.15rem 1.25rem;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--jade);
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
}

.cookie-accept,
.cookie-reject {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
}

.cookie-accept {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.cookie-reject {
  background: transparent;
  color: #e8f2ee;
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-accept:hover {
  background: var(--amber-deep);
  color: #fff;
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Split content for custom page */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.split-block img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-block.reverse {
  direction: rtl;
}

.split-block.reverse > * {
  direction: ltr;
}

@media (max-width: 800px) {
  .split-block,
  .split-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}
