/* =============================================================
   SALÓN RAÍZ Y ALMA · Belleza y Bienestar Integral · Tomares
   Paleta corporativa: fondo #F6E8DF · tinta #404C56 · acento #8A4E3D
   Dorado del logo: #B08D57 · Mundo holístico: #2A333C
   Tipografías: Grifo Light (títulos) + Jost (cuerpo)
   Identidad propia: arcos, marcos dorados desplazados, sello giratorio,
   header boutique con logo centrado y footer claro con marca de agua.
   ============================================================= */

@font-face {
	font-family: 'Grifo Light';
	src: url('../fonts/grifol-light-webfont.woff2') format('woff2'),
	     url('../fonts/grifol-light-webfont.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #F6E8DF;
	--bg-tint: #EFDCCF;
	--bg-card: #FBF4EC;
	--ink: #404C56;
	--ink-soft: rgba(64, 76, 86, .72);
	--line: rgba(64, 76, 86, .16);
	--accent: #8A4E3D;
	--gold: #B08D57;
	--gold-soft: rgba(176, 141, 87, .35);
	--deep: #2A333C;
	--deep-2: #232B33;
	--cream-on-deep: rgba(246, 232, 223, .82);
	--serif: 'Grifo Light', 'Cormorant Garamond', Georgia, serif;
	--sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--header-h: 108px;
}

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.04rem;
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .3s var(--ease-out); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 300;
	line-height: 1.12;
	margin: 0 0 .5em;
	letter-spacing: .01em;
}

h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h2 em, h1 em { font-style: normal; color: var(--accent); }

p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; line-height: 1.65; }

.eyebrow {
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 400;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1.1rem;
}
.eyebrow::before { content: '✦'; color: var(--gold); margin-right: .8rem; letter-spacing: 0; }
.eyebrow--center { text-align: center; }
.eyebrow--center::after { content: '✦'; color: var(--gold); margin-left: .8rem; letter-spacing: 0; }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.wrap--narrow { width: min(780px, 92vw); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tinted { background: var(--bg-tint); }
.section--card { background: var(--bg-card); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Botones: rectos con marco dorado desplazado ---------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	font-family: var(--sans);
	font-size: .85rem;
	font-weight: 400;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding: 1.05rem 2.3rem;
	border: 1px solid var(--ink);
	border-radius: 0;
	cursor: pointer;
	isolation: isolate;
	transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid var(--gold);
	transform: translate(7px, 7px);
	z-index: -1;
	transition: transform .35s var(--ease-out);
	pointer-events: none;
}
.btn:hover::after { transform: translate(0, 0); }

.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: transparent; color: #E8C79A; border-color: #E8C79A; }
.btn--gold::after { border-color: rgba(246, 232, 223, .5); }
.btn--outline-light { background: transparent; border-color: rgba(246, 232, 223, .55); color: var(--cream-on-deep); }
.btn--outline-light:hover { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.btn--outline-light::after { border-color: var(--gold); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: transparent; color: var(--bg); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: .85rem;
	font-weight: 400;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--gold);
	padding-bottom: .35rem;
}
.link-arrow i { font-size: .95em; transition: transform .35s var(--ease-out); }
.link-arrow:hover i { transform: translateX(7px); }

/* Fila genérica de acciones */
.hero__actions { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Animaciones de aparición ---------- */

.reveal {
	opacity: 0;
	transform: translateY(38px);
	filter: blur(6px);
	transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
	transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

.reveal--left { transform: translateX(-46px); }
.reveal--right { transform: translateX(46px); }
.reveal--zoom { transform: scale(.94); }

/* Cortina sobre imágenes: se descubre al entrar en pantalla */
.unveil { position: relative; overflow: hidden; }
.unveil::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--bg-tint);
	transform: scaleY(1);
	transform-origin: top;
	transition: transform 1.1s var(--ease-out);
	transition-delay: var(--d, 0s);
	z-index: 2;
}
.unveil.is-in::after { transform: scaleY(0); }
.unveil img {
	transform: scale(1.12);
	transition: transform 1.4s var(--ease-out);
	transition-delay: var(--d, 0s);
}
.unveil.is-in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .unveil::after, .unveil img, .portada__in { transition: none !important; animation: none !important; }
	.reveal, .portada__in { opacity: 1 !important; transform: none !important; filter: none; }
	.unveil::after { display: none; }
	.unveil img { transform: none; }
	.marquee__track { animation: none !important; }
	.sello svg { animation: none !important; }
}

