:root {
  --blue: #003f91;
  --blue-dark: #06284f;
  --red: #d5232a;
  --ink: #0e1b2a;
  --muted: #64748b;
  --line: #dbe4ef;
  --bg: #f3f7fb;
  --card: #ffffff;
  --shadow: 0 14px 35px rgba(15, 35, 65, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  font-weight: 800;
  color: var(--blue);
}

.brand-mark {
  flex: none;
  width: 42px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 42%, #fff 0 25%, transparent 26%),
    linear-gradient(135deg, var(--red) 0 45%, var(--blue) 46% 100%);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }

.links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links > li { position: relative; }
.links > li > a { display: block; padding: 26px 0; }
.links > li > a:hover, .links > li.active > a { color: var(--blue); }
.links > li.active > a { box-shadow: inset 0 -3px 0 var(--blue); }

.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
}

.links > li:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 18px; font-weight: 700; color: var(--ink); }
.dropdown a:hover { background: var(--bg); color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.lang-btn img, .lang-menu img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 220px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  display: none;
}

.lang.open .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.lang-menu a:hover, .lang-menu a.current { background: var(--bg); color: var(--blue); }

.search-toggle, .menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle { display: none; }
.search-toggle svg, .menu-toggle svg { width: 18px; height: 18px; }

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 0;
}

.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input { flex: 1; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > .wrap > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav .m-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav .m-row > a { flex: 1; padding: 14px 0; font-weight: 800; }
.mobile-nav .m-sub-toggle { background: none; border: 0; width: 42px; height: 42px; font-size: 20px; color: var(--blue); cursor: pointer; }
.mobile-nav .m-sub { display: none; padding: 0 0 10px 12px; }
.mobile-nav li.open .m-sub { display: block; }
.mobile-nav .m-sub a { display: block; padding: 8px 0; color: var(--muted); font-weight: 700; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.btn:hover { background: var(--blue-dark); }
.btn.secondary { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn.secondary:hover { background: var(--bg); }
.btn.dark { background: var(--blue-dark); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 5px solid var(--blue);
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-slides { position: absolute; inset: 0; }
.hero-slides .swiper-container, .hero-slides .swiper-wrapper, .hero-slides .swiper-slide { height: 100%; }
.hero-slides .swiper-slide { background-position: center; background-size: cover; }
.hero-slides video { width: 100%; height: 100%; object-fit: cover; }
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 24, 48, .86), rgba(4, 24, 48, .42), rgba(4, 24, 48, .08));
}

.hero > .wrap { position: relative; z-index: 2; padding: 60px 0; }
.hero .swiper-pagination { z-index: 3; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero .swiper-pagination-bullet-active { opacity: 1; }

.hero h1, .page-hero h1 {
  margin: 0 0 14px;
  max-width: 670px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  letter-spacing: 0;
}

.page-hero h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }

.hero p, .page-hero p {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, .9);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 850px;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
}

