/* 2Medya — Kurumsal / minimal design system */
:root {
  --ink: #0b1220;
  --ink-soft: #1a2438;
  --muted: #5b657a;
  --paper: #f5f6f8;
  --white: #ffffff;
  --line: rgba(11, 18, 32, 0.08);
  --green: #3d8b40;
  --green-deep: #2f6f32;
  --blue: #1e4fd6;
  --blue-deep: #163a9e;
  --blue-navy: #122a63;
  --magenta: #a01a66;
  --magenta-deep: #7a134e;
  --accent: #1e4fd6;
  --shadow: 0 12px 32px rgba(11, 18, 32, 0.08);
  --radius: 12px;
  --header-h: 72px;
  --tabbar-h: 64px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-home {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--magenta);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.brand-fallback { align-items: center; gap: .35rem; font-family: var(--display); font-weight: 800; letter-spacing: .04em; }
.brand-2 {
  display: inline-grid; place-items: center;
  width: 34px; height: 40px; border-radius: 8px;
  background: conic-gradient(from 210deg, var(--green), var(--blue), var(--magenta), var(--green));
  color: transparent; font-size: 1.4rem;
  -webkit-background-clip: text; background-clip: text;
  position: relative;
}
.brand-2::before {
  content: "2";
  background: linear-gradient(135deg, var(--green), var(--blue) 45%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word { font-size: 1.15rem; letter-spacing: .14em; color: var(--ink); }
.is-home .brand-word, .site-footer .brand-word { color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  z-index: 100;
  background: rgba(245, 246, 248, 0.92);
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease), background .25s ease;
}
.is-home .site-header {
  background: rgba(11, 18, 32, 0.72);
  border-bottom-color: rgba(255,255,255,.08);
  color: #fff;
}
.header-inner {
  max-width: 1240px; margin: 0 auto; height: 100%;
  padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.desktop-nav { display: none; gap: 1.5rem; }
.desktop-nav a {
  font-size: .92rem; font-weight: 600; opacity: .78;
  position: relative;
}
.desktop-nav a:hover,
.desktop-nav a.active { opacity: 1; }
.desktop-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; border-radius: 1px;
  background: var(--accent);
}
.header-cta {
  display: none; flex-direction: column; align-items: flex-end;
  padding: .5rem 1rem; border-radius: 8px;
  background: var(--blue-deep);
  color: #fff; line-height: 1.15;
}
.header-cta .cta-label { font-size: .65rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.header-cta .cta-phone { font-weight: 700; font-size: .9rem; }

@media (min-width: 900px) {
  .desktop-nav, .header-cta { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.35rem; border-radius: 8px; border: 0; cursor: pointer;
  font-weight: 600; letter-spacing: .01em;
  transition: transform .2s var(--ease), box-shadow .2s ease, opacity .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 8px 20px rgba(22, 58, 158, .22);
}
.btn-primary:hover { background: var(--blue); }
.btn-ghost {
  color: inherit; border: 1px solid currentColor; background: transparent;
}
.btn-block { width: 100%; }
.btn-sm { padding: .6rem .95rem; font-size: .9rem; }

/* FULLPAGE HOME */
.fullpage {
  height: 100vh; height: 100dvh;
  overflow: hidden;
  position: relative;
}
.fp-section {
  position: absolute; inset: 0;
  height: 100%; width: 100%;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 5.5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(40px) scale(.985);
  transition: opacity .45s var(--ease), transform .5s var(--ease), visibility .45s;
  will-change: auto;
  overflow-y: auto;
}
.fp-section.is-active {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 2;
}
.fp-section.is-leaving-up {
  opacity: 0; transform: translateY(-50px) scale(.98);
}
.fp-section.is-leaving-down {
  opacity: 0; transform: translateY(50px) scale(.98);
}

.fp-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
}
.fp-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(30, 79, 214, .16), transparent 60%),
    radial-gradient(ellipse 45% 40% at 10% 85%, rgba(61, 139, 64, .12), transparent 55%),
    linear-gradient(165deg, #070c16 0%, #0e1628 50%, #0b1220 100%);
}
.fp-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, #000 25%, transparent 78%);
  opacity: .4;
}
.poly-orb {
  position: absolute; width: min(42vw, 420px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(30, 79, 214, .35), transparent 65%);
  filter: blur(8px); opacity: .45;
  right: -6%; top: 18%;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .poly-orb { animation: floatOrb 16s ease-in-out infinite; }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.fp-content { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin-bottom: 1rem;
}
.hero-kicker::before {
  content: ""; width: 22px; height: 1px;
  background: rgba(255,255,255,.45);
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 5.8rem);
  line-height: .95; font-weight: 700; letter-spacing: -.03em;
  margin: 0 0 .85rem;
  color: #fff;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  line-height: 1.25; font-weight: 500; margin: 0 0 1rem; max-width: 22ch;
  color: rgba(255,255,255,.92);
  letter-spacing: -.01em;
}
.hero-text {
  max-width: 44ch; color: rgba(255,255,255,.68); margin: 0 0 1.8rem; font-size: 1rem;
  font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.fp-progress {
  position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: .55rem;
}
.fp-progress button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.28); cursor: pointer; transition: .3s var(--ease);
}
.fp-progress button.active {
  background: #fff;
  transform: scale(1.25);
  box-shadow: none;
}
.fp-hint {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px);
  transform: translateX(-50%); z-index: 70;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55); display: flex; flex-direction: column; align-items: center; gap: .35rem;
  animation: bounceHint 2s infinite;
}
.fp-hint span {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
}
@keyframes bounceHint {
  0%, 100% { transform: translate(-50%, 0); opacity: .7; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

.section-label {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: .55rem; font-weight: 600;
}
.section-heading {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.8vw, 2.5rem);
  line-height: 1.18; margin: 0 0 .9rem; font-weight: 600; max-width: 20ch;
  letter-spacing: -.02em;
}
.section-copy {
  max-width: 52ch; color: rgba(255,255,255,.68); margin: 0 0 1.4rem;
  font-weight: 400;
}

.service-chips {
  display: flex; flex-wrap: wrap; gap: .55rem; max-width: 900px;
}
.service-chip {
  padding: .65rem .95rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight: 500; font-size: .9rem;
  transition: .2s var(--ease);
}
.service-chip:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.process-track {
  display: grid; gap: .75rem;
  grid-template-columns: 1fr;
  max-width: 980px;
}
@media (min-width: 800px) {
  .process-track { grid-template-columns: repeat(5, 1fr); gap: .65rem; }
}
.process-card {
  padding: 1rem; border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  min-height: 140px;
}
.process-num {
  font-family: var(--display); font-weight: 600;
  color: rgba(255,255,255,.35);
  font-size: 1.15rem; margin-bottom: .35rem; letter-spacing: .04em;
}
.process-card h3 { margin: 0 0 .35rem; font-size: .95rem; font-weight: 600; }
.process-card p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.62); font-weight: 400; }

