/* Ashraaf Sanat — shared stylesheet (source: /var/www/ashraafsanat-src) */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1e3a5f;
  --blue: #1565c0;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-ink: #00769a;           /* accent dark enough for text on white */
  --surface: #f6f9fc;
  --border: #e3eaf1;
  --text: #0a1628;
  --text-mid: #37474f;
  --text-light: #546e7a;
  --green: #1b7835;
  --wa: #1da851;
  --danger: #c62828;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(10,22,40,.10);
  --shadow-lg: 0 10px 40px rgba(10,22,40,.16);
  --t: .25s cubic-bezier(.4,0,.2,1);
  --header-h: 68px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: #fff;
  direction: rtl;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 820px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; right: 1rem; background: var(--accent); color: var(--navy); padding: .5rem 1rem; border-radius: 8px; z-index: 2000; }
.skip-link:focus { top: .5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-left: auto; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: #fff; }
.logo-text { color: #fff; line-height: 1.3; }
.logo-text strong { display: block; font-size: 17px; font-weight: 800; }
.logo-text span { display: block; font-size: 10.5px; font-weight: 400; color: var(--accent-light); letter-spacing: 1.5px; }

.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.82); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: var(--t);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-light); border-bottom-color: var(--accent); }

.nav-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--navy); text-decoration: none;
  padding: 9px 16px; border-radius: 9px; font-weight: 700; font-size: 14.5px; transition: var(--t); white-space: nowrap;
}
.nav-call svg { width: 17px; height: 17px; fill: currentColor; }
.nav-call:hover { background: var(--accent-light); }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: var(--t); line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,180,216,.3); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ── HERO (home) ── */
.hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: 4.5rem 0 5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(0,180,216,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 85%, rgba(21,101,192,.16) 0%, transparent 55%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/56px 56px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,.14); border: 1px solid rgba(0,180,216,.3);
  color: var(--accent-light); padding: 5px 15px; border-radius: 50px; font-size: 13.5px; font-weight: 500; margin-bottom: 1.25rem;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; line-height: 1.35; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { color: rgba(255,255,255,.72); font-size: 1.07rem; margin-bottom: 2rem; max-width: 560px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.75rem; color: rgba(255,255,255,.75); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; fill: var(--accent); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 1.3rem;
}
.stat-num { font-size: 2.1rem; font-weight: 800; line-height: 1.1; color: #fff; }
.stat-num small { font-size: 1rem; color: var(--accent-light); font-weight: 700; }
.stat-label { font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 4px; }
.emergency-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(0,180,216,.16), rgba(21,101,192,.18));
  border-color: rgba(0,180,216,.35);
}
.emergency-card strong { display: block; font-size: 1.15rem; margin-bottom: .25rem; }
.emergency-card p { color: rgba(255,255,255,.72); font-size: 14px; margin-bottom: .9rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy); color: #fff; padding: 2.6rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 120% at 20% 0%, rgba(0,180,216,.13) 0%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); font-weight: 800; line-height: 1.4; margin-bottom: .8rem; max-width: 880px; }
.page-hero .lead { color: rgba(255,255,255,.74); font-size: 1.05rem; max-width: 760px; margin-bottom: 1.6rem; }
.page-hero .meta { color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 1rem; }
.breadcrumb { font-size: 13px; margin-bottom: 1.1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { color: rgba(255,255,255,.55); }
.breadcrumb li + li::before { content: '‹'; margin-left: 6px; color: rgba(255,255,255,.35); }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-light); }

/* ── SECTIONS ── */
section { padding: 4.5rem 0; }
.bg-soft { background: var(--surface); }
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block; background: rgba(0,180,216,.1); color: var(--accent-ink);
  padding: 4px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; line-height: 1.4; margin-bottom: .8rem; }
.section-title em { font-style: normal; color: var(--blue); }
.section-desc { color: var(--text-light); font-size: 1.02rem; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.8rem; transition: var(--t); position: relative; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(0,180,216,.3); }
.card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .6rem; line-height: 1.5; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.card p { color: var(--text-light); font-size: 14.5px; flex-grow: 1; }
.card .more { margin-top: 1rem; color: var(--blue); font-weight: 700; font-size: 14px; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center; background: rgba(21,101,192,.09);
}
.icon-box svg { width: 27px; height: 27px; fill: var(--blue); }

/* feature list */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.feature .icon-box { width: 44px; height: 44px; margin: 0; flex-shrink: 0; border-radius: 11px; }
.feature .icon-box svg { width: 22px; height: 22px; }
.feature strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.feature span { color: var(--text-light); font-size: 14px; }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.steps li::before {
  content: counter(s, persian); display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--accent-light);
  font-weight: 800; margin-bottom: .8rem;
}
.steps strong { display: block; margin-bottom: .3rem; }
.steps span { color: var(--text-light); font-size: 14px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 6px 16px; font-size: 14px; font-weight: 600; color: var(--text-mid); }

