/* ============================================================
   Kanil PRwire — Main Stylesheet v2.0
   PATH: assets/css/main.css
   Font: Plus Jakarta Sans only — no serif, no italic
   Colors: Clean design system — no old WordPress theme colors
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

:root {
  /* Colors */
  --ink:  #0c0e12;
  --i2:   #353840;
  --i3:   #6c717d;
  --bg:   #f8f7f5;
  --bg2:  #f1f0ed;
  --bg3:  #e8e7e3;
  --ln:   #d9d8d3;
  --bl:   #1b4fdb;
  --bld:  #1239b0;
  --bll:  #edf1fc;

  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --mw:  1200px;
  --px:  clamp(16px, 5vw, 72px);
  --r:   6px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button, input, textarea, select { font-family: var(--font); }
button { cursor: pointer; border: none; background: none; }

/* No italic ANYWHERE */
em, i { font-style: normal; }

/* ── Typography Classes ─────────────────────────────────── */
.h1 { font-size: clamp(30px, 5vw, 58px);  font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); }
.h2 { font-size: clamp(24px, 3.5vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.018em; color: var(--ink); }
.h3 { font-size: clamp(19px, 2.5vw, 30px); font-weight: 700; line-height: 1.2;  color: var(--ink); }
.h4 { font-size: clamp(15px, 1.8vw, 20px); font-weight: 600; color: var(--ink); }
.lead { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.78; color: var(--i2); font-weight: 400; }
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--bl); margin-bottom: 12px; display: block; }

/* ── Layout ─────────────────────────────────────────────── */
.kw       { max-width: var(--mw); margin: 0 auto; padding: 0 var(--px); }
.s-pad    { padding: clamp(56px, 8vw, 100px) 0; }
.s-pad-sm { padding: clamp(36px, 5vw, 64px) 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 12px 24px;
  border-radius: 4px; cursor: pointer; transition: all 0.18s;
  white-space: nowrap; border: 1.5px solid transparent;
  letter-spacing: 0.01em;
}
.btn-primary         { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover   { background: var(--bl);  border-color: var(--bl); }
.btn-outline         { background: transparent; color: var(--ink); border-color: var(--ln); }
.btn-outline:hover   { border-color: var(--ink); background: var(--bg2); }
.btn-blue            { background: var(--bl); color: #fff; border-color: var(--bl); }
.btn-blue:hover      { background: var(--bld); border-color: var(--bld); }
.btn-sm              { padding: 8px 18px; font-size: 13px; }

.btn-outline-sm {
  padding: 7px 16px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--ln); border-radius: 4px;
  color: var(--ink); transition: all 0.18s; background: transparent;
}
.btn-outline-sm:hover { border-color: var(--ink); background: var(--bg2); }

.btn-primary-sm {
  padding: 7px 16px; font-size: 13px; font-weight: 600;
  background: var(--ink); color: #fff; border-radius: 4px;
  transition: all 0.18s; border: 1.5px solid var(--ink);
}
.btn-primary-sm:hover { background: var(--bl); border-color: var(--bl); }

/* ── Flash Messages ─────────────────────────────────────── */
.flash { padding: 12px 20px; font-size: 14px; font-weight: 500; border-radius: 4px; margin: 12px 0; }
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.flash-info    { background: var(--bll); color: var(--bld); border: 1px solid #bfdbfe; }
.flash-warning { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--ln);
  transition: box-shadow 0.2s;
}
.header-inner {
  max-width: var(--mw); margin: 0 auto; padding: 0 var(--px);
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.header-logo img { height: 32px; width: auto; }
.header-nav { flex: 1; }

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--i2);
  padding: 8px 11px; border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--bg2); }
.nav-arrow { font-size: 11px; opacity: 0.45; transition: transform 0.18s; }
.has-dropdown:hover .nav-arrow { transform: rotate(90deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--ln); border-radius: var(--r);
  padding: 6px; min-width: 185px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08); z-index: 200;
}
.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 8px 12px; font-size: 13px; font-weight: 500;
  color: var(--i2); border-radius: 4px; transition: all 0.12s;
}
.dropdown li a:hover { background: var(--bg2); color: var(--ink); }
.dropdown-nested { left: 100%; top: -6px; }

