/**
 * Elementor layout & component styles — Hema Palan Wildlife Stories
 * Class prefixes: hw- (theme), applied via Elementor Advanced > CSS Classes
 */

/* ==========================================================================
   GLOBAL ELEMENTOR
   ========================================================================== */

.elementor-page .elementor-section.hw-section-dark,
.elementor-editor-active .elementor-section.hw-section-dark {
	background-color: var(--hw-black) !important;
}

.elementor-page .elementor-widget-heading .elementor-heading-title {
	letter-spacing: 0.12em;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.hw-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1.5rem var(--hw-gutter) !important;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%) !important;
	transition: background var(--hw-transition);
}

.hw-header.hw-header--scrolled {
	background: rgba(0, 0, 0, 0.95) !important;
}

.hw-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.hw-brand-paw {
	font-size: 1.35rem;
	color: var(--hw-gold);
	line-height: 1;
}

.hw-brand-text {
	display: flex;
	flex-direction: column;
}

.hw-brand .hw-logo-text {
	font-family: var(--hw-serif);
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--hw-gold);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	line-height: 1.4;
}

.hw-brand .hw-logo-sub {
	font-family: var(--hw-sans);
	font-size: 0.55rem;
	font-weight: 400;
	color: var(--hw-text-muted);
	letter-spacing: 0.35em;
	text-transform: uppercase;
}

.hw-logo-text .elementor-heading-title {
	font-family: var(--hw-serif) !important;
	font-size: clamp(0.65rem, 1.2vw, 0.85rem) !important;
	font-weight: 500 !important;
	color: var(--hw-gold) !important;
	letter-spacing: 0.25em !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.hw-logo-sub .elementor-heading-title {
	font-family: var(--hw-sans) !important;
	font-size: 0.55rem !important;
	font-weight: 400 !important;
	color: var(--hw-text-muted) !important;
	letter-spacing: 0.35em !important;
}

.hw-nav .elementor-nav-menu--main .elementor-item {
	font-family: var(--hw-sans) !important;
	font-size: 0.7rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase;
	color: var(--hw-text) !important;
	padding: 0.5rem 1rem !important;
}

.hw-nav .elementor-nav-menu--main .elementor-item:hover,
.hw-nav .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: var(--hw-gold) !important;
}

.hw-nav .elementor-nav-menu--main .elementor-item.elementor-item-active::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: var(--hw-gold);
	margin-top: 4px;
}

/* HTML nav fallback (import template) */
.hw-nav-fallback ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hw-nav-fallback a {
	font-family: var(--hw-sans);
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hw-text);
	transition: color var(--hw-transition);
}

.hw-nav-fallback a:hover,
.hw-nav-fallback a.active {
	color: var(--hw-gold);
}

.hw-nav-fallback a.active,
.hw-nav-fallback .current-menu-item > a,
.hw-nav-fallback .current_page_item > a {
	border-bottom: 1px solid var(--hw-gold);
	padding-bottom: 4px;
}

/* Mobile nav toggle */
@media (max-width: 1024px) {
	.hw-nav .elementor-menu-toggle {
		color: var(--hw-gold) !important;
	}

	.hw-nav .elementor-nav-menu--dropdown {
		background: var(--hw-black) !important;
	}
}

/* ==========================================================================
   HERO + SLIDER
   ========================================================================== */

.hw-hero-wrapper {
	min-height: 100vh !important;
	padding: 0 !important;
	position: relative;
	overflow: hidden;
}

.hw-hero-wrapper > .elementor-container,
.hw-hero-wrapper > .e-con {
	max-width: none !important;
	min-height: 100vh;
}

.hw-hero-wrapper .elementor-column,
.hw-hero-wrapper .e-con-inner {
	min-height: 100vh;
}

.hw-hero-slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hw-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center right;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.hw-hero-slide.is-active {
	opacity: 1;
}

.hw-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.93) 0%,
		rgba(0, 0, 0, 0.72) 38%,
		rgba(0, 0, 0, 0.35) 62%,
		rgba(0, 0, 0, 0.15) 100%
	);
	pointer-events: none;
}

.hw-hero-inner {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 7rem var(--hw-gutter) 5rem;
	max-width: 620px;
}

.hw-hero-dots {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	position: absolute;
	left: 0;
	bottom: 18%;
}

.hw-slide-dot {
	width: 8px;
	height: 8px;
	border: 1px solid var(--hw-gold);
	background: transparent;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	transition: background var(--hw-transition);
}

.hw-slide-dot.is-active {
	background: var(--hw-gold);
}

