/* ===================================================================
   ТД «Анкер Комплект» — общий стиль сайта
   Визуальный референс: transtehcom.ru (светлый фон, тёмно-синие блоки,
   яркий бирюзовый акцент, пилюльные кнопки, шрифт Golos Text)
   =================================================================== */

:root{
  --white:#ffffff;
  --bg:#f5f8fb;
  --bg-mint:#eff7f6;
  --navy:#123141;
  --navy-2:#092230;
  --ink:#0d1b22;
  --steel:#5c7480;
  --teal:#3fe0d0;
  --teal-dark:#12524d;
  --blue:#45b0e6;
  --line:rgba(18,49,65,0.10);
  --radius-pill:999px;
  --radius:14px;
  --shadow:0 4px 24px rgba(18,49,65,0.07);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Golos Text', Arial, sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Golos Text', Arial, sans-serif;
  font-weight:700;
  line-height:1.18;
  color:var(--navy);
}
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } }

/* ---------- header ---------- */
header{ position:sticky; top:0; z-index:50; background:var(--white); border-bottom:1px solid var(--line); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:82px; }
.logo{ display:flex; align-items:center; white-space:nowrap; }
.logo-td{ font-family:'Golos Text', sans-serif; font-weight:700; font-size:15px; color:var(--teal-dark); border:1.5px solid var(--teal-dark); border-radius:6px; padding:2px 6px; margin-right:10px; line-height:1.3; }
.logo-img{ height:28px; width:auto; display:block; }
nav.main-nav{ display:flex; gap:32px; }
nav.main-nav a{ color:var(--ink); font-size:15px; font-weight:500; padding:6px 0; border-bottom:2px solid transparent; transition:color .15s, border-color .15s; }
nav.main-nav a:hover, nav.main-nav a.active{ color:var(--teal-dark); border-color:var(--teal); }
.header-right{ display:flex; align-items:center; gap:22px; }
.phone{ color:var(--navy); font-weight:700; font-size:15px; text-align:right; }
.phone span{ display:block; color:var(--steel); font-weight:400; font-size:11.5px; }
.header-messengers{ display:flex; align-items:center; gap:8px; }
.header-messengers .msg-icon{ display:flex; width:26px; height:26px; opacity:0.85; transition:opacity 0.15s; }
.header-messengers .msg-icon:hover{ opacity:1; }
.header-messengers .msg-icon img{ width:100%; height:100%; display:block; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; padding:14px 28px; font-size:14px; font-weight:600; border-radius:var(--radius-pill); border:1px solid transparent; transition:background .15s, color .15s, border-color .15s, transform .15s; white-space:nowrap; }
.btn-primary{ background:var(--teal); color:var(--navy); }
.btn-primary:hover{ background:var(--teal-dark); color:var(--white); }
.btn-ghost{ border-color:rgba(18,49,65,0.2); color:var(--navy); background:none; }
.btn-ghost:hover{ background:var(--bg); border-color:var(--navy); }
header .btn-ghost{ border-color:rgba(255,255,255,0.4); color:var(--white); }
.btn-sm{ padding:10px 18px; font-size:12.5px; }