.trust-item { padding: 16px 14px; border-right: 1px solid rgba(255,255,255,.22); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { display: block; font-size: 12px; color: rgba(255,255,255,.78); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.eyebrow { color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.blue-band .eyebrow, .quote-strip .eyebrow { color: #8fb8ff; }
h2 { margin: 4px 0 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.lead { max-width: 720px; color: var(--muted); margin: 10px 0 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: center; }

.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 35, 65, .06);
  transition: transform .18s, box-shadow .18s;
}

a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.photo {
  min-height: 160px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d9e6f3, #ffffff);
  overflow: hidden;
}

.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.card:hover .photo img { transform: scale(1.04); }

.card-body { padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.arrow { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 900; font-size: 13px; }
.blue-band .arrow, .quote-strip .arrow { color: #fff; }

.category-card .photo { min-height: 132px; }
.category-card .card-body { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
.category-card h3 { font-size: 15px; margin: 0; }
.category-card span { color: var(--blue); font-weight: 900; }

.blue-band { background: var(--blue-dark); color: #fff; }
.blue-band .lead, .blue-band p { color: rgba(255, 255, 255, .78); }
.blue-band .card { color: var(--ink); }
.blue-band .card p { color: var(--muted); }

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

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

.stat strong { display: block; color: var(--blue); font-size: 28px; }
.stat span { color: var(--muted); font-size: 13px; }

.factory-photo {
  min-height: 340px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: linear-gradient(135deg, #0a3a75, #06284f);
}

.factory-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

.quote-strip {
  padding: 54px 0;
  color: #fff;
  background: linear-gradient(90deg, rgba(6, 40, 79, .94), rgba(0, 63, 145, .78)), var(--strip-img, none) center/cover, var(--blue-dark);
}

.quote-strip p { color: rgba(255, 255, 255, .82); margin: 10px 0 0; max-width: 680px; }
.quote-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.quote-box { border-radius: 6px; padding: 42px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 50px 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 48, .82), rgba(4, 24, 48, .35)),
    var(--hero-img, none) center/cover,
    var(--blue-dark);
}

.breadcrumb { font-size: 13px; color: rgba(255,255,255,.78); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-style: normal; margin: 0 6px; opacity: .6; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.tab {
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
}

.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.page-body { padding-top: 34px; }

/* ---------- Product detail ---------- */
.spec-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.product-gallery .main-photo {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-gallery .main-photo .swiper-slide { aspect-ratio: 4 / 3; background: #fff; }
.product-gallery .main-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery .main-photo .swiper-button-next, .product-gallery .main-photo .swiper-button-prev { color: var(--blue); }
.thumbs { margin-top: 10px; }
.thumbs .swiper-slide { aspect-ratio: 4 / 3; border: 2px solid #fff; border-radius: 4px; overflow: hidden; background: #d9e6f3; box-shadow: 0 0 0 1px var(--line); cursor: pointer; opacity: .65; }
.thumbs .swiper-slide-thumb-active { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.summary { color: var(--muted); margin: 0 0 18px; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
}

td, th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { width: 38%; color: var(--muted); background: #f8fafc; font-weight: 700; }

.detail-tabs { margin-top: 48px; }
.detail-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.detail-panel.active { display: block; }
.detail-panel .table-scroll { overflow-x: auto; }

/* ---------- Rich content ---------- */
.rich { font-size: 15px; line-height: 1.75; color: #24364b; overflow-wrap: anywhere; }
.rich img { height: auto !important; margin: 10px auto; }
.rich table { margin: 14px 0; }
.rich table td, .rich table th { border: 1px solid var(--line); }
.rich h2, .rich h3, .rich h4 { color: var(--ink); line-height: 1.25; }
.rich p { margin: 0 0 14px; }
.rich a { color: var(--blue); text-decoration: underline; }

/* ---------- Forms ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(15, 35, 65, .06);
}

.form h2, .form h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field-captcha { position: relative; }
.field-captcha img { position: absolute; right: 4px; bottom: 4px; height: 34px; cursor: pointer; border-radius: 3px; }
label { font-size: 12px; color: var(--muted); font-weight: 800; }
label em { color: var(--red); font-style: normal; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 42px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0, 63, 145, .2); border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.form-tip { font-size: 12px; color: var(--muted); margin: 0 0 12px; }

/* ---------- Misc blocks ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-box {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}

.service-box h3 { margin: 0 0 8px; font-size: 18px; }
.service-box p { margin: 0; color: var(--muted) !important; font-size: 14px; }
.service-box .num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 900; margin-bottom: 12px; }

.news-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-row .photo { min-height: 120px; border-radius: 4px; }
.news-row h3 { margin: 0 0 8px; font-size: 19px; }
.news-row h3 a:hover { color: var(--blue); }
.news-row p { margin: 0; color: var(--muted); font-size: 14px; }
.news-meta { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px; }
.article h1 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.article .news-meta { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.sidebar { display: grid; gap: 18px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.side-box h3 { margin: 0 0 12px; font-size: 16px; }
.side-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.side-item:first-of-type { border-top: 0; }
.side-item .photo { min-height: 0; border-radius: 4px; }
.side-item h4 { margin: 0 0 4px; font-size: 14px; line-height: 1.3; }
.side-item span { font-size: 12px; color: var(--muted); }

.prevnext { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.prevnext a:hover { color: var(--blue); }
.prevnext .next { text-align: right; }
.tags { margin-top: 18px; font-size: 13px; color: var(--muted); }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--blue); }

.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.contact-item h3 { margin: 0 0 6px; font-size: 16px; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--blue); }

.empty { padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 6px; grid-column: 1 / -1; }

/* ---------- Pagination ---------- */
.pager { margin-top: 32px; }
.pager .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pager .pagination li > a, .pager .pagination li > span {
  display: inline-flex;
  align-items: center;
  min-width: 38px;
  height: 38px;
  justify-content: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.pager .pagination li.active > span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .pagination li.disabled > span { color: var(--muted); }
.pager .pagination li > a:hover { border-color: var(--blue); color: var(--blue); }
.pager .jumpto, .pager .jumpto a { display: flex; gap: 6px; }
.pager .jumpto input { min-height: 38px; height: 38px; width: 90px; padding: 6px 10px; }
.pager .jumpto input[type=submit] { width: auto; background: var(--blue); color: #fff; border-color: var(--blue); cursor: pointer; font-weight: 700; }

/* ---------- Footer ---------- */
footer {
  background: var(--blue-dark);
  color: #fff;
  padding: 44px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 22px;
  font-size: 13px;
}

footer h4 { margin: 0 0 12px; font-size: 15px; }
footer a, footer p { display: block; color: rgba(255,255,255,.72); margin: 0 0 8px; overflow-wrap: anywhere; }
footer a:hover { color: #fff; }
footer .brand { color: #fff; margin-bottom: 12px; }
footer .brand small { display: block; color: rgba(255,255,255,.68); margin: 0; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; margin: 0; }
.social a:hover { background: rgba(255,255,255,.12); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.copyright { margin-top: 30px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.6); }
.copyright .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.copyright a { display: inline; margin: 0; }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.float-actions a, .float-actions button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.float-actions .wa { background: #25d366; }
.float-actions .top { background: var(--blue-dark); opacity: 0; visibility: hidden; transition: .2s; }
.float-actions .top.show { opacity: 1; visibility: visible; }
.float-actions svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- RTL ---------- */
[dir="rtl"] .dropdown { left: auto; right: -16px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .nav-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .trust-item { border-right: 0; border-left: 1px solid rgba(255,255,255,.22); }
[dir="rtl"] .trust-item:last-child { border-left: 0; }
[dir="rtl"] .hero:after { background: linear-gradient(270deg, rgba(4, 24, 48, .86), rgba(4, 24, 48, .42), rgba(4, 24, 48, .08)); }
[dir="rtl"] td, [dir="rtl"] th { text-align: right; }
[dir="rtl"] .prevnext .next { text-align: left; }
[dir="rtl"] .float-actions { right: auto; left: 18px; }
[dir="rtl"] .field-captcha img { right: auto; left: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .links { gap: 12px; font-size: 12px; }
}

@media (max-width: 920px) {
  .links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { justify-content: space-between; }
  .hero { min-height: 520px; }
  .trust-row, .grid-4, .grid-3, .stats, .timeline, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .spec-layout, .contact-layout, .article-layout { grid-template-columns: 1fr; }
  .quote-strip .wrap { align-items: flex-start; flex-direction: column; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 22px, 1180px); }
  .nav-actions .btn { display: none; }
  .brand { min-width: 0; }
  .brand img { height: 36px; }
  section { padding: 44px 0; }
  .trust-row, .grid-4, .grid-3, .stats, .timeline, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .grid-4.categories { grid-template-columns: repeat(2, 1fr); }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .news-row { grid-template-columns: 1fr; }
  .article { padding: 20px; }
  .quote-box { padding: 26px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { text-align: left; }
}
