/**
 * Maryam Aria — main stylesheet (RTL-first).
 *
 * Sections: 1) Fonts  2) Tokens  3) Base  4) Layout  5) Buttons  6) Header
 * 7) Hero  8) Home sections  9) Blog  10) Widgets  11) Footer  12) Utilities
 * 13) Responsive
 */

/* ============================ 1) FONTS ============================ */
@font-face {
	font-family: "Shabnam";
	src: url("../fonts/Shabnam-Thin.woff2") format("woff2");
	font-weight: 100 300;
	font-display: swap;
}
@font-face {
	font-family: "Shabnam";
	src: url("../fonts/Shabnam.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Shabnam";
	src: url("../fonts/Shabnam-Medium.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Shabnam";
	src: url("../fonts/Shabnam-Bold.woff2") format("woff2");
	font-weight: 700 900;
	font-display: swap;
}

/* Vazirmatn — display/heading font (editorial contrast against Shabnam body). */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* ============================ 2) TOKENS =========================== */
:root {
	/* Palette derived from the logo: soft seafoam green + light coral.
	   Deep sage/pine for text & dark sections keeps the same hue family. */
	--c-primary: #2c6657;   /* deep sage/pine — headings, dark sections, footer */
	--c-primary-2: #357a68;
	--c-primary-3: #3f8d77;
	--c-accent: #f9b19f;    /* logo coral (soft) */
	--c-accent-2: #f3917a;  /* coral, mid */
	--c-accent-3: #e76f53;  /* deep coral — emphasis & CTA hover */
	--c-sage: #a7dbc7;      /* logo seafoam — soft fills, badges */
	--c-sage-2: #7ec4aa;    /* mid sage — decorative hairlines, rings */
	--c-sage-soft: #d8eee6; /* very light sage tint — pills, soft panels */
	--c-cream: #fbf7f4;
	--c-cream-2: #f3ece8;
	--c-surface: #ffffff;
	--c-ink: #293a35;       /* warm dark green-gray — body text */
	--c-muted: #6e7d77;
	--c-line: #e9e2dd;
	--c-link: #2c7a66;      /* sage link; coral on hover */

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--radius-pill: 999px;

	--shadow-sm: 0 6px 18px rgba(40, 80, 70, 0.07);
	--shadow: 0 18px 44px rgba(40, 80, 70, 0.11);
	--shadow-lg: 0 30px 70px rgba(40, 80, 70, 0.17);

	--container: 1200px;
	--gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
	--section-y: clamp(3.5rem, 2rem + 5vw, 6.5rem);

	--ff: "Shabnam", Tahoma, Arial, sans-serif;
	--ff-display: "Vazirmatn", "Shabnam", Tahoma, sans-serif;
}

/* ============================ 3) BASE ============================= */
*,
*::before,
*::after { box-sizing: border-box; }

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

/* No element may push the page wider than the viewport (kills horizontal
   drag / "stuck scroll" on phones). `clip` keeps the sticky header working. */
html, body { overflow-x: clip; max-width: 100%; }

/* Lenis smooth-scroll engine hooks (active only when JS adds .lenis). */
.lenis, .lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
	margin: 0;
	font-family: var(--ff);
	font-size: 1.05rem;
	line-height: 1.95;
	color: var(--c-ink);
	background: var(--c-cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
	font-family: var(--ff-display);
	color: var(--c-primary);
	line-height: 1.5;
	margin: 0 0 0.6em;
	font-weight: 800;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.8rem); }
h3 { font-size: 1.4rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

a { color: var(--c-link); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--c-accent-3); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-inline-start: 1.4em; }

:focus-visible { outline: 3px solid var(--c-accent-2); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--c-accent); color: var(--c-primary); }

