/* ============================================================
   ANNUAIRE MONTE-ESCALIER FRANCE
   Design: Light, Enthusiastic — Primary #0077B6
============================================================ */

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

/* --- Variables --- */
:root {
  --primary: #0077B6;
  --primary-dark: #005a8c;
  --primary-light: #CAF0F8;
  --secondary: #90E0EF;
  --accent: #00B4D8;
  --text: #1a2332;
  --text-muted: #6b7a8d;
  --bg: #f8fafb;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --success: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0,119,182,0.08);
  --shadow-lg: 0 8px 32px rgba(0,119,182,0.12);
  --transition: 0.22s ease;
  --max-w: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); cursor: pointer; border: none; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 16px rgba(0,119,182,0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,119,182,0.3); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--primary-light); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Badge --- */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: #dcfce7; color: #166534; }
.badge-gray { background: #f1f5f9; color: #64748b; }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,119,182,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; color: #fff; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.logo-text span { color: var(--primary); }
.logo:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text-muted); font-weight: 500; font-size: 0.9rem;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-light); color: var(--primary);
  text-decoration: none;
}
.nav-cta { margin-left: 8px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO — layout 2 colonnes : texte gauche | iframe droite
============================================================ */
.hero {
  background: linear-gradient(135deg, #023e8a 0%, var(--primary) 50%, var(--accent) 100%);
  color: #fff; padding: 60px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 120%; height: 120px;
  background: var(--bg);
  border-radius: 50% 50% 0 0;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; color: #fff; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; max-width: 460px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px;
  background: rgba(255,255,255,0.1); border-radius: var(--radius-lg);
  padding: 16px; backdrop-filter: blur(8px);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.4rem; font-weight: 900; font-family: 'Poppins', sans-serif; }
.hero-stat span { font-size: 0.72rem; opacity: 0.8; }

/* --- Iframe wrapper dans le hero --- */
.hero-iframe-wrap {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  position: relative;
}
.hero-iframe-label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  font-size: 0.82rem; font-weight: 600; color: #fff;
}
.hero-iframe-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  background: #fff;
}

/* ============================================================
   3 CARDS INFO — sous le hero
============================================================ */
.hero-cards-section {
  padding: 48px 0 0;
}
.hero-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.hero-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.hero-info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.hero-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}
.hero-info-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   SEARCH BAR
============================================================ */
.search-section {
  background: #fff; margin: 0 auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px 32px; position: relative; z-index: 10;
}
.search-form {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
}
.search-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.search-field input, .search-field select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
  background: var(--bg); color: var(--text); transition: var(--transition);
}
.search-field input:focus, .search-field select:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,119,182,0.08);
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff; padding: 32px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  text-align: center;
}
.stat-item { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 900; font-family: 'Poppins', sans-serif; }
.stat-item span { font-size: 0.85rem; opacity: 0.85; }