/* ---------- Header boutique: logo centrado, nav partida ---------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	transition: background .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.site-header__inner {
	width: min(1360px, 94vw);
	margin-inline: auto;
	height: var(--header-h);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
	transition: height .45s var(--ease-out);
}

.site-header__logo { display: block; justify-self: center; }
.site-header__logo img {
	height: 84px;
	width: auto;
	transition: height .45s var(--ease-out), filter .45s var(--ease-out);
}

.site-header__nav--izq { justify-self: end; }
.site-header__nav--der { justify-self: start; }

.nav-media {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: clamp(1.2rem, 2.4vw, 2.6rem);
}
.nav-media a {
	position: relative;
	display: inline-block;
	padding: .4rem 0;
	font-size: .8rem;
	font-weight: 400;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
}
.nav-media a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--gold);
	transform: translateX(-50%);
	transition: width .4s var(--ease-out);
}
.nav-media a:hover { color: var(--accent); }
.nav-media a:hover::after { width: 100%; }
.nav-media li.es-actual a { color: var(--accent); }
.nav-media li.es-actual a::after {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	bottom: -2px;
}

/* Estado scrolled */
.site-header.is-scrolled {
	background: rgba(246, 232, 223, .92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--gold-soft);
}
.site-header.is-scrolled .site-header__inner { height: 76px; }
.site-header.is-scrolled .site-header__logo img { height: 56px; }

/* Sobre héroe a sangre (páginas interiores): header en claro hasta scroll */
.has-hero .site-header:not(.is-scrolled) .site-header__logo img { filter: brightness(0) invert(1); }
.has-hero .site-header:not(.is-scrolled) .nav-media a { color: rgba(255, 255, 255, .92); }
.has-hero .site-header:not(.is-scrolled) .nav-media a:hover { color: #E8C79A; }
.has-hero .site-header:not(.is-scrolled) .nav-media li.es-actual a { color: #E8C79A; }
.has-hero .site-header:not(.is-scrolled) .menu-toggle__line { background: #fff; }

/* ---------- Botón menú (solo móvil) ---------- */

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 46px;
	height: 46px;
	padding: 0 8px;
	background: none;
	border: 1px solid var(--line);
	cursor: pointer;
	justify-self: end;
}
.menu-toggle__line {
	display: block;
	width: 100%;
	height: 1.5px;
	background: var(--ink);
	transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.menu-toggle__line:nth-child(2) { width: 70%; }

body.nav-is-open { overflow: hidden; }

/* ---------- Cajón lateral (menú móvil) ---------- */

.site-drawer {
	position: fixed;
	inset: 0;
	z-index: 70;
	visibility: hidden;
	pointer-events: none;
}
body.nav-is-open .site-drawer { visibility: visible; pointer-events: auto; }

.site-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(42, 51, 60, .5);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .5s var(--ease-out);
}
body.nav-is-open .site-drawer__backdrop { opacity: 1; }

.site-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	background:
		radial-gradient(700px 300px at 100% 0%, rgba(176, 141, 87, .18), transparent 60%),
		var(--deep);
	color: var(--cream-on-deep);
	display: flex;
	flex-direction: column;
	padding: 1.6rem 2rem 2rem;
	box-sizing: border-box;
	overflow-y: auto;
	transform: translateX(105%);
	transition: transform .55s var(--ease-out);
}
body.nav-is-open .site-drawer__panel { transform: translateX(0); }

.site-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 1.4rem;
	border-bottom: 1px solid rgba(176, 141, 87, .3);
}
.site-drawer__logo { height: 62px; width: auto; filter: brightness(0) invert(.94) sepia(.14); }
.site-drawer__cerrar {
	width: 44px;
	height: 44px;
	background: none;
	border: 1px solid rgba(176, 141, 87, .4);
	color: #E8C79A;
	font-size: 1.1rem;
	cursor: pointer;
	transition: background .35s var(--ease-out), transform .35s var(--ease-out);
}
.site-drawer__cerrar:hover { background: rgba(176, 141, 87, .18); transform: rotate(90deg); }

