/* =========================================================
   Smart ITL - รับแปลบทความ  |  Global Stylesheet
   Theme: Navy #173B57 / Mint #55B8A8 / Pale Mint #EAF7F4
   ========================================================= */

:root {
  --navy: #173B57;
  --navy-900: #102c42;
  --navy-700: #1d4a6c;
  --mint: #55B8A8;
  --mint-dark: #3f9c8d;
  --pale-mint: #EAF7F4;
  --white: #FFFFFF;
  --gray: #64748B;
  --gray-light: #eef2f6;
  --line-green: #06C755;
  --line-green-dark: #05a647;
  --shadow-sm: 0 2px 8px rgba(23, 59, 87, .07);
  --shadow-md: 0 10px 30px rgba(23, 59, 87, .10);
  --shadow-lg: 0 18px 50px rgba(23, 59, 87, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --header-h: 76px;
  --font: 'Kanit', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--gray);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--mint-dark); }
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 .55em;
  font-weight: 600;
  letter-spacing: -0.2px;
}
h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; }
strong { color: var(--navy); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--gray-light); margin: 2rem 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 900px; }
.text-center { text-align: center; }
.mint { color: var(--mint-dark); }
.muted { color: var(--gray); }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1;
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--mint); color: #fff; box-shadow: 0 8px 20px rgba(85,184,168,.35); }
.btn-primary:hover { background: var(--mint-dark); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 8px 20px rgba(6,199,85,.30); }
.btn-line:hover { background: var(--line-green-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--mint); color: var(--navy); }
.btn-outline:hover { background: var(--mint); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--gray-light); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfe0ea; font-size: .84rem; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.25rem; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #cfe0ea; }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.topbar-list li { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .ic { width: 15px; height: 15px; fill: var(--mint); flex: none; }