/* ---------- breadcrumbs / page head ---------- */
.crumbs{ padding:20px 0 0; font-size:13.5px; color:var(--steel); }
.crumbs a:hover{ color:var(--teal-dark); }
.page-head{ padding:32px 0 40px; display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.page-head .eyebrow{ margin-bottom:14px; }
.page-head h1{ font-size:34px; margin-bottom:12px; }
.page-head p{ color:var(--steel); font-size:15.5px; max-width:600px; }

.eyebrow{ font-size:13px; font-weight:700; letter-spacing:0.03em; text-transform:uppercase; color:var(--teal-dark); margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.eyebrow::before{ content:""; width:22px; height:2px; border-radius:2px; background:var(--teal); }
section.on-dark .eyebrow{ color:var(--teal); }
section.on-dark .eyebrow::before{ background:var(--teal); }

/* ---------- hero (полноэкранное фото) ---------- */
.hero-photo{ position:relative; overflow:hidden; min-height:600px; display:flex; align-items:center; padding:120px 0 80px; }
.hero-photo .hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.hero-photo::after{ content:""; position:absolute; inset:0; z-index:0; background:linear-gradient(100deg, rgba(9,25,34,0.92) 0%, rgba(9,25,34,0.78) 42%, rgba(9,25,34,0.35) 75%, rgba(9,25,34,0.15) 100%); }
.hero-photo.centered{ min-height:600px; padding:120px 0 80px; justify-content:center; }
.hero-photo.centered::after{ background:linear-gradient(180deg, rgba(9,25,34,0.78) 0%, rgba(9,25,34,0.5) 50%, rgba(9,25,34,0.78) 100%); }
.hero-photo.centered .wrap{ position:relative; z-index:1; text-align:center; }
.hero-slogan-big{ color:var(--white); font-size:27px; font-weight:700; line-height:1.45; max-width:760px; margin:0 auto; }
.hero .eyebrow{ color:var(--teal); }
.hero .eyebrow::before{ background:var(--teal); }
.hero-grid{ position:relative; z-index:1; width:100%; }
.hero h1{ color:var(--white); font-size:44px; font-weight:800; margin-bottom:10px; max-width:620px; letter-spacing:-0.01em; }
.hero-subhead{ font-size:19px; color:var(--teal); font-weight:600; margin-bottom:20px; }
.hero .dir-line{ font-size:14px; color:rgba(255,255,255,0.85); margin-bottom:28px; max-width:560px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- generic sections ---------- */
section{ padding:72px 0; }
section p{ color:var(--steel); font-size:15px; }
.section-head{ margin-bottom:36px; max-width:640px; display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; }
.section-head h2{ font-size:28px; margin-bottom:10px; }
.section-head p{ color:var(--steel); font-size:15px; }
section.on-dark .section-head h2{ color:var(--white); }
section.on-dark .section-head p{ color:rgba(255,255,255,0.68); }
.more-link{ font-size:13px; font-weight:700; color:var(--blue); white-space:nowrap; }
.more-link:hover{ color:var(--teal-dark); text-decoration:underline; }
.note{ font-size:13px; color:var(--steel); background:var(--bg); padding:12px 16px; border-radius:10px; border-left:3px solid var(--teal); margin-bottom:20px; max-width:760px; }

/* ---------- блок "Заказать консультацию" (каталог) ---------- */
.consult-box{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:32px 36px; margin-bottom:36px; }
.consult-box h3{ font-size:19px; margin-bottom:6px; }
.consult-box .hint{ font-size:13.5px; color:var(--steel); margin-bottom:18px; }
.consult-form{ display:flex; gap:12px; flex-wrap:wrap; }
.consult-form input{ flex:1; min-width:180px; border:1px solid var(--line); padding:12px 14px; font-family:inherit; font-size:14px; border-radius:10px; background:var(--bg); }
.consult-form input:focus{ outline:none; border-color:var(--teal); }
.consult-form .btn{ flex-shrink:0; }
.consult-success{ text-align:center; padding:12px 0; }
.consult-success .check{ width:44px; height:44px; margin:0 auto 12px; color:var(--teal-dark); }

/* ---------- direction cards (главная, "Продукция компании") ---------- */
.dir-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.dir-card-photo{ position:relative; display:block; height:280px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:transform .18s, box-shadow .18s; }
.dir-card-photo:hover{ transform:translateY(-3px); box-shadow:0 10px 32px rgba(18,49,65,0.16); }
.dir-card-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.dir-card-photo:hover img{ transform:scale(1.06); }
.dir-card-photo::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(9,25,34,0) 45%, rgba(9,25,34,0.88) 100%); }
.dir-card-photo .label{ position:absolute; left:0; right:0; bottom:0; z-index:1; padding:22px 24px; }
.dir-card-photo h3{ color:var(--white); font-size:19px; margin-bottom:6px; }
.dir-card-photo .more{ font-size:12.5px; font-weight:700; color:var(--teal); }

/* ---------- сетка подразделов направления (страница catalog-<направление>) ---------- */
.subcat-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin:32px 0 40px; }
.subcat-grid .thumb{ height:auto; aspect-ratio:1/1; }