.hw-hero {
	min-height: 100vh !important;
	display: flex;
	align-items: center;
}

.hw-hero .elementor-background-overlay {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.65) 45%,
		rgba(0, 0, 0, 0.25) 70%,
		rgba(0, 0, 0, 0.1) 100%
	) !important;
	opacity: 1 !important;
}

/* Hero HTML block (slider section) */
.hw-hero-block .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}

.hw-hero-inner .hw-hero-ornament {
	display: flex;
	align-items: center;
	max-width: 280px;
	margin-bottom: 1.5rem;
}

.hw-hero-inner .hw-hero-ornament .hw-line {
	flex: 1;
	height: 1px;
	background: var(--hw-gold);
}

.hw-hero-inner .hw-hero-ornament .hw-diamond {
	color: var(--hw-gold);
	font-size: 0.5rem;
	padding: 0 0.75rem;
}

.hw-hero-inner .hw-hero-title {
	font-family: var(--hw-serif);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 400;
	color: var(--hw-gold);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.15;
	margin: 0 0 1rem;
}

.hw-hero-inner .hw-hero-tagline {
	font-family: var(--hw-sans);
	font-size: clamp(0.6rem, 1.2vw, 0.75rem);
	font-weight: 400;
	color: var(--hw-text-muted);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
}

.hw-hero-inner .hw-hero-quote {
	font-family: var(--hw-serif);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 400;
	color: var(--hw-text);
	letter-spacing: 0.05em;
	margin: 0 0 1.25rem;
}

.hw-hero-inner .hw-hero-quote em {
	font-style: italic;
	color: var(--hw-gold);
}

.hw-hero-inner .hw-hero-body {
	font-family: var(--hw-sans);
	font-size: 0.85rem;
	font-weight: 300;
	color: var(--hw-text-muted);
	line-height: 1.8;
	max-width: 420px;
	margin: 0 0 2rem;
}

.hw-hero-inner .hw-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--hw-sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--hw-gold);
	border: 1px solid var(--hw-gold);
	padding: 1rem 2rem;
	transition: all var(--hw-transition);
}

.hw-hero-inner .hw-hero-cta:hover {
	background: var(--hw-gold);
	color: var(--hw-black);
}

.hw-hero-inner .hw-slide-line,
.hw-slide-indicator .hw-slide-line {
	width: 1px;
	height: 60px;
	background: var(--hw-gold);
	margin: 0.5rem 0 0;
}

.hw-slide-indicator {
	font-family: var(--hw-sans);
	font-size: 0.75rem;
	color: var(--hw-gold);
	letter-spacing: 0.15em;
}

.hw-slide-indicator .hw-slide-current {
	font-size: 1.25rem;
	display: inline-block;
	margin-bottom: 0.25rem;
}

.hw-scroll-hint {
	font-family: var(--hw-sans);
	font-size: 0.65rem;
	letter-spacing: 0.35em;
	color: var(--hw-text-muted);
	text-transform: uppercase;
}

.hw-scroll-hint .hw-scroll-line {
	width: 1px;
	height: 50px;
	background: var(--hw-text-muted);
	margin: 1rem auto 0;
}

.hw-hero-ornament {
	display: flex;
	align-items: center;
	gap: 0;
	max-width: 280px;
	margin-bottom: 1.5rem;
}

.hw-hero-ornament .elementor-widget-divider {
	flex: 1;
}

.hw-hero-ornament .elementor-divider {
	padding: 0 !important;
}

.hw-hero-ornament .elementor-divider-separator {
	border-top: 1px solid var(--hw-gold) !important;
}

.hw-hero-ornament .hw-diamond .elementor-heading-title {
	font-size: 0.5rem !important;
	color: var(--hw-gold) !important;
	letter-spacing: 0 !important;
	padding: 0 0.75rem;
}

.hw-hero-title .elementor-heading-title {
	font-family: var(--hw-serif) !important;
	font-size: clamp(2rem, 5vw, 3.5rem) !important;
	font-weight: 400 !important;
	color: var(--hw-gold) !important;
	text-transform: uppercase;
	letter-spacing: 0.15em !important;
	line-height: 1.15 !important;
}

.hw-hero-tagline .elementor-heading-title {
	font-family: var(--hw-sans) !important;
	font-size: clamp(0.6rem, 1.2vw, 0.75rem) !important;
	font-weight: 400 !important;
	color: var(--hw-text-muted) !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase;
}

.hw-hero-quote .elementor-heading-title {
	font-family: var(--hw-serif) !important;
	font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important;
	font-weight: 400 !important;
	color: var(--hw-text) !important;
	letter-spacing: 0.05em !important;
	font-style: normal;
}

