/*
Theme Name: آرامش (Aramesh)
Theme URI: https://example.com/aramesh
Author: Aramesh
Description: قالب شخصی روانشناس و مشاور؛ راست‌چین، فارسی و سازگار با المنتور. شامل خدمات، معرفی کتاب، نقل‌قول‌ها، مقالات، فرم رزرو مشاوره پاپ‌آپ، ابزارک‌های اختصاصی المنتور و درون‌ریزی محتوای نمونه با یک کلیک.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aramesh
Tags: rtl-language-support, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready, blog
*/

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

/* ---------- Tokens (overridden from Customizer in <head>) ---------- */
:root {
	--am-primary: #3f6f6b;
	--am-primary-dark: #2a4b48;
	--am-accent: #c98f6a;
	--am-soft: #eaf2ef;
	--am-cream: #fbf7f1;
	--am-ink: #1f2d2c;
	--am-muted: #5b6b69;
	--am-line: #dfe7e4;
	--am-white: #ffffff;
	--am-radius: 22px;
	--am-radius-sm: 12px;
	--am-shadow: 0 18px 40px -22px rgba(31, 45, 44, .35);
	--am-shadow-sm: 0 6px 18px -10px rgba(31, 45, 44, .3);
	--am-container: 1200px;
	--am-font: "Vazirmatn", Tahoma, sans-serif;
	--am-blob: 62% 38% 46% 54% / 55% 44% 56% 45%;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--am-font);
	font-size: 16px;
	line-height: 1.95;
	color: var(--am-ink);
	background: var(--am-cream);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--am-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--am-accent); }
h1, h2, h3, h4, h5, h6 { line-height: 1.5; margin: 0 0 .6em; color: var(--am-ink); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--am-accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--am-white); clip: auto !important; clip-path: none; color: var(--am-ink);
	display: block; height: auto; right: 10px; top: 10px; padding: 12px 20px; width: auto; z-index: 100000; border-radius: 8px;
}
.am-container { width: 100%; max-width: var(--am-container); margin-inline: auto; padding-inline: 20px; }
.am-section { padding-block: clamp(56px, 8vw, 104px); }
.am-section--soft { background: var(--am-soft); }
.am-section--white { background: var(--am-white); }

/* ---------- Buttons ---------- */
.am-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.7em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .98rem; line-height: 1.4; cursor: pointer;
	background: var(--am-primary); color: var(--am-white);
	transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
	box-shadow: var(--am-shadow-sm);
}
.am-btn:hover { background: var(--am-primary-dark); color: var(--am-white); transform: translateY(-2px); }
.am-btn--accent { background: var(--am-accent); }
.am-btn--accent:hover { background: var(--am-primary-dark); }
.am-btn--ghost { background: transparent; color: var(--am-primary); border-color: var(--am-primary); box-shadow: none; }
.am-btn--ghost:hover { background: var(--am-primary); color: var(--am-white); }
.am-btn--light { background: var(--am-white); color: var(--am-primary-dark); }
.am-btn--light:hover { background: var(--am-accent); color: var(--am-white); }
.am-btn svg { width: 1.1em; height: 1.1em; }

.am-link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .95rem; }
.am-link-more::after { content: "←"; transition: transform .2s; }
.am-link-more:hover::after { transform: translateX(-4px); }

/* ---------- Section headings ---------- */
.am-heading { max-width: 720px; margin-bottom: 44px; }
.am-heading--center { margin-inline: auto; text-align: center; }
.am-eyebrow {
	display: inline-flex; align-items: center; gap: .55em;
	color: var(--am-accent); font-weight: 700; font-size: .92rem; margin-bottom: .6em;
}
.am-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.am-heading p { color: var(--am-muted); font-size: 1.05rem; }

/* ---------- Header ---------- */
.am-topbar { background: var(--am-primary-dark); color: rgba(255,255,255,.85); font-size: .85rem; }
.am-topbar .am-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.am-topbar a { color: var(--am-white); }
.am-topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.am-topbar__items span { display: inline-flex; align-items: center; gap: 6px; }
.am-topbar svg { width: 15px; height: 15px; opacity: .8; }

