/* ==========================================================================
   Amulyam Villas — Main Stylesheet
   Palette: sage green, light green, gray, slate, black, white
   Fonts: Arapey (headings), Source Sans Pro (body)
   ========================================================================== */

:root {
	--green: #6E8F5B;
	--green-600: #5C7A49;
	--green-700: #4A6338;
	--green-soft: #A9BE97;
	--green-tint: #E8F0E3;
	--green-bg: #F4F7F1;
	--slate: #2E3D42;
	--slate-600: #43555C;
	--gray: #7A8580;
	--gray-light: #AEB6B1;
	--dark: #1D2622;
	--white: #FFFFFF;
	--border: #E4E9E3;
	--shadow-sm: 0 4px 14px rgba(46, 61, 66, 0.06);
	--shadow-md: 0 14px 34px rgba(46, 61, 66, 0.10);
	--shadow-lg: 0 24px 60px rgba(46, 61, 66, 0.16);
	--radius: 14px;
	--font-heading: 'Arapey', Georgia, 'Times New Roman', serif;
	--font-body: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
	--container: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.75;
	color: var(--slate-600);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--green); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 400;
	color: var(--slate);
	line-height: 1.15;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.3rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

.site-main { min-height: 60vh; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .4px;
	line-height: 1;
	padding: 15px 30px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: all .25s ease;
	text-transform: uppercase;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--slate); }
.btn-light:hover { background: var(--green-tint); color: var(--slate); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: var(--white); color: var(--slate); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	padding: 18px 0;
	transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
	background: transparent;
}
.site-header .header-inner { display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
	font-family: var(--font-heading);
	font-size: 1.75rem;
	color: var(--white);
	transition: color .3s ease;
}
.brand-tag {
	font-size: .62rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255,255,255,.85);
	font-weight: 600;
	transition: color .3s ease;
}

.main-nav { margin-left: auto; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-menu > li > a {
	display: inline-block;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .4px;
	color: rgba(255,255,255,.92);
	border-radius: 999px;
	transition: color .25s ease, background .25s ease;
}
.nav-menu > li > a:hover { color: var(--white); background: rgba(255,255,255,.14); }
.nav-menu > .current-menu-item > a,
.nav-menu > .current_page_item > a { color: var(--white); background: rgba(255,255,255,.16); }

.header-cta { margin-left: 6px; padding: 12px 24px; }
.mobile-menu-cta { display: none; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--white); border-radius: 3px; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Scrolled state */
.site-header.scrolled {
	background: var(--white);
	padding: 10px 0;
	box-shadow: 0 4px 24px rgba(46,61,66,.10);
}
.site-header.scrolled .brand-name { color: var(--slate); }
.site-header.scrolled .brand-tag { color: var(--gray); }
.site-header.scrolled .nav-menu > li > a { color: var(--slate); }
.site-header.scrolled .nav-menu > li > a:hover { color: var(--green-700); background: var(--green-tint); }
.site-header.scrolled .nav-menu > .current-menu-item > a,
.site-header.scrolled .nav-menu > .current_page_item > a { color: var(--green-700); background: var(--green-tint); }
.site-header.scrolled .nav-toggle span { background: var(--slate); }

/* Solid header for inner pages */
body.solid-header .site-header {
	background: var(--white);
	box-shadow: 0 4px 24px rgba(46,61,66,.08);
	padding: 10px 0;
}
body.solid-header .brand-name { color: var(--slate); }
body.solid-header .brand-tag { color: var(--gray); }
body.solid-header .nav-menu > li > a { color: var(--slate); }
body.solid-header .nav-menu > li > a:hover { color: var(--green-700); background: var(--green-tint); }
body.solid-header .nav-menu > .current-menu-item > a,
body.solid-header .nav-menu > .current_page_item > a { color: var(--green-700); background: var(--green-tint); }
body.solid-header .nav-toggle span { background: var(--slate); }

/* Mobile nav */
@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; margin-left: auto; }
	.header-cta { display: none; }
	.main-nav {
		position: fixed;
		top: 0; right: -110%;
		width: min(320px, 82vw);
		height: 100dvh;
		background: linear-gradient(180deg, #26352F 0%, #1D2622 100%);
		padding: 96px 22px 32px;
		transition: right .4s ease;
		overflow-y: auto;
		z-index: 900;
	}
	.main-nav.open { right: 0; box-shadow: -18px 0 48px rgba(0,0,0,.28); }
	.main-nav.open .nav-menu { flex-direction: column; gap: 8px; }
	.nav-menu > li > a {
		color: rgba(255,255,255,.85) !important;
		font-size: 1.05rem;
		font-weight: 600;
		letter-spacing: .4px;
		padding: 13px 16px;
		display: block;
		border-radius: 10px;
		border-left: 3px solid transparent;
		transition: background .25s ease, color .25s ease, border-left-color .25s ease, padding-left .25s ease;
	}
	.nav-menu > li > a:hover { background: rgba(255,255,255,.08); color: #fff; padding-left: 20px; }
	.nav-menu > .current-menu-item > a,
	.nav-menu > .current_page_item > a {
		background: var(--green-tint);
		color: var(--green-700) !important;
		border-left-color: var(--green);
		font-weight: 700;
	}
	.mobile-menu-cta { display: flex; justify-content: center; width: 100%; margin-top: 28px; padding: 14px 20px; }
	.brand-name { font-size: 1.5rem; }

	/* Dim backdrop behind the open drawer */
	body.nav-open::after {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(20, 27, 24, .5);
		backdrop-filter: blur(2px);
		z-index: 850;
	}
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	overflow: hidden;
	padding: 150px 0 140px;
}
.hero-bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(16,23,20,.74) 0%, rgba(16,23,20,.5) 50%, rgba(16,23,20,.86) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; padding: 0 24px; }
.hero-eyebrow {
	font-size: .8rem;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--green-soft);
	font-weight: 600;
	margin-bottom: 18px;
}
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.05; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 300; color: rgba(255,255,255,.94); max-width: 820px; margin: 22px auto 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
	position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
	z-index: 2; color: var(--white); opacity: .8; font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .scroll-line { width: 1px; height: 42px; background: rgba(255,255,255,.6); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--green-bg); }
