/* =========================================================
   (주)좋은세상 — 디자인 시스템
   자연석·조경 기업에 맞춘 차분한 그린/스톤 팔레트
   ========================================================= */
:root {
  --green-900: #1c3a29;
  --green-700: #2f5d43;
  --green-600: #3a7052;
  --green-500: #4a8462;
  --stone-900: #23261f;
  --stone-700: #4a4f45;
  --stone-500: #7c8175;
  --stone-300: #c4c8bd;
  --stone-100: #eef0ea;
  --stone-50:  #f7f8f4;
  --paper: #ffffff;
  --line: #e2e5db;
  --accent: #b9944e;

  --text: #23261f;
  --text-soft: #5c6155;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(28, 40, 30, .08);
  --shadow-sm: 0 4px 14px rgba(28, 40, 30, .07);
  --container: 1200px;
  --header-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* 화면엔 안 보이지만 스크린리더·검색엔진용 (SEO/접근성) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease);
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-900); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-weight: 800; font-size: 19px; color: var(--green-900); letter-spacing: -.03em; }

.gnb { margin-left: auto; }
.gnb-list { display: flex; gap: 4px; }
.gnb-item { position: relative; }
.gnb-link {
  display: block; padding: 26px 20px; font-weight: 600; font-size: 16.5px; color: var(--stone-700);
  transition: color .2s;
}
.gnb-item:hover .gnb-link, .gnb-link.is-active { color: var(--green-700); }
.gnb-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.gnb-item:hover .gnb-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnb-sub a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 15px; color: var(--stone-700); white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a.is-active { background: var(--stone-100); color: var(--green-700); }

.header-tel { flex-shrink: 0; text-align: right; line-height: 1.2; }
.header-tel-label { display: block; font-size: 11px; color: var(--stone-500); letter-spacing: .04em; }
.header-tel-num { display: block; font-size: 19px; font-weight: 800; color: var(--green-900); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--stone-900); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 모바일 메뉴 ---------- */
.mnav { border-top: 1px solid var(--line); background: #fff; padding: 12px 24px 24px; }
.mnav-list > li { padding: 14px 0; border-bottom: 1px solid var(--stone-100); }
.mnav-group { display: block; font-weight: 800; color: var(--green-900); margin-bottom: 8px; }
.mnav-list ul { display: flex; flex-wrap: wrap; gap: 8px; }
.mnav-list ul a { display: block; padding: 8px 14px; background: var(--stone-100); border-radius: 999px; font-size: 14px; color: var(--stone-700); }
.mnav-list ul a.is-active { background: var(--green-700); color: #fff; }
.mnav-tel { display: block; text-align: center; margin-top: 18px; padding: 14px; background: var(--green-700); color: #fff; border-radius: var(--radius-sm); font-weight: 700; }

/* ---------- 서브페이지 히어로 ---------- */
.page-hero {
  background: var(--green-900) center/cover no-repeat; color: #fff; padding: 74px 0;
  text-align: center;
}
.page-hero-tagline { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 10px; }
.page-hero-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }

.breadcrumb { background: var(--stone-50); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--stone-500); }
.breadcrumb .container { display: flex; gap: 8px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.breadcrumb .sep { color: var(--stone-300); }
.breadcrumb span:last-child { color: var(--green-700); font-weight: 600; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--stone-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--green-600); font-weight: 700; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--stone-900); }
.section-desc { margin-top: 16px; color: var(--text-soft); font-size: 17px; }

/* ---------- 콘텐츠(서브페이지 본문) ---------- */
.content { padding: 72px 0; }
.prose { max-width: 820px; margin: 0 auto; font-size: 17px; color: var(--text); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; color: var(--green-900); }
.lead { font-size: 20px; font-weight: 600; color: var(--green-900); }

