/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E8651A;
  --orange-dark: #C8520E;
  --orange-light: #F07830;
  --orange-bg: rgba(232,101,26,0.08);
  --dark: #2C3035;
  --text: #3A3F47;
  --muted: #7A7F88;
  --light: #F2F2F0;
  --lighter: #F8F8F6;
  --white: #FFFFFF;
  --border: #E0E0DC;
  --border2: #D0D0CA;
  --shadow: rgba(0,0,0,0.08);
  --shadow2: rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--lighter);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo: KOZA bold turuncu + MEDYA bold koyu */
.logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-koza { color: var(--orange); }
.logo-medya { color: var(--dark); }
.logo img { display: block; height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding: 0 14px;
  height: 68px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--orange); border-bottom-color: var(--orange); }

.nav-arrow { font-size: .65rem; margin-top: 1px; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px var(--shadow2);
  border-radius: 4px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s ease;
  list-style: none;
  padding: 6px 0;
  z-index: 300;
}
.nav-links > li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover { background: var(--orange-bg); color: var(--orange); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ── PHOTO PAGE HERO (subpages) ── */
.page-hero-photo {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-top: 68px;
  overflow: hidden;
}
.page-hero-photo-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
}
.page-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
}
.page-hero-photo-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 5%;
  display: flex;
  justify-content: flex-end;
}
.page-hero-photo-text { max-width: 560px; }
.page-hero-photo-text .breadcrumb { color: rgba(255,255,255,0.75); }
.page-hero-photo-text .breadcrumb a { color: #ffb380; }
.page-hero-photo-text h1 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1rem;
}
.page-hero-photo-text h1 span { color: #ffb380; }
.page-hero-photo-text .lead { color: rgba(255,255,255,0.9); max-width: 480px; }
@media (max-width: 820px) {
  .page-hero-photo-inner { justify-content: flex-start; padding: 60px 5%; }
  .page-hero-photo-text h1 { font-size: 1.75rem; }
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.logo-grid-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}
.logo-grid-item img { max-width: 100%; max-height: 40px; object-fit: contain; }

/* ── PAGE HERO (sub pages) ── */
.page-hero {
  padding: 130px 5% 70px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.page-hero h1 span { color: var(--orange); }
.page-hero .lead { font-size: 1rem; color: var(--muted); max-width: 620px; }

/* ── SECTIONS ── */
section { padding: 80px 5%; }
.container { max-width: 1280px; margin: 0 auto; }
.section-bg { background: var(--light); }
.section-white { background: var(--white); }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 1rem;
}
h2 span { color: var(--orange); }

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  border: 2px solid var(--orange);
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,101,26,0.35);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  border: 2px solid var(--dark);
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover {
  box-shadow: 0 10px 36px var(--shadow2);
  transform: translateY(-4px);
  border-color: var(--orange);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(232,101,26,0.15);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1280px;
  margin: 0 auto;
}