.section--dark { background: var(--slate); color: rgba(255,255,255,.85); }
.section--green { background: var(--green); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sec-head--left { text-align: left; margin: 0 0 40px; max-width: 640px; }
.sec-eyebrow {
	display: inline-block;
	font-size: .75rem;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--green-600);
	font-weight: 700;
	margin-bottom: 14px;
}
.section--dark .sec-eyebrow, .section--green .sec-eyebrow { color: var(--green-soft); }
.sec-head p, .sec-head--left p { color: var(--gray); margin-bottom: 0; }
.section--dark .sec-head p, .section--green .sec-head p { color: rgba(255,255,255,.75); }
.sec-head .rule { display:inline-block; width: 46px; height: 2px; background: var(--green); border-radius: 2px; margin-top: 18px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 36px 28px;
	text-align: center;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-soft); }
.feature-card .icon {
	width: 66px; height: 66px;
	margin: 0 auto 20px;
	display: flex; align-items: center; justify-content: center;
	background: var(--green-tint);
	border-radius: 50%;
	color: var(--green-700);
	transition: background .3s ease, color .3s ease;
}
.feature-card:hover .icon { background: var(--green); color: var(--white); }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature-card p { font-size: .95rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-heading); font-size: 3.2rem; line-height: 1; color: var(--green); display: block; }
.stat .lbl { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); font-weight: 600; margin-top: 8px; }
.section--green .stat .num { color: var(--white); }
.section--green .stat .lbl { color: rgba(255,255,255,.8); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media .img-main { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media .img-accent {
	position: absolute; right: -26px; bottom: -26px;
	width: 46%; border-radius: var(--radius);
	border: 6px solid var(--white);
	box-shadow: var(--shadow-md);
	aspect-ratio: 1/1; object-fit: cover;
}
.badge-float {
	position: absolute; left: -24px; top: -24px;
	background: var(--green); color: var(--white);
	border-radius: 14px; padding: 16px 20px;
	box-shadow: var(--shadow-md);
	text-align: center; line-height: 1.25;
}
.badge-float strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; }
.badge-float span { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; opacity: .9; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.check-list li svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }

/* ---------- Connectivity ---------- */
.conn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.conn-card {
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	padding: 28px 26px;
	display: flex; gap: 18px; align-items: flex-start;
	transition: transform .3s ease, box-shadow .3s ease;
}
.conn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.conn-card .icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; background: var(--green-tint); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.conn-card h4 { margin: 0 0 4px; font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; color: var(--slate); }
.conn-card p { margin: 0; font-size: .92rem; color: var(--gray); }

/* ---------- Lifestyle cards ---------- */
.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--slate);
	box-shadow: var(--shadow-sm);
	transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { width: 100%; aspect-ratio: 4/5; object-fit: cover; opacity: .92; transition: transform .6s ease, opacity .4s ease; }
