@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #142e2d;
  --ink-soft: #314e4c;
  --brand: #0d4f4b;
  --brand-deep: #083b38;
  --brand-light: #dcebe5;
  --sage: #7f9f8e;
  --sage-pale: #eef5f1;
  --rose: #cf7d72;
  --rose-pale: #f8e9e4;
  --gold: #c6a45d;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --muted: #687a78;
  --line: #dbe5e1;
  --danger: #9f3b35;
  --success: #197447;
  --shadow-sm: 0 12px 34px rgba(20, 46, 45, 0.08);
  --shadow-lg: 0 26px 80px rgba(20, 46, 45, 0.13);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  direction: rtl;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:hover { color: var(--rose); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--ink); font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0 0 1.25em; }
ul, ol { padding-right: 1.25rem; }
::selection { color: white; background: var(--brand); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow-content { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 128px) 0; }
.screen-reader-text, .form-honeypot {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed !important; z-index: 99999; top: 14px; right: 14px; width: auto; height: auto;
  padding: 12px 18px; margin: 0; clip: auto; color: white; background: var(--brand); border-radius: 8px;
}
.skip-link { position: absolute; right: -9999px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 750; line-height: 1.3; text-align: center;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: translateY(-2px); }
.button-primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { color: white; background: var(--rose); }
.button-primary:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { color: white; background: #ba6b61; }
.button-secondary { color: white; background: var(--brand); }
.button-secondary:hover { color: white; background: var(--brand-deep); }
.button-outline { color: var(--brand); background: transparent; border-color: var(--brand); }
.button-outline:hover { color: white; background: var(--brand); }
.button-ghost { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.48); backdrop-filter: blur(8px); }
.button-ghost:hover { color: var(--brand); background: white; border-color: white; }
.button-light { color: var(--brand); background: white; }
.button-light:hover { color: var(--brand); background: var(--cream); }
.button-small { min-height: 40px; padding: 0 18px; font-size: .86rem; }
.text-link { font-weight: 750; white-space: nowrap; }
.lead { color: var(--ink-soft); font-size: 1.18rem; line-height: 1.95; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--rose); font-size: .84rem; font-weight: 800; letter-spacing: .02em; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: #cadfd7; }
.section-heading { max-width: 700px; margin-bottom: 50px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: none; }
.heading-row > div { max-width: 720px; }

