/* virtuallegalassistant.org - hand-written site styles */

:root {
  --accent: #252669;
  --contrast: #222222;
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base: #f0f0f0;
  --base-2: #f8f7f3;
  --base-3: #ffffff;
  --footer-bg: #1e2d40;
  --footer-link-hover: #6465d6;
  --border: #d4d4d4;
  --info-text: #4a5568;
  --step-bg: #eeeeee;
  --step-num: #444444;
  --form-frame: #3182ce;
  --faq-border: #edf2f7;
  --icon-tan: #d1a57a;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Raleway", -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1280px;
  --sec-pad: 120px;
  --gutter: 50px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.2px;
  color: var(--contrast);
  background: var(--base-3);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover, a:focus { color: var(--contrast); }
p { margin: 0 0 1.5em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; line-height: 1.4; margin: 0 0 20px; color: var(--contrast); }
h1 { font-size: 34px; }
h2 { font-size: 29px; }
h3 { font-size: 25px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
ul, ol { margin: 0 0 1.5em 3em; padding: 0; }
figure { margin: 0; }
strong, b { font-weight: 700; }
hr { border: 0; height: 1px; background: rgba(0, 0, 0, 0.1); margin: 40px 0; }
.sr-only, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }
.center { text-align: center; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 1.6px solid var(--accent);
  border-radius: 3px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 14.4px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn:hover, .btn:focus { background: var(--contrast); border-color: var(--contrast); color: #fff; box-shadow: 0 15px 25px -7px rgba(0, 0, 0, 0.1); }
.btn-sm { font-size: 13.6px; padding: 8px 18px; }

/* ---------- header ---------- */
.site-header { background: #fff; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.02); position: relative; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
.site-logo img { width: 240px; height: auto; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--contrast); cursor: pointer; line-height: 0; }
.menu-toggle .icon-close { display: none; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav a { display: block; color: var(--contrast); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 60px; padding: 0 16px; }
.main-nav .has-children > a { padding-right: 0; }
.main-nav li.current > a, .main-nav a:hover, .main-nav a:focus, .main-nav li:hover > a { color: var(--accent); }
.submenu-toggle { background: none; border: 0; padding: 0 16px 0 10px; line-height: 60px; height: 60px; cursor: pointer; color: var(--contrast); display: flex; align-items: center; }
.sub-menu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; top: 100%; left: 0; width: 250px;
  background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity 0.2s, transform 0.2s;
}
.sub-menu a { line-height: 1.6; padding: 12px 20px; font-size: 14px; }
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu, .has-children.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* sticky header (slides in after scrolling past the header) */
.site-header.stuck {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}
.site-header.stuck .header-inner { padding-top: 0; padding-bottom: 0; height: 70px; }
.site-header.stuck .site-logo img { height: 45px; width: auto; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- page hero (banner) ---------- */
.page-hero {
  position: relative;
  background-color: #1a202c;
  background-size: cover;
  background-position: 4% 26%;
  height: 250px;
  display: flex;
  align-items: flex-end;
}
.page-hero.post-hero { height: 300px; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: var(--contrast); opacity: 0.3; }
.page-hero-inner { position: relative; width: 100%; padding-bottom: 40px; }
.page-hero-title { color: #fff; font-size: 34px; line-height: 1.4; margin: 0; }

/* ---------- sections ---------- */
.sec { padding: var(--sec-pad) 0; }
.bg-white { background: var(--base-3); }
.bg-cream { background: var(--base-2); }
.sec.bg-white + .sec.bg-white, .sec.bg-cream + .sec.bg-cream { padding-top: 0; }
.sec.compact { padding: 60px 0; }
.sec.bg-white + .sec-pricing.bg-white { padding-top: 60px; }
.sec-title { font-size: 45px; font-weight: 500; line-height: 1.4; margin: 0 0 40px; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin-bottom: 15px; }
.split-text > .rich { margin-bottom: 0; }
.note { margin: 20px 0 0; }
.split-text > .btn { margin-top: 30px; }
.split-text .note + .btn { margin-top: 30px; }

/* home hero */
.home-hero {
  position: relative;
  background-color: #1a202c;
  background-size: cover;
  background-position: 0% 50%;
  color: #fff;
  overflow: hidden;
}
.home-hero-overlay { position: absolute; inset: 0; background: var(--contrast); }
.home-hero-inner { position: relative; min-height: 757px; display: flex; align-items: center; padding-top: 94px; padding-bottom: 100px; }
.home-hero-content { width: 45%; }
.home-hero h1 { color: #fff; font-size: 50px; line-height: 1.4; font-weight: 700; margin: 0 0 10px; padding-bottom: 10px; }
.home-hero p { font-size: 24px; line-height: 1.8; margin: 0 0 25px; }
.home-hero .btn { margin-top: 50px; }

/* image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 100px; align-items: center; }
.split.img-right .split-media { order: 2; }
.split-img img { width: 100%; }
.split-img.ratio-portrait { aspect-ratio: 3 / 4; overflow: hidden; }
.split-img.ratio-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
.split.img-right .split-img { margin-left: 0; }

.checklist { list-style: none; margin: 25px 0 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 10px; margin: 0 0 5px; font-size: 15px; }
.checklist svg { flex: 0 0 auto; color: var(--contrast); }

/* numbered steps */
.steps { list-style: none; margin: 30px 0 0; padding: 0; position: relative; }
.step { display: flex; align-items: center; position: relative; padding-bottom: 30px; }
.step::before { content: ""; position: absolute; left: 41px; top: 0; bottom: 0; width: 2px; background: var(--base); }
.step-num {
  position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--step-bg); color: var(--step-num);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 35px; font-weight: 300; line-height: 1;
  margin: 0 30px 0 10px;
}
.step-title { font-size: 22px; line-height: 34px; margin: 0 0 10px; }
.step-title.is-bold strong { font-weight: 700; }
.step-text { margin: 0; color: var(--info-text); font-size: 16px; line-height: 1.8; }

/* stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 15px; }
.stat-card { background: var(--base-2); padding: 20px 15px; text-align: center; }
.stat-card img { width: 50px; height: auto; margin: 0 auto 20px; }
.stat-card h4 { font-size: 18px; line-height: 1.4; margin: 0; }
.split-media .stat-cards { margin-top: 20px; }

/* testimonial */
.quote-icon { color: var(--contrast); line-height: 0; }
.testimonial-title { font-size: 29px; font-weight: 700; margin: 40px 0 0; }
.testimonial-box { margin: 40px 0 0; border: 1px solid var(--border); padding: 40px; font-size: 16px; }
.testimonial-box p { margin: 0; }
.testimonial-box .testimonial-author { margin-top: 30px; }

/* text block */
.text-block.align-center { text-align: center; }
.text-block.align-center .sec-title { margin-bottom: 40px; }
.text-block.align-center .rich p { margin-bottom: 25px; }
.text-block .btn { margin-top: 40px; }
.text-block.boxed { border: 1px solid var(--border); padding: 60px; }
.text-block.boxed .sec-title { font-size: 35px; margin-bottom: 25px; }
.text-block.align-left .rich p { margin: 0; }

/* pricing */
.sec-pricing .sec-title { margin-bottom: 20px; }
.price-card {
  width: 431px; max-width: 100%; margin: 30px auto 0; padding: 40px; text-align: center;
  background: var(--base-2); box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.2);
}
.price { font-family: var(--serif); font-size: 29px; line-height: 1.4; margin: 0 0 15px; }
.price-label { margin: 0 0 20px; font-size: 16px; }
.price-divider { width: 88px; height: 3px; background: var(--accent); margin: 25px auto 30px; }
.price-sub { font-size: 22px; line-height: 1.8; margin: 0 0 15px; }
.price-text { margin: 0 0 20px; font-size: 16px; }
.btn-row { margin-top: 60px; }

/* feature grid */
.grid-head { margin-bottom: 80px; }
.grid-head.half { max-width: 60%; }
.grid-head .sec-title { margin-bottom: 0; }
.grid-intro { margin: 40px 0 0; }
.grid-head .btn { margin-top: 40px; }
.features { display: grid; column-gap: 32px; row-gap: 32px; }
.features.cols-2 { display: block; columns: 2; column-gap: 32px; }
.features.cols-2 .feature { break-inside: avoid; }
.features.cols-2.icon-left .feature { padding: 18px 25px 20px; }
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features.cols-4 { grid-template-columns: repeat(4, 1fr); row-gap: 0; }
.feature { padding: 25px; }
.feature-icon img { width: 50px; height: auto; }
a.feature-link { color: inherit; text-decoration: none; }
a.feature-link:hover .feature-title, a.feature-link:focus-visible .feature-title { color: var(--accent); }
.feature-more { display: inline-block; margin-top: 10px; padding: 4px 15px; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 14px; border-radius: 3px; transition: background 0.2s; }
a.feature-link:hover .feature-more, a.feature-link:focus-visible .feature-more { background: var(--contrast); }
.icon-top .feature-icon { margin-bottom: 20px; }
.icon-left .feature { display: flex; align-items: flex-start; gap: 30px; padding: 5px 25px; }
.icon-left .feature-icon { flex: 0 0 50px; }
.feature-title { font-size: 20px; line-height: 1.4; margin: 0 0 5px; }
.feature-text { font-family: var(--serif); font-size: 16px; line-height: 1.4; margin: 0; color: #444; }
.cols-4.icon-top .feature { padding: 25px 25px 45px; }
.card-cream .feature { background: var(--base-2); }
.card-shadow .feature { background: #fff; box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.1); padding: 30px 25px 35px; }
.card-shadow .feature-icon { margin-bottom: 25px; }
.compact .features { row-gap: 20px; }
.compact .icon-left .feature, .compact .feature { padding: 0; }
.compact .feature-title { font-size: 20px; font-weight: 700; margin: 0; }
.compact .feature-title strong { font-weight: 700; }
.compact .feature-text { font-size: 16px; color: var(--contrast); }

/* consultation */
.consult { align-items: center; }
.consult-embed { border: 1px solid var(--border); height: 450px; overflow: hidden; background: #fff; }
.consult-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.consult .sec-title { margin-bottom: 40px; }
.consult-photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 20px; }
.consult-name { font-size: 22px; margin: 30px 0 5px; }
.consult-name strong { font-weight: 700; }
.consult-email { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; }
.consult-email svg { color: var(--accent); }

/* text + form */
.form-split { align-items: center; }
.form-col { position: relative; }
.form-col::before {
  content: ""; position: absolute; inset: 30px 0 0 0; border: 1px solid var(--form-frame); opacity: 0.6; pointer-events: none;
}
.form-card { position: relative; background: var(--base-2); padding: 50px; margin: 0 30px 30px; }
.form-title { font-size: 25px; margin: 0 0 20px; }
.ghl-form { min-height: 600px; }
.ghl-form iframe { min-height: 600px; display: block; }
.card-offset .form-col::before { display: none; }
.card-offset .form-card { margin: 0; padding: 30px 30px 40px; }
.has-card-offset { padding-top: 80px; }
.has-card-offset .form-split { align-items: start; }
.has-card-offset .split-text { padding-top: 60px; }
.has-card-offset .form-card { margin-top: -136px; }
.card-offset { grid-template-columns: 5fr 6fr; }
.form-split .split-text .btn { margin-top: 30px; }

/* post list (boxed cards) */
.list-head { margin-bottom: 75px; }
.list-head .sec-title { font-size: 48px; margin-bottom: 20px; }
.list-head p { margin: 0; }
.post-grid { display: grid; gap: 32px; }
.post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 25px; }
.post-card { background: #fff; border-radius: 4px; box-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.05); overflow: hidden; display: flex; flex-direction: column; }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 30px 32px 32px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.post-card-title { font-size: 26px; line-height: 1.4; margin: 0 0 5px; }
.post-card-title a { color: var(--contrast); text-decoration: none; }
.post-card-title a:hover { color: var(--accent); }
.post-meta { font-size: 14.45px; color: var(--contrast-2); margin: 0 0 20px; }
.post-meta a { color: var(--contrast-2); }
.post-card-excerpt { font-size: 16px; margin: 0 0 20px; overflow-wrap: anywhere; }
.post-card .btn { margin-top: auto; }

/* FAQ */
.faq { border-top: 1px solid var(--faq-border); }
.faq-item { background: #fff; border: 1px solid var(--faq-border); border-top: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px; font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--contrast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--accent); border-bottom: 1px solid var(--faq-border); }
.faq-item summary svg { flex: 0 0 auto; }
.faq-item .faq-minus { display: none; }
.faq-item[open] .faq-plus { display: none; }
.faq-item[open] .faq-minus { display: block; color: var(--accent); }
.faq-panel { padding: 40px; font-size: 16px; }

/* team */
.sec-team .grid-head { margin-bottom: 75px; }
.sec-team .grid-head .sec-title { margin-bottom: 20px; }
.sec-team .grid-head p { margin: 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.team-card { border: 1px solid var(--border); padding: 60px 30px; text-align: center; font-size: 16px; }
.team-photo img { width: 180px; height: 180px; object-fit: cover; border-radius: 10px; margin: 0 auto 20px; }
.team-name { font-size: 26px; margin: 0 0 10px; }
.team-name strong { font-weight: 700; }
.team-role { margin: 0 0 20px; }
.team-card .rich p { margin-bottom: 25px; }

/* ---------- content + sidebar layout ---------- */
.content-sidebar { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); column-gap: 80px; padding-top: 80px; padding-bottom: 80px; }
.content-area { min-width: 0; }
.blog-sections .sec { padding: 0; }
.blog-sections .wrap { padding: 0; }
.sidebar { font-size: 16px; }
.widget { margin-bottom: 60px; }
.widget-title { font-size: 22px; margin-bottom: 25px; }
.widget-links { list-style: none; margin: 0; padding: 0; }
.widget-links li { margin: 0 0 8px; }
.recent-posts { list-style: none; margin: 0; padding: 0; }
.recent-posts li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.recent-thumb { flex: 0 0 100px; }
.recent-thumb img { width: 100px; height: 100px; object-fit: cover; }

/* prose (posts / legal) */
.entry .post-meta { margin-bottom: 20px; }
.prose { font-size: 17px; overflow-wrap: break-word; }
.prose h2 { font-size: 29px; margin: 1.2em 0 20px; }
.prose h3 { font-size: 25px; margin: 1.2em 0 20px; }
.prose h4 { font-size: 22px; margin: 1.2em 0 20px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin-left: 2em; }
.prose li { margin-bottom: 0; }
.prose a { text-decoration: underline; }
.prose hr { margin: 30px 0; background: var(--base); }
.table-wrap { margin: 0 0 1.5em; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--contrast); padding: 8px; text-align: left; vertical-align: top; }
.prose thead { border-bottom: 3px solid var(--contrast); }
.legal-entry .prose h2, .legal-entry .prose h3, .legal-entry .prose h4 { font-weight: 700; }
.legal-entry .prose h2 { font-size: 29px; }
.legal-entry .prose h3 { font-size: 25px; }
.legal-entry .prose h4 { font-size: 22px; }
.legal-entry .prose hr { margin: 40px 0; }
.entry-footer { margin-top: 40px; font-size: 14.45px; color: var(--contrast-2); }
.entry-footer a { color: var(--accent); }
.cat-links { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; }
.cat-links svg { color: var(--contrast-2); }
.post-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-arrow { color: var(--contrast-2); padding: 0 6px 0 4px; }

/* archives */
.archive-heading { font-size: 34px; margin: 0 0 30px; display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--base); color: var(--contrast-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 22px; }
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 60px; }
.archive-item { min-width: 0; }
.archive-item.featured { grid-column: 1 / -1; }
.archive-img { display: block; margin-bottom: 30px; }
.archive-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.archive-item.featured .archive-img img { aspect-ratio: auto; max-height: 420px; width: auto; margin: 0 auto; object-fit: contain; }
.archive-title { font-size: 29px; margin: 0 0 5px; }
.archive-title a { color: var(--contrast); text-decoration: none; }
.archive-title a:hover { color: var(--accent); }
.archive-excerpt { font-size: 16px; margin: 0 0 20px; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: #f8f7f3; font-size: 16px; }
.footer-widgets { display: grid; grid-template-columns: 40% 20% 20% 20%; padding-top: 40px; padding-bottom: 40px; }
.footer-col { padding-right: 40px; }
.footer-about { padding-right: 80px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 5px; line-height: 1.5; padding: 3px 0; }
.site-footer a { color: #f8f7f3; text-decoration: none; }
.site-footer a:hover { color: var(--footer-link-hover); }
.footer-logo { width: 60px; height: auto; margin: 0 0 25px; }
.footer-about p { margin: 0; line-height: 1.9; }
.footer-contact h5 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #8a8a8a; margin: 0 0 20px; }
.footer-contact p { margin: 0 0 25px; line-height: 1.8; }
.site-info { border-top: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); text-align: center; font-size: 15px; padding: 20px 0; }

.back-to-top {
  position: fixed; right: 30px; bottom: 30px; width: 40px; height: 40px; border-radius: 3px; z-index: 50;
  background: rgba(0, 0, 0, 0.4); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: rgba(0, 0, 0, 0.6); color: #fff; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; } h2 { font-size: 27px; } h3 { font-size: 23px; } h4 { font-size: 20px; }
  :root { --sec-pad: 80px; --gutter: 40px; }
  .sec-title { font-size: 35px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero-content { width: 60%; }
  .page-hero { height: 200px; }
  .page-hero-title { font-size: 32px; }
  .split { column-gap: 50px; }
  .features.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .content-sidebar { column-gap: 40px; padding-top: 60px; padding-bottom: 60px; }
  .footer-widgets { grid-template-columns: 34% 22% 22% 22%; }
}
@media (max-width: 991px) {
  .post-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  :root { --sec-pad: 40px; --gutter: 30px; }
  h1 { font-size: 30px; } h2 { font-size: 25px; } h3 { font-size: 21px; } h4 { font-size: 18px; }
  .container { padding: 0 30px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .site-logo img { width: 160px; }
  .site-header.stuck .header-inner { height: auto; min-height: 60px; }
  .site-header.stuck .site-logo img { height: 31px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .nav-open .main-nav { display: block; }
  .nav-open .menu-toggle .icon-open { display: none; }
  .nav-open .menu-toggle .icon-close { display: block; }
  .main-nav .menu { flex-direction: column; align-items: stretch; padding: 10px 0 20px; }
  .main-nav .menu > li { flex-wrap: wrap; justify-content: space-between; }
  .main-nav a { line-height: 1.6; padding: 10px 0; font-size: 14px; }
  .submenu-toggle { line-height: 1; height: auto; padding: 10px; }
  .sub-menu { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 15px; }
  .has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { display: none; }
  .has-children.open > .sub-menu { display: block; }
  .sub-menu a { padding: 10px 0; }

  .sec-title { font-size: 25px; margin-bottom: 15px; }
  .home-hero-inner { min-height: 500px; padding-top: 80px; padding-bottom: 80px; }
  .home-hero-content { width: 100%; }
  .home-hero h1 { font-size: 26px; line-height: 1.4; }
  .home-hero p { font-size: 16px; }
  .home-hero .btn { margin-top: 20px; font-size: 14.4px; }
  .page-hero { height: 200px; }
  .page-hero.post-hero { height: 220px; }
  .page-hero-title { font-size: 30px; }
  .page-hero-inner { padding-bottom: 30px; }

  .split { grid-template-columns: 1fr; row-gap: 30px; }
  .split.img-right .split-media { order: 0; }
  .split-img { max-width: none !important; }
  .stat-cards { grid-template-columns: 1fr; gap: 15px; }
  .step-num { flex-basis: 44px; width: 44px; height: 44px; font-size: 20px; margin: 0 20px 0 10px; }
  .step::before { left: 31px; }
  .step-title { font-size: 16px; line-height: 1.8; }
  .compact .features { row-gap: 30px; }
  .testimonial-title { margin-top: 30px; font-size: 25px; }
  .testimonial-box { padding: 30px; margin-top: 30px; }
  .text-block.boxed { padding: 30px; }
  .text-block.boxed .sec-title { font-size: 25px; }
  .grid-head, .sec-team .grid-head, .list-head { margin-bottom: 30px; }
  .grid-head.half { max-width: none; }
  .list-head .sec-title { font-size: 24px; margin-bottom: 15px; }
  .grid-intro { margin-top: 15px; }
  .features.cols-3, .team-grid { grid-template-columns: 1fr; }
  .features.cols-2 { columns: 1; }
  .card-offset { grid-template-columns: 1fr; }
  .features.cols-4 { grid-template-columns: repeat(2, 1fr); column-gap: 15px; }
  .feature, .cols-4.icon-top .feature { padding: 15px 0; }
  .icon-left .feature { padding: 5px 0; gap: 20px; }
  .card-shadow .feature { padding: 25px; }
  .price-card { padding: 30px 20px; }
  .btn-row { margin-top: 40px; }
  .consult-embed { height: 450px; }
  .form-card { margin: 0 15px 15px; padding: 30px 20px; }
  .form-col::before { inset: 15px 0 0 0; }
  .has-card-offset { padding-top: 40px; }
  .has-card-offset .split-text { padding-top: 0; }
  .has-card-offset .form-card { margin-top: 0; }
  .post-grid.cols-3, .post-grid.cols-2 { grid-template-columns: 1fr; }
  .post-card-body { padding: 25px; }
  .post-card-title { font-size: 22px; }
  .faq-item summary { font-size: 18px; }
  .faq-panel { padding: 25px 20px; }
  .team-card { padding: 40px 20px; }

  .content-sidebar { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 30px; }
  .sidebar { border-top: 1px solid var(--base); margin-top: 40px; padding-top: 40px; }
  .archive-grid { grid-template-columns: 1fr; }
  .prose table { table-layout: auto; min-width: 480px; }

  .footer-widgets { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer-col { padding-right: 20px; }
}
@media (max-width: 575px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .site-footer { font-size: 14px; }
}