.card:hover .card-media { transform: scale(1.06); opacity: 1; }
.card-body { position: absolute; inset: auto 0 0 0; padding: 30px 24px 22px; background: linear-gradient(180deg, rgba(29,38,34,0) 0%, rgba(29,38,34,.82) 70%); color: var(--white); }
.card-body h3 { color: var(--white); margin-bottom: 6px; font-size: 1.6rem; }
.card-body p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.82); }
.card .card-link { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--slate); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease, opacity .4s ease; }
.gallery-item:hover img { transform: scale(1.07); opacity: .88; }
.gallery-item::after {
	content: "+";
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 2.6rem; font-weight: 300; color: var(--white);
	background: rgba(74,99,56,.35);
	opacity: 0; transition: opacity .35s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- Articles / Blog ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
	display: flex; flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .35s ease, box-shadow .35s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card-media { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--slate); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.post-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-cat {
	font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
	font-weight: 700; color: var(--green-700);
	background: var(--green-tint);
	border-radius: 999px; padding: 5px 12px;
}
.post-date { font-size: .82rem; color: var(--gray); }
.post-card-title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 10px; }
.post-card-title a { color: var(--slate); }
.post-card-title a:hover { color: var(--green-600); }
.post-card-excerpt { font-size: .95rem; color: var(--gray); margin: 0 0 18px; flex: 1; }
.post-card-more { font-weight: 700; font-size: .92rem; letter-spacing: 1px; text-transform: uppercase; }
.post-card-more span { transition: transform .25s ease; display: inline-block; }
.post-card:hover .post-card-more span { transform: translateX(4px); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 46px; height: 46px; padding: 0 12px;
	border-radius: 12px; border: 1px solid var(--border);
	color: var(--slate-600); font-weight: 600;
	transition: all .25s ease;
}
.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--green); color: var(--green-700); background: var(--green-tint); }

/* Single article */
.article-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding-bottom: 64px; overflow: hidden; }
.article-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,23,20,.4) 0%, rgba(16,23,20,.82) 100%); }
.article-hero-inner { position: relative; z-index: 1; }
.article-hero .crumbs { color: rgba(255,255,255,.8); margin-bottom: 18px; }
.article-hero .crumbs a { color: var(--green-soft); }
.article-title { color: var(--white); font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 20px; max-width: 900px; }
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-size: .92rem; }
.article-meta .meta-item { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .meta-item + .meta-item::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); display: inline-block; }
.section--article { padding-top: 64px; }
.article-content { font-size: 1.12rem; line-height: 1.85; color: var(--slate-600); }
.article-content h2 { font-size: 2rem; margin: 1.8em 0 .6em; }
.article-content h3 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.article-content p { margin: 0 0 1.3em; }
.article-content ul, .article-content ol { margin: 0 0 1.4em; }
.article-content li { margin-bottom: .5em; }
.article-content a { text-decoration: underline; text-underline-offset: 3px; }
.article-content img { border-radius: var(--radius); margin: 1.4em 0; }
.article-content blockquote { border-left: 3px solid var(--green); margin: 1.8em 0; padding: 8px 0 8px 24px; font-style: italic; color: var(--slate); font-size: 1.2rem; }
.article-footer { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 2000;
	background: rgba(20,28,24,.94);
	display: flex; align-items: center; justify-content: center;
	padding: 40px;
	opacity: 0; pointer-events: none;
	transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 22px; right: 30px; background: none; border: 0; color: var(--white); font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; transition: background .3s ease; }