/* ============================ 4) LAYOUT =========================== */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--c-cream); }
.section--white { background: var(--c-surface); }
.section--primary { background: var(--c-primary); color: #eaf3ef; }
.section--primary h2, .section--primary h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .eyebrow {
	display: inline-flex; align-items: center; gap: 0.4rem;
	color: var(--c-accent-3); font-weight: 700; font-size: 0.95rem;
	background: var(--c-cream-2); padding: 0.35rem 1rem; border-radius: var(--radius-pill);
	margin-bottom: 1rem;
}
.section--primary .eyebrow { background: rgba(255,255,255,0.12); color: var(--c-accent); }
.section-head p { color: var(--c-muted); margin: 0; }

.grid { display: grid; gap: var(--gap); }

/* ============================ 5) BUTTONS ========================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--ff); font-weight: 700; font-size: 1rem;
	padding: 0.85rem 1.8rem; border: 0; border-radius: var(--radius-pill);
	cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	line-height: 1.4; text-align: center;
}
.btn--accent { background: var(--c-accent); color: var(--c-primary); box-shadow: 0 10px 24px rgba(243, 145, 122, 0.4); }
.btn--accent:hover { background: var(--c-accent-2); color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(243, 145, 122, 0.5); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-2); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--c-primary); border: 2px solid var(--c-line); }
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent-3); }
.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ============================ 6) HEADER =========================== */
.topbar { background: var(--c-primary); color: #cfe3da; font-size: 0.9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 1rem; }
.topbar__contact { display: flex; align-items: center; gap: 1.6rem; }
.topbar__hours { display: inline-flex; align-items: center; gap: 0.4rem; color: #9fc4b6; }
.topbar .phone-link, .topbar .social-link { color: #eaf3ef; }
.topbar .phone-link:hover { color: var(--c-accent); }
.phone-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; direction: ltr; }
.topbar__social { display: flex; gap: 0.4rem; }
.social-link { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--c-primary); background: var(--c-cream-2); transition: transform 0.2s, background 0.2s, color 0.2s; }
.social-link:hover { transform: translateY(-2px); background: var(--c-accent); color: var(--c-primary); }
.topbar .social-link { background: rgba(255,255,255,0.1); color: #eaf3ef; }
.topbar .social-link:hover { background: var(--c-accent); color: var(--c-primary); }

.header-main { background: var(--c-surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.header-main__inner { display: flex; align-items: center; gap: 1.4rem; min-height: 84px; }
.site-branding { flex-shrink: 0; }
.custom-logo, .site-branding img { max-height: 60px; width: auto; }
.site-title { font-size: 1.4rem; font-weight: 700; color: var(--c-primary); }

.primary-nav { margin-inline-start: auto; }
.primary-menu { display: flex; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.primary-menu a { display: block; padding: 0.6rem 0.9rem; color: var(--c-ink); font-weight: 500; border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; }
.primary-menu > li > a:hover, .primary-menu .current-menu-item > a { color: var(--c-accent-3); background: var(--c-cream); }
.primary-menu li { position: relative; }
.primary-menu .sub-menu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 210px; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: 0.5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s ease; z-index: 60; }
.primary-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a { padding: 0.5rem 0.8rem; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--c-cream); color: var(--c-primary); border-radius: 50%; cursor: pointer; transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--c-accent); color: var(--c-primary); }
.js-nav-toggle { display: none; }

.header-search { border-top: 1px solid var(--c-line); padding-block: 1rem; }
.header-search .search-form { display: flex; gap: 0.6rem; }
.search-form { position: relative; }
.search-form input[type="search"] { flex: 1; }

/* ============================ 7) HERO ============================= */
.hero { position: relative; background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-2) 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 5rem); }
.hero__content .eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--c-accent-3); font-weight: 700; background: #fff; padding: 0.4rem 1.1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); margin-bottom: 1.3rem; }
.hero__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); line-height: 1.45; margin-bottom: 1rem; }
.hero__title em { color: var(--c-accent-3); font-style: normal; }
.hero__sub { font-size: 1.2rem; color: var(--c-primary-2); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero__stats { display: flex; gap: 2.5rem; margin-top: 2.6rem; }
.hero__stat b { display: block; font-size: 2rem; color: var(--c-primary); line-height: 1.2; }
.hero__stat span { color: var(--c-muted); font-size: 0.95rem; }

.hero__media { position: relative; }
.hero__media-img { border-radius: 48% 48% 46% 46% / 40% 40% 60% 60%; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; position: relative; z-index: 2; }
.hero__blob { position: absolute; inset: -8% -6% auto auto; width: 78%; aspect-ratio: 1; background: var(--c-accent); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; z-index: 1; opacity: 0.65; filter: blur(2px); }
.hero__badge { position: absolute; z-index: 3; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 0.9rem 1.2rem; display: flex; align-items: center; gap: 0.7rem; inset-block-end: 8%; inset-inline-start: -4%; }
.hero__badge .icon { color: var(--c-accent-3); }
.hero__badge b { color: var(--c-primary); display: block; }
.hero__badge span { color: var(--c-muted); font-size: 0.85rem; }

/* ============================ 8) HOME SECTIONS ==================== */
/* About */
.about__grid { grid-template-columns: 1fr 1fr; align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 1; object-fit: cover; width: 100%; }
.about__media img:first-child { grid-row: span 2; aspect-ratio: 3/4; }
.about__lead { font-size: 1.15rem; color: var(--c-primary-2); }
.stat-pills { display: flex; gap: 1.2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.stat-pill { display: flex; align-items: center; gap: 0.8rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 0.9rem 1.3rem; box-shadow: var(--shadow-sm); }
.stat-pill .icon { color: var(--c-accent-3); }
.stat-pill b { font-size: 1.5rem; color: var(--c-primary); display: block; line-height: 1.1; }
.stat-pill span { color: var(--c-muted); font-size: 0.9rem; }

/* Services */
.services__grid { grid-template-columns: repeat(2, 1fr); }
.service-card { background: var(--c-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.service-card__title { margin-bottom: 0.8rem; }
.service-card__list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.5rem; }
.service-card__list li { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--c-muted); }
.service-card__list .icon { color: var(--c-accent-3); flex-shrink: 0; margin-top: 0.35rem; }
.service-card__footer { margin-top: auto; }

/* Testimonials */
.testimonials__grid { grid-template-columns: repeat(3, 1fr); }
.testimonial { background: var(--c-surface); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; }
.testimonial__stars { color: var(--c-accent-2); display: flex; gap: 0.15rem; margin-bottom: 0.8rem; }
.testimonial__text { color: var(--c-ink); font-size: 1.05rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--c-cream-2); }
.testimonial__name { font-weight: 700; color: var(--c-primary); }

/* Gallery */
.gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.08); }