.am-header {
	position: relative; z-index: 50; background: rgba(251, 247, 241, .92);
	backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.am-header.is-sticky { position: sticky; top: 0; }
.admin-bar .am-header.is-sticky { top: 32px; }
.am-header.is-scrolled { border-color: var(--am-line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.am-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.am-brand { display: flex; align-items: center; gap: 12px; color: var(--am-ink); }
.am-brand:hover { color: var(--am-ink); }
.am-brand img, .am-brand .custom-logo { max-height: 58px; width: auto; }
.am-brand__mark {
	width: 48px; height: 48px; flex: none; border-radius: var(--am-blob);
	background: linear-gradient(135deg, var(--am-primary), var(--am-accent));
	display: grid; place-items: center; color: var(--am-white);
}
.am-brand__mark svg { width: 26px; height: 26px; }
.am-brand__text strong { display: block; font-size: 1.12rem; font-weight: 800; line-height: 1.4; }
.am-brand__text small { display: block; font-size: .8rem; color: var(--am-muted); line-height: 1.4; }

.am-nav { display: flex; align-items: center; gap: 6px; }
.am-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.am-menu li { position: relative; }
.am-menu a {
	display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
	color: var(--am-ink); font-weight: 600; font-size: .96rem;
}
.am-menu a:hover, .am-menu .current-menu-item > a, .am-menu .current-menu-ancestor > a, .am-menu .current_page_item > a {
	color: var(--am-primary); background: var(--am-soft);
}
.am-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px;
	transform: rotate(-45deg) translateY(-2px); margin-inline-start: 4px; opacity: .6;
}
.am-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; right: 0; min-width: 250px;
	background: var(--am-white); border-radius: var(--am-radius-sm); box-shadow: var(--am-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 10;
}
.am-menu li:hover > .sub-menu, .am-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.am-menu .sub-menu a { border-radius: 10px; padding: 9px 14px; font-size: .92rem; }
.am-menu .sub-menu .sub-menu { right: 100%; top: 0; }

.am-header__actions { display: flex; align-items: center; gap: 10px; }
.am-menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--am-line);
	background: var(--am-white); cursor: pointer; align-items: center; justify-content: center;
}
.am-menu-toggle span, .am-menu-toggle span::before, .am-menu-toggle span::after {
	display: block; width: 20px; height: 2px; background: var(--am-ink); border-radius: 2px; position: relative; transition: .25s;
}
.am-menu-toggle span::before, .am-menu-toggle span::after { content: ""; position: absolute; right: 0; }
.am-menu-toggle span::before { top: -6px; }
.am-menu-toggle span::after { top: 6px; }
.am-menu-toggle[aria-expanded="true"] span { background: transparent; }
.am-menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.am-menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.am-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.am-hero::before {
	content: ""; position: absolute; width: 520px; height: 520px; top: -180px; left: -160px;
	background: radial-gradient(circle, color-mix(in srgb, var(--am-accent) 22%, transparent), transparent 70%);
	pointer-events: none;
}
.am-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.am-hero__title { margin-bottom: .45em; }
.am-hero__title em { font-style: normal; color: var(--am-primary); position: relative; white-space: nowrap; }
.am-hero__title em::after {
	content: ""; position: absolute; right: 0; left: 0; bottom: .08em; height: .32em; z-index: -1;
	background: color-mix(in srgb, var(--am-accent) 35%, transparent); border-radius: 6px;
}
.am-hero__lead { font-size: 1.12rem; color: var(--am-muted); max-width: 560px; margin-bottom: 1.8em; }
.am-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.4em; }
.am-hero__badges { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.am-hero__badges li {
	display: flex; align-items: center; gap: 10px; background: var(--am-white);
	padding: 10px 16px 10px 20px; border-radius: 999px; box-shadow: var(--am-shadow-sm); font-weight: 700; font-size: .93rem;
}
.am-hero__badges i {
	width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
	background: var(--am-soft); color: var(--am-primary);
}
.am-hero__badges svg { width: 18px; height: 18px; }

.am-hero__media { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1 / 1.05; }
.am-hero__blob {
	position: absolute; inset: 6% 4% 0 8%; border-radius: var(--am-blob); overflow: hidden;
	background: linear-gradient(160deg, var(--am-soft), color-mix(in srgb, var(--am-primary) 30%, var(--am-soft)));
	animation: am-morph 14s ease-in-out infinite;
}
.am-hero__blob img { width: 100%; height: 100%; object-fit: cover; }
.am-hero__ring {
	position: absolute; inset: 0 0 6% 12%; border: 2px dashed color-mix(in srgb, var(--am-primary) 40%, transparent);
	border-radius: var(--am-blob); animation: am-morph 18s ease-in-out infinite reverse;
}
.am-hero__card {
	position: absolute; background: var(--am-white); border-radius: 18px; box-shadow: var(--am-shadow);
	padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.6;
}
.am-hero__card strong { display: block; font-size: 1rem; }
.am-hero__card small { color: var(--am-muted); }
.am-hero__card i {
	width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
	background: var(--am-accent); color: var(--am-white);
}
.am-hero__card i svg { width: 22px; height: 22px; }
.am-hero__card--a { bottom: 12%; right: -4%; animation: am-float 6s ease-in-out infinite; }
.am-hero__card--b { top: 10%; left: -6%; animation: am-float 7s ease-in-out infinite .8s; }
.am-hero__card--b i { background: var(--am-primary); }

@keyframes am-morph {
	0%, 100% { border-radius: 62% 38% 46% 54% / 55% 44% 56% 45%; }
	33% { border-radius: 44% 56% 62% 38% / 48% 60% 40% 52%; }
	66% { border-radius: 54% 46% 38% 62% / 60% 42% 58% 40%; }
}
@keyframes am-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Approach ---------- */
.am-approach { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.am-approach__media { position: relative; }
.am-approach__shape {
	aspect-ratio: 1; border-radius: var(--am-blob); overflow: hidden; box-shadow: var(--am-shadow);
	background: linear-gradient(135deg, var(--am-primary), var(--am-primary-dark));
	display: grid; place-items: center; color: var(--am-white);
}
.am-approach__shape img { width: 100%; height: 100%; object-fit: cover; }
.am-approach__shape svg { width: 58%; height: auto; opacity: .95; }
.am-approach__text p { color: var(--am-muted); font-size: 1.06rem; }
.am-pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.am-pill {
	background: var(--am-white); border-radius: var(--am-radius-sm); padding: 20px; border: 1px solid var(--am-line);
	transition: transform .25s, box-shadow .25s;
}
.am-pill:hover { transform: translateY(-4px); box-shadow: var(--am-shadow-sm); }
.am-pill b { display: block; font-size: 1.6rem; color: var(--am-primary); line-height: 1.2; letter-spacing: .02em; font-family: Georgia, serif; direction: ltr; text-align: right; }
.am-pill span { display: block; font-weight: 700; margin: 4px 0 2px; }
.am-pill small { color: var(--am-muted); font-size: .88rem; line-height: 1.8; display: block; }

/* ---------- Cards (services / posts / books) ---------- */
.am-grid { display: grid; gap: 26px; }
.am-grid--4 { grid-template-columns: repeat(4, 1fr); }
.am-grid--3 { grid-template-columns: repeat(3, 1fr); }
.am-grid--2 { grid-template-columns: repeat(2, 1fr); }

.am-service {
	position: relative; background: var(--am-white); border-radius: var(--am-radius); padding: 30px 26px 26px;
	box-shadow: var(--am-shadow-sm); display: flex; flex-direction: column; overflow: hidden;
	transition: transform .3s, box-shadow .3s;
}
.am-service::before {
	content: ""; position: absolute; width: 160px; height: 160px; top: -70px; left: -70px; border-radius: 50%;
	background: var(--am-soft); transition: transform .4s;
}
.am-service:hover { transform: translateY(-6px); box-shadow: var(--am-shadow); }
.am-service:hover::before { transform: scale(1.5); }
.am-service > * { position: relative; }
.am-service__icon {
	width: 66px; height: 66px; border-radius: var(--am-blob); margin-bottom: 20px; overflow: hidden;
	background: linear-gradient(135deg, var(--am-primary), color-mix(in srgb, var(--am-primary) 60%, var(--am-accent)));
	display: grid; place-items: center; color: var(--am-white);
}
.am-service__icon svg { width: 32px; height: 32px; }
.am-service__icon img { width: 100%; height: 100%; object-fit: cover; }
.am-service h3 { font-size: 1.15rem; margin-bottom: .5em; }
.am-service h3 a { color: var(--am-ink); }
.am-service h3 a:hover { color: var(--am-primary); }
.am-service p { color: var(--am-muted); font-size: .94rem; line-height: 1.9; flex: 1; }

.am-post {
	background: var(--am-white); border-radius: var(--am-radius); overflow: hidden; box-shadow: var(--am-shadow-sm);
	display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.am-post:hover { transform: translateY(-5px); box-shadow: var(--am-shadow); }
.am-post__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--am-soft); position: relative; }
.am-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.am-post:hover .am-post__thumb img { transform: scale(1.05); }
.am-post__thumb--empty { display: grid; place-items: center; color: color-mix(in srgb, var(--am-primary) 45%, transparent); }
.am-post__thumb--empty svg { width: 64px; height: 64px; }
.am-post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.am-post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--am-muted); margin-bottom: 10px; }
.am-post__meta a { color: var(--am-accent); font-weight: 700; }
.am-post__title { font-size: 1.08rem; line-height: 1.75; margin-bottom: .6em; }
.am-post__title a { color: var(--am-ink); }
.am-post__title a:hover { color: var(--am-primary); }
.am-post__excerpt { color: var(--am-muted); font-size: .92rem; flex: 1; }
.am-post__excerpt p:last-child { margin-bottom: 0; }