.hw-hero-quote em,
.hw-hero-quote .elementor-heading-title em {
	font-style: italic;
	color: var(--hw-gold);
}

.hw-hero-body .elementor-widget-container {
	font-family: var(--hw-sans);
	font-size: 0.85rem;
	font-weight: 300;
	color: var(--hw-text-muted);
	line-height: 1.8;
	max-width: 420px;
}

/* Ghost CTA buttons */
.hw-btn-ghost .elementor-button {
	font-family: var(--hw-sans) !important;
	font-size: 0.7rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase;
	color: var(--hw-gold) !important;
	background: transparent !important;
	border: 1px solid var(--hw-gold) !important;
	border-radius: 0 !important;
	padding: 1rem 2rem !important;
	transition: all var(--hw-transition) !important;
}

.hw-btn-ghost .elementor-button:hover {
	background: var(--hw-gold) !important;
	color: var(--hw-black) !important;
}

.hw-btn-ghost .elementor-button-content-wrapper {
	gap: 0.75rem;
}

/* Hero slider indicator */
.hw-slide-indicator {
	position: fixed;
	left: var(--hw-gutter);
	bottom: 15%;
	z-index: 1001;
	writing-mode: horizontal-tb;
}

.hw-slide-indicator .elementor-heading-title {
	font-family: var(--hw-sans) !important;
	font-size: 0.75rem !important;
	color: var(--hw-gold) !important;
	letter-spacing: 0.15em !important;
}

.hw-slide-indicator .hw-slide-current {
	font-size: 1.25rem !important;
	display: block;
	margin-bottom: 0.25rem;
}

.hw-slide-line .elementor-divider-separator {
	border-color: var(--hw-gold) !important;
	height: 60px;
	border-left: 1px solid var(--hw-gold) !important;
	border-top: none !important;
	width: 0 !important;
	margin: 0.5rem auto;
}

/* Scroll hint */
.hw-scroll-hint {
	position: fixed;
	right: var(--hw-gutter);
	bottom: 15%;
	z-index: 1001;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
}

.hw-scroll-hint .elementor-heading-title {
	font-family: var(--hw-sans) !important;
	font-size: 0.65rem !important;
	letter-spacing: 0.35em !important;
	color: var(--hw-text-muted) !important;
	text-transform: uppercase;
}

.hw-scroll-hint .elementor-divider-separator {
	border-color: var(--hw-text-muted) !important;
	height: 50px;
	border-left: 1px solid var(--hw-text-muted) !important;
	border-top: none !important;
	width: 0 !important;
	margin-top: 1rem;
}

/* ==========================================================================
   EXPERIENCE SECTION
   ========================================================================== */

.hw-experience {
	min-height: 85vh !important;
	display: flex;
	align-items: center;
}

.hw-experience .elementor-background-overlay {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.95) 0%,
		rgba(0, 0, 0, 0.75) 40%,
		rgba(0, 0, 0, 0.2) 100%
	) !important;
	opacity: 1 !important;
}

.hw-experience .elementor-background-slideshow__slide__image,
.hw-experience .elementor-bg {
	background-position: center center !important;
	background-size: cover !important;
}

.hw-label-caps .elementor-heading-title {
	font-family: var(--hw-sans) !important;
	font-size: 0.7rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.3em !important;
	text-transform: uppercase;
	color: var(--hw-text-muted) !important;
}

.hw-experience-title .elementor-heading-title {
	font-family: var(--hw-serif) !important;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem) !important;
	font-weight: 400 !important;
	color: var(--hw-gold) !important;
	line-height: 1.35 !important;
	letter-spacing: 0.05em !important;
	max-width: 520px;
}

.hw-experience-body .elementor-widget-container {
	font-family: var(--hw-sans);
	font-size: 0.85rem;
	font-weight: 300;
	color: var(--hw-text-muted);
	line-height: 2;
}

.hw-experience-body p {
	margin: 0 0 0.25rem;
}

/* ==========================================================================
   ICON GRID
   ========================================================================== */

