/*
 * Naturveda — front-end styles
 * Palette: olive, soft gold, terracotta, cream, coffee, warm white, saffron accent
 */

:root {
	--nv-olive: #5a6348;
	--nv-olive-dark: #454c38;
	--nv-gold: #c9a96b;
	--nv-gold-soft: #e3d2b0;
	--nv-terracotta: #b85c3c;
	--nv-terracotta-deep: #8f4328;
	--nv-cream: #f3eee6;
	--nv-coffee: #2f221c;
	--nv-coffee-mid: #4a372e;
	--nv-white-warm: #faf7f2;
	--nv-saffron: #c75c3d;
	--nv-text: #3a322c;
	--nv-muted: #6e635b;
	--font-sans: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--radius: 14px;
	--shadow: 0 18px 50px rgba(47, 34, 28, 0.08);
	--container: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: 400;
	color: var(--nv-text);
	background: var(--nv-white-warm);
	line-height: 1.65;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--nv-terracotta-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--nv-olive-dark);
}

h1,
h2,
h3,
.hero-slide__title {
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--nv-coffee);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	left: 12px;
	top: 12px;
	z-index: 100000;
	background: var(--nv-cream);
	padding: 0.75rem 1rem;
	clip: auto !important;
	width: auto;
	height: auto;
}

.container {
	width: min(100% - 2.5rem, var(--container));
	margin-inline: auto;
}

.container--narrow {
	max-width: 720px;
}

.align-center {
	text-align: center;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 247, 242, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(90, 99, 72, 0.12);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(100% - 2rem, var(--container));
	margin: 0 auto;
	padding: 0.75rem 0;
}

.site-branding .custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.site-title {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--nv-terracotta-deep);
	text-decoration: none;
}

.site-description {
	margin: 0;
	font-size: 0.8rem;
	color: var(--nv-muted);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--nv-coffee);
	margin: 5px 0;
	border-radius: 2px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Primary nav */
.nav-primary-wrap {
	border-top: 1px solid rgba(90, 99, 72, 0.1);
}

.nav-primary {
	list-style: none;
	margin: 0 auto;
	padding: 0.35rem 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem 0.5rem;
	width: min(100%, var(--container));
}

.nav-primary > li > a {
	display: block;
	padding: 0.55rem 0.75rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--nv-coffee-mid);
	border-radius: 6px;
	transition: background 0.2s, color 0.2s;
}

.nav-primary > li.current-menu-item > a,
.nav-primary > li.current-menu-ancestor > a {
	background: var(--nv-olive);
	color: #fff;
}

.nav-primary > li > a:hover {
	background: rgba(201, 169, 107, 0.22);
	color: var(--nv-coffee);
}

/* Submenu bar */
.nav-sub {
	background: linear-gradient(90deg, var(--nv-olive), #6d7758);
	color: #fff;
}

.nav-sub__list {
	list-style: none;
	margin: 0 auto;
	padding: 0.55rem 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1rem;
	width: min(100%, var(--container));
}

.nav-sub a {
	color: #fff;
	text-decoration: none;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.95;
}

.nav-sub a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nav-sub .current-menu-item a {
	border-bottom: 2px solid var(--nv-gold-soft);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.65rem 1.15rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--small {
	padding: 0.45rem 0.85rem;
	font-size: 0.8rem;
}

.btn--primary {
	background: linear-gradient(135deg, var(--nv-terracotta), var(--nv-saffron));
	color: #fff;
	box-shadow: 0 10px 30px rgba(184, 92, 60, 0.25);
}

.btn--primary:hover {
	color: #fff;
}

.btn--whatsapp {
	background: #1f7a4d;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.15);
}

.btn--whatsapp:hover {
	color: #fff;
}

.btn--outline {
	background: transparent;
	border-color: rgba(47, 34, 28, 0.25);
	color: var(--nv-coffee);
}

.btn--outline:hover {
	background: rgba(90, 99, 72, 0.08);
	color: var(--nv-coffee);
}

.btn--outline-light {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
}

.btn--ghost-light {
	background: transparent;
	color: #fdf9f3;
	border-color: rgba(253, 249, 243, 0.45);
}

/* Hero */
.hero-slider {
	position: relative;
	min-height: min(78vh, 640px);
	overflow: hidden;
}

.hero-slider__track {
	position: relative;
	min-height: inherit;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.9s ease;
	display: grid;
	align-items: end;
}

.hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.hero-slide__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #4a4038;
	background-image: radial-gradient(circle at 20% 20%, rgba(201, 169, 107, 0.35), transparent 45%),
		radial-gradient(circle at 80% 30%, rgba(184, 92, 60, 0.25), transparent 40%),
		linear-gradient(145deg, #5a5348, #2f2a24);
}

.hero-slide__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 12, 10, 0.15) 0%, rgba(15, 12, 10, 0.55) 100%);
}