/* product cards */
.product { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--t); position: relative; }
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product img { width: 100%; aspect-ratio: 5/4; object-fit: cover; background: var(--navy-mid); }
.product-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.tag { display: inline-block; align-self: flex-start; background: rgba(0,180,216,.1); color: var(--accent-ink); padding: 2px 11px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: .6rem; }
.product h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .45rem; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a::after { content: ''; position: absolute; inset: 0; }
.product p { font-size: 14px; color: var(--text-light); flex-grow: 1; }

/* product detail rows */
.product-row { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: start; padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.product-row:last-child { border-bottom: 0; }
.product-row img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.product-row h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: .6rem; }

/* prose (service + article body) */
.prose { font-size: 1.04rem; color: #1f2d3a; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.45rem; font-weight: 800; margin-top: 2.6rem; line-height: 1.5; color: var(--text); }
.prose h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.8rem; color: var(--text); }
.prose ul, .prose ol { padding-right: 1.4rem; }
.prose li + li { margin-top: .45rem; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--text); }
.prose figure img { border-radius: var(--radius-lg); }
.prose figcaption { font-size: 13px; color: var(--text-light); margin-top: .4rem; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: right; vertical-align: top; }
.prose th { background: var(--surface); font-weight: 700; }
.callout { background: rgba(0,180,216,.07); border-right: 4px solid var(--accent); padding: 1rem 1.2rem; border-radius: 8px; }
.callout.warn { background: rgba(255,160,0,.09); border-color: #ffa000; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.aside-box { position: sticky; top: calc(var(--header-h) + 1.2rem); background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem; }
.aside-box h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.aside-box p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 1rem; }
.aside-box .btn { width: 100%; margin-top: .6rem; }
.aside-links { margin-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }
.aside-links h3 { font-size: 14px; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: .5rem; }
.aside-links ul { list-style: none; }
.aside-links a { color: #fff; text-decoration: none; font-size: 14px; display: block; padding: 5px 0; }
.aside-links a:hover { color: var(--accent-light); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; transition: var(--t); }
.faq details[open] { border-color: rgba(0,180,216,.4); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent-ink); transition: var(--t); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--text-mid); }

/* articles list */
.post-card time { font-size: 13px; color: var(--text-light); margin-bottom: .4rem; display: block; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 4rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(0,180,216,.14) 0%, transparent 60%); }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); font-weight: 800; margin-bottom: .7rem; }
.cta-band p { color: rgba(255,255,255,.7); margin-bottom: 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* ── FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-top: 1.6rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.contact-list .icon-box { width: 42px; height: 42px; margin: 0; flex-shrink: 0; border-radius: 10px; }
.contact-list .icon-box svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 13px; color: var(--text-light); font-weight: 600; }
.contact-list a, .contact-list span.v { color: var(--text); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.form-group label .req { color: var(--danger); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d5e0e9; border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--text); background: #fff; transition: var(--t);
}
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #607d8b 50%), linear-gradient(135deg, #607d8b 50%, transparent 50%); background-position: 18px 50%, 13px 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-left: 34px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,.15); outline: none; }
.form-group input[aria-invalid="true"] { border-color: var(--danger); }
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-submit { width: 100%; padding: 14px; background: var(--blue); color: #fff; border: 0; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: var(--t); }
.btn-submit:hover { background: var(--navy); }
.btn-submit:disabled { background: #78909c; cursor: wait; }
.form-status { margin-top: .8rem; font-size: 14.5px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--danger); }
.form-note { font-size: 13px; color: var(--text-light); margin-top: .4rem; }

/* ── FOOTER ── */
.site-footer { background: #060f1e; color: rgba(255,255,255,.6); padding: 3.2rem 0 1.4rem; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 2.4rem; }
.footer-brand p { margin-top: 1rem; line-height: 1.9; max-width: 320px; }
.site-footer h2 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.site-footer a { color: rgba(255,255,255,.62); text-decoration: none; transition: var(--t); }
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: 13px; }

/* ── MOBILE ACTION BAR ── */
.action-bar { display: none; }

/* ── REVEAL (only when JS runs) ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 80%,100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1020px) {
  .nav-links { gap: 1.1rem; }
  .layout-aside { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner, .form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-row { grid-template-columns: 1fr; gap: 1.3rem; }
  .product-row img { max-width: 420px; }
  .nav-call .label { display: none; }
  .nav-call { padding: 10px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; gap: 0; background: var(--navy); padding: .5rem 0 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 1.5rem; border-bottom: 0; font-size: 16px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; bottom: 0; right: 0; left: 0; z-index: 999;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(10,22,40,.97); border-top: 1px solid rgba(255,255,255,.1);
  }
  .action-bar.single { grid-template-columns: 1fr; }
  .action-bar .btn { padding: 11px 10px; font-size: 15px; }
  body { padding-bottom: 68px; }
}
@media (max-width: 600px) {
  section { padding: 3.2rem 0; }
  .container, .nav-inner { padding-inline: 1rem; }
  .hero { padding: 2.8rem 0 3.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .logo-text span { display: none; }
}

/* cards placed inside article/service prose */
.prose .card-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.prose .card { padding: 1.2rem 1.3rem; }
.prose .card h3 { margin-top: 0; font-size: 1.02rem; }
.prose .card p { font-size: 14px; margin-top: .3rem; }
.prose .card .more { margin-top: .6rem; }