/* карточки-бандлы ("Комплектные поставки") — фото + текст под ним */
.dir-card{ background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s; border:1px solid var(--line); }
.dir-card:hover{ transform:translateY(-3px); box-shadow:0 10px 32px rgba(18,49,65,0.12); }
.dir-card .thumb{ height:150px; overflow:hidden; }
.dir-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.dir-card:hover .thumb img{ transform:scale(1.06); }
.dir-card .body{ padding:22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.dir-num{ font-size:12.5px; font-weight:700; color:var(--teal-dark); }
.dir-card h3{ font-size:17px; }
.dir-card p{ font-size:13.5px; color:var(--steel); flex:1; }
.dir-card .more{ font-size:12.5px; font-weight:700; color:var(--blue); }

/* ---------- EPC под ключ (крупный фото-блок) ---------- */
.epc-feature{ position:relative; border-radius:20px; overflow:hidden; height:360px; box-shadow:var(--shadow); }
.epc-feature img{ width:100%; height:100%; object-fit:cover; }
.epc-feature::after{ content:""; position:absolute; inset:0; background:linear-gradient(100deg, rgba(9,25,34,0.92) 0%, rgba(9,25,34,0.72) 45%, rgba(9,25,34,0.1) 100%); }
.epc-feature-label{ position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; justify-content:center; padding:48px 52px; max-width:480px; }
.epc-feature-label p{ color:rgba(255,255,255,0.85); font-size:16px; line-height:1.55; margin-bottom:26px; }
.epc-feature-label .btn{ align-self:flex-start; }

/* ---------- advantages list ---------- */
.adv-list{ display:flex; flex-direction:column; margin-top:8px; }
.adv-item{ display:grid; grid-template-columns:56px 1fr; gap:18px; padding:22px 0; border-top:1px solid var(--line); }
.adv-item:last-child{ border-bottom:1px solid var(--line); }
.adv-item .n{ font-size:13px; font-weight:800; color:var(--teal-dark); padding-top:2px; }
.adv-item h4{ font-size:15.5px; margin-bottom:6px; }
.adv-item p{ font-size:14px; color:var(--steel); margin:0; }

/* ---------- partners ---------- */
.partner-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.partner-cell{ background:var(--bg); border-radius:var(--radius); padding:22px 20px; height:88px; display:flex; align-items:center; justify-content:center; }
.partner-cell img{ max-width:100%; max-height:100%; width:auto; height:auto; }
.partner-grid-text{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.partner-cell-text{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); height:80px; display:flex; align-items:center; justify-content:center; text-align:center; padding:0 14px; font-weight:700; font-size:15px; color:var(--navy); }

/* ---------- tagline (О компании) ---------- */
.tagline-highlight{ font-size:19px; font-weight:700; color:var(--navy); border-left:3px solid var(--teal); padding:4px 18px; margin:22px 0; }

/* ---------- expertise list (О компании) ---------- */
.expertise-list{ display:flex; flex-direction:column; margin-top:8px; }
.expertise-item{ padding:18px 0; border-top:1px solid var(--line); }
.expertise-item:last-child{ border-bottom:1px solid var(--line); }
.expertise-item h4{ font-size:15.5px; margin-bottom:6px; }
.expertise-item p{ font-size:14px; color:var(--steel); margin:0; }

/* ---------- geography / map ---------- */
.russia-map-scroll{ overflow-x:auto; }
.russia-map-wrap{ position:relative; min-width:860px; }
.russia-map-img{ width:100%; display:block; }
.map-dot{ position:absolute; transform:translate(-50%,-50%); }
.map-dot .dot{ width:12px; height:12px; border-radius:50%; background:var(--teal); border:2px solid var(--white); box-shadow:0 2px 6px rgba(18,49,65,0.3); }
.map-dot .chip{ position:absolute; bottom:100%; left:50%; transform:translateX(-50%); margin-bottom:6px; width:100px; text-align:center; }
.map-dot .chip.chip-down{ bottom:auto; top:100%; margin-bottom:0; margin-top:6px; }
.map-dot .chip.chip-left{ bottom:auto; top:50%; left:auto; right:100%; transform:translateY(-50%); margin-bottom:0; margin-right:8px; }
.map-dot .chip.chip-right{ bottom:auto; top:50%; left:100%; transform:translateY(-50%); margin-bottom:0; margin-left:8px; }
.map-dot .map-label{ display:block; font-size:10px; line-height:1.25; font-weight:700; color:var(--navy); text-shadow:-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 4px #fff, 0 0 4px #fff; }
.map-dot .map-num{ display:block; font-size:14px; font-weight:800; color:var(--navy); text-shadow:-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 4px #fff, 0 0 4px #fff; }

/* ---------- contact teaser (главная) ---------- */
.contact-teaser{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color:var(--white); border-radius:20px; padding:48px 52px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.contact-teaser h2{ color:var(--white); font-size:24px; margin-bottom:8px; }
.contact-teaser p{ color:rgba(255,255,255,0.68); font-size:14px; max-width:420px; }
.contact-teaser .info{ font-size:14px; font-weight:600; margin-top:10px; color:var(--teal); }

/* ---------- footer ---------- */
footer{ background:var(--navy-2); color:rgba(255,255,255,0.55); padding:48px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:32px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-grid h5{ color:var(--white); font-size:13.5px; font-weight:700; margin-bottom:16px; }
.footer-grid a, .footer-grid p{ display:block; font-size:13.5px; color:rgba(255,255,255,0.6); margin-bottom:10px; }
.footer-grid a:hover{ color:var(--teal); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:22px; font-size:12.5px; }

/* ---------- photo banner (страницы направлений/объекты/о компании) ---------- */
.dir-hero{ position:relative; height:260px; overflow:hidden; }
.dir-hero img{ width:100%; height:100%; object-fit:cover; filter:saturate(1.05) contrast(1.03); display:block; }
.dir-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(9,34,48,0.05) 0%, rgba(9,34,48,0.35) 75%, var(--white) 100%); }
.wrap .dir-hero{ border-radius:20px; }
.wrap .dir-hero::after{ border-radius:20px; }

/* ---------- catalog overview (catalog.html) ---------- */
.dir-list{ display:flex; flex-direction:column; gap:20px; margin-bottom:88px; }
.dir-block{ background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow); border-radius:20px; padding:36px 40px; }
.dir-block-head{ display:flex; align-items:baseline; gap:18px; margin-bottom:18px; flex-wrap:wrap; }
.dir-block-head .num{ font-size:13px; font-weight:800; color:var(--teal-dark); }
.dir-block-head h2{ font-size:21px; }
.dir-block-head .link{ margin-left:auto; font-size:13px; font-weight:700; color:var(--blue); }
.dir-block-head .link:hover{ text-decoration:underline; }
.groups{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.group h4{ font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.group ul{ list-style:none; }
.group li{ font-size:13.5px; color:var(--steel); padding:5px 0; border-bottom:1px dotted var(--line); }

/* ---------- direction detail pages ---------- */
.layout{ display:grid; grid-template-columns:220px 1fr; gap:40px; padding:40px 0 80px; align-items:start; }
.side-nav{ position:sticky; top:100px; display:flex; flex-direction:column; gap:2px; }
.side-nav a{ font-size:13.5px; color:var(--steel); padding:9px 14px; border-left:2px solid var(--line); border-radius:0 8px 8px 0; }
.side-nav a:hover{ color:var(--navy); border-color:var(--teal); background:var(--bg); }
.side-nav .spec-cta{ margin-top:18px; padding:18px; background:var(--navy); border-radius:14px; color:var(--white); }
.side-nav .spec-cta p{ font-size:12.5px; color:rgba(255,255,255,0.68); margin-bottom:10px; }

.group-section{ margin-bottom:24px; scroll-margin-top:100px; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow); border-radius:16px; padding:28px 30px; }
.group-section h2{ font-size:19px; margin-bottom:8px; }
.group-section .sub{ font-size:14px; color:var(--steel); margin-bottom:16px; }
.subgroup-list{ list-style:none; margin-bottom:18px; }
.subgroup-list li{ font-size:14px; color:var(--ink); padding:8px 0; border-bottom:1px dotted var(--line); }
.subgroup-list li:last-child{ border-bottom:none; }

.not-found{ margin-top:16px; padding:32px; background:var(--navy); border-radius:18px; color:var(--white); display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.not-found h3{ color:var(--white); font-size:18px; margin-bottom:6px; }
.not-found p{ color:rgba(255,255,255,0.62); font-size:13.5px; max-width:420px; }

/* ---------- objects.html ---------- */
.industry-block{ margin-bottom:36px; }
.industry-block h2{ font-size:20px; margin-bottom:4px; }
.industry-block .all-six{ font-size:12.5px; color:var(--teal-dark); font-weight:600; margin-bottom:14px; }
.case-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.case-card{ background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow); border-radius:14px; padding:20px 22px; }
.case-card b{ display:block; font-size:14.5px; margin-bottom:6px; color:var(--navy); }
.case-card span{ font-size:12.5px; color:var(--steel); }

/* ---------- about-company.html ---------- */
.req-box{ background:var(--bg); border-radius:14px; padding:22px 26px; font-size:14px; color:var(--steel); max-width:520px; margin-top:24px; }
.req-box div{ margin-bottom:6px; }

/* ---------- contacts.html ---------- */
.contact-shell{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color:var(--white); border-radius:20px; overflow:hidden; display:grid; grid-template-columns:1fr 1fr; }
.contact-info{ padding:44px; }
.contact-info h2{ color:var(--white); font-size:22px; margin-bottom:14px; }
.contact-info p{ color:rgba(255,255,255,0.68); font-size:14px; margin-bottom:22px; max-width:360px; }
.contact-line{ display:flex; flex-direction:column; gap:16px; }
.contact-line div span{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.45); margin-bottom:4px; }
.contact-line div b{ font-weight:700; font-size:15px; }
.contact-map{ min-height:340px; }
.contact-map iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }
.field{ display:flex; flex-direction:column; gap:5px; }
.field label{ font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(255,255,255,0.5); }
.field input, .field textarea{ background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.2); color:var(--white); padding:12px 14px; font-family:inherit; font-size:14px; border-radius:10px; }
.field input::placeholder, .field textarea::placeholder{ color:rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--teal); }
.field textarea{ resize:vertical; min-height:64px; }
.consent{ font-size:11.5px; color:rgba(255,255,255,0.55); display:flex; gap:8px; align-items:flex-start; }
.map-note{ font-size:12.5px; color:var(--steel); background:var(--bg); padding:10px 14px; border-radius:10px; border-left:3px solid var(--teal); margin-top:16px; }