.am-book {
	display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: start;
	background: var(--am-white); border-radius: var(--am-radius); padding: 22px; box-shadow: var(--am-shadow-sm);
	transition: transform .3s, box-shadow .3s;
}
.am-book:hover { transform: translateY(-5px); box-shadow: var(--am-shadow); }
.am-book__cover {
	aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; overflow: hidden; display: block;
	box-shadow: -8px 10px 22px -10px rgba(0,0,0,.45); background: linear-gradient(160deg, var(--am-primary), var(--am-primary-dark));
	position: relative;
}
.am-book__cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: rgba(0,0,0,.18); z-index: 1; }
.am-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.am-book__cover span {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
	color: var(--am-white); font-weight: 800; font-size: .9rem; padding: 12px; line-height: 1.7;
}
.am-book h3 { font-size: 1.02rem; line-height: 1.8; margin-bottom: .4em; }
.am-book h3 a { color: var(--am-ink); }
.am-book__author { font-size: .82rem; color: var(--am-accent); font-weight: 700; margin-bottom: .6em; display: block; }
.am-book p { font-size: .9rem; color: var(--am-muted); line-height: 1.9; }

.am-section-foot { margin-top: 40px; text-align: center; }

/* ---------- Quotes ---------- */
.am-quotes { position: relative; background: var(--am-primary-dark); color: var(--am-white); overflow: hidden; }
.am-quotes::before, .am-quotes::after {
	content: ""; position: absolute; border-radius: var(--am-blob); pointer-events: none;
	background: color-mix(in srgb, var(--am-white) 6%, transparent);
}
.am-quotes::before { width: 380px; height: 380px; top: -140px; right: -120px; }
.am-quotes::after { width: 300px; height: 300px; bottom: -150px; left: -80px; background: color-mix(in srgb, var(--am-accent) 25%, transparent); }
.am-quotes .am-eyebrow { color: color-mix(in srgb, var(--am-accent) 70%, white); }
.am-quotes h2 { color: var(--am-white); }
.am-slider { position: relative; max-width: 820px; margin-inline: auto; text-align: center; z-index: 1; }
.am-slider__track { position: relative; min-height: 220px; }
.am-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px);
	transition: opacity .6s, transform .6s, visibility .6s; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.am-slide.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.am-slide__mark { font-size: 4.5rem; line-height: .6; font-family: Georgia, serif; color: var(--am-accent); height: 40px; }