.site-drawer__menu { flex: 1; display: flex; align-items: center; }
.drawer-links { list-style: none; margin: 0; padding: 0; width: 100%; }
.drawer-links li {
	opacity: 0;
	transform: translateX(36px);
	transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
body.nav-is-open .drawer-links li { opacity: 1; transform: none; }
body.nav-is-open .drawer-links li:nth-child(1) { transition-delay: .18s; }
body.nav-is-open .drawer-links li:nth-child(2) { transition-delay: .24s; }
body.nav-is-open .drawer-links li:nth-child(3) { transition-delay: .30s; }
body.nav-is-open .drawer-links li:nth-child(4) { transition-delay: .36s; }
body.nav-is-open .drawer-links li:nth-child(5) { transition-delay: .42s; }
body.nav-is-open .drawer-links li:nth-child(6) { transition-delay: .48s; }

.drawer-links a {
	display: flex;
	align-items: center;
	gap: .9rem;
	font-family: var(--serif);
	font-size: 1.75rem;
	color: #F6E8DF;
	padding: .55rem 0;
	border-bottom: 1px solid rgba(246, 232, 223, .08);
}
.drawer-links a::before { content: '✦'; font-size: .65rem; color: var(--gold); transition: transform .35s var(--ease-out); }
.drawer-links a:hover { color: #E8C79A; }
.drawer-links a:hover::before { transform: rotate(180deg) scale(1.25); }
.drawer-links li.current-menu-item a { color: #E8C79A; }

.site-drawer__pie { padding-top: 1.4rem; border-top: 1px solid rgba(176, 141, 87, .3); }
.site-drawer__dato { margin: 0 0 .5rem; font-size: .92rem; }
.site-drawer__dato i { color: var(--gold); width: 1.2rem; }
.site-drawer__dato a { color: var(--cream-on-deep); }
.site-drawer__dato a:hover { color: #E8C79A; }
.site-drawer__social { display: flex; gap: .9rem; margin-top: 1.1rem; }
.site-drawer__social a {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(176, 141, 87, .45);
	color: #E8C79A;
	transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.site-drawer__social a:hover { background: var(--gold); color: #fff; }

/* ---------- Portada: héroe partido con arcos ---------- */

.portada {
	position: relative;
	padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem);
	background:
		radial-gradient(900px 500px at 88% 12%, rgba(176, 141, 87, .14), transparent 60%),
		var(--bg);
	overflow: hidden;
}
.portada__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}
.portada__titulo {
	font-size: clamp(2.6rem, 5.6vw, 4.6rem);
	margin-bottom: 1.2rem;
}
.portada__titulo em { color: var(--gold); }
.portada__sub { max-width: 520px; font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 2.2rem; }
.portada__actions { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.portada__claves {
	list-style: none;
	display: flex;
	gap: 1.8rem;
	flex-wrap: wrap;
	margin: 2.6rem 0 0;
	padding: 1.1rem 0 0;
	border-top: 1px solid var(--gold-soft);
}
.portada__claves li {
	font-size: .78rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.portada__claves li::before { content: '·'; color: var(--gold); margin-right: .6rem; font-weight: 700; }

.portada__visual { position: relative; min-height: clamp(440px, 58vh, 640px); }

.arco { margin: 0; overflow: hidden; }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.arco--grande {
	position: absolute;
	top: 0;
	right: 6%;
	width: 72%;
	height: 100%;
	border-radius: 999px 999px 0 0;
	box-shadow: 0 30px 60px rgba(64, 76, 86, .22);
}
.arco--peque {
	position: absolute;
	left: 0;
	bottom: 4%;
	width: 34%;
	aspect-ratio: 3 / 4;
	border-radius: 999px 999px 0 0;
	border: 6px solid var(--bg);
	box-shadow: 0 22px 44px rgba(64, 76, 86, .2);
	z-index: 2;
}
/* Marco dorado que acompaña al arco grande */
.arco--grande::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(255, 255, 255, .35);
	transform: scale(.92);
	z-index: 2;
	pointer-events: none;
}

.sello {
	position: absolute;
	right: 10%;
	bottom: 2%;
	width: 128px;
	height: 128px;
	z-index: 3;
	border-radius: 50%;
	background: rgba(42, 51, 60, .30);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.sello svg {
	width: 100%;
	height: 100%;
	animation: selloGira 20s linear infinite;
}
.sello text {
	font-family: var(--sans);
	font-size: 11.5px;
	letter-spacing: .32em;
	text-transform: uppercase;
	fill: #F6E8DF;
}
.sello__centro {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	color: var(--gold);
}
@keyframes selloGira { to { transform: rotate(360deg); } }

/* Entrada escalonada de la portada */
.portada__in {
	opacity: 0;
	transform: translateY(34px);
	animation: portadaIn 1s var(--ease-out) forwards;
}
.portada__in--1 { animation-delay: .15s; }
.portada__in--2 { animation-delay: .3s; }
.portada__in--3 { animation-delay: .45s; }
.portada__in--4 { animation-delay: .6s; }
.portada__in--5 { animation-delay: .75s; }
@keyframes portadaIn { to { opacity: 1; transform: none; } }

/* ---------- Héroe interior de páginas ---------- */

.page-hero {
	position: relative;
	min-height: 62vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
	border-radius: 0 0 50% 50% / 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
}
.page-hero__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.page-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(42, 51, 60, .38), rgba(42, 51, 60, .12) 50%, rgba(42, 51, 60, .66));
}
.page-hero__content {
	position: relative;
	z-index: 2;
	width: min(1200px, 92vw);
	margin-inline: auto;
	padding: calc(var(--header-h) + 4rem) 0 3.8rem;
}
.page-hero__content .eyebrow { color: #E8C79A; }
.page-hero__title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin: 0; text-shadow: 0 2px 26px rgba(0, 0, 0, .35); }
.page-hero__title em { color: #E8C79A; }
.page-hero__sub { max-width: 640px; color: rgba(255, 255, 255, .88); font-size: 1.12rem; margin-top: 1rem; }

/* ---------- Marquee ---------- */

.marquee {
	overflow: hidden;
	border-block: 1px solid var(--gold-soft);
	padding: 1.15rem 0;
	background: var(--bg-card);
}
.marquee__track {
	display: flex;
	gap: 3.4rem;
	width: max-content;
	animation: marquee 34s linear infinite;
}
.marquee span {
	font-family: var(--serif);
	font-size: 1.25rem;
	letter-spacing: .1em;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 3.4rem;
}
.marquee span::after { content: '✦'; font-size: .7em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bloques de portada ---------- */

.filosofia__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}
.filosofia__images { position: relative; min-height: 520px; }
.filosofia__img { margin: 0; position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(64, 76, 86, .22); }
.filosofia__img img { width: 100%; height: 100%; object-fit: cover; }
.filosofia__img--a { width: 68%; aspect-ratio: 3 / 4; top: 0; left: 0; z-index: 1; border-radius: 999px 999px 14px 14px; }
.filosofia__img--b { width: 52%; aspect-ratio: 4 / 5; bottom: 0; right: 0; z-index: 2; border: 6px solid var(--bg); }
.filosofia__firma {
	font-family: var(--serif);
	font-size: 1.6rem;
	color: var(--accent);
	margin-top: 1.4rem;
}

/* Dos mundos: peluquería / holístico */
.mundos { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; }
.mundo {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
	min-height: 480px;
}
.mundo__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 1.2s var(--ease-out);
}
.mundo:hover .mundo__media { transform: scale(1.06); }
.mundo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(185deg, rgba(42, 51, 60, .05) 30%, rgba(42, 51, 60, .78));
	transition: background .6s var(--ease-out);
}
.mundo__body { position: relative; z-index: 2; padding: clamp(1.8rem, 4vw, 3.2rem); width: 100%; box-sizing: border-box; }
.mundo__num {
	font-family: var(--sans);
	font-size: .8rem;
	letter-spacing: .3em;
	color: #E8C79A;
	display: block;
	margin-bottom: .6rem;
}
.mundo__body h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); color: #fff; margin-bottom: .4rem; }
.mundo__body p { color: rgba(255, 255, 255, .85); max-width: 480px; margin-bottom: 1.3rem; }
.mundo .link-arrow { color: #fff; border-color: #E8C79A; }
.mundo .link-arrow:hover { color: #E8C79A; }

/* Tarjetas de tratamientos */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.card {
	display: block;
	background: var(--bg-card);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(64, 76, 86, .1);
	transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card:hover { transform: translateY(-10px); box-shadow: 0 28px 54px rgba(64, 76, 86, .2); }
.card__media { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 1.7rem 1.8rem 2rem; }
.card__body h3 { margin-bottom: .45rem; }
.card__body p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.2rem; }

/* Cita parallax */
.quote {
	position: relative;
	min-height: 64vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
}
@media (hover: none) { .quote { background-attachment: scroll; } }
.quote__veil { position: absolute; inset: 0; background: rgba(42, 51, 60, .55); }
.quote__text { position: relative; z-index: 2; width: min(880px, 90vw); margin: 0; padding: 4rem 0; }
.quote__text p {
	font-family: var(--serif);
	font-size: clamp(1.7rem, 3.6vw, 2.9rem);
	line-height: 1.35;
	margin: 0;
}
.quote__text cite {
	display: block;
	margin-top: 1.4rem;
	font-family: var(--sans);
	font-style: normal;
	font-size: .8rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: #E8C79A;
}

/* Secretos del Agua en portada: hornacinas de arco */
.sda__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.sda__logo { max-width: 190px; margin-bottom: 1.6rem; }
.sda__logo svg { width: 100%; height: auto; }

.nichos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(.9rem, 2vw, 1.5rem);
	align-items: end;
}
.nicho { margin: 0; text-align: center; }
.nicho__arco {
	position: relative;
	background: linear-gradient(180deg, var(--bg-card), var(--bg-tint));
	border: 1px solid var(--gold-soft);
	border-radius: 999px 999px 0 0;
	padding: clamp(1.6rem, 3vw, 2.4rem) 1rem 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	aspect-ratio: 3 / 4.4;
	overflow: hidden;
	transition: border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.nicho--alto .nicho__arco { aspect-ratio: 3 / 5; }
.nicho__arco::after {
	content: '';
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.nicho__arco img {
	max-height: 82%;
	width: auto;
	filter: drop-shadow(0 16px 18px rgba(64, 76, 86, .25));
	transition: transform .6s var(--ease-out);
}
.nicho:hover .nicho__arco { border-color: var(--gold); box-shadow: 0 20px 44px rgba(64, 76, 86, .14); }
.nicho:hover .nicho__arco img { transform: translateY(-9px); }
.nicho figcaption {
	margin-top: .9rem;
	font-family: var(--serif);
	font-size: 1.05rem;
	letter-spacing: .04em;
}

/* Reseñas */
.resenas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }
.resena {
	background: var(--bg-card);
	border-radius: 14px;
	padding: 2rem 1.9rem;
	box-shadow: 0 12px 30px rgba(64, 76, 86, .08);
	display: flex;
	flex-direction: column;
	gap: .9rem;
}
.resena__stars { color: var(--gold); font-size: .85rem; letter-spacing: .25em; }
.resena p { font-size: .97rem; color: var(--ink-soft); margin: 0; flex: 1; }
.resena footer { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

/* Visítanos */
.visita__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.visita__img { margin: 0; border-radius: 999px 999px 14px 14px; overflow: hidden; box-shadow: 0 26px 60px rgba(64, 76, 86, .2); }
.visita__horario { list-style: none; margin: 1.4rem 0 2rem; padding: 0; max-width: 420px; }
.visita__horario li {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: .75rem 0;
	border-bottom: 1px solid var(--line);
	font-size: .98rem;
}
.visita__horario li span:last-child { color: var(--accent); }

/* ---------- Tratamientos (listados con descripción) ---------- */

.trat-bloque { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.trat-bloque--invertido { grid-template-columns: 1.1fr .9fr; }
.trat-bloque__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.trat-bloque__aside figure { margin: 0 0 1.6rem; border-radius: 999px 999px 14px 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(64, 76, 86, .18); }
.trat-bloque__aside .eyebrow { margin-bottom: .8rem; }

.trat-lista { list-style: none; margin: 0; padding: 0; }
.trat-lista > li { border-bottom: 1px solid var(--line); }
.trat-item {
	width: 100%;
	background: none;
	border: 0;
	padding: 1.35rem 0;
	display: block;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}
.trat-item__head { display: flex; align-items: baseline; gap: 1rem; }
.trat-item__nombre { font-family: var(--serif); font-size: 1.3rem; transition: color .3s var(--ease-out); }
.trat-item__puntos { flex: 1; border-bottom: 1px dotted var(--gold-soft); transform: translateY(-4px); }
.trat-item__precio { font-size: .95rem; color: var(--accent); white-space: nowrap; letter-spacing: .04em; }
.trat-item__desc {
	max-height: 0;
	overflow: hidden;
	transition: max-height .55s var(--ease-out), opacity .5s var(--ease-out), margin .5s var(--ease-out);
	opacity: 0;
	margin: 0;
	color: var(--ink-soft);
	font-size: .97rem;
	max-width: 640px;
}
.trat-lista > li.is-open .trat-item__desc { max-height: 300px; opacity: 1; margin-top: .5rem; }
.trat-lista > li.is-open .trat-item__nombre { color: var(--accent); }
.trat-item:hover .trat-item__nombre { color: var(--accent); }
.trat-item__hint {
	display: inline-block;
	font-size: .72rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: .3rem;
	transition: opacity .3s;
}
.trat-lista > li.is-open .trat-item__hint { opacity: 0; }

/* Glosario ¿qué es...? */
.glosario { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }
.glosario__item {
	background: var(--bg-card);
	border-left: 3px solid var(--gold);
	border-radius: 0 14px 14px 0;
	padding: 1.8rem 1.9rem;
	box-shadow: 0 10px 26px rgba(64, 76, 86, .07);
}
.glosario__item h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.glosario__item h3 span { color: var(--gold); font-size: .8em; }
.glosario__item p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Mundo holístico (secciones oscuras) ---------- */

.holistico {
	background:
		radial-gradient(1100px 500px at 85% -10%, rgba(176, 141, 87, .16), transparent 60%),
		radial-gradient(800px 420px at 8% 108%, rgba(138, 78, 61, .2), transparent 60%),
		var(--deep);
	color: var(--cream-on-deep);
}
.holistico h2, .holistico h3 { color: #F6E8DF; }
.holistico h2 em { color: #E8C79A; }
.holistico .eyebrow { color: #E8C79A; }
.holistico a { color: #F6E8DF; }
.holistico a:hover { color: #E8C79A; }
.holistico .unveil::after { background: var(--deep-2); }

.terapias__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); }
.terapia {
	position: relative;
	background: rgba(246, 232, 223, .045);
	border: 1px solid rgba(176, 141, 87, .28);
	border-radius: 16px;
	padding: 2.4rem 2.2rem 2.2rem;
	overflow: hidden;
	transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), background .5s var(--ease-out);
}
.terapia:hover { transform: translateY(-8px); border-color: var(--gold); background: rgba(246, 232, 223, .07); }
.terapia__icono {
	width: 58px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gold);
	border-radius: 50%;
	color: #E8C79A;
	font-size: 1.25rem;
	margin-bottom: 1.4rem;
}
.terapia h3 { margin-bottom: .5rem; }
.terapia p { color: rgba(246, 232, 223, .72); font-size: .99rem; }
.terapia__precio {
	display: inline-block;
	margin-top: .8rem;
	font-size: .82rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #E8C79A;
	border-top: 1px solid rgba(176, 141, 87, .4);
	padding-top: .7rem;
}

/* Separador simbólico */
.simbolo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.4rem;
	color: var(--gold);
	margin: 0 auto;
}
.simbolo::before, .simbolo::after {
	content: '';
	width: min(160px, 20vw);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold));
}
.simbolo::after { background: linear-gradient(90deg, var(--gold), transparent); }
.simbolo i { font-size: 1rem; }

/* ---------- Productos SDA (página) ---------- */

.productos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.3rem, 2.6vw, 2rem); }
.producto {
	background: var(--bg-card);
	border: 1px solid var(--gold-soft);
	border-radius: 999px 999px 14px 14px;
	padding: 1.9rem 1.5rem 1.7rem;
	text-align: center;
	transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
}
.producto:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(64, 76, 86, .16); border-color: var(--gold); }
.producto figure { margin: 0 0 1.2rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.producto img { max-height: 100%; width: auto; transition: transform .6s var(--ease-out); }
.producto:hover img { transform: scale(1.06) translateY(-4px); }
.producto h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.producto p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.lineas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }

/* ---------- Contacto ---------- */

.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }

