/* ============================================================
   Hongxin Textile — Corporate Website Styles
   ============================================================ */

:root {
  --red: #b81c22;
  --red-dark: #8e1218;
  --red-soft: #f6e6e6;
  --ink: #20242a;
  --ink-2: #3c434c;
  --muted: #717985;
  --line: #e8e2dc;
  --bg: #ffffff;
  --bg-soft: #f8f5f1;
  --dark: #1b2026;
  --dark-2: #252c34;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 24, 30, .10);
  --shadow-sm: 0 8px 24px rgba(20, 24, 30, .07);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --font-en: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-cn), var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: var(--font-en), var(--font-cn); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 14px; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.3;
  transition: all .25s ease; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(184, 28, 34, .22); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184, 28, 34, .3); }
.btn-outline { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline:hover { background: #fff; color: var(--red); border-color: #fff; }
.text-link { color: var(--red); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,24,30,.10); background: rgba(255,255,255,.98); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--red); color: #fff;
  display: grid; place-items: center; font: 800 17px/1 var(--font-en); letter-spacing: .5px;
  box-shadow: 0 6px 14px rgba(184,28,34,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: .5px; }
.brand-text small { font: 600 10px/1.4 var(--font-en); letter-spacing: 1.6px; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-2); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .25s ease; }
.nav a:hover, .nav a.active { color: var(--red); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 5px; font: 600 13px/1 var(--font-en); }
.lang-btn { background: none; border: 0; padding: 4px 2px; color: var(--muted); transition: color .2s; }
.lang-btn:hover, .lang-btn.is-active { color: var(--red); }
.lang-sep { color: #c9cdd2; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 780px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; padding: 160px 0 0; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,20,25,.92) 0%, rgba(24,28,34,.83) 42%, rgba(138,20,26,.72) 100%), url("../img/company/knitting-workshop.jpg") center/cover no-repeat; transform: scale(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 20%, rgba(255,255,255,.10), transparent 40%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: var(--container); padding-bottom: 90px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: 1px; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 22px; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #e8484e; box-shadow: 0 0 0 5px rgba(232,72,78,.16); }
.hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.22; letter-spacing: -1px; margin-bottom: 24px; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 36px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: auto; border-top: 1px solid rgba(255,255,255,.18); padding: 28px 0 38px; }
.hero-stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat strong { display: block; font: 700 38px/1.15 var(--font-en); letter-spacing: -1px; }
.hero-stat strong span { font-size: 18px; margin-left: 2px; font-weight: 600; }
.hero-stat small { display: block; font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ---------- Section basics ---------- */
.section { padding: 110px 0; }
.section-kicker { font: 700 13px/1.4 var(--font-en); letter-spacing: 2px; color: var(--red); margin-bottom: 14px; }
.section-kicker.light { color: #e77379; }
.section-title { font-size: clamp(30px, 3.3vw, 44px); letter-spacing: -.5px; margin-bottom: 18px; }
.section-title.light { color: #fff; }
.section-lead { color: var(--muted); max-width: 780px; font-size: 16px; line-height: 1.9; }
.section-lead.light { color: rgba(255,255,255,.68); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- About ---------- */
.section-about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 540px; object-fit: cover; }
.about-badge { position: absolute; right: 24px; bottom: 24px; background: var(--red); color: #fff; border-radius: 12px; padding: 16px 22px; text-align: center; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.about-badge strong { display: block; font: 800 36px/1 var(--font-en); }
.about-badge span { font-size: 13px; opacity: .92; }
.about-content p { color: var(--ink-2); line-height: 1.95; }
.about-content .section-title { margin-bottom: 22px; }

/* ---------- Capabilities ---------- */
.section-capabilities { background: var(--dark); position: relative; overflow: hidden; }
.section-capabilities::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: rgba(184,28,34,.10); right: -180px; top: -200px; }
.process-flow { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 40px; }
.process-step { flex: 1; text-align: center; color: #fff; }
.process-step span { display: block; font: 700 12px/1 var(--font-en); color: #e77379; margin-bottom: 8px; letter-spacing: 1px; }
.process-step strong { display: block; font-size: 17px; }
.process-step small { display: block; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; }
.process-arrow { color: rgba(255,255,255,.25); font-size: 20px; align-self: center; padding: 0 4px; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.cap-card:hover { transform: translateY(-6px); border-color: rgba(184,28,34,.6); }
.cap-img { height: 210px; overflow: hidden; }
.cap-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cap-card:hover .cap-img img { transform: scale(1.06); }
.cap-body { padding: 22px 22px 26px; }
.cap-body h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.cap-body p { color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- Products ---------- */
.section-products { background: var(--bg-soft); }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; transition: all .2s ease; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.search-box { position: relative; min-width: 260px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search-box input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 11px 18px 11px 42px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,28,34,.10); }
.result-count { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 22px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 1 / 1; overflow: hidden; background: #eee; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-cat { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--red); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17px; margin-bottom: 4px; }
.product-en { font: 500 13px/1.5 var(--font-en); color: var(--muted); min-height: 40px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.product-foot small { color: var(--muted); font-size: 12px; }
.product-foot span { color: var(--red); font-weight: 700; font-size: 13px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 6px; }

/* ---------- Quality ---------- */
.section-quality { background: #fff; }
.quality-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.quality-content p { color: var(--ink-2); line-height: 1.95; }
.quality-points { margin-top: 26px; display: grid; gap: 12px; }
.quality-points div { display: flex; align-items: center; gap: 12px; }
.quality-points span { width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.quality-points p { margin: 0; font-weight: 600; font-size: 15px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; transition: transform .25s, box-shadow .25s; }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cert-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); display: grid; place-items: center; font: 800 14px/1 var(--font-en); letter-spacing: -.5px; }
.cert-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cert-card small { color: var(--muted); font-size: 12px; line-height: 1.5; display: block; }
.cert-cta { background: var(--red); border-color: var(--red); color: #fff; }
.cert-cta .cert-icon { border-color: #fff; color: var(--red); }
.cert-cta small { color: rgba(255,255,255,.8); }

/* ---------- Applications ---------- */
.section-applications { background: var(--bg-soft); }
.app-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 240px); gap: 18px; }
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.app-large { grid-row: span 2; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.app-card:hover img { transform: scale(1.05); }
.app-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,15,18,.82), transparent 58%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 28px; }
.app-overlay h3 { font-size: 22px; margin-bottom: 4px; }
.app-overlay p { font-size: 14px; color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Contact ---------- */
.section-contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 780px; margin-inline: auto; gap: 28px; align-items: stretch; }
.contact-info, .contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-info h3, .contact-form h3 { font-size: 22px; margin-bottom: 22px; }
.contact-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; font-size: 16px; }
.contact-item div { display: flex; flex-direction: column; }
.contact-item small { color: var(--muted); font-size: 12px; }
.contact-item strong { font-size: 15px; font-weight: 600; word-break: break-word; }
.contact-item a:hover { color: var(--red); }
.qr-wrap { display: flex; gap: 20px; margin-top: 24px; }
.qr-wrap div { flex: 1; background: #fff; border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.qr-wrap img { width: 100%; height: 120px; object-fit: contain; }
.qr-wrap span { font-size: 12px; color: var(--muted); display: block; margin-top: 6px; }
.contact-form { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,28,34,.09); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.68); padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: 14px; margin-top: 18px; max-width: 300px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links strong, .footer-contact strong { color: #fff; font-size: 16px; margin-bottom: 6px; }
.footer-links a:hover, .footer-contact a:hover { color: #e77379; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: rgba(255,255,255,.48); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,15,18,.72); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; width: min(880px, 100%); background: #fff; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; right: 14px; top: 12px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 24px; line-height: 1; box-shadow: var(--shadow-sm); }
.modal-img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.modal-body { padding: 44px 38px; display: flex; flex-direction: column; }
.modal-category { font: 700 12px/1 var(--font-en); letter-spacing: 1.5px; color: var(--red); margin-bottom: 12px; }
.modal-body h3 { font-size: 28px; }
.modal-en { font: 500 15px/1.6 var(--font-en); color: var(--muted); margin: 8px 0 20px; }
.modal-desc { color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 30px; }
.modal-tags span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--ink-2); }
.modal-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 20px; box-shadow: 0 8px 20px rgba(184,28,34,.3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .header-actions .btn { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .quality-grid { gap: 48px; }
  .hero { min-height: 720px; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 18px 22px; gap: 0; box-shadow: var(--shadow);
    transform: translateY(-150%); opacity: 0; transition: transform .3s ease, opacity .3s ease;
  }
  .nav.open { transform: none; opacity: 1; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .hero { min-height: auto; padding: 150px 0 0; }
  .hero-content { padding-bottom: 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding-bottom: 30px; }
  .hero-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { height: 400px; }
  .process-flow { flex-wrap: wrap; gap: 14px; }
  .process-step { flex: 0 0 calc(50% - 30px); }
  .process-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .app-grid { grid-template-columns: 1fr; grid-template-rows: 280px 220px 220px; }
  .app-large { grid-row: auto; }
  .modal-dialog { grid-template-columns: 1fr; max-width: 520px; }
  .modal-img img { min-height: 0; height: 260px; }
  .modal-body { padding: 30px 26px; }
}

@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .brand-text strong { font-size: 16px; }
  .header-inner { height: 68px; }
  .nav { top: 68px; }
  .hero { padding-top: 130px; }
  .hero h1 { font-size: 38px; }
  .hero-desc { font-size: 15px; }
  .hero-stat strong { font-size: 30px; }
  .hero-stat small { font-size: 12px; }
  .cap-grid, .cert-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 15px; }
  .product-en { font-size: 11px; min-height: 34px; }
  .product-cat { font-size: 10px; padding: 4px 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info, .contact-form { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .search-box { width: 100%; }
  .cert-grid { gap: 10px; }
  .cert-card { padding: 18px 10px; }
}
