/* ==========================================================
   Himala Ayurveda — Main Stylesheet
   ========================================================== */

:root {
	--color-cream: #FAF7F0;
	--color-cream-alt: #F1EEE4;
	--color-green-dark: #1F3A2C;
	--color-green: #2E7D52;
	--color-green-light: #E6F0E9;
	--color-gold: #C79A4B;
	--color-brown: #6B4B2A;
	--color-text: #2B2B26;
	--color-text-soft: #5B5B52;
	--color-white: #FFFFFF;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(31, 58, 44, 0.08);
	--shadow-lg: 0 24px 60px rgba(31, 58, 44, 0.16);
	--font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
	--font-body: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Anchor jumps (nav links, #contact, etc) land below the sticky header instead of under it */
section[id] { scroll-margin-top: 88px; }

/* Whole-page fade transition — fades in on load, fades out just before an
   internal link (e.g. Home → Booking) navigates away. Cheap (opacity only),
   no layout cost, and falls back gracefully with no JS. */
body { opacity: 0; }
body.ha-page-ready { opacity: 1; transition: opacity 0.45s ease; }
body.ha-page-leaving { opacity: 0; transition: opacity 0.25s ease; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-cream);
	line-height: 1.7;
	overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-green-dark); margin: 0 0 0.5em; letter-spacing: 0.2px; }
h1 { font-size: 3rem; line-height: 1.15; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--color-text-soft); }
a { color: var(--color-green); text-decoration: none; }
img { max-width: 100%; display: block; }

.ha-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ha-section { padding: 88px 0; position: relative; }
.ha-section-title { text-align: center; margin-bottom: 44px; }
.ha-alt-bg { background: var(--color-cream-alt); }
.ha-center-btn { text-align: center; margin-top: 36px; }
.ha-page-sub { max-width: 560px; margin: 10px auto 0; text-align: center; }
.ha-narrow { max-width: 640px; margin: 0 auto; }

.ha-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #9C4A28;
	margin-bottom: 12px;
}
.ha-eyebrow-center { display: block; text-align: center; }

/* Section title accent */
.ha-section-title h2::after,
.ha-about-inner h2::after {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin: 16px auto 0;
	background: linear-gradient(90deg, var(--color-gold), var(--color-green));
	border-radius: 999px;
}

/* ---------- Buttons ---------- */
.ha-btn {
	display: inline-block;
	position: relative;
	overflow: hidden;
	padding: 15px 30px;
	border-radius: 999px;
	font-weight: 600;
	font-family: var(--font-body);
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.ha-btn:hover { transform: translateY(-3px); }
.ha-btn:active { transform: translateY(-1px); }
.ha-btn-primary { background: linear-gradient(135deg, var(--color-green), var(--color-green-dark)); color: #fff; box-shadow: var(--shadow); }
.ha-btn-primary:hover { box-shadow: 0 16px 36px rgba(31,58,44,0.24); }
.ha-btn-outline { background: transparent; border: 2px solid var(--color-green); color: var(--color-green); }
.ha-btn-outline:hover { background: var(--color-green); color: #fff; }
.ha-btn-outline-white { background: transparent; border: 2px solid #fff; color: #fff; }
.ha-btn-outline-white:hover { background: #fff; color: var(--color-green-dark); }
.ha-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.ha-btn-primary::after {
	content: '';
	position: absolute;
	top: 0; left: -60%;
	width: 40%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
}
.ha-btn-primary:hover::after { left: 120%; }

/* ---------- Header / Nav ---------- */
.ha-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(250, 247, 240, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(31,58,44,0.08);
}
.ha-header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.ha-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--color-green-dark); }
.ha-logo img { max-height: 44px; width: auto; }
.ha-nav { display: flex; align-items: center; gap: 30px; }
.ha-nav-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.ha-nav-list a { color: var(--color-text); font-weight: 500; position: relative; padding-bottom: 4px; }
.ha-nav-list a::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
	background: var(--color-green); transition: width 0.25s ease;
}
.ha-nav-list a:hover { color: var(--color-green); }
.ha-nav-list a:hover::after { width: 100%; }
.ha-nav-list a.ha-nav-active { color: var(--color-green); font-weight: 600; }
.ha-nav-list a.ha-nav-active::after { width: 100%; }
.ha-nav-cta { padding: 11px 24px; }

.ha-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.ha-nav-toggle span { width: 24px; height: 2px; background: var(--color-green-dark); display: block; transition: transform 0.2s ease, opacity 0.2s ease; }

/* Floating WhatsApp */
.ha-whatsapp-float {
	position: fixed; bottom: 24px; right: 24px; z-index: 200;
	width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-lg); text-decoration: none;
	transition: transform 0.25s var(--ease);
	animation: ha-pulse 2.4s ease-in-out infinite;
}
.ha-whatsapp-float:hover { transform: scale(1.08); }
@keyframes ha-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.35), var(--shadow-lg); }
	50% { box-shadow: 0 0 0 10px rgba(37,211,102,0), var(--shadow-lg); }
}