.form-ra { display: grid; gap: 1.1rem; }
.form-ra label { display: block; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .4rem; color: var(--ink-soft); }
.form-ra input[type="text"],
.form-ra input[type="email"],
.form-ra input[type="tel"],
.form-ra select,
.form-ra textarea {
	width: 100%;
	box-sizing: border-box;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: 0;
	padding: .95rem 1.1rem;
	font: inherit;
	color: var(--ink);
	transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.form-ra input:focus, .form-ra select:focus, .form-ra textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 4px 4px 0 rgba(176, 141, 87, .25);
}
.form-ra textarea { min-height: 150px; resize: vertical; }
.form-ra__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-ra__check { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.form-ra__check input { margin-top: .3rem; }
.form-ra__legal { font-size: .78rem; color: var(--ink-soft); line-height: 1.5; }
.form-ra .btn { justify-self: start; }
.form-ra__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.aviso-envio {
	border-radius: 0;
	padding: 1rem 1.3rem;
	margin-bottom: 1.4rem;
	font-size: .95rem;
	border: 1px solid var(--gold);
	background: rgba(176, 141, 87, .12);
}
.aviso-envio--error { border-color: var(--accent); background: rgba(138, 78, 61, .1); }

.contacto__datos { display: grid; gap: 1.6rem; }
.dato { display: flex; gap: 1.2rem; align-items: flex-start; }
.dato__icono {
	flex: none;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gold);
	border-radius: 999px 999px 0 0;
	color: var(--accent);
}
.dato h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.dato p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.mapa { border-radius: 16px; border: 1px solid var(--gold-soft); overflow: hidden; box-shadow: 0 24px 50px rgba(64, 76, 86, .16); line-height: 0; }
.mapa iframe { width: 100%; height: 500px; border: 0; filter: sepia(.22) saturate(.85); }