/* Pricing */
.pricing__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--c-line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .price { font-weight: 700; color: var(--c-accent-3); white-space: nowrap; }
.pricing__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* CTA banner */
.cta-banner { border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--c-primary), var(--c-primary-3)); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 2rem; box-shadow: var(--shadow); }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #cfe3da; margin: 0; }
.cta-banner__actions { display: flex; flex-direction: column; gap: 0.9rem; }

/* ============================ 9) BLOG ============================= */
.page-hero { background: var(--c-primary); color: #eaf3ef; padding-block: clamp(2.25rem, 4vw, 3.75rem); }
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; }
.page-hero p { color: #cfe3da; margin: 0.4rem 0 0; max-width: 66ch; }

/* Breadcrumbs — covers both the theme markup (.breadcrumbs) and the
   Rank Math SEO output (.rank-math-breadcrumb) so styling always lands. */
.breadcrumbs, .rank-math-breadcrumb { font-size: 0.88rem; color: var(--c-muted); margin-bottom: 0.9rem; }
.rank-math-breadcrumb p { margin: 0; }
.breadcrumbs a, .rank-math-breadcrumb a { color: var(--c-accent-3); }
.breadcrumbs a:hover, .rank-math-breadcrumb a:hover { color: var(--c-accent-2); }
.breadcrumbs .sep, .rank-math-breadcrumb .separator { margin-inline: 0.35rem; opacity: 0.55; }

/* On the dark page-hero the crumb must read light (was invisible before). */
.page-hero .breadcrumbs, .page-hero .rank-math-breadcrumb { color: rgba(234, 243, 239, 0.72); }
.page-hero .breadcrumbs a, .page-hero .rank-math-breadcrumb a { color: #fff; opacity: 0.92; }
.page-hero .breadcrumbs a:hover, .page-hero .rank-math-breadcrumb a:hover { color: var(--c-accent); opacity: 1; }
.page-hero .breadcrumbs .sep, .page-hero .rank-math-breadcrumb .separator { color: rgba(255, 255, 255, 0.5); opacity: 1; }

.content-area { display: grid; grid-template-columns: 1fr 320px; gap: clamp(1.5rem, 3vw, 3rem); }
.has-sidebar-none .content-area { grid-template-columns: 1fr; }

.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.post-card { background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--c-cream-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: 1.2rem; margin-bottom: 0.6rem; }
.post-card__title a { color: var(--c-primary); }
.post-card__title a:hover { color: var(--c-accent-3); }
.post-card__excerpt { color: var(--c-muted); font-size: 0.97rem; margin-bottom: 1rem; }
.post-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.read-more { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--c-accent-3); font-weight: 700; }
.read-more:hover .icon { transform: translateX(-4px); }
.read-more .icon { transition: transform 0.2s; }

.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--c-muted); font-size: 0.88rem; }
.entry-meta__item { display: inline-flex; align-items: center; gap: 0.35rem; }
.entry-meta a { color: var(--c-muted); }
.entry-meta a:hover { color: var(--c-accent-3); }