/* ---------- Hero ---------- */
.ha-hero {
	position: relative;
	background: linear-gradient(135deg, var(--color-green-light) 0%, var(--color-cream) 65%);
	padding: 130px 0 110px;
	overflow: hidden;
	min-height: 88vh;
	display: flex;
	align-items: center;
}
.ha-hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ha-hero-decor::before {
	content: '';
	position: absolute;
	top: -140px; right: -140px;
	width: 460px; height: 460px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(199,154,75,0.18), transparent 70%);
}
.ha-hero-decor::after {
	content: '';
	position: absolute;
	bottom: -180px; left: -110px;
	width: 400px; height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(46,125,82,0.14), transparent 70%);
}
.ha-hero-inner {
	position: relative; z-index: 1;
	display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
}
.ha-hero-text { flex: 1 1 480px; }
.ha-hero-text { max-width: 720px; }
.ha-hero-text h1 {
	text-shadow: 0 2px 20px rgba(250, 247, 240, 0.65);
}
.ha-eyebrow.ha-hero-text-eyebrow,
.ha-hero-text .ha-eyebrow {
	text-shadow: 0 1px 12px rgba(250, 247, 240, 0.7);
}
.ha-hero-sub {
	font-size: 1.2rem;
	font-style: italic;
	font-weight: 500;
	color: #7A4A1E;
	text-shadow: 0 1px 14px rgba(250, 247, 240, 0.6);
}
.ha-hero-desc {
	color: #4A4636;
	text-shadow: 0 1px 14px rgba(250, 247, 240, 0.55);
}

/* Small rotating photo carousel, sits beside the hero text as a real layout
   column (not an absolute overlay) so it can never collide with the heading
   or paragraph text, regardless of viewport width or text length. */