.am-slide blockquote { margin: 0 0 18px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.9; }
.am-slide cite { font-style: normal; color: rgba(255,255,255,.75); font-size: .98rem; }
.am-slide__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.am-slide__tags span {
	font-size: .78rem; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85);
}
.am-slider__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.am-slider__btn {
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent;
	color: var(--am-white); cursor: pointer; display: grid; place-items: center; transition: .2s;
}
.am-slider__btn:hover { background: var(--am-white); color: var(--am-primary-dark); }
.am-slider__btn svg { width: 18px; height: 18px; }
.am-slider__count { font-size: .9rem; color: rgba(255,255,255,.75); min-width: 64px; }

/* ---------- Membership / logos ---------- */
.am-membership { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.am-membership h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0; max-width: 380px; }
.am-logos { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; flex: 1; }
.am-logos figure {
	margin: 0; width: 120px; height: 92px; border-radius: var(--am-radius-sm); background: var(--am-white);
	display: grid; place-items: center; padding: 14px; border: 1px solid var(--am-line);
	filter: grayscale(1); opacity: .8; transition: .3s;
}
.am-logos figure:hover { filter: none; opacity: 1; }
.am-logos img { max-height: 64px; width: auto; object-fit: contain; }
.am-logos .am-logo-placeholder { color: var(--am-muted); font-size: .76rem; text-align: center; line-height: 1.6; }

