.services-hero {
  --hero-image: url("../images/image-01-1920x1080.jpg");
  min-height: 660px;
  display: grid;
  align-items: center;
}

.services-hero .hero-grid { align-items: center; }
.services-hero h1 { max-width: 11ch; }

.services-lead {
  max-width: 62ch;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: rgba(247, 243, 236, 0.9);
}

.services-hero-panel h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.network-facts { display: grid; gap: 0.85rem; margin: 2rem 0 0; }
.network-facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding-top: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.network-facts dt { color: var(--accent); font-weight: 800; }
.network-facts dd { margin: 0; color: rgba(247, 243, 236, 0.82); }
.services-heading h2 { max-width: 19ch; }

.network-map {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(151, 184, 161, 0.2), transparent 31%), rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.network-map::before,
.network-map::after { content: ""; position: absolute; inset: 50% 8%; height: 1px; background: rgba(94, 123, 105, 0.24); pointer-events: none; }
.network-map::after { transform: rotate(90deg); }

.network-node,
.network-core { position: relative; z-index: 1; min-width: 0; padding: 1.15rem; border-radius: 22px; }

.network-node {
  display: grid;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.network-node:hover,
.network-node:focus-visible { transform: translateY(-3px); border-color: rgba(94, 123, 105, 0.48); box-shadow: 0 16px 38px rgba(10, 16, 18, 0.12); }
.network-node span,
.portal-number { color: var(--accent-dark); font-size: 0.77rem; font-weight: 900; letter-spacing: 0.15em; }
.network-node strong { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif; font-size: 1.35rem; line-height: 1.05; }
.network-node small { color: var(--text-muted); }

.network-core {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: left;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.network-core img { width: 3.3rem; max-height: 5rem; object-fit: contain; }
.portal-list { display: grid; gap: 1.1rem; }

.portal-detail {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-left: 6px solid var(--portal-color, var(--accent-dark));
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(10, 16, 18, 0.08);
}

.portal-news { --portal-color: #a94b4f; }
.portal-premium { --portal-color: #c5a35b; }
.portal-academy { --portal-color: #826e9a; }
.portal-countries { --portal-color: #406b88; }
.portal-social { --portal-color: #3e7d66; }
.portal-climate { --portal-color: #688f56; }
.portal-copy h3 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 0.85rem; }
.portal-summary { margin: 0; max-width: 72ch; color: var(--text-muted); font-size: 1.03rem; }
.portal-features { display: grid; gap: 0.55rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.portal-features li { position: relative; padding-left: 1.35rem; }
.portal-features li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.52rem; height: 0.52rem; border-radius: 50%; background: var(--portal-color, var(--accent-dark)); transform: translateY(-50%); }

.portal-entry {
  align-self: start;
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(22, 33, 36, 0.055);
}
.portal-entry span { color: var(--accent-dark); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.portal-entry .button { width: 100%; margin-top: 0.35rem; text-align: center; }

.workflow-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.workflow-list > li > span { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(151, 184, 161, 0.48); border-radius: 50%; color: var(--accent); font-weight: 900; }
.workflow-list strong { display: block; margin-bottom: 0.35rem; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif; font-size: 1.55rem; }
.workflow-list p { margin: 0; max-width: 70ch; color: rgba(247, 243, 236, 0.76); }

.quality-grid,
.presentation-layout,
.audience-grid { display: grid; gap: 1.5rem; }
.quality-copy > p { margin-top: 0; color: var(--text-muted); font-size: 1.05rem; }
.quality-points { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.quality-points p { display: grid; gap: 0.25rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.quality-points span { color: var(--text-muted); }

.video-frame { padding: 0.65rem; border-radius: 26px; background: var(--bg-dark); box-shadow: var(--shadow); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 19px; background: #0b1113; }
.presentation-downloads { align-self: stretch; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.82); }
.presentation-downloads p { color: var(--text-muted); }
.presentation-downloads a { display: block; padding: 0.9rem 0; border-top: 1px solid var(--line); color: var(--accent-dark); font-weight: 800; }

.audience-grid a {
  display: grid;
  gap: 0.35rem;
  min-height: 11rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 32px rgba(10, 16, 18, 0.07);
  transition: transform 180ms ease, background-color 180ms ease;
}
.audience-grid a:hover,
.audience-grid a:focus-visible { transform: translateY(-3px); background: #fff; }
.audience-grid span { color: var(--accent-dark); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.audience-grid strong { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif; font-size: 1.75rem; }
.audience-grid small { color: var(--text-muted); font-size: 0.95rem; }

@media (min-width: 760px) {
  .network-map { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "news premium academy" "countries core social" ". climate ."; align-items: stretch; }
  .node-news { grid-area: news; }
  .node-premium { grid-area: premium; }
  .node-academy { grid-area: academy; }
  .node-countries { grid-area: countries; }
  .node-social { grid-area: social; }
  .node-climate { grid-area: climate; }
  .network-core { grid-area: core; display: flex; }
  .portal-detail { grid-template-columns: 3rem minmax(0, 1.6fr) minmax(14rem, 0.72fr); align-items: start; }
  .workflow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .quality-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
  .presentation-layout { grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 0.6fr); align-items: start; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1060px) { .audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 759px) {
  body { overflow-x: hidden; }
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .site-header-inner,
  .hero-grid,
  .hero-copy,
  .hero-panel,
  .portal-detail,
  .portal-copy,
  .portal-entry,
  .presentation-layout,
  .presentation-downloads { min-width: 0; }
  .site-header-inner { min-height: 68px; gap: 0.55rem; }
  .brand { min-width: 0; gap: 0.55rem; font-size: 0.88rem; letter-spacing: 0.02em; }
  .brand img { width: 2.25rem; }
  .brand span { overflow-wrap: anywhere; }
  .nav-toggle { flex: 0 0 auto; min-height: 2.55rem; padding: 0.58rem 0.82rem; font-size: 0.82rem; }
  .services-hero { min-height: auto; }
  .services-hero.hero { padding: 3rem 0; }
  .services-hero h1 { max-width: 9.5ch; font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .services-lead { max-width: 100%; font-size: 1rem; line-height: 1.58; overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
  .hero-actions .button { width: 100%; padding-inline: 1rem; text-align: center; }
  .services-hero-panel { padding: 1.15rem; }
  .services-hero-panel h2 { max-width: 100%; font-size: clamp(2rem, 11vw, 2.7rem); }
  .network-facts div { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.7rem; }
  .network-facts dd,
  .portal-summary,
  .portal-features li,
  .presentation-downloads a { overflow-wrap: anywhere; }
  .network-map::before,
  .network-map::after { display: none; }
  .portal-detail { border-left-width: 4px; }
  .portal-copy h3 { font-size: clamp(1.8rem, 10vw, 2.45rem); overflow-wrap: anywhere; }
  .portal-number { margin-bottom: -0.35rem; }
  .workflow-list li { grid-template-columns: 2.8rem minmax(0, 1fr); gap: 0.8rem; }
  .workflow-list > li > span { width: 2.8rem; height: 2.8rem; }
  .workflow-list strong { font-size: 1.35rem; }
  .video-frame { padding: 0.4rem; border-radius: 18px; }
  .video-frame video { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .network-node,
  .audience-grid a { transition: none; }
}