.ad-layout {
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 900px) {
  .ad-layout { grid-template-columns: 1.1fr .9fr; }
}
.ad-visual {
  position: relative; min-height: 220px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #132039, #0b1220);
  border: 1px solid rgba(255,255,255,.1);
}
.ad-visual::before {
  content: ""; position: absolute; inset: 14% 16%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.ad-visual .mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: clamp(3.5rem, 10vw, 5.5rem); font-weight: 700;
  color: rgba(255,255,255,.12);
  letter-spacing: -.04em;
}

.cta-panel {
  padding: 1.25rem; border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  max-width: 560px;
}

/* Inner pages */
.page-wrap {
  padding: calc(var(--header-h) + 2rem) 1.25rem calc(var(--tabbar-h) + 3rem);
  max-width: 1140px; margin: 0 auto;
}
.page-hero {
  margin-bottom: 2rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15; margin: .4rem 0 0.8rem;
  font-weight: 600; letter-spacing: -.02em;
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted);
}
.breadcrumbs a:hover { color: var(--blue); }
.lead { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }

.card-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: .3s var(--ease);
  min-height: 180px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .chip {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--magenta-deep); background: rgba(194,24,122,.08);
  padding: .3rem .55rem; border-radius: 999px;
}
.service-card h2, .service-card h3 { margin: 0; font-size: 1.2rem; font-family: var(--display); }
.service-card p { margin: 0; color: var(--muted); flex: 1; }
.service-card .more { font-weight: 700; color: var(--blue); }

.prose { color: var(--ink-soft); }
.prose p { margin: 0 0 1rem; }
.prose h2 { font-family: var(--display); margin: 1.8rem 0 .8rem; }

.feature-list {
  display: grid; gap: .6rem; margin: 1.2rem 0 1.8rem;
}
.feature-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .8rem 1rem; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line);
}
.feature-list li::before {
  content: ""; width: 10px; height: 10px; margin-top: .45rem; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--green), var(--magenta));
}

.gallery-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 14px;
  cursor: zoom-in; background: #e8ecf4;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