/* ---------- CTA ---------- */
.am-cta {
	position: relative; border-radius: calc(var(--am-radius) * 1.4); padding: clamp(32px, 5vw, 56px);
	background: linear-gradient(120deg, var(--am-primary), var(--am-primary-dark)); color: var(--am-white);
	display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; overflow: hidden;
}
.am-cta::after {
	content: ""; position: absolute; width: 280px; height: 280px; left: -90px; top: -110px; border-radius: var(--am-blob);
	background: color-mix(in srgb, var(--am-accent) 40%, transparent);
}
.am-cta > * { position: relative; z-index: 1; }
.am-cta h2 { color: var(--am-white); margin-bottom: .3em; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.am-cta p { color: rgba(255,255,255,.82); margin: 0; }
.am-cta__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--am-white); font-size: 1.5rem; font-weight: 800; margin-top: 12px; direction: ltr; }
.am-cta__phone:hover { color: color-mix(in srgb, var(--am-accent) 60%, white); }
.am-cta__phone svg { width: 24px; height: 24px; }
.am-cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Page hero / breadcrumbs ---------- */
.am-page-hero { background: var(--am-soft); padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.am-page-hero::after {
	content: ""; position: absolute; width: 260px; height: 260px; left: 6%; top: -90px; border-radius: var(--am-blob);
	background: color-mix(in srgb, var(--am-primary) 12%, transparent);
}
.am-page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: .3em; position: relative; z-index: 1; }
.am-page-hero p { color: var(--am-muted); margin: 0; position: relative; z-index: 1; max-width: 720px; }
.am-breadcrumb { font-size: .86rem; color: var(--am-muted); margin-bottom: 8px; position: relative; z-index: 1; }
.am-breadcrumb a { color: var(--am-muted); }
.am-breadcrumb a:hover { color: var(--am-primary); }
.am-breadcrumb span[aria-hidden] { margin-inline: 6px; opacity: .6; }

