/* ==========================================================================
   Sara Salek — روانشناس کودک و نوجوان
   Design system · RTL · Calm green + warm coral on cream
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand: #2F7D6B;
  --brand-dark: #235F52;
  --brand-deep: #1B4A40;
  --brand-tint: #E6F2EF;
  --brand-tint-2: #D3E8E2;

  --accent: #EE8459;
  --accent-dark: #D96C41;
  --accent-tint: #FDEDE4;

  --gold: #E9B44C;
  --lilac: #8E7BB5;
  --sky: #6FA8C7;

  --ink: #16302B;
  --ink-2: #1E403A;

  --bg: #FBF8F4;
  --bg-2: #F5F0E9;
  --surface: #FFFFFF;
  --line: #EBE4DA;
  --line-2: #F2ECE4;
  --text: #22312E;
  --muted: #6E7C79;
  --muted-2: #98A3A0;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(22,48,43,.05), 0 2px 6px rgba(22,48,43,.04);
  --sh-2: 0 6px 20px rgba(22,48,43,.07);
  --sh-3: 0 18px 46px rgba(22,48,43,.13);
  --sh-brand: 0 10px 26px rgba(47,125,107,.26);
  --sh-accent: 0 10px 26px rgba(238,132,89,.28);

  --maxw: 1200px;
  --gutter: 22px;

  --font: "Vazirmatn", "IRANSans", Tahoma, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--surface);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; line-height: 1.45; letter-spacing: -.2px; }
p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-tint-2); }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
}
.skip-link:focus { inset-inline-start: 12px; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.row { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.grow { flex: 1; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--bg); }
.section-cream { background: linear-gradient(180deg, #FBF8F4 0%, #FFFFFF 100%); }
.muted { color: var(--muted); }
.hide-mobile { display: initial; }
.hide-desktop { display: none; }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.sec-head.start { text-align: start; margin-inline: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--brand);
  background: var(--brand-tint); padding: 7px 16px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow.is-accent { color: var(--accent-dark); background: var(--accent-tint); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sec-title { font-size: 34px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.sec-title em { font-style: normal; color: var(--brand); position: relative; }
.sec-title .mark { position: relative; display: inline-block; color: var(--brand); z-index: 0; }
.sec-title .mark::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: 2px; height: 11px;
  background: var(--accent-tint); border-radius: 6px; z-index: -1;
}
.sec-sub { margin-top: 14px; color: var(--muted); font-size: 16.5px; line-height: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; border: 1.5px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-soft { background: var(--surface); color: var(--brand); box-shadow: var(--sh-1); }
.btn-soft:hover { box-shadow: var(--sh-2); }
.btn-ghost { background: var(--brand-tint); color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-tint-2); }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-line-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .svg { width: 18px; height: 18px; }

/* ---------- Icons ---------- */
.svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-sm { width: 17px; height: 17px; }
.svg-lg { width: 28px; height: 28px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: var(--ink); color: #C6D6D1; font-size: 13px; }
.topbar .container { min-height: 42px; gap: 14px; }
/* the note is the flexible part — let it shrink and trail off rather than widen the page */
.topbar-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-note .pulse { flex: none; }
.topbar a { color: #C6D6D1; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar-note .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #6ED6A8;
  box-shadow: 0 0 0 0 rgba(110,214,168,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(110,214,168,.55); }
  70% { box-shadow: 0 0 0 9px rgba(110,214,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,214,168,0); }
}
.topbar-links { gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(22,48,43,.07); }
.header-main { min-height: 76px; gap: 18px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-text b { display: block; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.logo-text span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.logo img.custom-logo { width: auto; height: 46px; }

.nav-main { gap: 4px; margin-inline-start: auto; }
.nav-main .menu { display: flex; align-items: center; gap: 2px; }
.nav-main li { position: relative; }
.nav-main a {
  display: block; padding: 10px 15px; font-size: 15px; font-weight: 600;
  color: var(--text); border-radius: var(--r-pill); transition: .2s;
}
.nav-main a:hover, .nav-main .current-menu-item > a, .nav-main .current_page_item > a {
  color: var(--brand); background: var(--brand-tint);
}
/* dropdown */
.nav-main .sub-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 8px; display: none; z-index: 5;
}
.nav-main li:hover > .sub-menu, .nav-main li:focus-within > .sub-menu { display: block; }
.nav-main .sub-menu a { border-radius: var(--r-sm); padding: 9px 13px; font-size: 14.5px; }

.h-actions { gap: 10px; }
.h-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
.h-phone .ic {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.h-phone small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.h-phone b { font-size: 15px; line-height: 1.4; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--brand-tint); color: var(--brand); place-items: center;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 66px 0 90px; background: var(--bg); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before {
  width: 620px; height: 620px; inset-block-start: -260px; inset-inline-end: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(47,125,107,.14), rgba(47,125,107,0) 70%);
}
.hero::after {
  width: 520px; height: 520px; inset-block-end: -240px; inset-inline-start: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(238,132,89,.16), rgba(238,132,89,0) 70%);
}
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: 44px; line-height: 1.55; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero h1 .mark {
  position: relative; display: inline-block; color: var(--brand);
}
.hero h1 .mark::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: 4px; height: 12px;
  background: var(--accent-tint); border-radius: 6px; z-index: -1;
}
.hero-lead { margin-top: 20px; font-size: 17px; line-height: 2.1; color: #4C5B58; max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: #3E4E4B; }
.hero-meta .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.hero-meta .tick .svg { width: 14px; height: 14px; stroke-width: 2.4; }

/* portrait */
.hero-figure { position: relative; z-index: 0; }
.hero-photo {
  position: relative; border-radius: 46% 54% 52% 48% / 44% 42% 58% 56%;
  overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--sh-3);
  border: 8px solid #fff;
  animation: morph 16s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 52% 48% / 44% 42% 58% 56%; }
  50%     { border-radius: 54% 46% 42% 58% / 56% 52% 48% 44%; }
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-blob {
  position: absolute; inset-block-start: 6%; inset-inline-start: -6%;
  width: 72%; height: 72%; border-radius: 50%; z-index: -1;
  background: linear-gradient(140deg, var(--brand-tint), var(--accent-tint));
}
.hero-dots {
  position: absolute; inset-block-end: 8%; inset-inline-end: -4%; width: 96px; height: 96px;
  background-image: radial-gradient(var(--brand-tint-2) 2.2px, transparent 2.2px);
  background-size: 14px 14px; opacity: .9; z-index: -1;
}
.float-card {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2);
  padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--line-2); animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-card b { font-size: 16px; color: var(--ink); line-height: 1.4; display: block; }