/* ---------- Header / Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gray-light); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; flex: 1 1 auto; }
.brand img { height: 48px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.brand-text b { color: var(--navy); font-size: 1.22rem; font-weight: 700; }
.brand-text span { color: var(--mint-dark); font-size: .72rem; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; }
.menu { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: .3rem; padding: .7rem .85rem; color: var(--navy); font-weight: 500; font-size: .98rem; border-radius: 10px; white-space: nowrap; }
.menu > li { flex-shrink: 0; }
.menu > li > a:hover, .menu > li.current-menu-item > a { color: var(--mint-dark); background: var(--pale-mint); }
.menu > li.has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .25rem; opacity: .7; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--gray-light); border-radius: 12px; box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 50; }
.menu > li.has-children:hover > .dropdown, .menu > li.has-children:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: .58rem .8rem; border-radius: 8px; color: var(--gray); font-size: .95rem; }
.dropdown li a:hover { background: var(--pale-mint); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--gray-light); background: #fff; border-radius: 12px; cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--navy); border-radius: 2px; transition: all .25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: #fff; z-index: 1000; transform: translateX(105%); transition: transform .3s ease; box-shadow: -20px 0 50px rgba(0,0,0,.15); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--gray-light); }
.mobile-nav-head img { height: 42px; }
.mobile-nav .close-btn { font-size: 1.7rem; line-height: 1; background: var(--pale-mint); border: 0; color: var(--navy); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.mobile-nav ul { list-style: none; margin: 0; padding: .6rem 0; }
.mobile-nav ul li a { display: block; padding: .85rem 1.3rem; color: var(--navy); font-weight: 500; border-bottom: 1px solid #f2f5f8; }
.mobile-nav ul li a:hover, .mobile-nav ul li.current-menu-item > a { background: var(--pale-mint); }
.mobile-nav .sub a { padding-left: 2.1rem; font-weight: 400; color: var(--gray); font-size: .95rem; }
.mobile-nav .mobile-cta { padding: 1.1rem 1.3rem; display: grid; gap: .6rem; }
.overlay { position: fixed; inset: 0; background: rgba(16,44,66,.5); z-index: 999; opacity: 0; visibility: hidden; transition: all .3s ease; }
.overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 55%, #0d3a52 100%); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 82% 20%, rgba(85,184,168,.30), transparent 45%), radial-gradient(circle at 12% 85%, rgba(85,184,168,.18), transparent 40%); }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); }
.hero-inner { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; background: rgba(85,184,168,.18); border: 1px solid rgba(85,184,168,.5); color: #bff0e7; padding: .4rem .95rem; border-radius: 999px; font-size: .82rem; font-weight: 500; margin-bottom: 1.2rem; }
.hero h1 { color: #fff; margin-bottom: .9rem; }
.hero p.lead { color: #d4e4ee; font-size: 1.08rem; max-width: 620px; margin-bottom: 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.3rem; }
.hero-stats .stat b { display: block; font-size: 1.7rem; color: #fff; font-weight: 700; }
.hero-stats .stat span { font-size: .85rem; color: #9fbdcd; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .card-img { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-lg); }
.hero-art .card-img img { border-radius: 14px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.tint { background: var(--pale-mint); }
.section.navy { background: var(--navy); color: #cfe0ea; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 2.6rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; color: var(--mint-dark); font-weight: 600; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .6rem; }
.section.navy .eyebrow { color: var(--mint); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

.feature { text-align: center; padding: 1.8rem 1.3rem; }
.feature .icon { width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 18px; background: var(--pale-mint); color: var(--mint-dark); display: flex; align-items: center; justify-content: center; }
.feature .icon svg { width: 30px; height: 30px; fill: currentColor; }

.service-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.service-card img { width: 100%; aspect-ratio: 13 / 4; object-fit: cover; }
.service-card .body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card .body h3 { font-size: 1.12rem; }
.service-card .body p { font-size: .94rem; }
.service-card .body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Article cards ---------- */
.article-card { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card .thumb { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.article-card .body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-card .meta { font-size: .8rem; color: var(--mint-dark); font-weight: 600; margin-bottom: .45rem; }
.article-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.article-card .excerpt { font-size: .94rem; margin-bottom: 1rem; }
.article-card .readmore { margin-top: auto; font-weight: 600; color: var(--mint-dark); display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Breadcrumb & page title ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-900)); color: #fff; padding: clamp(2.4rem, 5vw, 3.6rem) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 88% 15%, rgba(85,184,168,.28), transparent 42%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #cfe0ea; margin: 0; max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; color: #9fbdcd; margin-bottom: .9rem; list-style: none; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: .6; }
.breadcrumb a { color: #b9d3e0; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Prose (article body) ---------- */
.prose { font-size: 1.05rem; color: #475569; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2rem; padding-bottom: .4rem; border-bottom: 2px solid var(--pale-mint); }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; background: var(--pale-mint); border-left: 4px solid var(--mint); border-radius: 0 12px 12px 0; color: var(--navy); font-style: normal; }
.prose img { border-radius: var(--radius-sm); margin: 1.4rem 0; box-shadow: var(--shadow-sm); }
.prose .lead { font-size: 1.15rem; color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--gray-light); padding: .7rem .85rem; text-align: left; }
.prose th { background: var(--pale-mint); color: var(--navy); }
.callout { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--gray-light); border-left: 4px solid var(--mint); border-radius: 12px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); margin: 1.5rem 0; }
.callout .ci { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--pale-mint); display: grid; place-items: center; color: var(--mint-dark); }
.callout p:last-child { margin-bottom: 0; }
.callout.line { border-left-color: var(--line-green); }
.callout.line .ci { background: #e7faef; color: var(--line-green-dark); }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--gray-light); border-radius: 12px; margin-bottom: .85rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1.05rem 1.25rem; background: #fff; border: 0; cursor: pointer; font-family: var(--font); font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.faq-q:hover { background: var(--pale-mint); }
.faq-q .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--pale-mint); color: var(--mint-dark); display: grid; place-items: center; font-size: 1.25rem; transition: transform .25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 1.25rem 1.2rem; color: var(--gray); }
.faq-a .inner p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--gray-light); border-radius: 12px; padding: 1.05rem 1.15rem; box-shadow: var(--shadow-sm); }
.info-list .ii { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--pale-mint); color: var(--mint-dark); display: grid; place-items: center; }
.info-list .ii svg { width: 20px; height: 20px; fill: currentColor; }
.info-list b { display: block; color: var(--navy); }
.info-list span, .info-list a { font-size: .95rem; }