/* ---------- Content layout ---------- */
.am-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.am-layout--full { grid-template-columns: minmax(0, 1fr); }
.am-layout--book { grid-template-columns: 280px minmax(0, 1fr); }
.am-content-card { background: var(--am-white); border-radius: var(--am-radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--am-shadow-sm); }
.am-entry-thumb { border-radius: var(--am-radius); overflow: hidden; margin-bottom: 30px; }
.am-entry-thumb img { width: 100%; }
.am-entry-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--am-muted); font-size: .88rem; margin-bottom: 22px; }
.am-entry-meta a { color: var(--am-accent); font-weight: 700; }

.entry-content { font-size: 1.04rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 1.55rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 20px 26px; background: var(--am-soft); border-right: 4px solid var(--am-primary);
	border-radius: var(--am-radius-sm); font-size: 1.1rem; font-weight: 600;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img { border-radius: var(--am-radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.entry-content th, .entry-content td { border: 1px solid var(--am-line); padding: 10px 14px; }
.entry-content th { background: var(--am-soft); }
.entry-content a.am-btn { text-decoration: none; }
.entry-content a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--am-primary) 40%, transparent); }
.alignwide { max-width: 100%; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.wp-caption-text, figcaption { font-size: .86rem; color: var(--am-muted); text-align: center; margin-top: 8px; }
.sticky, .bypostauthor, .gallery-caption { }

.am-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--am-line); }
.am-tags a { font-size: .84rem; padding: 5px 14px; border-radius: 999px; background: var(--am-soft); color: var(--am-primary-dark); }
.am-tags a:hover { background: var(--am-primary); color: var(--am-white); }

.am-author-box { display: flex; gap: 18px; align-items: center; margin-top: 30px; padding: 22px; background: var(--am-soft); border-radius: var(--am-radius-sm); }
.am-author-box img { border-radius: 50%; flex: none; }
.am-author-box strong { display: block; }
.am-author-box p { margin: 0; font-size: .9rem; color: var(--am-muted); }

.am-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.am-post-nav a { display: block; background: var(--am-white); border-radius: var(--am-radius-sm); padding: 16px 20px; box-shadow: var(--am-shadow-sm); color: var(--am-ink); font-weight: 700; font-size: .95rem; line-height: 1.8; }
.am-post-nav a small { display: block; color: var(--am-muted); font-weight: 500; font-size: .8rem; }
.am-post-nav .nav-next { text-align: left; }

/* ---------- Sidebar / widgets ---------- */
.am-sidebar { display: grid; gap: 24px; position: sticky; top: 110px; }
.widget { background: var(--am-white); border-radius: var(--am-radius); padding: 24px; box-shadow: var(--am-shadow-sm); }
.widget-title, .widget h2 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--am-line); position: relative; }
.widget-title::after, .widget h2::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 42px; height: 2px; background: var(--am-accent); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--am-line); font-size: .93rem; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--am-ink); }
.widget li a:hover { color: var(--am-primary); }
.am-widget-cta { background: linear-gradient(140deg, var(--am-primary), var(--am-primary-dark)); color: var(--am-white); text-align: center; }
.am-widget-cta h2 { color: var(--am-white); border: 0; padding: 0; }
.am-widget-cta h2::after { display: none; }
.am-widget-cta p { color: rgba(255,255,255,.85); font-size: .92rem; }

/* ---------- Forms ---------- */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"],
input[type="date"], input[type="time"], input[type="number"], select, textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--am-line); border-radius: var(--am-radius-sm);
	background: var(--am-white); transition: border-color .2s, box-shadow .2s; line-height: 1.6;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--am-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--am-primary) 15%, transparent); }
textarea { min-height: 140px; resize: vertical; }
.search-submit, input[type="submit"], button[type="submit"]:not(.am-btn):not(.am-modal__close) {
	padding: 12px 22px; border: 0; border-radius: var(--am-radius-sm); background: var(--am-primary); color: var(--am-white); font-weight: 700; cursor: pointer;
}
.search-submit:hover, input[type="submit"]:hover { background: var(--am-primary-dark); }