.ha-mini-slider-wrap { flex: 0 0 300px; width: 300px; z-index: 2; }
.ha-mini-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	background: var(--color-cream-alt);
}
.ha-mini-slider-track { position: relative; width: 100%; height: 100%; }
.ha-mini-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	background-color: var(--color-green-light);
	display: flex; align-items: center; justify-content: center;
	opacity: 0;
	transition: opacity 0.9s ease;
}
.ha-mini-slide.active { opacity: 1; }
.ha-mini-slide .ha-placeholder-mark { font-size: 2.4rem; opacity: 0.45; }
.ha-mini-slider-dots {
	position: absolute; bottom: 14px; left: 0; right: 0;
	display: flex; justify-content: center; gap: 8px; z-index: 3;
}
.ha-mini-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: rgba(255,255,255,0.55); border: none; padding: 0; cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ha-mini-dot:hover { background: rgba(255,255,255,0.8); }
.ha-mini-dot.active { background: #fff; transform: scale(1.3); }

.ha-mini-gallery-link {
	display: table;
	margin: 14px auto 0;
	padding: 8px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.2px;
	color: var(--color-green-dark);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ha-mini-gallery-link:hover {
	background: var(--color-green);
	color: #fff;
	transform: translateY(2px);
	box-shadow: var(--shadow-lg);
}

@media (min-width: 901px) {
	/* Subtle parallax feel — desktop only, cheap (no JS, no layout thrash) */
	.ha-hero[style*="background-image"] { background-attachment: fixed; }
}

/* ---------- About ---------- */
.ha-about-inner { max-width: 740px; margin: 0 auto; text-align: center; }

/* ---------- Grids / Cards ---------- */
.ha-grid { display: grid; gap: 30px; }
.ha-grid-2 { grid-template-columns: 1fr 1fr; }
.ha-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ha-card {
	background: var(--color-white);
	border-radius: var(--radius);
	padding: 34px 28px;
	box-shadow: var(--shadow);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ha-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ha-card-center { text-align: center; }
.ha-icon { font-size: 2.1rem; margin-bottom: 14px; }
.ha-link-arrow { font-weight: 600; display: inline-block; transition: transform 0.2s ease; }
.ha-link-arrow:hover { transform: translateX(4px); }

/* Numbered process steps (Treatments page) */
.ha-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ha-step { text-align: center; padding: 8px; }
.ha-step-num {
	width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
	background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
	box-shadow: var(--shadow);
}

/* Plain checklist used inside cards (packages, conditions, treatment detail) */
.ha-check-plain { list-style: none; padding: 0; margin: 0; }
.ha-check-plain li { padding: 4px 0 4px 26px; position: relative; color: var(--color-text-soft); }
.ha-check-plain li::before { content: '\2713'; position: absolute; left: 0; top: 4px; color: var(--color-green); font-weight: 700; }

.ha-package-card { display: flex; flex-direction: column; }
.ha-package-card h3 { margin-bottom: 4px; }
.ha-package-tag {
	display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700;
	letter-spacing: 0.6px; text-transform: uppercase; color: var(--color-green-dark);
	background: var(--color-green-light); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

.ha-specialty-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ha-specialty-card { background: var(--color-white); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.ha-specialty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ha-specialty-card .ha-icon { margin-bottom: 10px; }
.ha-specialty-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ha-specialty-card p { font-size: 0.88rem; margin: 0; }

@media (max-width: 900px) {
	.ha-specialty-grid { grid-template-columns: repeat(2, 1fr); }
	.ha-step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.ha-specialty-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- About page ---------- */
.ha-about-intro { max-width: 780px; margin: 0 auto 44px; }

/* Photo mosaic — one tall tile + three even tiles, gallery-wall feel */
.ha-about-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 160px);
	gap: 16px;
	max-width: 980px;
	margin: 0 auto;
}
.ha-gallery-tile {
	position: relative;
	display: block;
	border-radius: var(--radius);
	background-size: cover;
	background-position: center;
	background-color: var(--color-cream-alt);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ha-gallery-tile:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow-lg); }
.ha-gallery-tall { grid-row: span 2; }
.ha-gallery-caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 12px 14px 10px;
	font-size: 0.82rem; font-weight: 500; color: #fff;
	background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
	opacity: 0; transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.ha-gallery-tile:hover .ha-gallery-caption { opacity: 1; transform: translateY(0); }

/* Doctor profile card */
.ha-doctor-card { background: var(--color-white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.ha-doctor-header {
	display: flex; align-items: center; gap: 24px;
	margin-bottom: 30px; padding-bottom: 26px;
	border-bottom: 1px solid var(--color-cream-alt);
}
.ha-doctor-photo-round {
	width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
	box-shadow: 0 0 0 6px var(--color-green-light), var(--shadow);
}
.ha-doctor-name { margin: 0 0 4px; }
.ha-doctor-title { margin: 0; color: var(--color-gold); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.6px; }
.ha-doctor-body h3 { margin-top: 24px; }
.ha-doctor-body h3:first-child { margin-top: 0; }
.ha-check-columns { columns: 2; column-gap: 24px; }
.ha-check-columns li { break-inside: avoid; }

@media (max-width: 900px) {
	.ha-about-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 160px); }
	.ha-gallery-tall { grid-row: span 1; }
}
@media (max-width: 640px) {
	.ha-doctor-card { padding: 26px 22px; }
	.ha-doctor-header { flex-direction: column; text-align: center; }
	.ha-check-columns { columns: 1; }
}

/* Reusable wide banner photo slot (Treatments/Training pages) */
.ha-photo-block {
	position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
	background-size: cover; background-position: center; background-color: var(--color-green-light);
	height: 280px; display: flex; align-items: center; justify-content: center; margin: 0 auto 36px;
}
.ha-photo-block .ha-placeholder-mark { font-size: 2.8rem; opacity: 0.5; }

/* Layout variants for the image+text card (reuses .ha-training-card) */
.ha-training-card.ha-reverse { flex-direction: row-reverse; }
.ha-training-card.ha-stacked { flex-direction: column; }
.ha-training-card.ha-stacked .ha-training-img { flex: none; height: 170px; }
@media (max-width: 640px) {
	.ha-training-card.ha-reverse { flex-direction: column; }
	.ha-photo-block { height: 200px; margin-bottom: 26px; }
}

/* ---------- Reusable photo slots (Treatments / Training pages) ---------- */
.ha-page-header[style*="background-image"] { background-size: cover; background-position: center; }

/* ---------- Training Programs ---------- */
.ha-training-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.ha-training-card {
	display: flex;
	background: var(--color-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ha-training-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ha-training-img {
	flex: 0 0 42%;
	min-height: 220px;
	background-size: cover;
	background-position: center;
	background-color: var(--color-green-light);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.5s var(--ease);
}
.ha-training-card:hover .ha-training-img.has-image { transform: scale(1.05); }
.ha-training-text { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.ha-training-text h3 { margin-bottom: 10px; }
.ha-training-text p { margin: 0; }
.ha-placeholder-mark { font-size: 2.4rem; opacity: 0.5; }

.ha-online-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
	border-radius: var(--radius);
	padding: 40px 36px;
	color: #fff;
}
.ha-online-strip h3 { color: #fff; margin-bottom: 10px; }
.ha-online-strip p { color: rgba(255,255,255,0.85); }
.ha-check-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.ha-check-list li { color: #fff; font-weight: 500; }
.ha-check-list li::before { content: '\2713  '; color: var(--color-gold); font-weight: 700; }

/* ---------- Gallery Carousel ---------- */
.ha-gallery-section { overflow: hidden; }
.ha-carousel-wrap { position: relative; padding: 0 24px; }
.ha-carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px 0 20px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ha-carousel::-webkit-scrollbar { display: none; }
.ha-carousel-item {
	position: relative;
	flex: 0 0 auto;
	width: 300px;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background-size: cover;
	background-position: center;
	background-color: var(--color-cream-alt);
	scroll-snap-align: start;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	transition: transform 0.35s var(--ease);
}
.ha-carousel-item.has-image { cursor: pointer; }
.ha-carousel-item:hover { transform: translateY(-6px) scale(1.02); }
.ha-carousel-caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 14px 16px 12px;
	font-size: 0.88rem; font-weight: 500; color: #fff;
	background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.ha-carousel-btn {
	position: absolute; top: 45%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	background: #fff; border: none; box-shadow: var(--shadow);
	cursor: pointer; font-size: 0.95rem; color: var(--color-green-dark);
	z-index: 2; transition: background 0.2s ease, transform 0.2s ease;
	display: flex; align-items: center; justify-content: center;
}
.ha-carousel-btn:hover { background: var(--color-green); color: #fff; transform: translateY(-50%) scale(1.06); }
.ha-carousel-prev { left: 6px; }
.ha-carousel-next { right: 6px; }

/* Lightbox */
.ha-lightbox {
	display: none; position: fixed; inset: 0; background: rgba(20,30,24,0.9);
	z-index: 999; align-items: center; justify-content: center;
	opacity: 0; transition: opacity 0.3s ease;
}
.ha-lightbox.active { display: flex; }
.ha-lightbox.active.is-visible { opacity: 1; }
.ha-lightbox img {
	max-width: 90%; max-height: 85%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
	transform: scale(0.92); transition: transform 0.3s var(--ease);
}
.ha-lightbox.active.is-visible img { transform: scale(1); }
.ha-lightbox-close {
	position: absolute; top: 22px; right: 26px; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1;
	width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12);
	display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.2s ease;
}
.ha-lightbox-close:hover { background: rgba(255,255,255,0.25); transform: scale(1.06); }
/* Prevents the page from scrolling behind an open lightbox */
body.ha-lightbox-open { overflow: hidden; }

/* ---------- Footer ---------- */
.ha-footer { background: var(--color-green-dark); color: #E6F0E9; padding: 68px 0 24px; }
.ha-footer p { color: rgba(230, 240, 233, 0.75); }
.ha-footer h4 { color: #fff; margin-bottom: 16px; }
.ha-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.ha-footer-links, .ha-footer-contact { list-style: none; padding: 0; margin: 0; }
.ha-footer-links li, .ha-footer-contact li { margin-bottom: 10px; }
.ha-footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(230, 240, 233, 0.9); }
.ha-footer-icon { display: inline-flex; flex-shrink: 0; margin-top: 3px; color: var(--color-gold); }
.ha-footer-links a { color: #E6F0E9; transition: color 0.2s ease; }
.ha-footer-links a:hover { color: var(--color-gold); }
.ha-footer-logo { color: #fff; margin-bottom: 14px; }
.ha-footer-logo img { filter: brightness(0) invert(1); opacity: 0.92; }
.ha-social-row { display: flex; gap: 10px; margin-top: 16px; }
.ha-social-icon {
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255,255,255,0.1); color: #fff;
	display: flex; align-items: center; justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ha-social-icon:hover { background: var(--color-gold); transform: translateY(-3px); }
.ha-footer-bottom { text-align: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.9rem; }

/* ---------- Pages (Booking) ---------- */
.ha-page-header { background: var(--color-cream-alt); padding: 64px 0 44px; text-align: center; }
.ha-content { max-width: 800px; margin: 0 auto; }

/* ---------- Contact ---------- */
.ha-contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.ha-contact-info { display: flex; flex-direction: column; gap: 20px; }
.ha-contact-card { background: var(--color-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.ha-contact-card h3 { margin-bottom: 18px; }
.ha-contact-list { display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0 0 22px; list-style: none; }
.ha-contact-list li { display: flex; align-items: center; gap: 12px; color: var(--color-text); font-weight: 500; }
.ha-contact-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--color-green-light); flex-shrink: 0; font-size: 1rem;
}
.ha-whatsapp-btn { width: 100%; text-align: center; }

/* ---------- Forms ---------- */
.ha-form { display: flex; flex-direction: column; gap: 20px; }
.ha-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.ha-field { display: flex; flex-direction: column; gap: 6px; }
.ha-field label { font-weight: 600; color: var(--color-green-dark); font-size: 0.92rem; }
.ha-field select, .ha-field input[type="date"] {
	padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid #D8D3C4;
	font-family: var(--font-body); font-size: 1rem; background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ha-field select:focus, .ha-field input[type="date"]:focus {
	outline: none; border-color: var(--color-green); box-shadow: 0 0 0 4px rgba(46,125,82,0.12);
}
.ha-field.ha-error select { border-color: #C0392B; }
.ha-field.ha-error label { color: #C0392B; }

.ha-form-group { position: relative; }
.ha-form-group input,
.ha-form-group textarea {
	width: 100%;
	padding: 20px 16px 10px;
	border-radius: var(--radius-sm);
	border: 1.5px solid #D8D3C4;
	font-family: var(--font-body);
	font-size: 1rem;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ha-form-group textarea { resize: vertical; min-height: 110px; }
.ha-form-group input:focus,
.ha-form-group textarea:focus {
	outline: none;
	border-color: var(--color-green);
	box-shadow: 0 0 0 4px rgba(46,125,82,0.12);
}
.ha-form-group label {
	position: absolute;
	left: 16px; top: 16px;
	color: var(--color-text-soft);
	font-weight: 500;
	pointer-events: none;
	background: transparent;
	transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease;
}
.ha-form-group input:focus + label,
.ha-form-group input:not(:placeholder-shown) + label,
.ha-form-group textarea:focus + label,
.ha-form-group textarea:not(:placeholder-shown) + label {
	top: 6px;
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--color-green);
}
.ha-form-error {
	display: block;
	min-height: 18px;
	font-size: 0.8rem;
	color: #C0392B;
	margin-top: 5px;
	padding-left: 2px;
}
.ha-form-group.ha-error input,
.ha-form-group.ha-error textarea {
	border-color: #C0392B;
}
.ha-form-group.ha-error label { color: #C0392B; }

.ha-btn-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ha-btn-spinner {
	display: none;
	width: 16px; height: 16px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: ha-spin 0.7s linear infinite;
}
.ha-submitting .ha-btn-submit { opacity: 0.85; cursor: wait; }
.ha-submitting .ha-btn-spinner { display: inline-block; }
.ha-submitting .ha-btn-label { opacity: 0.75; }
@keyframes ha-spin { to { transform: rotate(360deg); } }

.ha-result {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease, margin 0.35s ease;
	border-radius: var(--radius-sm);
	font-weight: 500;
}
.ha-result-visible {
	max-height: 200px;
	opacity: 1;
	transform: translateY(0);
	margin-bottom: 4px;
	padding: 14px 18px;
}
.ha-result-success { background: #E6F0E9; color: var(--color-green-dark); }
.ha-result-error { background: #FBE9E7; color: #A33A2B; }

.ha-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.ha-alert-success { background: #E6F0E9; color: var(--color-green-dark); }
.ha-alert-error { background: #FBE9E7; color: #A33A2B; }

/* ---------- Scroll-reveal animation ---------- */
.ha-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.ha-reveal.ha-visible { opacity: 1; transform: translateY(0); }

/* Directional variants — used on image+text cards for a layered feel
   (the photo slides in from its own side while the text fades up). */
.ha-reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.ha-reveal-left.ha-visible { opacity: 1; transform: translateX(0); }
.ha-reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.ha-reveal-right.ha-visible { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
	.ha-reveal, .ha-reveal-left, .ha-reveal-right { opacity: 1; transform: none; transition: none; }
	.ha-whatsapp-float { animation: none; }
	html { scroll-behavior: auto; }
	body, body.ha-page-ready, body.ha-page-leaving { opacity: 1; transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
	.ha-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.ha-footer-grid { grid-template-columns: 1fr; }
	.ha-contact-grid { grid-template-columns: 1fr; }
	.ha-training-grid { grid-template-columns: 1fr; }
	.ha-hero { min-height: auto; padding: 96px 0 80px; }
	.ha-online-strip { flex-direction: column; align-items: flex-start; text-align: left; }
	h1 { font-size: 2.4rem; }
	.ha-mini-slider-wrap { flex: 0 0 100%; width: 100%; max-width: 420px; margin: 0 auto; }
	.ha-mini-slider { aspect-ratio: 16/10; }
}

@media (max-width: 640px) {
	h1 { font-size: 2.1rem; }
	h2 { font-size: 1.7rem; }
	.ha-grid-3 { grid-template-columns: 1fr; }
	.ha-grid-2 { grid-template-columns: 1fr; }
	.ha-form-row { grid-template-columns: 1fr; }
	.ha-nav-toggle { display: flex; }
	.ha-nav {
		position: absolute; top: 80px; left: 0; right: 0;
		background: var(--color-cream); flex-direction: column; align-items: flex-start;
		padding: 20px 24px; gap: 16px; box-shadow: var(--shadow);
		display: none;
	}
	.ha-nav.ha-nav-open { display: flex; }
	.ha-nav-list { flex-direction: column; gap: 4px; width: 100%; }
	.ha-nav-list a { display: block; padding: 10px 0; width: 100%; }
	.ha-nav-cta { width: 100%; text-align: center; }
	.ha-header-inner { height: 68px; }
	.ha-logo img { max-height: 36px; }
	.ha-logo-text { font-size: 1.05rem; }

	.ha-hero { padding: 56px 0 48px; text-align: left; background-attachment: scroll !important; min-height: auto; }
	.ha-mini-slider-wrap { max-width: 100%; margin: 0; }
	.ha-mini-slider { aspect-ratio: 16/10; }
	.ha-hero-sub { font-size: 1.05rem; }
	.ha-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
	.ha-hero-actions .ha-btn { text-align: center; }

	.ha-section { padding: 48px 0; }
	.ha-section-title { margin-bottom: 30px; }
	.ha-container { padding: 0 18px; }

	.ha-card { padding: 26px 22px; }
	.ha-online-strip { padding: 28px 22px; }
	.ha-online-strip .ha-btn { width: 100%; text-align: center; }
	.ha-check-list { gap: 10px 20px; }

	.ha-training-card { flex-direction: column; }
	.ha-training-img { min-height: 170px; flex-basis: auto; }
	.ha-training-text { padding: 20px 20px 24px; }

	.ha-carousel-wrap { padding: 0 16px; }
	.ha-carousel-item { width: 78vw; max-width: 280px; }
	.ha-carousel-btn { display: none; }

	.ha-contact-card { padding: 24px 22px; }
	.ha-form-group input, .ha-form-group textarea, .ha-field select, .ha-field input[type="date"] { font-size: 16px; } /* prevents iOS zoom-on-focus */

	.ha-whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }

	section[id] { scroll-margin-top: 68px; }
}

@media (max-width: 380px) {
	h1 { font-size: 1.8rem; }
	.ha-carousel-item { width: 84vw; }
}