.hero-slide__content {
	position: relative;
	z-index: 2;
	padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(3rem, 8vw, 5rem);
	width: min(100% - 2rem, var(--container));
	margin: 0 auto;
	color: #fff;
}

.hero-slide__title {
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	margin: 0 0 0.5rem;
	color: #fff;
}

.hero-slide__subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	max-width: 36rem;
	margin: 0 0 1.5rem;
	opacity: 0.95;
}

.hero-slide__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.12);
	cursor: pointer;
	transition: background 0.2s;
}

.hero-slider__arrow:hover {
	background: rgba(255, 255, 255, 0.22);
}

.hero-slider__arrow--prev {
	left: 1rem;
}

.hero-slider__arrow--next {
	right: 1rem;
}

.hero-slider__arrow::after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.hero-slider__arrow--prev::after {
	transform: rotate(-135deg);
	margin-left: 14px;
}

.hero-slider__arrow--next::after {
	transform: rotate(45deg);
	margin-right: 14px;
}

.hero-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.25rem;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 0.45rem;
}

.hero-slider__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
}

.hero-slider__dot.is-active {
	background: var(--nv-gold-soft);
	transform: scale(1.15);
}

/* Sections */
.section {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section--cream {
	background: var(--nv-cream);
}

.section--muted {
	background: #ebe4da;
}

.section--about {
	background: var(--nv-white-warm);
}

.section--promo {
	background: linear-gradient(120deg, rgba(90, 99, 72, 0.12), rgba(201, 169, 107, 0.2));
}

.section__title {
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	margin: 0 0 0.5rem;
}

.section__lead {
	margin: 0 0 2rem;
	color: var(--nv-muted);
	max-width: 46rem;
}

.section__head {
	text-align: center;
	margin-bottom: 1.5rem;
}

.two-col {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	align-items: start;
}

.about-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
	border: 1px solid rgba(90, 99, 72, 0.1);
}

.text-link {
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(184, 92, 60, 0.45);
}

/* Pillars */
.pillar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
}

.pillar-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem 1.25rem;
	box-shadow: var(--shadow);
	border: 1px solid rgba(201, 169, 107, 0.25);
	text-align: left;
	position: relative;
	overflow: hidden;
}

.pillar-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 100% 0%, rgba(201, 169, 107, 0.18), transparent 55%);
	pointer-events: none;
}

.pillar-card__icon {
	font-size: 1.5rem;
	color: var(--nv-olive);
	margin-bottom: 0.35rem;
}

.pillar-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
}

/* Services */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.filter-btn {
	border-radius: 999px;
	border: 1px solid rgba(47, 34, 28, 0.15);
	background: #fff;
	padding: 0.4rem 0.9rem;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
}

.filter-btn.is-active {
	background: var(--nv-olive);
	color: #fff;
	border-color: transparent;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}

.service-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(90, 99, 72, 0.08);
}

.service-card__media {
	height: 150px;
	background: linear-gradient(135deg, rgba(90, 99, 72, 0.25), rgba(184, 92, 60, 0.2)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c9a96b' stroke-opacity='0.25'%3E%3Cpath d='M40 5a35 35 0 1 0 0.001 0'/%3E%3Cpath d='M40 15a25 25 0 1 0 0.001 0'/%3E%3C/g%3E%3C/svg%3E");
}

.service-card__body {
	padding: 1.1rem 1.2rem 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.service-card__title {
	margin: 0;
	font-size: 1.2rem;
}

.service-card__meta {
	font-size: 0.8rem;
	color: var(--nv-muted);
	margin-top: auto;
}

.service-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.75rem;
}

/* Programs */
.program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1rem;
}

.program-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.25rem;
	border: 1px solid rgba(90, 99, 72, 0.12);
}

.program-card h3 {
	margin-top: 0;
}

/* Specialists */
.spec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.spec-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.25rem;
	text-align: center;
	box-shadow: var(--shadow);
}

.spec-card__avatar {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	margin: 0 auto 0.75rem;
	background: radial-gradient(circle at 30% 30%, var(--nv-gold-soft), var(--nv-olive));
	opacity: 0.85;
}

/* Promo */
.promo-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	background: #fff;
	padding: 1.75rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border: 1px solid rgba(201, 169, 107, 0.35);
}

/* Testimonials */
.testimonial-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}

.testimonial {
	margin: 0;
	background: #fff;
	padding: 1.5rem;
	border-radius: var(--radius);
	border-left: 4px solid var(--nv-terracotta);
	box-shadow: var(--shadow);
}

.testimonial cite {
	display: block;
	margin-top: 0.75rem;
	font-style: normal;
	font-weight: 600;
	color: var(--nv-muted);
	font-size: 0.9rem;
}