/* Single post */
.single-post { background: var(--c-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.single-post__thumb img { width: 100%; max-height: 460px; object-fit: cover; }
.single-post__body { padding: clamp(1.5rem, 4vw, 3rem); }
.single-post__title { margin-bottom: 1rem; }
.entry-content { line-height: 2.1; overflow-wrap: break-word; word-break: break-word; }
/* Nothing inside the article may exceed its column (prevents the page from
   becoming horizontally scrollable / "unscrollable" on phones). */
.entry-content > * { max-width: 100%; }
.entry-content img, .entry-content figure, .entry-content video,
.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100%; height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content .alignfull, .entry-content .alignwide { max-width: 100%; margin-inline: 0; }
.entry-content .alignleft, .entry-content .alignright, .entry-content .aligncenter { max-width: 100%; }
.entry-content pre { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.entry-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content img { border-radius: var(--radius-sm); margin-block: 1.5em; }
.entry-content blockquote { border-inline-start: 4px solid var(--c-accent); background: var(--c-cream); margin: 1.5em 0; padding: 1rem 1.4rem; border-radius: var(--radius-sm); }
.entry-content a { color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--c-accent-3); }
.tags-links { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.tags-links a { background: var(--c-cream); color: var(--c-primary-2); padding: 0.3rem 0.9rem; border-radius: var(--radius-pill); font-size: 0.88rem; }
.tags-links a:hover { background: var(--c-accent); color: var(--c-primary); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav a { display: block; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: var(--shadow-sm); }
.post-nav a:hover { border-color: var(--c-accent); }
.post-nav small { color: var(--c-muted); }
.post-nav b { display: block; color: var(--c-primary); }

/* ===================== 9b) SERVICE & ABOUT PAGES ================== */
.service-single { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.service-single__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; }
.service-single__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-single__aside { position: sticky; top: 100px; display: grid; gap: 1.4rem; }
.service-card-box, .service-cta-box { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.service-card-box__title { font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.service-card-box__title .icon { color: var(--c-accent-3); }
.service-cta-box { background: linear-gradient(150deg, var(--c-primary), var(--c-primary-3)); color: #fff; }
.service-cta-box h2 { color: #fff; font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-cta-box p { color: #cfe3da; font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-cta-box .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); margin-top: 0.7rem; }
.service-cta-box .btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Why-choose-us value cards (About page) */
.values__grid { grid-template-columns: repeat(4, 1fr); }
.value-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-sage-soft); color: var(--c-primary); margin-bottom: 1.1rem; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--c-muted); font-size: 0.95rem; margin: 0; }

/* ---- Product showcase (anti-UV gloves) ---- */
.product-hero, .product-science { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.product-hero__media img, .product-science__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.product-hero__lead { font-size: 1.12rem; color: var(--c-primary-2); }
.product-points { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: 0.6rem; }
.product-points li { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--c-ink); }
.product-points .icon { color: var(--c-accent-3); flex-shrink: 0; margin-top: 0.3rem; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.product-science__note { font-size: 0.88rem; color: var(--c-muted); border-inline-start: 3px solid var(--c-sage-2); padding-inline-start: 0.9rem; }

/* Scientist quotes (on the dark primary section) */
.quotes__grid { grid-template-columns: repeat(3, 1fr); }
.quote-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(4px); }
.quote-card blockquote { margin: 0 0 1.2rem; font-size: 1.05rem; line-height: 2; color: #fff; position: relative; padding-top: 1.6rem; }
.quote-card blockquote::before { content: "“"; position: absolute; inset-block-start: -0.4rem; inset-inline-start: 0; font-family: Georgia, serif; font-size: 3.2rem; line-height: 1; color: var(--c-accent); }
.quote-card figcaption b { display: block; color: #fff; }
.quote-card figcaption span { color: #cfe3da; font-size: 0.85rem; }

/* Products landing grid */
.products-grid { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; max-width: 420px; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--c-cream-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge { position: absolute; inset-block-start: 0.9rem; inset-inline-start: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(255,255,255,0.92); color: var(--c-primary); font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.product-card__badge .icon { color: var(--c-accent-3); }
.product-card__body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; gap: 0.7rem; }
.product-card__title { font-size: 1.3rem; margin: 0; }
.product-card__title a { color: var(--c-primary); }
.product-card__title a:hover { color: var(--c-accent-3); }
.product-card__excerpt { color: var(--c-muted); font-size: 0.97rem; margin: 0; }
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* ---- Sidebar promo banners (single posts) ---- */
.promo-stack { display: grid; gap: 1.4rem; margin-bottom: 1.6rem; }
.promo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.promo--services { background: var(--c-surface); border: 1px solid var(--c-line); padding: 1.5rem; }
.promo__title { font-size: 1.1rem; display: flex; align-items: center; gap: 0.45rem; margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--c-cream-2); }
.promo__title .icon { color: var(--c-accent-3); }
.promo__links { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.2rem; }
.promo__links a { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.4rem; color: var(--c-ink); border-radius: var(--radius-sm); transition: background 0.2s, color 0.2s; font-weight: 500; }
.promo__links a:hover { background: var(--c-sage-soft); color: var(--c-primary); }
.promo__links .icon { color: var(--c-accent-3); flex-shrink: 0; }

.promo--product { background: var(--c-surface); border: 1px solid var(--c-line); }
.promo__media { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; background: var(--c-cream-2); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.promo--product:hover .promo__media img { transform: scale(1.05); }
.promo__tag { position: absolute; inset-block-start: 0.7rem; inset-inline-start: 0.7rem; display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(255,255,255,0.92); color: var(--c-primary); font-size: 0.74rem; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: var(--radius-pill); }
.promo__tag .icon { color: var(--c-accent-3); }
.promo__body { padding: 1.2rem 1.3rem 1.4rem; }
.promo__body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.promo__body h3 a { color: var(--c-primary); }
.promo__body h3 a:hover { color: var(--c-accent-3); }
.promo__body p { color: var(--c-muted); font-size: 0.92rem; margin-bottom: 0.7rem; }

.promo--booking { background: linear-gradient(150deg, var(--c-primary), var(--c-primary-3)); color: #fff; padding: 1.6rem 1.5rem; text-align: center; }
.promo--booking .icon { color: var(--c-accent); }
.promo--booking h3 { color: #fff; font-size: 1.2rem; margin: 0.4rem 0; }
.promo--booking p { color: #cfe3da; font-size: 0.92rem; margin-bottom: 1.1rem; }
.promo__phone { display: inline-flex; justify-content: center; color: #fff; margin-top: 0.9rem; }
.promo__phone:hover { color: var(--c-accent); }

/* ============================ 10) WIDGETS ========================= */
.sidebar { display: flex; flex-direction: column; gap: 1.6rem; }
.widget { background: var(--c-surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.widget__title { font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--c-cream-2); position: relative; }
.widget__title::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 48px; height: 2px; background: var(--c-accent); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--c-line); }
.widget ul li:last-child { border-bottom: 0; }
.widget a { color: var(--c-ink); }
.widget a:hover { color: var(--c-accent-3); }
.widget-recent { display: flex; gap: 0.8rem; align-items: center; }
.widget-recent img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }

/* ============================ 11) FOOTER ========================== */
.footer-cta { background: var(--c-accent); }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.footer-cta__title { color: var(--c-primary); margin-bottom: 0.4rem; }
.footer-cta__text { color: var(--c-primary-2); margin: 0; }
.footer-cta__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-cta .phone-link { color: var(--c-primary); }

.footer-main { background: var(--c-primary); color: #cfe3da; padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-main__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2.5rem; }
.footer-col__title { color: #fff; font-size: 1.15rem; margin-bottom: 1.2rem; }
/* The logo PNG is opaque with a white background, so it can't be tinted to
   white — show the real colour logo on a clean white chip instead. */
.footer-brand img { display: inline-block; max-height: 42px; width: auto; background: #fff; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.footer-about { color: #9fc4b6; font-size: 0.95rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { padding: 0.4rem 0; }
.footer-menu a { color: #cfe3da; }
.footer-menu a:hover { color: var(--c-accent); padding-inline-start: 0.4rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; color: #cfe3da; }
.footer-contact .icon { color: var(--c-accent); flex-shrink: 0; margin-top: 0.3rem; }
.footer-contact .phone-link { color: #fff; }

.footer-bottom { background: #1f4d41; color: #7fa89a; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; flex-wrap: wrap; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

/* ============================ 12) UTILITIES ======================= */
.screen-reader-text { position: absolute !important; 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-block-start: -100px; inset-inline-start: 1rem; background: #fff; padding: 0.6rem 1.2rem; border-radius: var(--radius-sm); z-index: 100; box-shadow: var(--shadow); }
.skip-link:focus { inset-block-start: 1rem; }

input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea, select {
	width: 100%; font-family: var(--ff); font-size: 1rem; padding: 0.8rem 1.1rem;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; color: var(--c-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(249, 177, 159, 0.25); outline: none; }
label { font-weight: 500; display: block; margin-bottom: 0.4rem; color: var(--c-primary); }

.no-results { text-align: center; padding: 3rem 1rem; }
.no-results .icon { color: var(--c-accent); margin-bottom: 1rem; }

/* Graceful image placeholder (before generated images are delivered) */
.img-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; aspect-ratio: 1; background: linear-gradient(135deg, var(--c-cream-2), #fdeee9); color: var(--c-accent-2); }
.hero__media-img.img-placeholder { aspect-ratio: 4/5; border-radius: 48% 48% 46% 46% / 40% 40% 60% 60%; }

/* Content helpers */
.content-main { min-width: 0; }
.archive-description { color: #bcd6cb; margin-top: 0.6rem; }
.price-note { color: var(--c-muted); font-size: 0.85rem; margin: 1rem 0 1.5rem; }
.section-foot { text-align: center; }
.page-links { margin-top: 1.5rem; font-weight: 700; display: flex; gap: 0.5rem; }
.page-links a { background: var(--c-cream); padding: 0.3rem 0.8rem; border-radius: var(--radius-sm); }

/* Contact page */
.contact-grid { margin-bottom: 1rem; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); color: var(--c-ink); transition: transform 0.2s, box-shadow 0.2s; }
.contact-card:not(.contact-card--static):hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c-cream); color: var(--c-accent-3); flex-shrink: 0; }
.contact-card b { display: block; color: var(--c-primary); }
.contact-card span span, .contact-card > span > span { color: var(--c-muted); font-size: 0.92rem; }
.ltr { direction: ltr; display: inline-block; }

/* Comments */
.comments-area { margin-top: 2.5rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.comment-list ol { list-style: none; padding-inline-start: 1.5rem; }
.comment-list .comment-body { background: var(--c-cream); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.comment-list .comment-author { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--c-primary); margin-bottom: 0.4rem; }
.comment-list .avatar { border-radius: 50%; }
.comment-list .comment-meta { font-size: 0.82rem; color: var(--c-muted); }
.comment-list .comment-meta a { color: var(--c-muted); }
.comment-respond { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { font-weight: 500; }
.comment-notes { color: var(--c-muted); font-size: 0.9rem; }

/* Reveal-on-scroll — only hidden when JS is present to reveal it. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Pagination */
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border-radius: var(--radius-sm); background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-primary); font-weight: 700; }
.pagination .page-numbers.current { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary); }
.pagination a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent-3); }

@media (max-width: 680px) {
	.contact-cards { grid-template-columns: 1fr; }
}

/* Overlay + mobile nav (hidden by default; activated in 13) */
.nav-overlay { position: fixed; inset: 0; background: rgba(28, 60, 52, 0.5); z-index: 70; }
.mobile-nav { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(86vw, 340px); background: #fff; z-index: 80; padding: 1.4rem; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.3s ease; }
[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-nav__head img { max-height: 48px; }
.mobile-menu { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.mobile-menu li { border-bottom: 1px solid var(--c-line); }
.mobile-menu a { display: block; padding: 0.85rem 0.4rem; color: var(--c-ink); font-weight: 500; }
.mobile-menu .sub-menu { list-style: none; padding-inline-start: 1rem; }
.mobile-nav__cta { display: grid; gap: 0.8rem; }

/* ============================ 13) RESPONSIVE ====================== */
@media (max-width: 980px) {
	.hero__inner { grid-template-columns: 1fr; text-align: center; }
	.hero__media { order: -1; max-width: 420px; margin-inline: auto; }
	.hero__actions, .hero__stats { justify-content: center; }
	.hero__stats { flex-wrap: wrap; }
	.about__grid, .pricing__grid { grid-template-columns: 1fr; }
	.service-single { grid-template-columns: 1fr; }
	.service-single__aside { position: static; }
	.values__grid { grid-template-columns: 1fr 1fr; }
	.product-hero, .product-science { grid-template-columns: 1fr; }
	.product-science__media { order: -1; }
	.quotes__grid { grid-template-columns: 1fr; }
	.testimonials__grid { grid-template-columns: 1fr 1fr; }
	.footer-main__grid { grid-template-columns: 1fr 1fr; }
	.cta-banner { grid-template-columns: 1fr; }
	.content-area { grid-template-columns: 1fr; }
	.primary-nav, .header-cta { display: none; }
	.js-nav-toggle { display: inline-grid; }
}

@media (max-width: 680px) {
	.services__grid, .posts-grid, .testimonials__grid, .gallery__grid, .post-nav, .values__grid, .products-grid { grid-template-columns: 1fr; }
	.gallery__grid { grid-template-columns: 1fr 1fr; }
	.footer-main__grid, .footer-bottom__inner, .footer-cta__inner { grid-template-columns: 1fr; text-align: center; }
	.footer-cta__inner, .footer-cta__actions { justify-content: center; }
	.footer-contact li, .footer-social { justify-content: center; }
	.topbar__hours { display: none; }
	.topbar__inner { justify-content: center; gap: 1.2rem; }
	.hero__stats { gap: 1.4rem 2rem; }
	.about__media img:first-child { grid-row: auto; }
	.comment-list ol { padding-inline-start: 0.8rem; }
}

/* Phones: stack actions full-width for comfortable tap targets. */
@media (max-width: 480px) {
	.hero__actions, .footer-cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
	.hero__actions .btn, .footer-cta__actions .btn { width: 100%; }
	.hero__stats { gap: 1rem 1.6rem; }
	.hero__stat b { font-size: 1.7rem; }
	.single-post__thumb img { max-height: 300px; }
	.to-top { inset-block-end: 1rem; inset-inline-start: 1rem; width: 46px; height: 46px; }
	.post-card__footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