form .field { margin-bottom: 1rem; }
form label { display: block; font-weight: 500; color: var(--navy); margin-bottom: .35rem; font-size: .95rem; }
form input, form select, form textarea { width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--gray-light); border-radius: 10px; font-family: var(--font); font-size: 1rem; color: var(--navy); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(85,184,168,.15); }
form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .85rem; color: var(--gray); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(85,184,168,.18); }
.cta-band h2 { color: #fff; margin: 0 0 .35rem; }
.cta-band p { color: #cfe0ea; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .7rem; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb8c7; margin-top: 0; }
.footer-top { padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; position: relative; padding-bottom: .55rem; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--mint); border-radius: 2px; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { height: 50px; background: #fff; border-radius: 10px; padding: 5px; }
.footer-brand b { color: #fff; font-size: 1.15rem; }
.footer-col p { font-size: .93rem; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #9fb8c7; font-size: .94rem; }
.footer-links a:hover { color: var(--mint); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem; font-size: .94rem; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--mint); flex: none; margin-top: 4px; }
.footer-contact li, .footer-contact span { color: var(--navy); }
.footer-contact a { color: var(--navy); }
.footer-col p strong, .footer-bottom p { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social a:hover { background: var(--mint); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 1.1rem 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; }
.footer-bottom p { margin: 0; font-size: .85rem; }
.bottom-menu { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.bottom-menu a { color: #9fb8c7; font-size: .85rem; }
.bottom-menu a:hover { color: var(--mint); }

/* ---------- Floating buttons + mobile bar ---------- */
.float-actions { position: fixed; right: 16px; bottom: 20px; z-index: 800; display: flex; flex-direction: column; gap: .6rem; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; }
.float-btn svg { width: 26px; height: 26px; fill: #fff; }
.float-btn.line { background: var(--line-green); }
.float-btn.tel { background: var(--navy); }
.float-btn:hover { transform: translateY(-3px); color: #fff; }
.float-btn.line:hover { background: var(--line-green-dark); }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; background: #fff; border-top: 1px solid var(--gray-light); box-shadow: 0 -6px 20px rgba(23,59,87,.09); }
.mobile-bar .inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .5rem .25rem; font-size: .7rem; color: var(--navy); font-weight: 500; }
.mobile-bar a.active { color: var(--mint-dark); }
.mobile-bar svg { width: 21px; height: 21px; fill: currentColor; }

/* ---------- Alerts / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--pale-mint); color: var(--mint-dark); border-radius: 999px; padding: .28rem .8rem; font-size: .82rem; font-weight: 600; }
.tag { display: inline-block; background: var(--gray-light); color: var(--gray); border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; margin: 0 .3rem .4rem 0; }
.notice { background: #fff; border: 1px dashed var(--mint); border-radius: 12px; padding: 1rem 1.2rem; color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 58px; }
  .topbar .container { justify-content: center; }
  .topbar-list { justify-content: center; gap: .5rem 1rem; }
  .brand img { height: 40px; }
  .brand-text b { font-size: 1.05rem; }
  .brand-text span { font-size: .62rem; }
  .header-actions .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats .stat b { font-size: 1.4rem; }
  .mobile-bar { display: block; }
  .float-actions { bottom: 74px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .section { padding: 2.6rem 0; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-md); }
.bg-pale { background: var(--pale-mint); }
.bg-white { background: #fff; }

/* ---- Article / feature image extras ---- */
.feature-img{width:100%;height:auto;border-radius:16px;margin:0 0 1.6rem;box-shadow:0 12px 34px rgba(23,59,87,.12);display:block;}
.article-meta{color:#64748B;font-size:.95rem;margin:0 0 .9rem;letter-spacing:.02em;}
.prose a.card{display:block;text-decoration:none;color:#173B57;font-weight:600;text-align:center;}
.prose a.card:hover{color:#55B8A8;}