.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.header-phone { font-size: 13px; font-weight: 500; color: var(--i2); white-space: nowrap; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; border-radius: 4px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.2s; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
  padding: clamp(60px, 10vw, 116px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--ln);
  background: var(--bg); position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--ln) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.6; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--i2); background: #fff; border: 1px solid var(--ln);
  padding: 6px 14px; border-radius: 2px; margin-bottom: clamp(16px, 3vw, 26px);
}
.hero-tag-dot {
  width: 6px; height: 6px; background: var(--bl); border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar { background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  padding: clamp(28px,4vw,48px) clamp(16px,3vw,28px);
  text-align: center; border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(30px, 4vw, 50px); font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -0.025em;
}
.stat-number span { color: #4d7cff; }
.stat-label {
  font-size: 10.5px; color: rgba(255,255,255,0.38);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; font-weight: 500;
}

/* ── Logo Marquee ────────────────────────────────────────── */
.logos-section { background: #fff; border-bottom: 1px solid var(--ln); padding: clamp(24px,3.5vw,36px) 0; }
.logos-label { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--i3); margin-bottom: clamp(16px,2.5vw,22px); }
.logos-overflow {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-track { display: flex; align-items: center; width: max-content; animation: scroll-left 40s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
@keyframes scroll-left { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.logo-name {
  font-size: 13.5px; font-weight: 600; color: var(--i3); white-space: nowrap;
  padding: 0 clamp(16px, 2.5vw, 26px); transition: color 0.2s;
  border-right: 1px solid var(--ln); cursor: default;
}
.logo-name:hover { color: var(--bl); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--ln);
  border-radius: var(--r); padding: clamp(20px,3vw,30px);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.card:hover { border-color: rgba(27,79,219,0.3); box-shadow: 0 4px 18px rgba(27,79,219,0.05); }

/* Blog Cards */
.blog-card {
  background: #fff; border: 1px solid var(--ln); border-radius: var(--r);
  overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s; display: flex; flex-direction: column;
}
.blog-card:hover { border-color: rgba(27,79,219,0.3); box-shadow: 0 4px 18px rgba(27,79,219,0.06); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: clamp(14px,2vw,20px); flex: 1; display: flex; flex-direction: column; gap: 7px; }
.blog-card-meta { font-size: 11.5px; color: var(--i3); }
.blog-card-title { font-size: clamp(14px,1.6vw,16px); font-weight: 700; color: var(--ink); line-height: 1.38; }
.blog-card-title a:hover { color: var(--bl); }
.blog-card-excerpt { font-size: 13px; color: var(--i3); line-height: 1.65; }

/* PR Cards */
.pr-card {
  background: #fff; border: 1px solid var(--ln); border-radius: var(--r);
  padding: clamp(16px,2.5vw,26px); margin-bottom: 10px;
  display: grid; grid-template-columns: 1fr auto; gap: 0 20px; align-items: start;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.pr-card:hover { border-color: rgba(27,79,219,0.3); box-shadow: 0 2px 14px rgba(0,0,0,0.05); }
.pr-date    { font-size: 11px; font-weight: 600; color: var(--i3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 7px; }
.pr-title   { font-size: clamp(15px,1.8vw,19px); font-weight: 700; color: var(--ink); line-height: 1.32; margin-bottom: 7px; }
.pr-title a:hover { color: var(--bl); }
.pr-excerpt { font-size: 13px; color: var(--i3); line-height: 1.65; }
.pr-btn {
  align-self: center; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--bl);
  background: var(--bll); border: 1.5px solid var(--bll);
  padding: 8px 14px; border-radius: 3px; white-space: nowrap; transition: all 0.18s;
}
.pr-btn:hover { background: var(--bl); color: #fff; border-color: var(--bl); }

/* ── Search ──────────────────────────────────────────────── */
.search-form { display: flex; border: 1.5px solid var(--ln); border-radius: 4px; overflow: hidden; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.search-form:focus-within { border-color: var(--bl); box-shadow: 0 0 0 3px var(--bll); }
.search-input { flex: 1; padding: 11px 16px; border: none; outline: none; font-size: 14px; color: var(--ink); background: transparent; }
.search-input::placeholder { color: var(--i3); }
.search-btn { background: var(--ink); border: none; padding: 0 18px; cursor: pointer; color: #fff; transition: background 0.18s; font-size: 13px; font-weight: 600; }
.search-btn:hover { background: var(--bl); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: clamp(24px,4vw,40px) 0; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--ln); border-radius: 3px;
  font-size: 13px; font-weight: 600; color: var(--i2); background: #fff; transition: all 0.18s;
}
.page-btn:hover { border-color: var(--bl); color: var(--bl); }
.page-btn.active { background: var(--bl); color: #fff; border-color: var(--bl); }

/* ── Single Post ─────────────────────────────────────────── */
.single-hero { padding: clamp(44px,7vw,84px) 0 clamp(28px,4vw,40px); border-bottom: 1px solid var(--ln); background: var(--bg); }
.single-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--px); }
.single-meta { font-size: 12px; color: var(--i3); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.single-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; background: var(--bll); color: var(--bld); border-radius: 3px; }
.single-featured { width: 100%; aspect-ratio: 16/6; object-fit: cover; border-radius: var(--r); margin: clamp(22px,4vw,36px) 0; }

.post-content { font-size: clamp(15px,1.5vw,17px); line-height: 1.85; color: var(--i2); }
.post-content h2 { font-size: clamp(19px,2.5vw,26px); font-weight: 700; color: var(--ink); margin: 2em 0 0.6em; }
.post-content h3 { font-size: clamp(16px,2vw,21px); font-weight: 700; color: var(--ink); margin: 1.8em 0 0.5em; }
.post-content p  { margin-bottom: 1.4em; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.post-content li { margin-bottom: 0.4em; }
.post-content blockquote { border-left: 3px solid var(--bl); padding: 10px 18px; margin: 1.5em 0; color: var(--i3); font-size: 16px; }
.post-content a { color: var(--bl); text-decoration: underline; }
.post-content img { border-radius: var(--r); margin: 1.5em 0; max-width: 100%; }
.post-content strong { font-weight: 700; color: var(--ink); }

/* PR Source Box */
.pr-source-box { background: var(--bg2); border: 1px solid var(--ln); border-radius: var(--r); padding: clamp(18px,3vw,26px); margin-top: clamp(28px,5vw,44px); }
.pr-source-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--i3); margin-bottom: 10px; }
.pr-source-name  { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pr-source-about { font-size: 14px; color: var(--i2); line-height: 1.7; margin-bottom: 12px; }
.pr-source-contact { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--i3); }
.pr-source-contact a:hover { color: var(--bl); }

/* ── Badges ──────────────────────────────────────────────── */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; }
.badge-green  { background: #dcfce7; color: #166534; }
.badge-blue   { background: var(--bll); color: var(--bld); }
.badge-amber  { background: #fef3c7; color: #92400e; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-gray   { background: var(--bg3); color: var(--i3); }
.badge-purple { background: #ede9fe; color: #6d28d9; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0d0d0d; color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand {
  padding: clamp(28px,4vw,44px) clamp(20px,3vw,28px);
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 16px;
}
.footer-brand img { height: 32px; width: auto; }
.footer-desk-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65); padding: 7px 13px; font-size: 12px; font-weight: 600;
  transition: all 0.18s; border-radius: 3px; width: fit-content;
}
.footer-desk-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

.footer-contact-area {
  padding: clamp(28px,4vw,44px) clamp(20px,3vw,32px);
  display: flex; flex-direction: column; gap: 14px;
}
.footer-tagline { font-size: clamp(17px,2.2vw,26px); font-weight: 700; color: #fff; line-height: 1.25; }
.footer-contacts { display: flex; gap: clamp(16px,3vw,40px); flex-wrap: wrap; align-items: center; }
.footer-contact-item { display: flex; align-items: center; gap: 11px; transition: opacity 0.18s; }
.footer-contact-item:hover { opacity: 0.8; }
.fci-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 3px; font-size: 11px; font-weight: 800; flex-shrink: 0; color: #fff;
}
.fci-icon.mail { background: #d97706; }
.fci-icon.wa   { background: #16a34a; }
.footer-contact-item small { display: block; font-size: 10px; color: rgba(255,255,255,0.28); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.footer-contact-item span  { font-size: 13.5px; font-weight: 600; color: #fff; display: block; }

.footer-mid {
  display: grid; grid-template-columns: 220px 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-mid-blank { border-right: 1px solid rgba(255,255,255,0.07); }
.footer-col { padding: clamp(22px,3vw,36px) clamp(18px,2.5vw,26px); border-right: 1px solid rgba(255,255,255,0.07); }
.footer-col:last-child { border-right: none; }
.footer-col-title { font-size: 12.5px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.38); transition: color 0.18s; }
.footer-links a:hover { color: rgba(255,255,255,0.82); }
.footer-nl-desc { font-size: 12.5px; margin-bottom: 12px; line-height: 1.6; color: rgba(255,255,255,0.38); }

.newsletter-form { display: flex; flex-direction: column; gap: 7px; max-width: 270px; }
.newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; padding: 10px 13px; color: #fff; font-size: 13px; outline: none; width: 100%;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.22); }
.newsletter-form input[type="email"]:focus { border-color: rgba(255,255,255,0.22); }
.newsletter-form button {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; padding: 9px 13px; color: rgba(255,255,255,0.75);
  font-size: 13px; font-weight: 600; transition: all 0.18s; cursor: pointer;
}
.newsletter-form button:hover { background: var(--bl); color: #fff; border-color: var(--bl); }
.nl-msg { font-size: 12px; margin-top: 4px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px var(--px); flex-wrap: wrap; gap: 8px;
}
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }
.footer-bottom p a { color: rgba(255,255,255,0.32); }

/* ── 404 ─────────────────────────────────────────────────── */
.not-found { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.not-found-num { font-size: clamp(72px,14vw,150px); font-weight: 800; color: var(--bg3); line-height: 1; letter-spacing: -0.04em; }
.not-found h2  { font-size: clamp(20px,3vw,30px); font-weight: 700; margin: 10px 0 8px; }
.not-found p   { color: var(--i3); margin-bottom: 24px; font-size: 15px; }

/* ── Form Elements ───────────────────────────────────────── */
.form-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--ln);
  border-radius: 4px; font-size: 14px; outline: none;
  transition: border-color 0.18s; background: #fff; color: var(--ink);
}
.form-input:focus { border-color: var(--bl); box-shadow: 0 0 0 3px var(--bll); }
.form-input::placeholder { color: var(--i3); }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.03em; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .header-phone { display: none; }
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-mid   { grid-template-columns: 1fr 1fr; }
  .footer-mid-blank { display: none; }
  .footer-top   { grid-template-columns: 1fr; }
  .footer-brand { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
}

@media (max-width: 768px) {
  .header-nav {
    display: none; position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 12px 16px; overflow-y: auto;
    border-top: 1px solid var(--ln); z-index: 99;
  }
  .header-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; padding: 12px 8px; border-bottom: 1px solid var(--bg2); border-radius: 0; justify-content: space-between; }
  .dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--bl);
    margin-left: 12px; padding: 4px 0; max-height: 0; overflow: hidden;
    transition: max-height 0.28s ease, visibility 0.28s;
  }
  .has-dropdown.open > .dropdown { visibility: visible; max-height: 500px; }
  .hamburger { display: flex; }
  .pr-card { grid-template-columns: 1fr; }
  .pr-btn  { width: fit-content; margin-top: 10px; }
  .footer-mid { grid-template-columns: 1fr 1fr; }
  .footer-col { padding: 18px; }
}

@media (max-width: 540px) {
  .footer-mid      { grid-template-columns: 1fr; }
  .footer-contacts { flex-direction: column; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
}