/* ==========================================================================
   CRAS — Cleanroom Asocijacija Srbije
   Design tokens + base styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Colors — derived from brand mark */
  --c-navy: #00488B;
  --c-navy-dark: #00305e;
  --c-navy-tint: #e8f0f9;
  --c-red: #ED1C24;
  --c-red-dark: #c8141b;
  --c-ink: #15181B;
  --c-grey-700: #4B5158;
  --c-grey-500: #80858C;
  --c-grey-300: #D7DBDF;
  --c-grey-100: #F1F3F5;
  --c-grey-50: #F8F9FA;
  --c-white: #FFFFFF;
  --c-green: #1C8A53;
  --c-gold: #B5832B;

  /* Type */
  --f-display: 'Archivo', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --space-section: clamp(64px, 9vw, 128px);

  /* Shadow — used sparingly */
  --shadow-card: 0 1px 2px rgba(21,24,27,0.04), 0 8px 24px -12px rgba(21,24,27,0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Eyebrow / mono labels — signature element referencing technical standards
   ========================================================================== */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--c-red);
}

.tag-mono {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-grey-500);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-red);
  color: var(--c-white);
}
.btn-primary:hover { background: var(--c-red-dark); }

.btn-navy {
  background: var(--c-navy);
  color: var(--c-white);
}
.btn-navy:hover { background: var(--c-navy-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--c-grey-300);
  color: var(--c-ink);
}
.btn-outline:hover { border-color: var(--c-navy); color: var(--c-navy); }

.btn-ghost {
  background: transparent;
  color: var(--c-navy);
  padding: 13px 4px;
}
.btn-ghost:hover { color: var(--c-navy-dark); }

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */

.topbar {
  background: var(--c-ink);
  color: var(--c-grey-300);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  height: 38px;
  font-size: 13px;
}

.topbar a { color: var(--c-grey-300); transition: color 0.15s ease; }
.topbar a:hover { color: var(--c-white); }

.lang-switch { display: flex; gap: 6px; align-items: center; }
.lang-switch a {
  color: var(--c-grey-500);
  font-size: 13px;
  font-family: var(--f-body);
  cursor: pointer;
  padding: 2px;
}
.lang-switch a.active { color: var(--c-white); font-weight: 600; }
.lang-switch .sep { color: var(--c-grey-700); }

.topbar-divider { width: 1px; height: 14px; background: var(--c-grey-700); }

.icccs-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-navy);
  color: var(--c-white) !important;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.icccs-pill::before { content: '●'; color: #5fd97a; font-size: 8px; }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-grey-300);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover { color: var(--c-navy); background: var(--c-grey-50); }
.nav-link.is-active { color: var(--c-navy); }

.nav-link .chev { width: 9px; height: 9px; opacity: 0.6; transition: transform 0.15s ease; }
.nav-item:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-grey-700);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown a:hover { background: var(--c-navy-tint); color: var(--c-navy); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-grey-300);
  color: var(--c-grey-700);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { border-color: var(--c-navy); color: var(--c-navy); }

.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
}
.mobile-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .nav-inner { gap: 16px; }
  .nav-actions .btn-sm { display: none; }
}

/* Mobile nav slide-down panel */
.mobile-nav-panel {
  display: none;
  flex-direction: column;
  background: var(--c-white);
  border-top: 1px solid var(--c-grey-300);
  padding: 8px 0;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.mobile-nav-panel.is-open { display: flex; }
.mobile-nav-panel a {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-grey-100);
}
.mobile-nav-panel a:last-child { border-bottom: none; }
body.nav-open { overflow: hidden; }

@media (max-width: 640px) {
  .topbar-inner { justify-content: space-between; gap: 12px; height: auto; padding: 8px 10px; }
  .topbar-inner .lang-switch { margin-left: auto; }
  .topbar-inner > a[href^="mailto"] { display: none; }
  .topbar-divider { display: none; }
  .icccs-pill { font-size: 11px; padding: 3px 8px; }
  .logo-link img { height: 34px; }
  .nav-inner { height: 68px; }
  .mobile-nav-panel a { padding: 14px 20px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--c-ink);
  color: var(--c-white);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  padding: 108px 0 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fb8e6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--c-red); }

.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  color: var(--c-white);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: #8fb8e6;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #B8C2CC;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.hero-stat-num {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--c-white);
}

.hero-stat-label {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: #8B95A1;
  margin-top: 4px;
}

/* Hero visual: schematic cleanroom diagram */
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual svg { width: 100%; height: auto; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

.section { padding: var(--space-section) 0; }
.section-grey { background: var(--c-grey-50); }
.section-navy { background: var(--c-navy); color: var(--c-white); }

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  color: var(--c-ink);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--c-grey-700);
  line-height: 1.65;
}

/* ==========================================================================
   Mission / Vision split
   ========================================================================== */

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-grey-300);
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mv-card {
  background: var(--c-white);
  padding: 44px 40px;
}

.mv-card.is-vision { background: var(--c-navy); color: var(--c-white); }

.mv-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.mv-card .tag-mono { margin-bottom: 10px; display: block; }
.mv-card.is-vision .tag-mono { color: #8fb8e6; }

.mv-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.mv-card p {
  color: var(--c-grey-700);
  line-height: 1.7;
  font-size: 15.5px;
}
.mv-card p + p { margin-top: 12px; }
.mv-card.is-vision p { color: #C7D5E5; }

/* ==========================================================================
   Goals grid (icons)
   ========================================================================== */

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-grey-300);
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.goal-card {
  background: var(--c-white);
  padding: 36px 28px;
  transition: background 0.15s ease;
}
.goal-card:hover { background: var(--c-grey-50); }

.goal-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-red);
  font-weight: 600;
  margin-bottom: 18px;
}