/* ── ACCORDION ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.accordion-q:hover { color: var(--orange); }
.acc-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange-bg);
  border: 1px solid rgba(232,101,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
  line-height: 1;
}
.accordion-item.open .acc-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.accordion-a {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.accordion-item.open .accordion-a { max-height: 250px; padding-bottom: 1.2rem; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.2rem 1.8rem;
  position: sticky;
  top: 88px;
  box-shadow: 0 4px 20px var(--shadow);
}
.highlight-box h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.highlight-box p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; }
.check-list { list-style: none; margin-bottom: 2rem; }
.check-list li {
  font-size: 0.87rem;
  color: var(--text);
  padding: 0.5rem 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border: none; }
.check-list .ck {
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

/* ── CONTACT FORM ── */
.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--lighter);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #bbb; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,101,26,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.95rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}
.form-submit:hover { background: var(--orange-dark); box-shadow: 0 6px 20px rgba(232,101,26,0.3); }
.form-submit.sent { background: #2e7d32; }

/* ── CONTACT ITEMS ── */
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange-bg);
  border: 1px solid rgba(232,101,26,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 3px;
}
.ci-val { font-size: 0.9rem; color: var(--text); line-height: 1.5; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 60px 5% 28px;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo { margin-bottom: 1rem; display: block; font-size: 1.4rem; font-weight: 800; }
.footer-logo .logo-koza { color: var(--orange); }
.footer-logo .logo-medya { color: #fff; }
.footer-brand p { font-size: 0.86rem; color: #999; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.86rem; color: #999; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 0.8rem; color: #666; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── STAT BOX ── */
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── STEP ── */
.step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  z-index: 1;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── LAYOUT UTILITIES ── */
.layout-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.layout-2col-start { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.layout-2col-asym { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.layout-stats-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.layout-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.layout-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.layout-note { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }

.feature-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px var(--shadow);
}
.feature-row:last-of-type { margin-bottom: 0; }
.feature-row-02 { grid-template-columns: auto auto 1fr; }
.feature-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  align-self: flex-start;
}
.feature-content { display: grid; grid-template-columns: 140px 1fr; gap: 2rem; align-items: center; }
.feature-img {
  border-radius: 10px;
  overflow: hidden;
  width: 140px;
  height: 210px;
  flex-shrink: 0;
  position: relative;
  background: #f5f5f3;
}
.feature-img img,
.feature-img > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-img img.feature-flip { transform: scaleX(-1); }
.feature-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
  min-width: 160px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}
.feature-stats-left {
  text-align: left;
  border-left: none;
  border-right: 1px solid var(--border);
  padding-left: 0;
  padding-right: 2rem;
}
.feature-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.feature-stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 2px;
}

.site-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.site-footer-bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #2a2a2a;
}
.site-footer-bar .social-row { display: flex; gap: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .feature-row,
  .feature-row-02 {
    grid-template-columns: 1fr !important;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .feature-content { grid-template-columns: 1fr !important; gap: 1.25rem; }
  .feature-img { width: 100%; height: 220px; max-width: 100%; }
  .feature-stats,
  .feature-stats-left {
    min-width: 0 !important;
    border: none !important;
    border-top: 1px solid var(--border) !important;
    padding: 1rem 0 0 !important;
    text-align: left !important;
  }
  .feature-row-02 .feature-stats-left { order: 4; }
  .feature-row-02 .feature-num { order: 1; }
  .feature-row-02 .feature-content { order: 2; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 1rem 5%;
    gap: 0;
    z-index: 199;
    box-shadow: 0 8px 30px var(--shadow2);
    align-items: flex-start;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a { height: auto; padding: 10px 0; border: none; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 1rem; min-width: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .layout-2col,
  .layout-2col-start,
  .layout-2col-asym,
  .layout-faq,
  .layout-split,
  .layout-note { grid-template-columns: 1fr !important; gap: 2rem !important; min-height: auto !important; }
  .layout-split > div { border-left: none !important; }
  .layout-split > div + div { border-top: 1px solid var(--border); }
  .strategy-section { padding: 55px 5%; }
  .site-footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .site-footer-bar { flex-direction: column; gap: 1rem; text-align: center; }
  .highlight-box { position: static; }
  /* Inline grid fallbacks (pages not yet using utility classes) */
  div[style*="grid-template-columns:1fr 1fr;gap:80px"],
  div[style*="grid-template-columns:1fr 1fr;gap:60px"],
  div[style*="grid-template-columns:1fr 1.6fr"],
  div[style*="grid-template-columns:1fr 1fr;gap:5rem"],
  div[style*="grid-template-columns:1fr 1fr;min-height:380px"],
  div[style*="grid-template-columns:1fr 1fr;gap:3rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    min-height: auto !important;
  }
  div[style*="grid-template-columns:2fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  div[style*="grid-template-columns:auto 1fr auto"],
  div[style*="grid-template-columns:auto auto 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 1.5rem !important;
  }
  div[style*="grid-template-columns:180px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  div[style*="min-width:160px"] {
    min-width: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    border-top: 1px solid var(--border) !important;
    padding-top: 1rem !important;
  }
  .stat-num { font-size: 2.2rem; }
}
@media (max-width: 520px) {
  section { padding: 55px 5%; }
  .page-hero { padding: 100px 5% 45px; }
  nav { padding: 0 4%; }
  .logo img { height: 38px; }
  .layout-stats-2x2 { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat-box { padding: 1.25rem 1rem; }
  .stat-num { font-size: 1.9rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-orange, .btn-outline-dark { justify-content: center; width: 100%; }
  .site-footer-bar .social-row { justify-content: center; flex-wrap: wrap; }
  footer div[style*="display:flex;gap:8px"] { flex-wrap: wrap; justify-content: center; }
}