.hw-icon-grid {
	padding: var(--hw-section-pad-y) 0 !important;
	border-top: 1px solid rgba(197, 160, 89, 0.15);
	border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.hw-icon-box .elementor-icon-box-wrapper {
	text-align: center;
}

.hw-icon-box .elementor-icon {
	font-size: 2rem !important;
	color: var(--hw-gold) !important;
	border: none !important;
}

.hw-icon-box .elementor-icon i,
.hw-icon-box .elementor-icon svg {
	fill: var(--hw-gold);
	stroke: var(--hw-gold);
}

.hw-icon-box .elementor-icon-box-title {
	font-family: var(--hw-sans) !important;
	font-size: 0.6rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase;
	color: var(--hw-text) !important;
	line-height: 1.6 !important;
	margin-top: 1rem !important;
}

.hw-icon-box .elementor-icon-box-description {
	display: none;
}

/* ==========================================================================
   QUOTE & SOCIAL
   ========================================================================== */

.hw-quote-section {
	padding: var(--hw-section-pad-y) var(--hw-gutter) !important;
}

.hw-quote-marks .elementor-heading-title {
	font-family: var(--hw-serif) !important;
	font-size: 5rem !important;
	line-height: 0.5 !important;
	color: var(--hw-gold) !important;
	opacity: 0.6;
}

.hw-quote-text .elementor-heading-title {
	font-family: var(--hw-serif) !important;
	font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important;
	font-weight: 400 !important;
	font-style: italic;
	color: var(--hw-gold) !important;
	line-height: 1.6 !important;
	max-width: 480px;
}

.hw-quote-signature .elementor-heading-title {
	font-family: var(--hw-script) !important;
	font-size: 2rem !important;
	color: var(--hw-gold) !important;
	letter-spacing: 0 !important;
	font-weight: 400 !important;
	margin-top: 1.5rem;
}

.hw-divider-vertical .elementor-divider-separator {
	border-left: 1px solid rgba(197, 160, 89, 0.35) !important;
	border-top: none !important;
	height: 100%;
	min-height: 200px;
	width: 0 !important;
}

.hw-social-label .elementor-heading-title {
	font-family: var(--hw-sans) !important;
	font-size: 0.7rem !important;
	letter-spacing: 0.3em !important;
	text-transform: uppercase;
	color: var(--hw-text-muted) !important;
}

.hw-social-icons .elementor-social-icon {
	background: transparent !important;
	border: 1px solid var(--hw-gold) !important;
	color: var(--hw-gold) !important;
	font-size: 1rem !important;
	width: 44px !important;
	height: 44px !important;
	line-height: 44px !important;
	border-radius: 0 !important;
	transition: all var(--hw-transition);
}

.hw-social-icons .elementor-social-icon:hover {
	background: var(--hw-gold) !important;
	color: var(--hw-black) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.hw-footer {
	padding: 2rem var(--hw-gutter) !important;
	border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.hw-footer .elementor-heading-title,
.hw-footer .elementor-widget-text-editor {
	font-family: var(--hw-sans) !important;
	font-size: 0.6rem !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase;
	color: var(--hw-text-muted) !important;
}

.hw-footer-paw .elementor-icon {
	color: var(--hw-gold) !important;
	font-size: 1.25rem !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
	.hw-hero-slide {
		background-position: 70% center;
	}

	.hw-hero-inner {
		max-width: 100%;
		padding-top: 6rem;
	}

	.hw-hero .elementor-column:nth-child(1) {
		width: 100% !important;
	}

	.hw-scroll-hint,
	.hw-slide-indicator {
		display: none;
	}

	.hw-hero {
		min-height: 90vh !important;
		padding-top: 6rem !important;
	}

	.hw-hero-wrapper {
		min-height: 90vh !important;
	}

	.hw-icon-grid .elementor-column {
		width: 33.333% !important;
		margin-bottom: 2rem;
	}
}

@media (max-width: 767px) {
	.hw-header {
		padding: 1rem 1.25rem !important;
	}

	.hw-hero .elementor-background-overlay {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.9) 0%,
			rgba(0, 0, 0, 0.6) 50%,
			rgba(0, 0, 0, 0.4) 100%
		) !important;
	}

	.hw-hero-title .elementor-heading-title {
		font-size: 1.75rem !important;
	}

	.hw-experience {
		min-height: auto !important;
		padding: 4rem 0 !important;
	}

	.hw-experience-title .elementor-heading-title {
		font-size: 1.5rem !important;
	}

	.hw-icon-grid .elementor-column {
		width: 50% !important;
	}

	.hw-quote-section .elementor-column {
		width: 100% !important;
		margin-bottom: 2.5rem;
	}

	.hw-divider-vertical {
		display: none !important;
	}

	.hw-footer .elementor-column {
		width: 100% !important;
		text-align: center !important;
		margin-bottom: 0.75rem;
	}
}

@media (max-width: 480px) {
	.hw-icon-grid .elementor-column {
		width: 100% !important;
	}

	.hw-btn-ghost .elementor-button {
		width: 100%;
		justify-content: center;
	}
}