/* ---------- forms / modals ---------- */
.overlay{ position:fixed; inset:0; background:rgba(9,34,48,0.55); display:none; align-items:center; justify-content:center; z-index:100; padding:20px; }
.overlay.open{ display:flex; }
.modal{ background:var(--white); width:100%; max-width:420px; padding:34px; position:relative; border-radius:20px; }
.modal h3{ font-size:19px; margin-bottom:6px; }
.modal .prod-name{ font-size:13px; color:var(--teal-dark); margin-bottom:16px; font-weight:600; }
.modal p.hint{ font-size:13px; color:var(--steel); margin-bottom:18px; }
.modal .close{ position:absolute; top:18px; right:18px; background:none; border:none; font-size:20px; color:var(--steel); line-height:1; }
.modal .field{ display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.modal label{ font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--steel); }
.modal input, .modal textarea{ border:1px solid var(--line); padding:12px 14px; font-family:inherit; font-size:14px; border-radius:10px; width:100%; background:var(--bg); }
.modal input:focus, .modal textarea:focus{ outline:none; border-color:var(--teal); }
.modal .btn-primary{ width:100%; margin-top:4px; }
.consent-note{ font-size:11px; color:var(--steel); text-align:center; margin-top:10px; }
.modal .success{ display:none; text-align:center; padding:20px 0; }
.modal .success.show{ display:block; }
.modal .success .check{ width:46px; height:46px; margin:0 auto 14px; color:var(--teal-dark); }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .wrap{ padding:0 20px; }
  nav.main-nav{ display:none; }
  .header-right .phone{ display:none; }
  .header-right .header-messengers{ display:none; }
  .hero-photo{ min-height:460px; padding:100px 0 60px; }
  .hero-photo.centered{ min-height:380px; padding:60px 0; }
  .hero h1{ font-size:30px; }
  .epc-feature{ height:auto; }
  .epc-feature::after{ display:none; }
  .epc-feature-label{ position:static; max-width:none; padding:28px 24px; background:linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
  .epc-feature img{ height:220px; }
  .dir-grid{ grid-template-columns:1fr 1fr; }
  .subcat-grid{ grid-template-columns:1fr 1fr; }
  .partner-grid{ grid-template-columns:repeat(3,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .groups{ grid-template-columns:1fr 1fr; }
  .case-grid{ grid-template-columns:1fr; }
  .layout{ grid-template-columns:1fr; }
  .side-nav{ position:static; flex-direction:row; overflow-x:auto; }
  .contact-shell{ grid-template-columns:1fr; }
  .contact-teaser{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:560px){
  .dir-grid{ grid-template-columns:1fr; }
  .subcat-grid{ grid-template-columns:1fr; }
  .partner-grid{ grid-template-columns:1fr; }
  .partner-grid-text{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .groups{ grid-template-columns:1fr; }
  .hero h1{ font-size:24px; }
}