.lightbox .lb-prev { left: 24px; }
.lightbox .lb-next { right: 24px; }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--green); }

/* ---------- Booking modal ---------- */
.modal {
	position: fixed; inset: 0; z-index: 3000;
	display: flex; align-items: center; justify-content: center;
	padding: 24px;
	opacity: 0; pointer-events: none;
	transition: opacity .3s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,28,24,.82); }
.modal-card {
	position: relative;
	background: var(--white);
	width: 100%; max-width: 560px;
	max-height: 92vh; overflow-y: auto;
	border-radius: 20px;
	padding: 40px 36px 36px;
	box-shadow: var(--shadow-lg);
	transform: translateY(16px);
	transition: transform .3s ease;
}
.modal.open .modal-card { transform: none; }
.modal-close {
	position: absolute; top: 16px; right: 16px;
	background: var(--green-tint); border: 0;
	width: 40px; height: 40px; border-radius: 50%;
	color: var(--green-700); font-size: 1.6rem; line-height: 1;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}
.modal-close:hover { background: var(--green); color: var(--white); }
.modal-body h2 { margin-bottom: 8px; }
.modal-body > p { color: var(--gray); margin-bottom: 24px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; border-radius: 22px; overflow: hidden; padding: 76px 48px; text-align: center; background-size: cover; background-position: center; color: var(--white); }
.cta-band .cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(74,99,56,.92), rgba(46,61,66,.9)); }
.cta-band h2, .cta-band p { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 16px auto 34px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Quote / testimonial ---------- */
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.4; color: var(--slate); margin: 0 0 26px; position: relative; }
.section--dark .quote blockquote { color: var(--white); }
.quote .quote-meta { color: var(--gray); font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

/* ---------- Page banner ---------- */
.page-banner {
	position: relative;
	min-height: 46vh;
	display: flex; align-items: flex-end;
	color: var(--white);
	background-size: cover; background-position: center;
	padding-bottom: 64px;
}
.page-banner .banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,38,34,.35), rgba(29,38,34,.78)); }
.page-banner h1 { color: var(--white); margin-bottom: 8px; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-banner .crumbs { font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 600; }
.page-banner .crumbs a { color: var(--green-soft); }

.page-head { padding-top: 170px; }
.page-body { padding: 80px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info .info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-card .icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--green-tint); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.contact-info .info-card h4 { margin: 0 0 3px; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
.contact-info .info-card p { margin: 0; color: var(--gray); font-size: .95rem; }

/* ---------- Forms (CF7) ---------- */
.wpcf7 form, .amulyam-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 label { font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate); font-weight: 700; margin-bottom: 6px; display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid var(--border);
	border-radius: 10px;
	background: var(--white);
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--slate);
	transition: border-color .25s ease, box-shadow .25s ease;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(110,143,91,.18); }
.wpcf7 input[type="submit"] { background: var(--green); color: var(--white); border: 0; padding: 16px 36px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .25s ease; justify-self: start; }
.wpcf7 input[type="submit"]:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.wpcf7 .wpcf7-response-output { border-radius: 10px; font-size: .95rem; }
.wpcf7 .wpcf7-not-valid-tip { font-size: .85rem; margin-top: 6px; }