.cta-box {
  margin: 2rem 0;
  padding: 1.5rem; border-radius: 20px;
  background: linear-gradient(135deg, #102039, #1a0f28);
  color: #fff;
}
.cta-box h2 { margin: 0 0 .5rem; font-family: var(--display); }
.cta-box p { margin: 0 0 1rem; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.review-list { display: grid; gap: .9rem; margin-top: 1rem; }
.review-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 1.1rem;
}
.review-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.stars { color: #e6a700; letter-spacing: 1px; }
.stars .empty { opacity: .35; }

.review-form, .contact-form, .quick-form {
  display: grid; gap: .85rem; margin-top: 1rem;
}
.review-form label, .contact-form label, .quick-form label {
  display: grid; gap: .35rem; font-weight: 600; font-size: .92rem;
}
.review-form input, .review-form textarea,
.contact-form input, .contact-form textarea,
.quick-form input, .quick-form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.rating-select { display: flex; gap: .4rem; }
.rating-select label { cursor: pointer; font-size: 1.4rem; color: #c9ccd4; }
.rating-select input { display: none; }
.rating-select input:checked + span,
.rating-select label:hover span { color: #e6a700; }

.contact-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-list li { margin-bottom: .85rem; }
.info-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.map-embed {
  border: 0; width: 100%; min-height: 280px; border-radius: 18px;
}

.alert {
  padding: .9rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600;
}
.alert-success { background: #e8f7ea; color: #1d6b2e; }
.alert-error { background: #fde8ef; color: #9c1648; }
.alert-info { background: #e8eefc; color: #1d3f8f; }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.82);
  padding: 3rem 1.25rem calc(var(--tabbar-h) + 2rem);
}
.is-home .site-footer { display: none; }
.footer-grid {
  max-width: 1140px; margin: 0 auto 2rem;
  display: grid; gap: 1.5rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 36ch; }
.site-footer h3 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin: 0 0 .8rem;
}
.footer-links a, .footer-contact a { opacity: .85; }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; color: #fff; }
.footer-links li, .footer-contact li { margin-bottom: .45rem; font-size: .95rem; }
.footer-bottom {
  max-width: 1140px; margin: 0 auto; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: rgba(255,255,255,.5);
}

/* Mobile tab bar */
.mobile-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  height: var(--tabbar-h);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.is-home .mobile-tabbar {
  background: rgba(11, 18, 32, .96);
  border-top-color: rgba(255,255,255,.08); color: #fff;
}
.mobile-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; font-size: .65rem; font-weight: 700; opacity: .6;
}
.mobile-tabbar a.active,
.mobile-tabbar a:hover { opacity: 1; }
.mobile-tabbar svg { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 900px) {
  .mobile-tabbar { display: none; }
  .site-footer { padding-bottom: 2rem; }
  body:not(.is-home) { padding-bottom: 0; }
  .fp-hint { bottom: 28px; }
}

/* Quick contact */
.quick-contact-btn {
  position: fixed; right: 1rem; bottom: calc(var(--tabbar-h) + 1rem);
  z-index: 130; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.05rem; border-radius: 999px; color: #fff; font-weight: 600;
  background: #128C7E;
  box-shadow: 0 10px 28px rgba(18, 140, 126, .3);
}
.quick-contact-btn svg { width: 18px; height: 18px; fill: currentColor; }
.quick-contact-btn .pulse {
  position: absolute; inset: 0; border-radius: inherit;
  animation: pulse 2s infinite; background: inherit; z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (min-width: 900px) {
  .quick-contact-btn { bottom: 1.5rem; right: 1.5rem; }
}

.modal[hidden], .lightbox[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: end center; }
@media (min-width: 700px) { .modal { place-items: center; } }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 12, 22, .55); }
.modal-card {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: #fff; color: var(--ink);
  border-radius: 22px 22px 0 0; padding: 1.4rem 1.2rem 1.6rem;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) { .modal-card { border-radius: 22px; } }
.modal-close {
  position: absolute; right: .8rem; top: .6rem;
  border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--muted);
}
.modal-card h2 { margin: 0 0 .4rem; font-family: var(--display); }
.modal-card > p { margin: 0 0 1rem; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 1rem;
}
.lightbox img { max-width: min(1100px, 100%); max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  border: 0; background: transparent; color: #fff; font-size: 2rem; cursor: pointer;
}

.meta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.meta-row--light { color: rgba(255,255,255,.78); }

.empty-state {
  padding: 2rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 12px; background: #fff;
}

/* —— Photo backgrounds (home) —— */
.fp-bg--photo { z-index: -1; }
.fp-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.fp-photo-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 12, 22, .88) 0%, rgba(7, 12, 22, .55) 48%, rgba(7, 12, 22, .35) 100%),
    linear-gradient(0deg, rgba(7, 12, 22, .55), transparent 40%);
}

.media-frame {
  margin: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0e1628;
  min-height: 220px;
}
.media-frame img {
  width: 100%; height: 100%; min-height: 240px;
  object-fit: cover; display: block;
}
.is-home .media-frame { box-shadow: 0 20px 50px rgba(0,0,0,.25); }
body:not(.is-home) .media-frame {
  border-color: var(--line);
  background: #e8ecf4;
  box-shadow: var(--shadow);
}