/* ---------- Booking modal ---------- */
.am-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.am-modal.is-open, .am-modal:target { display: flex; }
.am-modal__overlay { position: absolute; inset: 0; background: rgba(20, 32, 31, .6); backdrop-filter: blur(4px); animation: am-fade .25s; }
.am-modal__dialog {
	position: relative; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow: auto; background: var(--am-white);
	border-radius: calc(var(--am-radius) * 1.2); padding: 36px 32px 30px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); animation: am-pop .3s;
}
.am-modal__dialog::before {
	content: ""; position: absolute; top: 0; right: 0; left: 0; height: 6px;
	background: linear-gradient(90deg, var(--am-accent), var(--am-primary));
}
.am-modal__close {
	position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0;
	background: var(--am-soft); cursor: pointer; display: grid; place-items: center; color: var(--am-ink);
}
.am-modal__close:hover { background: var(--am-primary); color: var(--am-white); }
.am-modal__close svg { width: 18px; height: 18px; }
.am-modal h2 { font-size: 1.45rem; margin-bottom: .3em; }
.am-modal__intro { color: var(--am-muted); font-size: .94rem; margin-bottom: 22px; }
.am-form { display: grid; gap: 14px; }
.am-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.am-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.am-form label .req { color: #c0392b; }
.am-form .am-btn { width: 100%; margin-top: 6px; padding-block: .95em; }
.am-form__hp { position: absolute !important; right: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.am-form__msg { border-radius: var(--am-radius-sm); padding: 12px 16px; font-size: .92rem; display: none; }
.am-form__msg.is-success { display: block; background: #e7f5ee; color: #1e6b45; }
.am-form__msg.is-error { display: block; background: #fdecea; color: #a5281b; }
.am-form.is-loading .am-btn { opacity: .7; pointer-events: none; }
.am-booking-inline { background: var(--am-white); border-radius: var(--am-radius); padding: 30px; box-shadow: var(--am-shadow-sm); }
@keyframes am-fade { from { opacity: 0; } }
@keyframes am-pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
body.am-modal-open { overflow: hidden; }

/* ---------- Pagination ---------- */
.am-pagination, .navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center;
	background: var(--am-white); color: var(--am-ink); font-weight: 700; box-shadow: var(--am-shadow-sm);
}
.page-numbers.current, .page-numbers:hover { background: var(--am-primary); color: var(--am-white); }
.page-numbers.dots { background: transparent; box-shadow: none; }

/* ---------- Comments ---------- */
.am-comments { margin-top: 34px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-inline-start: 28px; }
.comment-body { background: var(--am-soft); border-radius: var(--am-radius-sm); padding: 18px 20px; margin-bottom: 16px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; margin-bottom: 8px; }
.comment-metadata a { color: var(--am-muted); }
.reply a { font-size: .85rem; font-weight: 700; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }

/* ---------- Footer ---------- */
.am-footer { background: #17211f; color: rgba(255,255,255,.72); padding-top: 72px; font-size: .94rem; margin-top: 0; }
.am-footer a { color: rgba(255,255,255,.72); }
.am-footer a:hover { color: var(--am-white); }
.am-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.am-footer h4 { color: var(--am-white); font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.am-footer h4::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 2px; background: var(--am-accent); }
.am-footer ul { list-style: none; padding: 0; margin: 0; }
.am-footer li { margin-bottom: 10px; }
.am-footer .am-brand { color: var(--am-white); margin-bottom: 18px; }
.am-footer .am-brand__text small { color: rgba(255,255,255,.6); }
.am-footer__about p { line-height: 2; }
.am-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.am-footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 6px; color: var(--am-accent); }
.am-footer__contact .ltr { direction: ltr; display: inline-block; }
.am-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.am-social a {
	width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(255,255,255,.08); color: var(--am-white); transition: .2s;
}
.am-social a:hover { background: var(--am-accent); transform: translateY(-3px); }
.am-social svg { width: 18px; height: 18px; }
.am-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; font-size: .86rem; }
.am-footer__bottom .am-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.am-to-top {
	position: fixed; left: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 16px; border: 0;
	background: var(--am-primary); color: var(--am-white); cursor: pointer; display: grid; place-items: center;
	box-shadow: var(--am-shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; z-index: 40;
}
.am-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.am-to-top:hover { background: var(--am-accent); }
.am-to-top svg { width: 20px; height: 20px; }

/* ---------- 404 / empty ---------- */
.am-empty { text-align: center; padding-block: 60px; }
.am-empty__num { font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; line-height: 1; color: var(--am-primary); opacity: .18; }
.am-empty .search-form { max-width: 480px; margin: 26px auto 0; }

/* ---------- Reveal on scroll ---------- */
.am-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.am-reveal.is-visible { opacity: 1; transform: none; }
.no-js .am-reveal, .elementor-editor-active .am-reveal { opacity: 1; transform: none; }

/* ---------- Elementor helpers ---------- */
.am-elementor-page .site-main > .elementor { width: 100%; }
.elementor-page .am-page-hero + .am-section { padding-top: 0; }
.elementor-element .am-heading { margin-bottom: 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.am-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.am-footer__grid { grid-template-columns: 1fr 1fr; }
	.am-layout, .am-layout--book { grid-template-columns: minmax(0, 1fr); }
	.am-sidebar { position: static; }
}
@media (max-width: 1024px) {
	.am-menu-toggle { display: inline-flex; }
	.am-nav {
		position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--am-white); z-index: 60;
		flex-direction: column; align-items: stretch; padding: 90px 20px 30px; overflow-y: auto;
		transform: translateX(105%); transition: transform .35s ease; box-shadow: -20px 0 40px -20px rgba(0,0,0,.3);
	}
	.am-nav.is-open { transform: none; }
	.am-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.am-menu a { padding: 12px 14px; border-radius: 12px; }
	.am-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 14px 0 0; display: none; min-width: 0; background: transparent; }
	.am-menu li.is-open > .sub-menu { display: block; }
	.am-menu .menu-item-has-children > a { justify-content: space-between; }
	.am-nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; opacity: 0; visibility: hidden; transition: .3s; }
	.am-nav-backdrop.is-open { opacity: 1; visibility: visible; }
	.am-menu-toggle { position: relative; z-index: 61; }
	.am-header__cta-desktop { display: none; }
	.am-nav .am-nav__cta { display: flex; margin-top: 18px; }
}
@media (min-width: 1025px) { .am-nav__cta { display: none !important; } .am-nav-backdrop { display: none; } }
@media (max-width: 900px) {
	.am-hero__grid, .am-approach { grid-template-columns: 1fr; }
	.am-hero__media { order: -1; width: min(100%, 400px); }
	.am-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.am-grid--2 { grid-template-columns: 1fr; }
	.am-cta { grid-template-columns: 1fr; }
	.am-cta__actions { flex-direction: row; flex-wrap: wrap; }
	.am-approach__media { max-width: 300px; margin-inline: auto; width: 100%; }
}
@media (max-width: 782px) { .admin-bar .am-header.is-sticky { top: 0; } }
@media (max-width: 640px) {
	body { font-size: 15px; }
	.am-grid--4, .am-grid--3 { grid-template-columns: 1fr; }
	.am-pills { grid-template-columns: 1fr; }
	.am-form__row { grid-template-columns: 1fr; }
	.am-footer__grid { grid-template-columns: 1fr; }
	.am-book { grid-template-columns: 100px 1fr; gap: 16px; padding: 18px; }
	.am-topbar__items span:nth-child(n+2) { display: none; }
	.am-hero__card--b { left: 0; top: 4%; }
	.am-hero__card--a { right: 0; }
	.am-post-nav { grid-template-columns: 1fr; }
	.am-modal__dialog { padding: 30px 20px 22px; }
	.am-brand__text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.am-reveal { opacity: 1; transform: none; }
}