.goal-icon { width: 32px; height: 32px; color: var(--c-navy); margin-bottom: 18px; }

.goal-card h4 {
  font-size: 16.5px;
  margin-bottom: 10px;
}

.goal-card p {
  font-size: 14.5px;
  color: var(--c-grey-700);
  line-height: 1.6;
}

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

/* ==========================================================================
   Knowledge base preview cards
   ========================================================================== */

.kb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kb-card {
  background: var(--c-white);
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.kb-card:hover {
  border-color: var(--c-navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.kb-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-navy-tint);
  border-radius: var(--radius-sm);
  color: var(--c-navy);
  margin-bottom: 20px;
}
.kb-icon svg { width: 22px; height: 22px; }

.kb-card h4 { font-size: 16.5px; margin-bottom: 10px; }
.kb-card p { font-size: 14px; color: var(--c-grey-700); line-height: 1.6; margin-bottom: 18px; }

.kb-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kb-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.kb-card:hover .kb-link svg { transform: translateX(3px); }

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

/* ==========================================================================
   Membership CTA band
   ========================================================================== */

.member-cta {
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.member-cta::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,72,139,0.5), transparent 70%);
  pointer-events: none;
}

.member-cta h3 {
  font-size: 28px;
  color: var(--c-white);
  margin-bottom: 14px;
  position: relative;
}

.member-cta p {
  color: #B8C2CC;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 480px;
  position: relative;
}

.member-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

@media (max-width: 860px) {
  .member-cta { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ==========================================================================
   ICCCS strip
   ========================================================================== */

.icccs-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.icccs-text { max-width: 600px; }
.icccs-text .tag-mono { color: #8fb8e6; margin-bottom: 10px; display: block; }
.icccs-text h3 { color: var(--c-white); font-size: 24px; margin-bottom: 12px; }
.icccs-text p { color: #C7D5E5; font-size: 15px; line-height: 1.65; }

.icccs-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 18px 26px;
}

.icccs-badge-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-navy);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
}

.icccs-badge-label { font-size: 13px; color: #C7D5E5; }
.icccs-badge-strong { font-weight: 700; color: var(--c-white); font-size: 14.5px; }

/* ==========================================================================
   News / updates
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.news-card:hover { border-color: var(--c-navy); transform: translateY(-3px); }

.news-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--c-navy-tint), var(--c-grey-100));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.news-thumb svg { width: 48px; height: 48px; color: var(--c-navy); opacity: 0.35; }

.news-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--c-white);
  color: var(--c-navy);
  border: 1px solid var(--c-grey-300);
}
.news-badge.locked { color: var(--c-gold); display: inline-flex; align-items: center; gap: 4px; }
.news-badge.locked svg { width: 11px; height: 11px; }

.news-body { padding: 22px 22px 24px; }
.news-date { font-family: var(--f-mono); font-size: 12px; color: var(--c-grey-500); margin-bottom: 10px; }
.news-body h4 { font-size: 16px; line-height: 1.4; margin-bottom: 0; }

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

/* ==========================================================================
   Documents
   ========================================================================== */

.docs-list { display: flex; flex-direction: column; gap: 12px; }

.doc-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
}
.doc-row:hover { border-color: var(--c-navy); }

.doc-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-red);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
}

.doc-info { flex: 1; min-width: 0; }
.doc-info h4 { font-size: 15.5px; margin-bottom: 3px; }
.doc-info span { font-size: 13px; color: var(--c-grey-500); font-family: var(--f-mono); }

/* ==========================================================================
   Newsletter band
   ========================================================================== */

.newsletter {
  background: var(--c-navy);
  color: var(--c-white);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.newsletter-text h3 { color: var(--c-white); font-size: 22px; margin-bottom: 8px; }
.newsletter-text p { color: #C7D5E5; font-size: 14.5px; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  font-family: var(--f-body);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--c-white);
  font-size: 14.5px;
  min-width: 180px;
  flex: 1 1 180px;
}
.newsletter-form .btn { min-height: 48px; }
.newsletter-form input::placeholder { color: #9BB3CC; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--c-ink); color: #9CA6AF; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-brand img { height: 34px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #8B95A1; max-width: 280px; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #2A2F35;
  border-radius: var(--radius-sm);
  color: #9CA6AF;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { border-color: var(--c-navy); color: var(--c-white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B747C;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: #B8C2CC; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
  border-top: 1px solid #2A2F35;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #6B747C;
}

.footer-bottom a { color: #6B747C; }
.footer-bottom a:hover { color: var(--c-white); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; padding: 48px 10px 32px; }
}

/* ==========================================================================
   Responsive: hero, sections
   ========================================================================== */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 56px; }
  .hero-visual { order: -1; max-width: 420px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .mv-grid { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: 1fr 1fr; }
  .member-cta { grid-template-columns: 1fr; }
  .icccs-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero-inner { padding: 40px 10px 44px; gap: 28px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 16px; flex-direction: column; padding-top: 24px; }
  .hero-stat-num { font-size: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; padding-left: 10px; padding-right: 10px; }
  .newsletter-form { width: 100%; }
  .newsletter-form input,
  .newsletter-form .btn { width: 100%; min-width: 0; }
  .member-cta { padding: 28px 20px; }
  .member-cta h3 { font-size: 24px; }
  .member-cta-actions .btn { width: 100%; }
  .icccs-badge { width: 100%; padding: 16px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-left: 10px; padding-right: 10px; }
}