/* ---------- CTA banda ---------- */

.cta-banda {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
	text-align: center;
}
@media (hover: none) { .cta-banda { background-attachment: scroll; } }
.cta-banda__veil { position: absolute; inset: 0; background: rgba(42, 51, 60, .6); }
.cta-banda h2 { color: #fff; }
.cta-banda h2 em { color: #E8C79A; }
.cta-banda__inner { position: relative; z-index: 2; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.cta-banda p { color: rgba(255, 255, 255, .85); max-width: 560px; margin-inline: auto; }
.cta-banda .hero__actions { margin-top: 2rem; }

/* ---------- Footer claro con marca de agua ---------- */

.site-footer {
	position: relative;
	background: var(--bg-tint);
	border-top: 1px solid var(--gold-soft);
	overflow: hidden;
	text-align: center;
}

.site-footer__cta {
	width: min(780px, 92vw);
	margin-inline: auto;
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer__simbolo { display: block; color: var(--gold); font-size: 1.2rem; margin-bottom: 1.2rem; }
.site-footer__claim {
	font-family: var(--serif);
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 1.12;
	margin: 0 0 2rem;
	color: var(--ink);
}
.site-footer__claim em { font-style: normal; color: var(--gold); }
.site-footer__cta-actions { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }

.site-footer__core {
	width: min(1000px, 92vw);
	margin-inline: auto;
	padding: clamp(2rem, 4vw, 3rem) 0;
	border-top: 1px solid var(--gold-soft);
	display: grid;
	gap: 1.8rem;
	justify-items: center;
}
.site-footer__logo img { height: 96px; width: auto; margin-inline: auto; }

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: clamp(1.2rem, 3vw, 2.6rem);
	flex-wrap: wrap;
	justify-content: center;
}
.site-footer__menu a {
	font-size: .8rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	position: relative;
	padding-bottom: .3rem;
}
.site-footer__menu a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--gold);
	transform: translateX(-50%);
	transition: width .4s var(--ease-out);
}
.site-footer__menu a:hover::after { width: 100%; }

.site-footer__datos p { margin: 0 0 .45rem; font-size: .95rem; color: var(--ink-soft); }
.site-footer__datos a { color: var(--ink); }
.site-footer__etiqueta {
	display: inline-block;
	min-width: 105px;
	text-align: right;
	margin-right: .9rem;
	font-size: .72rem;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--gold);
}