/* ---------- Accordion ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: var(--white); }
.accordion-item.open { box-shadow: var(--shadow-sm); border-color: var(--green-soft); }
.accordion-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 20px 24px; cursor: pointer; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--slate); text-align: left; }
.accordion-head .acc-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-tint); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 400; transition: transform .3s ease, background .3s ease, color .3s ease; }
.accordion-item.open .accordion-head .acc-icon { transform: rotate(45deg); background: var(--green); color: var(--white); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-inner { padding: 0 24px 22px; color: var(--slate-600); }

/* ---------- Timeline / details ---------- */
.detail-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.detail-row .dt { font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--green-600); font-weight: 700; }
.detail-row .dd { color: var(--slate-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; }
.site-footer .brand--footer .brand-name { color: var(--white); }
.site-footer .brand--footer .brand-tag { color: var(--white); }
.footer-about p { font-size: .94rem; margin: 18px 0; }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease; }
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-title { color: var(--white); font-size: 1.15rem; margin-bottom: 20px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li a { color: rgba(255,255,255,.72); padding: 6px 0; display: inline-block; transition: color .25s ease, transform .25s ease; }
.footer-menu li a:hover { color: var(--green-soft); transform: translateX(4px); }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--green-soft); }
.footer-contact span { font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.error-404 { padding: 110px 0 130px; text-align: center; }
.error-404-inner { max-width: 640px; margin: 0 auto; }
.error-404-num {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-size: clamp(7rem, 18vw, 12rem);
	line-height: 1;
	color: var(--slate);
	margin-bottom: 8px;
}
.error-404-num svg { width: clamp(6rem, 14vw, 10rem); height: auto; flex-shrink: 0; }
.error-404 .sec-eyebrow { margin-bottom: 14px; }
.error-404-title { margin: 0 0 14px; }
.error-404-text { color: var(--gray); font-size: 1.08rem; max-width: 520px; margin: 0 auto 30px; }
.error-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
	.error-404 { padding: 80px 0 100px; }
}

/* ---------- Floating quick-contact bar ---------- */
.float-bar {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 0;
	z-index: 1200;
}
.float-btn {
	position: relative;
	width: 46px;
	height: 46px;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	box-shadow: var(--shadow-md);
	transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.float-btn + .float-btn { border-top: 1px solid rgba(255,255,255,.18); }
.float-btn svg { width: 19px; height: 19px; animation: float-bob 3s ease-in-out infinite; }
.float-btn::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 0;
	border: 2px solid currentColor;
	opacity: 0;
	animation: float-ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.float-btn:nth-child(2)::after { animation-delay: .6s; }
.float-btn:nth-child(3)::after { animation-delay: 1.2s; }
.float-wa { background: #25D366; }
.float-mail { background: #6E8F5B; }
.float-phone { background: #2E3D42; }
.float-btn:hover { transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow-lg); }
.float-btn:hover::after { animation: none; opacity: 0; }
.float-label {
	position: absolute;
	right: calc(100% + 14px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	background: var(--dark);
	color: var(--white);
	font-size: .82rem;
	letter-spacing: .5px;
	padding: 7px 14px;
	border-radius: 8px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease;
}
.float-label::after {
	content: '';
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-left-color: var(--dark);
}
.float-btn:hover .float-label { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes float-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}
@keyframes float-ping {
	0% { transform: scale(.85); opacity: .7; }
	70%, 100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 640px) {
	.float-bar {
		top: auto;
		bottom: 0;
		right: 0;
		left: 0;
		width: 100%;
		transform: none;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 24px;
		padding: 4px 0;
		padding-bottom: calc(4px + env(safe-area-inset-bottom));
		background: rgba(29, 38, 34, .92);
		backdrop-filter: blur(6px);
		border-top: 1px solid rgba(255, 255, 255, .12);
	}
	.float-btn { width: 34px; height: 34px; }
	.float-btn + .float-btn { border-top: 0; }
	.float-btn svg { width: 17px; height: 17px; }
	.float-label { display: none; }
}

/* ---------- Policy / content pages ---------- */
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul { color: var(--slate-600); }
.entry-content strong { color: var(--slate); }
.entry-title { margin-bottom: .4em; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-band { grid-template-columns: repeat(2, 1fr); gap: 34px; }
	.conn-grid { grid-template-columns: repeat(2, 1fr); }
	.lifestyle-grid { grid-template-columns: repeat(2, 1fr); }
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 44px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.section { padding: 64px 0; }
	.feature-grid, .conn-grid, .lifestyle-grid, .gallery-grid, .stats-band, .posts-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.cta-band { padding: 54px 26px; }
	.detail-row { grid-template-columns: 1fr; gap: 6px; }
	.article-hero { min-height: 52vh; }
	.article-meta { gap: 10px; }
	.hero { min-height: 86vh; padding: 130px 0 120px; }
	.badge-float { display: none; }
	.split-media .img-accent { display: none; }
	.hero-actions .btn { width: 100%; }
}