.home-cat-grid {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
}
@media (min-width: 900px) {
  .home-cat-grid { grid-template-columns: repeat(3, 1fr); gap: .85rem; }
}
.home-cat-card {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,.1);
}
.home-cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.home-cat-card img[data-src],
.media-frame img[data-src] {
  background: rgba(255,255,255,.06);
  min-height: 120px;
}
.home-cat-card:hover img { transform: scale(1.04); }
.home-cat-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: .85rem 1rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
  background: linear-gradient(0deg, rgba(7,12,22,.85), transparent);
}
.home-cat-overlay strong { font-size: .95rem; font-weight: 600; }
.home-cat-overlay em { font-style: normal; font-size: .8rem; opacity: .75; }

.process-layout {
  display: grid; gap: 1.25rem; align-items: start;
}
@media (min-width: 960px) {
  .process-layout { grid-template-columns: .95fr 1.05fr; gap: 1.6rem; }
}
.process-track--compact {
  max-width: none;
}
@media (min-width: 800px) {
  .process-track--compact { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .process-track--compact { grid-template-columns: repeat(3, 1fr); }
}

/* —— Inner page banners & media cards —— */
.page-banner {
  position: relative;
  min-height: clamp(240px, 42vw, 420px);
  display: grid; align-items: end;
  color: #fff;
  overflow: hidden;
  margin-top: var(--header-h);
}
.page-banner--short { min-height: clamp(200px, 32vw, 320px); }
.page-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.page-banner-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,12,22,.35), rgba(7,12,22,.82));
}
.page-banner-inner {
  position: relative; z-index: 1;
  max-width: 1140px; width: 100%; margin: 0 auto;
  padding: 2.2rem 1.25rem 2rem;
}
.page-banner h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 600; letter-spacing: -.02em;
  margin: .35rem 0 .7rem; line-height: 1.15;
}
.breadcrumbs--light { color: rgba(255,255,255,.7); }
.breadcrumbs--light a:hover { color: #fff; }
.lead--light { color: rgba(255,255,255,.78); max-width: 58ch; }

.page-wrap--flush {
  padding-top: 0;
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.page-wrap--flush > .section-block,
.page-wrap--flush > .cta-band,
.page-wrap--flush > .about-split,
.page-wrap--flush > .stat-row,
.page-wrap--flush > .contact-grid,
.page-wrap--flush > .prose,
.page-wrap--flush > .alert {
  max-width: 1140px;
  margin-left: auto; margin-right: auto;
  padding-left: 1.25rem; padding-right: 1.25rem;
}

.section-block { padding: 2.4rem 0 1rem; }
.section-head { margin-bottom: 1.4rem; max-width: 640px; }
.section-head .eyebrow {
  margin: 0 0 .4rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.section-head h2 {
  margin: 0 0 .5rem; font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; letter-spacing: -.02em;
}
.section-head p { margin: 0; color: var(--muted); }

.media-card-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .media-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .media-card-grid { grid-template-columns: repeat(2, 1fr); }
  .media-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.media-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.media-card-media {
  aspect-ratio: 16/10; overflow: hidden; background: #e8ecf4;
}
.media-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.media-card:hover .media-card-media img { transform: scale(1.04); }
.media-card-body {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.1rem 1.15rem 1.2rem; flex: 1;
}
.media-card-body h3 {
  margin: 0; font-family: var(--display);
  font-size: 1.15rem; font-weight: 600;
}
.media-card-body p {
  margin: 0; color: var(--muted); flex: 1; font-size: .95rem;
}
.media-card--compact .media-card-media { aspect-ratio: 16/11; }

.cta-band {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
  margin: 1.5rem auto 2.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: 12px;
  background: var(--ink); color: #fff;
}
.cta-band h2 {
  margin: 0 0 .35rem; font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 600;
}
.cta-band p { margin: 0; color: rgba(255,255,255,.7); max-width: 46ch; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }

.about-split {
  display: grid; gap: 1.5rem; align-items: start;
  padding-top: 2.2rem;
}
@media (min-width: 900px) {
  .about-split { grid-template-columns: .95fr 1.05fr; gap: 2rem; }
}

.stat-row {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 1rem;
}
@media (min-width: 800px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-row article {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1rem;
}
.stat-row strong {
  display: block; font-size: 1.25rem; font-weight: 600;
  letter-spacing: -.02em; margin-bottom: .25rem;
}
.stat-row span { color: var(--muted); font-size: .88rem; }

.contact-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 1.25rem;
}
.contact-map-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); min-height: 280px;
  background: #e8ecf4;
}
.contact-map-wrap .map-embed { min-height: 360px; border-radius: 0; }

@media (max-width: 899px) {
  .home-cat-grid { max-height: 42vh; overflow: auto; padding-right: .15rem; }
  .process-layout .media-frame { display: none; }
}