/* Header */
.site-header { position: relative; z-index: 1000; background: white; box-shadow: 0 1px 0 rgba(13,79,75,.1); }
.header-top { color: #dcebe7; background: var(--brand-deep); font-size: .78rem; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.header-contact, .header-social { display: flex; align-items: center; gap: 20px; }
.header-top a { color: #dcebe7; }
.header-top a:hover { color: white; }
.header-main { display: flex; align-items: center; min-height: 82px; gap: 30px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 11px; color: var(--ink); }
.site-brand:hover { color: var(--ink); }
.brand-mark { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.brand-custom-logo .custom-logo-link { display: block; }
.brand-custom-logo img { width: 54px; max-height: 54px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 1rem; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.primary-navigation { margin-right: auto; }
.site-menu { display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.site-menu > li { position: relative; }
.site-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-soft); font-size: .89rem; font-weight: 650; border-radius: 10px; }
.site-menu a:hover, .site-menu .current-menu-item > a, .site-menu .current_page_item > a { color: var(--brand); background: var(--sage-pale); }
.site-menu .sub-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px; padding: 10px; margin: 0; list-style: none; visibility: hidden; opacity: 0; transform: translateY(8px); background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: .2s ease; }
.site-menu li:hover > .sub-menu, .site-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-account, .header-cart { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; color: var(--ink-soft); font-size: .82rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; }
.cart-count { display: grid; place-items: center; min-width: 20px; height: 20px; margin-right: 6px; padding: 0 5px; color: white; background: var(--rose); border-radius: 999px; font-size: .68rem; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s ease; }

/* Home hero */
.hero-section { position: relative; min-height: min(760px, calc(100vh - 120px)); overflow: hidden; background: var(--brand-deep); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 35%; }
.hero-overlay { background: linear-gradient(90deg, rgba(8,59,56,.12) 0%, rgba(8,59,56,.38) 46%, rgba(8,59,56,.97) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; min-height: min(760px, calc(100vh - 120px)); }
.hero-copy { width: min(690px, 59%); padding: 70px 0; color: white; }
.hero-copy h1 { color: white; font-size: clamp(3rem, 5.4vw, 5.6rem); }
.hero-copy h1 em { color: #f0b3a9; font-style: normal; }
.hero-lead { max-width: 650px; color: #e1ece9; font-size: clamp(1rem, 1.45vw, 1.24rem); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; color: #d9e9e4; font-size: .83rem; }
.hero-points li::before { content: "✓"; margin-left: 7px; color: #f0b3a9; font-weight: 900; }
.trust-strip { background: var(--cream); border-bottom: 1px solid #eee7d9; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { position: relative; display: grid; padding: 27px 32px; border-left: 1px solid #e6dece; }
.trust-grid > div:last-child { border-left: 0; }
.trust-grid span { position: absolute; top: 16px; left: 18px; color: rgba(13,79,75,.11); font-size: 2rem; font-weight: 900; }
.trust-grid strong { font-size: .95rem; }
.trust-grid small { color: var(--muted); font-size: .75rem; }

/* Courses */
.courses-section { background: #fcfdfc; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.course-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 0 rgba(13,79,75,.02); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.course-card:hover { transform: translateY(-6px); border-color: #bbd1c7; box-shadow: var(--shadow-sm); }
.course-visual { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; color: var(--brand); background: linear-gradient(135deg, var(--sage-pale), #e7f0ec); }
.course-card:nth-child(3n+2) .course-visual { color: #9c6259; background: linear-gradient(135deg, var(--rose-pale), #fbf1ed); }
.course-card:nth-child(3n+3) .course-visual { color: #856d3f; background: linear-gradient(135deg, #f7f0df, #fbf8ef); }
.course-visual img { width: 100%; height: 240px; object-fit: cover; }
.course-symbol { position: relative; display: grid; place-items: center; width: 126px; height: 126px; color: currentColor; background: rgba(255,255,255,.7); border: 1px solid rgba(13,79,75,.12); border-radius: 50%; font-size: 1rem; font-weight: 850; box-shadow: 0 14px 34px rgba(20,46,45,.08); }
.course-symbol::before, .course-symbol::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .22; }
.course-symbol::before { inset: -12px; }
.course-symbol::after { inset: 14px; border-style: dashed; }
.course-type { position: absolute; top: 16px; right: 16px; padding: 5px 11px; color: var(--ink-soft); background: rgba(255,255,255,.88); border-radius: 999px; font-size: .68rem; font-weight: 750; backdrop-filter: blur(8px); }
.course-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.course-body h2, .course-body h3 { min-height: 3em; margin-bottom: 12px; font-size: 1.13rem; }
.course-body h2 a, .course-body h3 a { color: var(--ink); }
.course-body p { color: var(--muted); font-size: .86rem; line-height: 1.9; }
.course-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--line); }
.course-meta > span { color: var(--ink); font-size: .85rem; font-weight: 780; }
.course-meta a { font-size: .8rem; font-weight: 750; }

/* About and services */
.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(50px, 8vw, 100px); }
.about-visual { position: relative; }
.about-visual::before { content: ""; position: absolute; z-index: 0; inset: -22px 34px 34px -22px; border: 1px solid #c9dbd2; border-radius: var(--radius-lg); }
.about-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; z-index: 2; right: -30px; bottom: 38px; display: grid; padding: 16px 22px; color: white; background: var(--brand); border-radius: 16px; box-shadow: var(--shadow-sm); }
.about-badge strong { font-size: .9rem; }
.about-badge span { color: #cee0da; font-size: .72rem; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.check-list { display: grid; gap: 10px; padding: 0; margin: 26px 0 32px; list-style: none; }
.check-list li { position: relative; padding-right: 30px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; right: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; color: white; background: var(--sage); border-radius: 50%; font-size: .68rem; font-weight: 900; }
.services-section { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-grid article { position: relative; min-height: 330px; padding: 42px 34px; overflow: hidden; background: var(--sage-pale); border-radius: var(--radius); }
.service-grid article:nth-child(2) { background: var(--rose-pale); }
.service-grid article:nth-child(3) { background: #f6efdf; }
.service-number { color: var(--brand); font-family: Georgia, serif; font-size: 2.8rem; opacity: .22; }
.service-grid h3 { margin-top: 52px; }
.service-grid p { color: var(--muted); font-size: .9rem; }
.service-grid a { position: absolute; right: 34px; bottom: 30px; font-size: .83rem; font-weight: 750; }

/* Tests */
.tests-section { color: white; background: var(--brand-deep); }
.tests-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 100px); }
.tests-intro h2 { color: white; }
.tests-intro > p:not(.eyebrow) { color: #c8dbd5; }
.test-list { display: grid; border-top: 1px solid rgba(255,255,255,.16); }
.test-list > a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; min-height: 104px; color: white; border-bottom: 1px solid rgba(255,255,255,.16); }
.test-list > a:hover { padding-right: 12px; color: #f4b5aa; }
.test-list > a > span { color: #7ba399; font-family: Georgia, serif; font-size: 1.35rem; }
.test-list strong, .test-list small { display: block; }
.test-list strong { font-size: 1rem; }
.test-list small { margin-top: 4px; color: #a9c1bb; font-size: .75rem; }
.test-list b { font-size: 1.35rem; }

/* Steps, blog, FAQ, CTA */
.steps-section { background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; counter-reset: steps; }
.steps-grid article { position: relative; padding-top: 74px; text-align: center; }
.steps-grid article:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: -38%; width: 76%; border-top: 1px dashed #acc4ba; }
.steps-grid span { position: absolute; z-index: 1; top: 0; right: 50%; display: grid; place-items: center; width: 64px; height: 64px; color: white; background: var(--brand); border: 7px solid var(--cream); border-radius: 50%; transform: translateX(50%); font-weight: 800; box-shadow: 0 0 0 1px #b8cec5; }
.steps-grid p { color: var(--muted); font-size: .9rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.post-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.post-card-image { display: block; height: 230px; overflow: hidden; background: var(--sage-pale); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand); font-weight: 800; background: radial-gradient(circle at 25% 20%, white 0 7%, transparent 8%), linear-gradient(135deg, var(--sage-pale), #d8e9e1); }
.post-card-body { padding: 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--rose); font-size: .7rem; }
.post-card h3 { margin-top: 12px; font-size: 1.1rem; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: .83rem; }
.post-card .text-link { font-size: .78rem; }
.faq-section { background: var(--sage-pale); }
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 100px); }
.faq-layout > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 24px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.faq-list summary { position: relative; padding: 20px 0 20px 42px; cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; left: 0; top: 17px; display: grid; place-items: center; width: 30px; height: 30px; color: var(--brand); background: var(--sage-pale); border-radius: 50%; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-left: 40px; color: var(--muted); font-size: .88rem; }
.cta-section { padding-top: 0; }
.cta-box { position: relative; min-height: 500px; overflow: hidden; border-radius: var(--radius-lg); }
.cta-box > img, .cta-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-box > img { object-fit: cover; object-position: center 35%; }
.cta-shade { background: linear-gradient(90deg, rgba(8,59,56,.1), rgba(8,59,56,.95) 72%); }
.cta-content { position: relative; z-index: 2; width: min(620px, 62%); padding: 78px 70px; color: white; }
.cta-content h2 { color: white; }
.cta-content > p:not(.eyebrow) { color: #d6e5e1; }
.cta-content > div { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.cta-phone { color: white; font-size: 1.15rem; font-weight: 800; direction: ltr; }
.cta-phone:hover { color: #f3b6ac; }

/* Generic pages */
.page-hero { padding: clamp(70px, 9vw, 120px) 0; color: white; background: linear-gradient(120deg, var(--brand-deep), var(--brand)); }
.page-hero h1 { color: white; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.page-hero p:not(.eyebrow) { max-width: 720px; color: #cfe0db; font-size: 1.08rem; }
.page-hero-compact { padding: 62px 0; }
.page-hero-compact h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.entry-content { padding-block: 70px; color: var(--ink-soft); font-size: 1.04rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { margin-top: 1.7em; color: var(--ink); }
.entry-content a { text-decoration: underline; text-decoration-color: #a8c1b7; text-underline-offset: 4px; }
.entry-content blockquote { padding: 22px 28px; margin: 32px 0; color: var(--ink); background: var(--sage-pale); border-right: 4px solid var(--sage); border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); }
.entry-content iframe { max-width: 100%; }
.archive-main { padding-bottom: 100px; }
.post-grid-archive { padding-top: 70px; }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; justify-content: center; gap: 6px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 10px; }
.page-numbers.current, .page-numbers:hover { color: white; background: var(--brand); border-color: var(--brand); }
.single-header { padding: 80px 0 140px; color: white; background: var(--brand-deep); }
.single-header-inner { width: min(calc(100% - 40px), 900px); }
.single-header h1 { max-width: 850px; margin-top: 18px; color: white; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.single-header p { max-width: 750px; color: #c6dad4; }
.single-cover { margin-top: -85px; }
.single-cover img { width: 100%; max-height: 560px; object-fit: cover; border: 8px solid white; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.post-navigation-wrap { padding: 30px 0; margin-top: 30px; border-top: 1px solid var(--line); }
.post-navigation-wrap .nav-links { display: grid; grid-template-columns: 1fr 1fr; justify-content: normal; }
.post-navigation-wrap a { color: var(--muted); font-size: .76rem; }
.post-navigation-wrap strong { color: var(--ink); font-size: .9rem; }
.comments-area { padding: 50px 0; border-top: 1px solid var(--line); }
.comment-list { padding: 0; list-style: none; }
.comment-body { padding: 22px; margin: 12px 0; background: var(--sage-pale); border-radius: 14px; }
.comment-form input:not([type=submit]), .comment-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; }
.search-form { display: flex; max-width: 560px; gap: 8px; }
.search-form label { flex: 1; }
.search-form input { width: 100%; height: 48px; padding: 0 16px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.search-form button { padding: 0 22px; color: white; background: var(--rose); border: 0; border-radius: 10px; font-weight: 750; }
.error-page { display: grid; place-items: center; min-height: 70vh; padding: 90px 0; text-align: center; background: var(--cream); }
.error-code { color: var(--brand-light); font-size: clamp(7rem, 20vw, 14rem); font-weight: 900; line-height: 1; }
.error-page .search-form { margin: 28px auto; }
.empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; background: var(--sage-pale); border-radius: var(--radius); }

/* About page */
.inner-hero { padding: 90px 0; background: var(--cream); }
.inner-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(50px, 8vw, 100px); }
.inner-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.inner-hero p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.inner-hero img { width: 100%; aspect-ratio: 1 / .96; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.two-column-story { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 100px); }
.two-column-story > div:last-child p { color: var(--muted); }
.values-section { background: var(--sage-pale); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.values-grid article { padding: 38px 30px; background: white; border-radius: var(--radius); }
.values-grid span { color: var(--rose); font-family: Georgia, serif; font-size: 2.4rem; }
.values-grid p { color: var(--muted); font-size: .9rem; }
.about-focus-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 8vw, 100px); }
.about-focus-grid > img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; object-position: 38% center; border-radius: var(--radius-lg); }
.focus-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.focus-list li { display: grid; padding: 18px 22px; background: var(--cream); border-radius: 14px; }
.focus-list span { color: var(--muted); font-size: .82rem; }
.simple-cta { color: white; background: var(--brand); }
.simple-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.simple-cta h2 { max-width: 720px; color: white; }

/* Contact, counseling and forms */
.consultation-section, .contact-form-section { background: var(--sage-pale); }
.consultation-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 34px; }
.consultation-form-wrap { padding: clamp(26px, 5vw, 50px); background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.consultation-form-wrap .section-heading { margin-bottom: 28px; }
.consultation-form { display: grid; gap: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.consultation-form label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.consultation-form input:not([type=checkbox]), .consultation-form textarea, .consultation-form select { width: 100%; padding: 12px 14px; color: var(--ink); background: #fbfcfb; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.consultation-form input:not([type=checkbox]) { height: 49px; }
.consultation-form input:focus, .consultation-form textarea:focus, .consultation-form select:focus { background: white; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(127,159,142,.17); }
.form-consent label { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-weight: 500; }
.form-consent input { margin-top: 8px; accent-color: var(--brand); }
.form-notice { padding: 14px 16px; margin-bottom: 18px; border-radius: 10px; font-size: .86rem; }
.form-notice.is-success { color: #0d5935; background: #e4f4eb; }
.form-notice.is-error { color: #84352f; background: #f9e8e6; }
.consultation-aside { display: grid; gap: 18px; }
.contact-card, .privacy-card { padding: 30px; color: white; background: var(--brand); border-radius: var(--radius); }
.contact-card h2 { color: white; font-size: 1.5rem; }
.contact-card > p, .privacy-card p { color: #cbded8; font-size: .84rem; }
.contact-line { display: grid; padding: 16px 0; color: white; border-top: 1px solid rgba(255,255,255,.16); }
.contact-line:hover { color: #f1b4aa; }
.contact-line span { color: #a8c4bc; font-size: .7rem; }
.contact-line strong { font-size: .9rem; direction: ltr; text-align: right; }
.privacy-card { color: var(--ink); background: var(--rose-pale); }
.privacy-card p { color: var(--muted); }
.emergency-note { padding: 36px 0; background: var(--cream); }
.emergency-note .container { display: grid; grid-template-columns: 180px 1fr; align-items: center; }
.emergency-note p { margin: 0; color: var(--muted); font-size: .86rem; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-info-grid article { padding: 30px; background: var(--cream); border-radius: var(--radius); }
.contact-info-grid span { color: var(--rose); font-size: .78rem; font-weight: 800; }
.contact-info-grid h2 { margin-top: 16px; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-info-grid p { color: var(--muted); font-size: .78rem; }
.contact-social-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.contact-social-list a { padding: 8px 14px; color: var(--brand); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; }

/* Tests page */
.tests-page-hero { padding: 100px 0; color: white; background: var(--brand-deep); }
.tests-page-hero .container { max-width: 880px; text-align: center; }
.tests-page-hero .eyebrow { justify-content: center; }
.tests-page-hero h1 { color: white; }
.tests-page-hero p:not(.eyebrow) { color: #c8dbd5; font-size: 1.08rem; }
.tests-catalog { display: grid; gap: 18px; }
.test-card { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 26px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.test-number { color: #c2d7cd; font-family: Georgia, serif; font-size: 3.1rem; }
.test-card h2 { font-size: 1.35rem; }
.test-card p { margin-bottom: 8px; color: var(--muted); font-size: .86rem; }
.test-card .test-meta { color: var(--rose); font-size: .7rem; font-weight: 750; }
.test-card details { margin-top: 8px; }
.test-card summary { color: var(--brand); cursor: pointer; font-size: .78rem; font-weight: 750; }
.test-card details p { padding: 12px; background: var(--sage-pale); border-radius: 8px; }
.test-disclaimer { padding-top: 0; }
.test-disclaimer .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; background: var(--rose-pale); border-radius: var(--radius); }
.test-disclaimer h2 { font-size: 1.6rem; }
.test-disclaimer p { max-width: 720px; margin: 0; color: var(--muted); font-size: .86rem; }

/* WooCommerce */
.shop-main { min-height: 65vh; padding: 80px 0 110px; background: #fbfcfb; }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: .78rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--brand); }
.woocommerce-products-header__title.page-title { margin: 32px 0 40px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto; margin: 0; padding: 0 0 24px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.woocommerce ul.products li.product a img { aspect-ratio: 1.22 / 1; margin: 0; object-fit: cover; background: var(--sage-pale); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 22px 24px 8px; color: var(--ink); font-size: 1.05rem; }
.woocommerce ul.products li.product .price { padding: 0 24px; color: var(--brand); font-size: .9rem; font-weight: 800; }
.woocommerce ul.products li.product .button { min-height: 42px; margin: 10px 24px 0; padding: 0 18px; color: white; background: var(--brand); font-size: .78rem; }
.woocommerce span.onsale { top: 12px; right: 12px; left: auto; min-width: auto; min-height: auto; padding: 6px 11px; line-height: 1.3; background: var(--rose); border-radius: 999px; }
.woocommerce div.product { padding-top: 20px; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand); font-size: 1.35rem; font-weight: 850; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce div.product form.cart { display: flex; gap: 8px; margin-top: 25px; }
.woocommerce .quantity .qty { min-height: 52px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--line); background: var(--sage-pale); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--brand); background: var(--sage-pale); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand); }
.woocommerce table.shop_table { overflow: hidden; border-color: var(--line); border-radius: 14px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 28px; }
.woocommerce-checkout #payment { background: var(--sage-pale); border-radius: 14px; }
.woocommerce-MyAccount-navigation ul { padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { color: #c8dad5; background: #092f2d; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr 1fr; gap: 55px; padding-top: 75px; padding-bottom: 65px; }
.footer-logo { color: white; }
.footer-logo:hover { color: white; }
.footer-logo .brand-copy small { color: #a9c0ba; }
.footer-brand > p { max-width: 340px; margin-top: 22px; color: #a9c0ba; font-size: .83rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a { padding: 6px 10px; color: #c8dad5; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .7rem; }
.footer-social a:hover { color: white; border-color: rgba(255,255,255,.35); }
.site-footer h2 { color: white; font-size: .95rem; }
.footer-links { padding: 0; margin: 17px 0 0; list-style: none; }
.footer-links a { display: block; padding: 5px 0; color: #a9c0ba; font-size: .78rem; }
.footer-links a:hover { color: white; padding-right: 3px; }
.footer-contact p { display: grid; margin-bottom: 14px; }
.footer-contact strong { color: #6f9890; font-size: .67rem; }
.footer-contact a, .footer-contact span { color: #c8dad5; font-size: .78rem; overflow-wrap: anywhere; }
.footer-note { padding: 19px 0; background: rgba(255,255,255,.035); border-top: 1px solid rgba(255,255,255,.08); }
.footer-note p { margin: 0; color: #91aaa4; font-size: .7rem; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; }
.footer-bottom p { margin: 0; color: #78958e; font-size: .67rem; }
.site-footer .site-menu { display: block; }
.site-footer .site-menu a { min-height: auto; padding: 5px 0; color: #a9c0ba; font-size: .78rem; }

/* Responsive */
@media (max-width: 1080px) {
  .header-actions { display: none; }
  .site-menu a { padding-inline: 9px; font-size: .82rem; }
  .course-grid, .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 20px; }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .header-top { display: none; }
  .header-main { min-height: 72px; }
  .menu-toggle { display: block; margin-right: auto; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-navigation { position: fixed; z-index: 999; inset: 72px 0 0; padding: 24px 20px; visibility: hidden; opacity: 0; overflow: auto; background: white; transform: translateY(-12px); transition: .2s ease; }
  .primary-navigation.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-menu { display: grid; align-items: stretch; }
  .site-menu a { min-height: 52px; padding: 0 16px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-menu .sub-menu { position: static; display: block; visibility: visible; min-width: 0; padding: 0 18px; opacity: 1; transform: none; border: 0; box-shadow: none; }
  .hero-section, .hero-content { min-height: 690px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8,59,56,.45), rgba(8,59,56,.94)); }
  .hero-copy { width: min(700px, 88%); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid > div:nth-child(2) { border-left: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid #e6dece; }
  .about-grid, .tests-layout, .faq-layout, .inner-hero-grid, .two-column-story, .about-focus-grid, .consultation-layout { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; margin-inline: auto; }
  .about-copy { max-width: 700px; }
  .service-grid, .steps-grid, .values-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 260px; }
  .steps-grid { gap: 18px; }
  .steps-grid article { padding: 20px 90px 20px 0; text-align: right; }
  .steps-grid article:not(:last-child)::after { top: 64px; right: 31px; left: auto; width: 1px; height: calc(100% - 46px); border-top: 0; border-right: 1px dashed #acc4ba; }
  .steps-grid span { top: 14px; right: 0; transform: none; }
  .cta-content { width: 82%; padding: 70px 50px; }
  .cta-shade { background: rgba(8,59,56,.82); }
  .test-card { grid-template-columns: 70px 1fr; }
  .test-card .button { grid-column: 2; justify-self: start; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { display: block; }
}

@media (max-width: 620px) {
  .container, .narrow-content { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .brand-copy strong { font-size: .9rem; }
  .brand-mark, .brand-custom-logo img { width: 48px; height: 48px; }
  .hero-section, .hero-content { min-height: 720px; }
  .hero-image { object-position: 44% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(8,59,56,.97) 5%, rgba(8,59,56,.78) 72%, rgba(8,59,56,.42)); }
  .hero-content { align-items: end; }
  .hero-copy { width: 100%; padding: 70px 0 54px; }
  .hero-copy h1 { font-size: 2.85rem; }
  .hero-actions .button { flex: 1; min-width: 145px; padding-inline: 16px; }
  .hero-points { display: grid; gap: 5px; }
  .trust-grid > div { padding: 23px 16px; }
  .trust-grid span { left: 8px; }
  .heading-row { display: block; }
  .heading-row .text-link { display: inline-block; margin-top: 10px; }
  .course-grid, .post-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .course-visual { min-height: 200px; }
  .about-visual::before { inset: -12px 20px 24px -8px; }
  .about-badge { right: 8px; bottom: 18px; }
  .tests-layout { gap: 40px; }
  .test-list > a { min-height: 94px; }
  .steps-grid article { padding-right: 78px; }
  .faq-list details { padding-inline: 17px; }
  .cta-box { min-height: 530px; }
  .cta-content { width: 100%; padding: 54px 26px; }
  .inner-hero { padding: 70px 0; }
  .inner-hero-grid { gap: 40px; }
  .inner-hero h1 { font-size: 2.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .emergency-note .container { grid-template-columns: 1fr; }
  .test-card { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .test-card .button { grid-column: auto; justify-self: stretch; }
  .test-number { font-size: 2.2rem; }
  .test-disclaimer .container, .simple-cta .container { display: grid; padding: 28px; }
  .post-navigation-wrap .nav-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container { display: grid; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .cta-section, .comments-area { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