/* ---------- 홈: 히어로 슬라이더 ---------- */
.hero { position: relative; height: min(84vh, 720px); overflow: hidden; background: var(--green-900); }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease); display: flex; align-items: center;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,30,22,.72), rgba(18,30,22,.25)); }
.hero-slide.is-on { opacity: 1; }
.hero-caption { position: relative; color: #fff; }
.hero-caption .sub { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.85); margin-bottom: 14px; letter-spacing: .02em; }
.hero-caption .tit { font-size: clamp(30px, 5.2vw, 60px); font-weight: 800; line-height: 1.18; letter-spacing: -.03em; }
.hero-caption .btn { margin-top: 30px; }
.hero-dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dots button.is-on { background: #fff; }

/* ---------- 홈: 소개 ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.intro-grid .img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-grid .img img { width: 100%; height: 100%; object-fit: cover; }
.intro-body .section-title { text-align: left; }
.intro-body p { margin-top: 18px; color: var(--text-soft); font-size: 17px; }
.intro-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 홈: 사업영역 카드 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease); box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--stone-300); }
.card .num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.card h3 { font-size: 21px; margin: 12px 0 10px; color: var(--stone-900); }
.card p { color: var(--text-soft); font-size: 15.5px; }
.badge { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--green-700); background: var(--stone-100); padding: 5px 12px; border-radius: 999px; }

/* ---------- 홈: 고객센터 배너 ---------- */
.cta-band { background: var(--green-900); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band .tel { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-top: 8px; }
.cta-band .hours { color: rgba(255,255,255,.72); margin-top: 6px; }

/* ---------- 홈: 파트너 ---------- */
.partners { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.partners img { filter: grayscale(1); opacity: .7; transition: .3s; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px; height: 74px; object-fit: contain; width: 100%; }
.partners img:hover { filter: none; opacity: 1; }

/* ---------- 홈: 홍보영상 ---------- */
.video-main { max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-sub { max-width: 900px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video-sub > div { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #000; }
.video-main iframe, .video-sub iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
@media (max-width: 640px) { .video-sub { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- 제품 갤러리 ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.tabs a, .tab-btn {
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600;
  color: var(--stone-700); font-size: 15px; background: #fff; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s var(--ease);
}
.tabs a:hover, .tab-btn:hover { border-color: var(--stone-300); }
.tabs a.is-active, .tab-btn.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.tab-count { font-size: 12px; opacity: .7; font-weight: 700; }
.tab-btn.is-active .tab-count { opacity: .85; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.gallery figure:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery .thumb { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--stone-100); cursor: zoom-in; }
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover .thumb img { transform: scale(1.06); }
.gallery figcaption { padding: 14px 16px; font-weight: 600; font-size: 15px; color: var(--stone-700); }
.gallery figcaption small { display: block; font-weight: 400; color: var(--stone-500); font-size: 13px; margin-top: 2px; }

/* ---------- 오시는길 ---------- */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.office-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.office-card .map { aspect-ratio: 16/10; background: var(--stone-100); border: 0; width: 100%; }
.office-card .body { padding: 26px 28px; }
.office-card h3 { font-size: 22px; color: var(--green-900); margin-bottom: 16px; }
.office-card dl { display: grid; grid-template-columns: 72px 1fr; gap: 10px 16px; font-size: 15.5px; }
.office-card dt { color: var(--stone-500); font-weight: 600; }
.office-card dd { margin: 0; color: var(--text); }

/* ---------- 테이블(게시판) ---------- */
.board { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.board th, .board td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.board thead th { border-top: 2px solid var(--green-700); color: var(--stone-700); background: var(--stone-50); font-weight: 700; }
.board tbody tr:hover { background: var(--stone-50); }
.empty-note { text-align: center; color: var(--stone-500); padding: 60px 0; }
.board .col-no { width: 72px; text-align: center; color: var(--stone-500); }
.board .col-date { width: 130px; text-align: center; color: var(--stone-500); white-space: nowrap; }
.board .col-title { font-weight: 500; }
.board tbody tr { cursor: default; }
.board-note { margin-top: 24px; font-size: 14.5px; color: var(--stone-500); }
.board-note a { color: var(--green-700); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px; display: flex; align-items: center; gap: 14px; color: var(--stone-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: 20px 24px 24px 66px; color: var(--text-soft); font-size: 15.5px; line-height: 1.75; }

/* ---------- 게시판(펼침형) ---------- */
.post-list { border-top: 2px solid var(--green-700); }
.post-item { border-bottom: 1px solid var(--line); background: #fff; }
.post-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 18px 8px; }
.post-item summary::-webkit-details-marker { display: none; }
.post-no { flex-shrink: 0; width: 40px; text-align: center; color: var(--stone-500); font-size: 14px; }
.post-title { flex: 1; font-weight: 600; color: var(--stone-900); font-size: 16px; }
.post-date { flex-shrink: 0; color: var(--stone-500); font-size: 14px; white-space: nowrap; }
.post-item[open] summary { background: var(--stone-50); }
.post-item[open] .post-title { color: var(--green-700); }
.post-body { padding: 12px 8px 30px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.post-body a { display: block; max-width: 720px; width: 100%; }
.post-body img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: zoom-in; }
.post-empty { color: var(--stone-500); padding: 10px 0 20px; }
@media (max-width: 640px) { .post-no { display: none; } .post-title { font-size: 14.5px; } }

/* ---------- 견적문의 폼 ---------- */
.quote-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 44px; align-items: start; }
.quote-h { font-size: 26px; color: var(--green-900); }
.quote-sub { color: var(--text-soft); margin: 8px 0 26px; }
.quote-form .field { margin-bottom: 18px; }
.quote-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--stone-700); }
.quote-form label span { color: #c0392b; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--text); background: #fff; transition: border-color .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--green-500); }
.quote-form textarea { resize: vertical; }
.quote-form button { margin-top: 6px; }
.quote-contact { display: flex; flex-direction: column; gap: 18px; }
.quote-tel-card { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 28px; }
.quote-tel-card .label { font-size: 13px; color: rgba(255,255,255,.7); }
.quote-tel-card .num { display: block; font-size: 30px; font-weight: 800; margin: 6px 0 12px; color: #fff; }
.quote-tel-card p { color: rgba(255,255,255,.78); font-size: 14px; }
.quote-office { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.quote-office h3 { color: var(--green-900); font-size: 17px; margin-bottom: 10px; }
.quote-office p { font-size: 14.5px; color: var(--text-soft); margin-top: 4px; }
.quote-office a { color: var(--green-700); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .quote-form .field-row { grid-template-columns: 1fr; } .board .col-no { display: none; } }

/* ---------- 라이트박스 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15,20,16,.92);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-body { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox-body img { max-width: 92vw; max-height: 78vh; width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-body figcaption { color: #fff; margin-top: 16px; font-size: 15.5px; font-weight: 500; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 26px; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 30px; line-height: 1; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ---------- 플로팅 견적 버튼 ---------- */
.floating-quote {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; background: var(--accent); color: #fff;
  padding: 15px 22px; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 24px rgba(185,148,78,.45);
  transition: transform .25s var(--ease);
}
.floating-quote:hover { transform: translateY(-3px); }

/* ---------- 시공현황 포트폴리오 ---------- */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-thumb { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--stone-100); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-count { position: absolute; right: 10px; bottom: 10px; background: rgba(20,30,22,.78); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.work-title { font-size: 15px; font-weight: 600; color: var(--stone-700); margin-top: 12px; line-height: 1.45; }
.works-year-block { margin-bottom: 58px; }
.works-year { display: flex; align-items: baseline; gap: 12px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--green-900); margin-bottom: 26px; padding-bottom: 14px; border-bottom: 2px solid var(--green-700); }
.works-year-count { font-size: 15px; font-weight: 600; color: var(--stone-500); }
.mnav-solo { color: var(--green-900); }
@media (max-width: 1024px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--stone-900); color: #b9bdb2; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 60px; padding-bottom: 40px; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 16px; }
.footer-slogan { color: #8f948a; font-size: 15px; }
.footer-offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.footer-office h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.footer-office p { font-size: 14.5px; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; color: #7e837a; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .gnb, .header-tel { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(5, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .office-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section, .content { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-offices { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
  .container { padding: 0 18px; }
}