.float-card small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-1 { inset-block-start: 10%; inset-inline-start: -8%; }
.float-1 .ic { background: var(--brand-tint); color: var(--brand); }
.float-2 { inset-block-end: 14%; inset-inline-end: 0; animation-delay: 1.4s; }
.float-2 .ic { background: var(--accent-tint); color: var(--accent-dark); }

/* ==========================================================================
   STATS / TRUST BAR
   ========================================================================== */
.stats {
  position: relative; z-index: 2; margin-top: -46px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2);
  padding: 30px 20px; display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { text-align: center; padding: 6px 14px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block: 12%; width: 1px; background: var(--line-2);
}
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.5; }
.stat span { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.s-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.s-card::after {
  content: ""; position: absolute; inset-block-start: -60px; inset-inline-end: -60px;
  width: 140px; height: 140px; border-radius: 50%; background: var(--brand-tint);
  opacity: 0; transition: opacity .3s ease; z-index: 0;
}
.s-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.s-card:hover::after { opacity: .55; }
.s-card > * { position: relative; z-index: 1; }
.s-card .ic {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 18px;
}
.s-card:nth-child(6n+2) .ic { background: var(--accent-tint); color: var(--accent-dark); }
.s-card:nth-child(6n+3) .ic { background: #EFEAF7; color: var(--lilac); }
.s-card:nth-child(6n+4) .ic { background: #E7F0F6; color: var(--sky); }
.s-card:nth-child(6n+5) .ic { background: #FBF1DC; color: #BE8C1E; }
.s-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.s-card p { font-size: 14.8px; color: var(--muted); line-height: 2; }
.s-card .more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--brand);
}
.s-card .more .svg { width: 15px; height: 15px; transition: transform .2s; }
.s-card:hover .more .svg { transform: translateX(-4px); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about-media { position: relative; z-index: 0; }
.about-media .main {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 5/5.4;
}
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame {
  position: absolute; inset-block-start: -18px; inset-inline-start: -18px;
  width: 58%; height: 58%; border: 2px dashed var(--brand-tint-2); border-radius: var(--r-xl); z-index: -1;
}
.about-badge {
  position: absolute; inset-block-end: 26px; inset-inline-end: -26px;
  background: var(--brand); color: #fff; border-radius: var(--r-lg);
  padding: 18px 22px; box-shadow: var(--sh-brand); text-align: center; min-width: 150px;
}
.about-badge b { display: block; font-size: 26px; line-height: 1.4; }
.about-badge span { font-size: 13px; opacity: .9; }

.creds { margin-top: 26px; display: grid; gap: 14px; }
.creds.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cred.on-tint { background: var(--bg); }
.cred {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px;
}
.cred .ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: var(--brand-tint); color: var(--brand);
}
.cred b { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.6; }
.cred span { font-size: 13.8px; color: var(--muted); }

/* ==========================================================================
   PROCESS / STEPS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; inset-block-start: 34px; inset-inline: 12%;
  border-top: 2px dashed var(--brand-tint-2); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step .num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-tint-2); color: var(--brand);
  display: grid; place-items: center; font-size: 22px; font-weight: 800;
  box-shadow: 0 6px 18px rgba(47,125,107,.1); transition: .25s;
}
.step:hover .num { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-4px); }
.step h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 2; }

/* ==========================================================================
   GALLERY STRIP
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid figure {
  margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1;
  position: relative; box-shadow: var(--sh-1);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(22,48,43,.5));
  opacity: 0; transition: opacity .3s;
}
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid figcaption {
  position: absolute; inset-block-end: 14px; inset-inline: 16px; color: #fff; z-index: 2;
  font-size: 14px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative;
}
.quote .qmark {
  position: absolute; inset-block-start: 18px; inset-inline-end: 24px;
  font-size: 62px; line-height: 1; color: var(--brand-tint-2); font-family: Georgia, serif;
}
.quote p { font-size: 15px; line-height: 2.15; color: #46554F; position: relative; z-index: 1; }
.quote-by { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote-by .av {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); font-weight: 800; font-size: 17px; flex: none;
}
.quote-by b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.quote-by span { font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.stars .svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.is-open { border-color: var(--brand-tint-2); box-shadow: var(--sh-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 14px; justify-content: space-between;
  padding: 20px 24px; font-size: 16.5px; font-weight: 700; color: var(--ink); text-align: start;
}
.faq-q .chev { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 2.1; }

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.post-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); position: relative; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-cat {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--brand-dark); font-size: 12.5px; font-weight: 700;
  padding: 5px 13px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
}
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.8px; color: var(--muted-2); margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .svg { width: 14px; height: 14px; }
.post-body h3 { font-size: 18px; line-height: 1.75; color: var(--ink); }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { margin-top: 11px; font-size: 14.6px; color: var(--muted); line-height: 2; }
.post-more {
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--brand);
}
.post-more .svg { width: 15px; height: 15px; transition: transform .2s; }
.post-card:hover .post-more .svg { transform: translateX(-4px); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 62%, #3D9280 100%);
  color: #fff; padding: 56px 52px; display: grid; grid-template-columns: 1.4fr auto;
  gap: 32px; align-items: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before {
  width: 340px; height: 340px; inset-block-start: -140px; inset-inline-start: -80px;
  background: rgba(255,255,255,.07);
}
.cta-band::after {
  width: 240px; height: 240px; inset-block-end: -120px; inset-inline-end: 12%;
  background: rgba(238,132,89,.22);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 30px; line-height: 1.6; }
.cta-band p { margin-top: 12px; font-size: 16px; opacity: .88; line-height: 2; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.ci-item {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: .25s;
}
.ci-item:hover { border-color: var(--brand-tint-2); box-shadow: var(--sh-2); }
.ci-item .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.ci-item small { display: block; font-size: 13px; color: var(--muted); }
.ci-item b { font-size: 15.5px; color: var(--ink); font-weight: 700; line-height: 1.7; }
.ci-socials { display: flex; gap: 10px; margin-top: 4px; }
.ci-socials a {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand); transition: .22s;
}
.ci-socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px; box-shadow: var(--sh-2);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #FDFCFA; transition: .2s; font-size: 15px;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 2; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(47,125,107,.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7C79' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; padding-inline-start: 40px; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; opacity: 0; height: 0; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.form-consent input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--brand); flex: none; }

.notice { border-radius: var(--r); padding: 16px 20px; font-size: 14.5px; font-weight: 600; margin-bottom: 22px; display: flex; gap: 11px; align-items: flex-start; }
.notice .svg { flex: none; margin-top: 3px; }
.notice-ok { background: #E7F6EE; color: #1B7A4C; }
.notice-err { background: #FDEBE8; color: #C0402A; }

.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.15); }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--bg); padding: 54px 0 56px; overflow: hidden; text-align: center; }
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  inset-block-start: -300px; inset-inline-start: 50%; transform: translateX(50%);
  background: radial-gradient(circle, rgba(47,125,107,.13), transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: 36px; color: var(--ink); line-height: 1.55; }
.page-hero .lead { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 640px; margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--muted-2); }

/* ==========================================================================
   BLOG LIST + SINGLE
   ========================================================================== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }

.entry-hero { max-width: 860px; margin-inline: auto; }
.entry-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.entry-hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.entry-thumb { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); margin-bottom: 38px; }
.entry-thumb img { width: 100%; }

.entry-content { font-size: 16.5px; line-height: 2.2; color: #354441; overflow-wrap: break-word; }
/* long Latin words, URLs and embeds must never widen the page */
.entry-content pre { overflow-x: auto; background: var(--bg-2); padding: 16px 18px; border-radius: var(--r); }
.entry-content iframe, .entry-content video, .entry-content embed, .entry-content object { max-width: 100%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.table-scroll table { min-width: 460px; }
.entry-content > * + * { margin-top: 22px; }
.entry-content h2 { font-size: 25px; color: var(--ink); margin-top: 44px; line-height: 1.7; }
.entry-content h3 { font-size: 20px; color: var(--ink); margin-top: 34px; line-height: 1.7; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: 14px; }
.entry-content ul, .entry-content ol { padding-inline-start: 22px; }
.entry-content ul { list-style: none; padding-inline-start: 0; }
.entry-content ul li { position: relative; padding-inline-start: 28px; margin-bottom: 12px; }
.entry-content ul li::before {
  content: ""; position: absolute; inset-inline-start: 6px; inset-block-start: 15px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.entry-content ol { list-style: decimal; }
.entry-content ol li { margin-bottom: 12px; padding-inline-start: 6px; }
.entry-content ol li::marker { color: var(--brand); font-weight: 800; }
.entry-content a { color: var(--brand); font-weight: 600; border-bottom: 1px solid var(--brand-tint-2); }
.entry-content a:hover { border-color: var(--brand); }
.entry-content blockquote {
  margin: 32px 0; padding: 24px 28px; background: var(--brand-tint);
  border-inline-start: 4px solid var(--brand); border-radius: var(--r);
  font-size: 16.5px; color: var(--brand-deep); font-weight: 600; line-height: 2.1;
}
.entry-content blockquote p + p { margin-top: 12px; }
.entry-content img { border-radius: var(--r); margin-inline: auto; }
.entry-content figure { margin: 30px 0; }
.entry-content figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 12px 14px; text-align: start; }
.entry-content th { background: var(--bg); font-weight: 700; }
.entry-content code { background: var(--bg-2); padding: 2px 7px; border-radius: 6px; font-size: 14px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 40px; }
.entry-tags a { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 15px; font-size: 13px; color: var(--muted); transition: .2s; }
.entry-tags a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.author-box {
  margin-top: 44px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; gap: 22px; align-items: center;
}
.author-box .av { display: block; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: var(--sh-1); }
.author-box .av img { width: 100%; height: 100%; object-fit: cover; }
.author-box h4 { font-size: 18px; color: var(--ink); }
.author-box small { color: var(--brand); font-weight: 700; font-size: 13.5px; }
.author-box p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 2; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.post-nav a {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; transition: .22s;
}
.post-nav a:hover { border-color: var(--brand-tint-2); box-shadow: var(--sh-2); }
.post-nav small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.post-nav b { font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.7; }
.post-nav .next { text-align: start; }
.post-nav .prev { text-align: end; }

/* sidebar */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 22px; }
.widget-title { font-size: 17px; color: var(--ink); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.widget ul li { padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; color: var(--muted); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--text); transition: .2s; }
.widget ul li a:hover { color: var(--brand); }
.mini-post { display: flex; gap: 13px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.mini-post:last-child { border-bottom: 0; }
.mini-post .thumb { width: 72px; height: 62px; border-radius: 12px; overflow: hidden; flex: none; background: var(--bg-2); }
.mini-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-post b { font-size: 14.3px; font-weight: 700; color: var(--ink); line-height: 1.75; display: block; }
.mini-post b:hover { color: var(--brand); }
.mini-post small { font-size: 12.3px; color: var(--muted-2); }
.widget-cta { background: linear-gradient(150deg, var(--brand-deep), var(--brand)); color: #fff; border: 0; text-align: center; }
.widget-cta h4 { font-size: 19px; margin-bottom: 10px; }
.widget-cta p { font-size: 14px; opacity: .9; line-height: 2; margin-bottom: 18px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #FDFCFA; font-size: 14.5px; }
.search-form input:focus { border-color: var(--brand); outline: none; }
.search-form button { width: 46px; border-radius: var(--r-sm); background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a { font-size: 13px !important; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px; color: var(--muted); }
.tagcloud a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 46px; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; transition: .2s;
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* comments */
.comments-area { margin-top: 52px; }
.comments-title { font-size: 21px; color: var(--ink); margin-bottom: 24px; }
.comment-list li { list-style: none; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.comment-list .children { padding-inline-start: 30px; }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-style: normal; color: var(--ink); }
.comment-metadata { font-size: 12.5px; color: var(--muted-2); }
.comment-content { font-size: 15px; line-height: 2.1; color: #46554F; }
.comment-reply-link { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.comment-respond { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; margin-top: 26px; }
.comment-reply-title { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.comment-form .comment-notes { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #FDFCFA;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--brand); outline: none; }
.comment-form .submit {
  background: var(--brand); color: #fff; border-radius: var(--r-pill);
  padding: 13px 30px; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: var(--sh-brand);
}
.comment-form .comment-form-cookies-consent { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--muted); }
.comment-form .comment-form-cookies-consent input { width: auto; accent-color: var(--brand); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #B9CCC7; margin-top: 0; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  inset-block-start: -240px; inset-inline-end: -140px; background: rgba(47,125,107,.18);
}
.footer-top {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding: 62px 0 46px;
}
.footer h5 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer .about p { font-size: 14.5px; line-height: 2.1; margin-top: 16px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: #8CA5A0; }
.footer nav a { display: block; padding: 7px 0; font-size: 14.5px; color: #B9CCC7; transition: .2s; }
.footer nav a:hover { color: #fff; padding-inline-start: 5px; }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; padding: 8px 0; }
.foot-contact .svg { flex: none; margin-top: 5px; color: var(--accent); }
.footer .social { display: flex; gap: 10px; margin-top: 20px; }
.footer .social a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; transition: .22s;
}
.footer .social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-bottom {
  position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.09);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center; font-size: 13.5px;
}
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(22,48,43,.45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: 310px; max-width: 86vw;
  background: #fff; z-index: 95; transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -14px 0 44px rgba(22,48,43,.16);
  /* the site is RTL, so «inset-inline-end» is the left edge — slide out to the left */
  transform: translateX(-105%);
}
html[dir="ltr"] .drawer { transform: translateX(105%); box-shadow: 14px 0 44px rgba(22,48,43,.16); }
.drawer.is-open { transform: translateX(0) !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.drawer-head button { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--bg); display: grid; place-items: center; }
.drawer-nav { padding: 12px 14px; overflow-y: auto; flex: 1; }
.drawer-nav .menu li { border-bottom: 1px solid var(--line-2); }
.drawer-nav .menu li:last-child { border-bottom: 0; }
.drawer-nav a { display: block; padding: 14px 10px; font-size: 15.5px; font-weight: 600; color: var(--text); }
.drawer-nav a:hover { color: var(--brand); }
.drawer-nav .sub-menu { padding-inline-start: 16px; border-top: 1px solid var(--line-2); }
.drawer-nav .sub-menu a { font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 11px 10px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line-2); display: grid; gap: 12px; }
.drawer-foot .social { display: flex; gap: 10px; justify-content: center; }
.drawer-foot .social a { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--brand); display: grid; place-items: center; }

/* floating whatsapp */
.float-wa {
  position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.4); transition: .25s;
}
.float-wa:hover { transform: translateY(-4px) scale(1.05); }
.float-wa .svg { width: 28px; height: 28px; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
/* Hidden only when scripting is available, so content never disappears without JS. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .05s !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Between tablet and desktop the header runs out of room before the menu does. */
@media (max-width: 1180px) {
  .h-phone { display: none !important; }
  .nav-main a { padding: 10px 11px; font-size: 14.5px; }
  .header-main { gap: 12px; }
}

@media (max-width: 1080px) {
  .hero h1 { font-size: 38px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-top > div:nth-child(3) { display: none; }
  .cards-grid, .cards-grid.cols-2, .posts-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-layout .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
}

@media (max-width: 980px) {
  .section { padding: 62px 0; }
  .hide-mobile { display: none !important; }
  .hide-desktop { display: initial; }
  .burger { display: grid; }
  .nav-main { display: none; }
  .header-main { min-height: 68px; }
  .hero { padding: 44px 0 74px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-figure { max-width: 400px; margin-inline: auto; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .float-1 { inset-inline-start: 0; }
  .float-2 { inset-inline-end: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: -34px; }
  .stat:nth-child(odd) + .stat::before { display: block; }
  .stat:nth-child(3)::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-media { max-width: 420px; margin-inline: auto; }
  .about-badge { inset-inline-end: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 42px 30px; text-align: center; }
  .cta-band p { margin-inline: auto; }
  .cta-actions { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .sec-title { font-size: 27px; }
  .page-hero h1 { font-size: 29px; }
  .entry-content { font-size: 16px; }
  .author-box { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; padding: 46px 0 34px; }
  .footer-top > div:nth-child(3) { display: block; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .cards-grid, .cards-grid.cols-2, .posts-grid, .quotes, .creds.cols-2 { grid-template-columns: 1fr; }
  .blog-layout .sidebar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .sec-title { font-size: 24px; }
  .cta-band h2 { font-size: 23px; }
  .cta-band { padding: 34px 22px; }
  .post-nav { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats { padding: 20px 10px; }
  .stat b { font-size: 25px; }
  .float-card { padding: 9px 12px; }
  .float-card b { font-size: 14px; }
  .float-card small { font-size: 11px; }
  .entry-content h2 { font-size: 21px; }
}

/* ---------- Print ---------- */
@media print {
  .header, .topbar, .footer, .drawer, .drawer-backdrop, .float-wa, .cta-band, .comments-area { display: none !important; }
  body { background: #fff; }
}