/* Gallery mosaic */
.photo-mosaic {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 110px;
	gap: 0.5rem;
}

.photo-mosaic__cell {
	border-radius: 10px;
	background: linear-gradient(160deg, rgba(90, 99, 72, 0.35), rgba(184, 92, 60, 0.25)),
		linear-gradient(45deg, #d8cbb8, #efe6da);
	min-height: 100px;
}

.photo-mosaic__cell:nth-child(1) {
	grid-column: span 3;
	grid-row: span 2;
}

.photo-mosaic__cell:nth-child(2) {
	grid-column: span 3;
}

.photo-mosaic__cell:nth-child(3) {
	grid-column: span 2;
}

.photo-mosaic__cell:nth-child(4) {
	grid-column: span 2;
}

.photo-mosaic__cell:nth-child(5) {
	grid-column: span 2;
}

.photo-mosaic__cell:nth-child(6) {
	grid-column: span 6;
}

.gallery-hint {
	font-size: 0.85rem;
	color: var(--nv-muted);
	margin-top: 1rem;
}

/* FAQ */
.faq-item {
	background: #fff;
	border-radius: var(--radius);
	padding: 0.25rem 1rem;
	margin-bottom: 0.65rem;
	border: 1px solid rgba(47, 34, 28, 0.08);
}

.faq-item summary {
	cursor: pointer;
	font-weight: 600;
	padding: 0.65rem 0;
}

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.contact-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
	border: 1px solid rgba(90, 99, 72, 0.1);
}

.contact-form label {
	display: block;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	border: 1px solid rgba(47, 34, 28, 0.15);
	font: inherit;
	background: var(--nv-white-warm);
}

.contact-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.map-embed iframe {
	width: 100%;
	min-height: 260px;
	border: 0;
	border-radius: var(--radius);
}

.map-placeholder {
	padding: 1rem;
	border-radius: var(--radius);
	background: var(--nv-cream);
	border: 1px dashed rgba(90, 99, 72, 0.25);
}

.form-feedback {
	min-height: 1.25rem;
	font-size: 0.9rem;
	color: var(--nv-olive-dark);
}

/* Page content */
.page-content {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.entry-title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-thumb {
	margin: 1rem 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.hero-mini {
	background: linear-gradient(135deg, var(--nv-olive), var(--nv-olive-dark));
	color: #fff;
	padding: clamp(2rem, 5vw, 3rem) 0;
}

.hero-mini h1 {
	color: #fff;
	margin: 0 0 0.5rem;
}

.hero-mini__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.link-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.link-list li {
	margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
	position: relative;
	background: radial-gradient(circle at 10% 20%, rgba(201, 169, 107, 0.08), transparent 40%), var(--nv-coffee);
	color: #e8dfd6;
	padding: 3rem 0 0;
	overflow: hidden;
}

.site-footer__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.12;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c9a96b' stroke-width='0.6'%3E%3Cpath d='M30 4c8 6 14 14 16 26M30 4c-8 6-14 14-16 26M14 30h32M4 30c2 12 8 20 16 26M56 30c-2 12-8 20-16 26'/%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.site-footer__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 2rem, var(--container));
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	padding-bottom: 2rem;
}

.footer-heading {
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nv-gold-soft);
	margin: 0 0 0.75rem;
}

.footer-text,
.footer-hours {
	margin: 0 0 0.75rem;
	color: #d8cec4;
}

.footer-link {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.site-footer__legal {
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1rem;
	text-align: center;
	font-size: 0.82rem;
	color: rgba(232, 223, 214, 0.75);
}

.footer-title {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	color: #fff;
}

.footer-logo .custom-logo-link img {
	filter: brightness(0) invert(1) sepia(0.2);
	opacity: 0.95;
	max-height: 52px;
}

.footer-note {
	color: rgba(232, 223, 214, 0.85);
	font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 900px) {
	.menu-toggle {
		display: block;
	}

	.nav-primary-wrap {
		display: none;
		border-top: 0;
	}

	.nav-primary-wrap.is-open {
		display: block;
	}

	.nav-primary {
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 1rem;
	}

	.nav-primary > li > a {
		font-size: 0.82rem;
	}

	.photo-mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 100px;
	}

	.photo-mosaic__cell:nth-child(1),
	.photo-mosaic__cell:nth-child(2),
	.photo-mosaic__cell:nth-child(3),
	.photo-mosaic__cell:nth-child(4),
	.photo-mosaic__cell:nth-child(5),
	.photo-mosaic__cell:nth-child(6) {
		grid-column: auto;
		grid-row: auto;
	}
}

@media (max-width: 600px) {
	.hero-slider__arrow {
		display: none;
	}

	.header-actions .btn--small {
		font-size: 0.72rem;
		padding: 0.4rem 0.65rem;
	}
}

body.nav-open {
	overflow: hidden;
}