/* Social en rombos */
.site-footer__social { display: flex; gap: 1.3rem; justify-content: center; }
.site-footer__social a {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gold);
	color: var(--accent);
	transform: rotate(45deg);
	transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out);
}
.site-footer__social a span { transform: rotate(-45deg); display: inline-flex; }
.site-footer__social a:hover { background: var(--gold); color: #fff; transform: rotate(45deg) scale(1.12); }

.site-footer__legal-row {
	width: min(1200px, 92vw);
	margin-inline: auto;
	border-top: 1px solid var(--gold-soft);
	padding: 1.4rem 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	font-size: .82rem;
}
.site-footer__legal { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer__legal a, .site-footer__credit a { color: var(--ink-soft); }
.site-footer__legal a:hover, .site-footer__credit a:hover { color: var(--accent); }
.site-footer__credit { margin: 0; color: var(--ink-soft); }

/* Marca de agua tipográfica gigante */
.site-footer__marca {
	font-family: var(--serif);
	font-size: clamp(4.5rem, 14vw, 12rem);
	line-height: .78;
	white-space: nowrap;
	text-align: center;
	color: transparent;
	-webkit-text-stroke: 1px rgba(176, 141, 87, .38);
	user-select: none;
	pointer-events: none;
	margin-top: .5rem;
	transform: translateY(18%);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
	.nav-media { gap: 1.1rem; }
	.nav-media a { font-size: .72rem; letter-spacing: .18em; }
}

@media (max-width: 1024px) {
	.productos__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	:root { --header-h: 82px; }
	.site-header__nav { display: none; }
	.site-header__inner { grid-template-columns: auto 1fr auto; }
	.site-header__logo { justify-self: start; order: -1; }
	.site-header__logo img { height: 60px; }
	.site-header.is-scrolled .site-header__logo img { height: 50px; }
	.menu-toggle { display: flex; }

	.portada__grid { grid-template-columns: 1fr; }
	.portada__visual { min-height: 440px; margin-top: 1rem; }

	.filosofia__grid, .sda__grid, .visita__grid, .contacto__grid,
	.trat-bloque, .trat-bloque--invertido { grid-template-columns: 1fr; }
	.trat-bloque__aside { position: static; }
	.mundos { grid-template-columns: 1fr; min-height: 0; }
	.cards-3, .resenas__grid, .lineas__grid, .terapias__grid, .glosario { grid-template-columns: 1fr; }
	.filosofia__images { min-height: 420px; }
	.form-ra__fila { grid-template-columns: 1fr; }
	.quote, .cta-banda { background-attachment: scroll; }
	.site-footer__legal-row { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
	.productos__grid { grid-template-columns: 1fr 1fr; }
	.portada__actions .btn, .site-footer__cta-actions .btn { width: 100%; box-sizing: border-box; }
	.sello { width: 100px; height: 100px; right: 0; }
	.site-footer__etiqueta { display: block; text-align: center; min-width: 0; margin: 0 0 .1rem; }
	.nichos { grid-template-columns: 1fr 1fr; }
	.nicho--alto { grid-column: span 2; }
	.nicho--alto .nicho__arco { aspect-ratio: 3 / 2.6; }
}