/* ============================================================
   REGIONS GRID
============================================================ */
.regions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.region-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.region-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.region-card:hover::before { transform: scaleX(1); }
.region-card a { text-decoration: none; color: inherit; display: block; }
.region-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.4rem;
}
.region-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.region-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.region-meta span { display: flex; align-items: center; gap: 4px; }
.region-arrow {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: var(--transition);
}
.region-card:hover .region-arrow { background: var(--primary); color: #fff; }

/* ============================================================
   DEPARTMENTS / BREADCRUMB
============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }

.page-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; padding: 48px 0 64px;
}
.page-header h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; color: #fff; }
.page-header p { opacity: 0.9; font-size: 1.05rem; margin: 0; }
.page-header .breadcrumb { opacity: 0.85; margin-bottom: 20px; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-header .breadcrumb span { color: rgba(255,255,255,0.6); }

/* ============================================================
   COMPANIES LIST
============================================================ */
.companies-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
}
.company-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition); position: relative;
}
.company-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.company-card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.company-logo {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--primary);
  font-family: 'Poppins', sans-serif;
}
.company-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.company-card h3 a { color: inherit; }
.company-card h3 a:hover { color: var(--primary); text-decoration: none; }
.company-location { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.company-naf {
  position: absolute; top: 16px; right: 16px;
  background: #f0fdf4; color: #15803d; padding: 3px 10px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 600;
}
.company-services { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.service-tag {
  background: var(--primary-light); color: var(--primary);
  padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 500;
}
.company-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.company-info-item { display: flex; align-items: center; gap: 6px; }
.company-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.company-phone { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.company-brands { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   COMPANY DETAIL
============================================================ */
.company-detail-header {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start;
}
.company-detail-logo {
  width: 80px; height: 80px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900; color: #fff; font-family: 'Poppins', sans-serif;
}
.company-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 0.88rem; color: var(--text-muted); }
.company-detail-meta span { display: flex; align-items: center; gap: 6px; }
.company-detail-actions { display: flex; flex-direction: column; gap: 10px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.info-block h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 12px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.info-row:last-child { border-bottom: none; }
.info-row strong { color: var(--text); font-weight: 600; }
.info-row span { color: var(--text-muted); }

/* ============================================================
   CITIES GRID
============================================================ */
.cities-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.city-link {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px; font-size: 0.85rem; color: var(--text);
  transition: var(--transition);
}
.city-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.city-link span { font-size: 0.75rem; color: var(--text-muted); margin-left: 4px; }
.city-link:hover span { color: rgba(255,255,255,0.7); }

/* ============================================================
   DEPARTMENTS GRID
============================================================ */
.departments-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.dept-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; transition: var(--transition); display: flex; align-items: center; gap: 12px;
}
.dept-card:hover { border-color: var(--primary); background: var(--primary-light); text-decoration: none; }
.dept-code {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.dept-card:hover .dept-code { background: var(--primary); color: #fff; }
.dept-info h4 { font-size: 0.85rem; margin: 0 0 2px; color: var(--text); }
.dept-info span { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   INFO SECTIONS / CTA
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border-radius: var(--radius-lg); padding: 48px;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.info-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--primary-light); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   FAQ
============================================================ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-size: 1rem; font-weight: 600; color: var(--text);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: var(--transition); color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; color: var(--text-muted); font-size: 0.92rem; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #0a1628; color: rgba(255,255,255,0.8); padding: 60px 0 0;
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; opacity: 0.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.footer-naf { display: inline-block; background: rgba(0,119,182,0.2); border: 1px solid rgba(0,119,182,0.4); padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; color: var(--secondary); margin-top: 8px; }

/* ============================================================
   REVEAL ON SCROLL
============================================================ */
.reveal-on-scroll {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 600; transition: var(--transition);
}
.pagination a { color: var(--text); }
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.pagination span.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   EMPTY STATE / 404
============================================================ */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 4rem; margin-bottom: 20px; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); max-width: 400px; margin: 0 auto 24px; }

/* ============================================================
   SIDEBAR LAYOUT
============================================================ */
.layout-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* ============================================================
   TAGS / FILTERS
============================================================ */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chip {
  padding: 7px 16px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--bg-card); font-size: 0.83rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); color: var(--text-muted);
}
.filter-chip:hover, .filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.results-count { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.results-count strong { color: var(--primary); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-iframe-wrap { max-width: 600px; margin: 0 auto; width: 100%; }
  .hero-cards-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .hamburger { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 0 0 16px; }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .search-form { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .company-detail-header { grid-template-columns: auto 1fr; }
  .company-detail-actions { grid-column: 1 / -1; flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 48px 0; }
  .cta-section { padding: 36px 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-cards-row { grid-template-columns: 1fr; }
  .hero-cards-section { padding: 32px 0 0; }
}
@media (max-width: 480px) {
  .companies-grid { grid-template-columns: 1fr; }
  .departments-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cards-row { grid-template-columns: 1fr; }
}