/* =============================================================
   SALONES AGUA VIVA · Peluquería y Estética Consciente
   Conil de la Frontera y El Colorado (Cádiz)

   Dirección visual: Agua / Atlántico.
   Arena #F2EDE4 · verde-azul profundo #1E4B4F · agua #7FB3AE
   Rosa palo #CFA79A heredado del logo, como acento secundario.
   Tipografías: Darloune (manuscrita, propia de la marca) + Lato.

   Motivos propios: ondas de agua entre secciones, botones cápsula,
   retratos circulares, tarjetas de esquina muy redondeada y barra
   superior fija con logo a la izquierda.
   ============================================================= */

@font-face {
	font-family: 'Darloune';
	src: url('../fonts/darloune-webfont.woff2') format('woff2'),
	     url('../fonts/darloune-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--arena: #F2EDE4;
	--arena-2: #E7DED0;
	--card: #FBF8F3;
	--profundo: #1E4B4F;
	--profundo-2: #16393C;
	--agua: #7FB3AE;
	--agua-clara: #A9CFCB;
	--agua-suave: rgba(127, 179, 174, .18);
	--rosa: #CFA79A;
	--tinta: #23302F;
	--tinta-suave: rgba(35, 48, 47, .72);
	--tinta-tenue: rgba(35, 48, 47, .5);
	--linea: rgba(30, 75, 79, .16);
	--crema-sobre-profundo: rgba(242, 237, 228, .84);
	--manuscrita: 'Darloune', 'Brush Script MT', cursive;
	--texto: 'Lato', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	--suave: cubic-bezier(.22, 1, .36, 1);
	--alto-cabecera: 88px;
	--radio: 22px;
	--radio-xl: 40px;
	--sombra: 0 18px 50px rgba(30, 75, 79, .10);
	--sombra-alta: 0 26px 70px rgba(30, 75, 79, .16);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--arena);
	color: var(--tinta);
	font-family: var(--texto);
	font-size: 1.04rem;
	font-weight: 300;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--profundo); text-decoration: none; transition: color .3s var(--suave); }
a:hover { color: var(--agua); }

h1, h2, h3, h4 {
	font-family: var(--texto);
	font-weight: 300;
	line-height: 1.18;
	margin: 0 0 .55em;
	letter-spacing: -.01em;
	color: var(--profundo);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
h4 { font-size: 1.12rem; font-weight: 400; }

p { margin: 0 0 1.1em; }
.entradilla { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.68; color: var(--tinta-suave); }

/* La manuscrita es la firma de la marca: se usa con cuentagotas, en
   arranques de título y en cifras destacadas, nunca en párrafos. */
.manuscrita {
	font-family: var(--manuscrita);
	font-weight: normal;
	letter-spacing: .01em;
	color: var(--rosa);
	line-height: .95;
	display: inline-block;
}

h1 .manuscrita, h2 .manuscrita { font-size: 1.5em; }

.antetitulo {
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--agua);
	margin: 0 0 1.1rem;
	display: flex;
	align-items: center;
	gap: .8rem;
}
.antetitulo::before {
	content: '';
	width: 34px;
	height: 1px;
	background: var(--agua);
	flex: none;
}
.antetitulo--centro { justify-content: center; }
.antetitulo--centro::after {
	content: '';
	width: 34px;
	height: 1px;
	background: var(--agua);
	flex: none;
}

/* ---------- Rejilla base ---------- */

.caja { width: min(1220px, 90vw); margin-inline: auto; }
.caja--estrecha { width: min(820px, 90vw); }

.seccion { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.seccion--arena { background: var(--arena-2); }
.seccion--card { background: var(--card); }
.seccion--profunda { background: var(--profundo); color: var(--crema-sobre-profundo); }
.seccion--profunda h2,
.seccion--profunda h3 { color: #fff; }
.seccion--profunda .antetitulo { color: var(--agua-clara); }
.seccion--profunda .antetitulo::before,
.seccion--profunda .antetitulo::after { background: var(--agua-clara); }
.seccion--profunda a { color: var(--agua-clara); }
.seccion--profunda .entradilla { color: var(--crema-sobre-profundo); }

/* Las tarjetas claras dentro de una sección oscura recuperan la tinta: si no,
   heredan el color pensado para el fondo verde y se quedan en blanco sobre
   crema. Los botones también, porque `.seccion--profunda a` les ganaba. */
.seccion--profunda .salon,
.seccion--profunda .tarjeta,
.seccion--profunda .tarifa { color: var(--tinta); }
.seccion--profunda .salon h3,
.seccion--profunda .tarjeta h3,
.seccion--profunda .tarifa h3 { color: var(--profundo); }
.seccion--profunda .salon p,
.seccion--profunda .tarjeta p,
.seccion--profunda .tarifa p { color: inherit; }
.seccion--profunda .salon a:not(.boton) { color: var(--profundo); }
.seccion--profunda .salon a:not(.boton):hover { color: var(--agua); }
.seccion--profunda .boton { color: var(--arena); }
.seccion--profunda .boton--claro,
.seccion--profunda .boton--linea { color: var(--profundo); }
.seccion--profunda .boton--claro:hover,
.seccion--profunda .boton:hover { color: var(--profundo-2); }
/* El de línea se rellena de verde al pasar por encima, así que su texto tiene
   que irse a arena y no al verde oscuro del resto de botones. */
.seccion--profunda .boton--linea:hover { background: var(--profundo); color: var(--arena); }

.cabecera-seccion { max-width: 720px; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.cabecera-seccion--centro { margin-inline: auto; text-align: center; }
.cabecera-seccion--centro .antetitulo { justify-content: center; }

/* ---------- Onda separadora: el motivo de la casa ---------- */

.onda {
	display: block;
	width: 100%;
	height: clamp(38px, 5vw, 70px);
	fill: currentColor;
	color: var(--arena);
	pointer-events: none;
}
/* Dentro de una sección, la onda se pega al borde y se rellena con el color
   de la sección contigua, de modo que una parece verterse sobre la otra. */
.onda-arriba { position: absolute; top: -1px; left: 0; right: 0; }
.onda-abajo  { position: absolute; bottom: -1px; left: 0; right: 0; }

.onda--arena { color: var(--arena); }
.onda--card { color: var(--card); }
.onda--arena2 { color: var(--arena-2); }
.onda--profunda { color: var(--profundo); }

/* Sitio para que la onda no se coma el contenido. */
.seccion--onda-arriba { padding-top: calc(clamp(4rem, 8vw, 7rem) + clamp(38px, 5vw, 70px)); }
.seccion--onda-abajo  { padding-bottom: calc(clamp(4rem, 8vw, 7rem) + clamp(38px, 5vw, 70px)); }

/* ---------- Botones cápsula ---------- */

.boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	font-family: var(--texto);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: 1rem 2.2rem;
	border: 1px solid var(--profundo);
	border-radius: 999px;
	background: var(--profundo);
	color: var(--arena);
	cursor: pointer;
	transition: background .35s var(--suave), color .35s var(--suave), border-color .35s var(--suave), transform .35s var(--suave);
}
.boton:hover {
	background: var(--agua);
	border-color: var(--agua);
	color: var(--profundo-2);
	transform: translateY(-2px);
}
.boton--linea { background: transparent; color: var(--profundo); }
.boton--linea:hover { background: var(--profundo); color: var(--arena); border-color: var(--profundo); }
.boton--claro { background: var(--arena); border-color: var(--arena); color: var(--profundo); }
.boton--claro:hover { background: var(--agua); border-color: var(--agua); color: var(--profundo-2); }

.botonera { display: flex; flex-wrap: wrap; gap: .9rem; }
.botonera--centro { justify-content: center; }

/* ---------- Cabecera ---------- */

.cabecera {
	position: fixed;
	inset: 0 0 auto;
	z-index: 90;
	height: var(--alto-cabecera);
	display: flex;
	align-items: center;
	background: rgba(242, 237, 228, 0);
	transition: background .4s var(--suave), box-shadow .4s var(--suave), height .4s var(--suave);
}
.cabecera.es-fija,
body:not(.es-portada) .cabecera {
	background: rgba(242, 237, 228, .93);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--linea);
}
.cabecera.es-fija { height: 72px; }

.cabecera__caja {
	width: min(1220px, 90vw);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.marca { display: flex; align-items: center; gap: .85rem; }
.marca img { width: auto; height: 54px; transition: height .4s var(--suave); }
.cabecera.es-fija .marca img { height: 44px; }
.marca__texto { display: none; }

/* Un solo SVG para toda la web. Sobre el hero de portada y en el pie se
   invierte por CSS en vez de servir un segundo fichero de 83 KB. */
.logo--blanco { filter: brightness(0) invert(1); }
.es-portada .cabecera:not(.es-fija) .marca img { filter: brightness(0) invert(1); }

.nav-principal ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 2vw, 2rem);
	margin: 0;
	padding: 0;
}
.nav-principal a {
	position: relative;
	font-size: .82rem;
	font-weight: 400;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--profundo);
	padding-block: .4rem;
}
.es-portada .cabecera:not(.es-fija) .nav-principal a { color: #fff; text-shadow: 0 1px 12px rgba(20, 45, 48, .5); }
.nav-principal a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width .35s var(--suave);
}
.nav-principal a:hover::after,
.nav-principal .current-menu-item > a::after { width: 100%; }
.nav-principal .current-menu-item > a { color: var(--agua); }

.abrir-menu {
	display: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--profundo);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	padding: 0;
}
.es-portada .cabecera:not(.es-fija) .abrir-menu { color: #fff; }
.abrir-menu span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	transition: transform .35s var(--suave), opacity .25s var(--suave);
}
body.menu-abierto .abrir-menu span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-abierto .abrir-menu span:nth-child(2) { opacity: 0; }
body.menu-abierto .abrir-menu span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Menú móvil ---------- */

.velo {
	position: fixed;
	inset: 0;
	background: rgba(22, 57, 60, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s var(--suave), visibility .4s;
	z-index: 95;
}
body.menu-abierto .velo { opacity: 1; visibility: visible; }

.cajon {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 86vw);
	background: var(--card);
	z-index: 96;
	transform: translateX(100%);
	transition: transform .45s var(--suave);
	padding: 6rem 2.4rem 2.4rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}
body.menu-abierto .cajon { transform: translateX(0); }

.cajon__cerrar {
	position: absolute;
	top: 1.6rem;
	right: 1.6rem;
	width: 42px;
	height: 42px;
	border: 1px solid var(--linea);
	border-radius: 50%;
	background: transparent;
	color: var(--profundo);
	font-size: 1.1rem;
	cursor: pointer;
}
.cajon ul { list-style: none; margin: 0; padding: 0; }
.cajon li + li { border-top: 1px solid var(--linea); }
.cajon a {
	display: block;
	padding: 1rem 0;
	font-size: 1.05rem;
	letter-spacing: .06em;
	color: var(--profundo);
}
.cajon__pie { margin-top: auto; padding-top: 2rem; font-size: .9rem; color: var(--tinta-suave); }
.cajon__pie a { display: inline; padding: 0; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: min(92vh, 780px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}
.hero--corto { min-height: min(62vh, 520px); }
.hero__fondo {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(22, 57, 60, .48) 0%, rgba(22, 57, 60, .18) 38%, rgba(22, 57, 60, .78) 100%);
}
.hero__caja {
	width: min(1220px, 90vw);
	margin-inline: auto;
	padding-block: clamp(4rem, 9vw, 7rem);
	position: relative;
}
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.hero h1 .manuscrita { color: var(--agua-clara); display: block; margin-bottom: .05em; }
.hero p { max-width: 54ch; color: rgba(255, 255, 255, .9); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero .antetitulo { color: var(--agua-clara); }
.hero .antetitulo::before, .hero .antetitulo::after { background: var(--agua-clara); }

.hero--pagina h1 { max-width: none; }

/* Aviso de desplazamiento */
.bajar {
	position: absolute;
	right: 0;
	bottom: clamp(4rem, 9vw, 7rem);
	writing-mode: vertical-rl;
	font-size: .7rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .75);
	display: flex;
	align-items: center;
	gap: .8rem;
}
.bajar::after {
	content: '';
	width: 1px;
	height: 48px;
	background: rgba(255, 255, 255, .55);
	animation: bajarLinea 2.4s var(--suave) infinite;
	transform-origin: top;
}
@keyframes bajarLinea {
	0%, 100% { transform: scaleY(.3); opacity: .4; }
	50%      { transform: scaleY(1); opacity: 1; }
}

/* ---------- Dos columnas texto + foto ---------- */

.dupla {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.2rem, 5vw, 4.5rem);
	align-items: center;
}
.dupla--invertida .dupla__media { order: -1; }

.dupla__media { position: relative; isolation: isolate; }
.dupla__media img {
	width: 100%;
	border-radius: var(--radio-xl);
	box-shadow: var(--sombra);
}
.dupla__media--alta img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Círculo de agua detrás de la foto: sello propio, sin marcos dorados. */
.dupla__media::before {
	content: '';
	position: absolute;
	width: 56%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--agua-suave);
	top: -6%;
	left: -8%;
	z-index: -1;
}

/* ---------- Tarjetas ---------- */

.rejilla { display: grid; gap: clamp(1.4rem, 2.6vw, 2.2rem); }
.rejilla--2 { grid-template-columns: repeat(2, 1fr); }
.rejilla--3 { grid-template-columns: repeat(3, 1fr); }
.rejilla--4 { grid-template-columns: repeat(4, 1fr); }

.tarjeta {
	background: var(--card);
	border-radius: var(--radio);
	padding: clamp(1.6rem, 2.6vw, 2.2rem);
	box-shadow: var(--sombra);
	transition: transform .4s var(--suave), box-shadow .4s var(--suave);
}
.tarjeta:hover { transform: translateY(-5px); box-shadow: var(--sombra-alta); }
.tarjeta h3 { margin-bottom: .4rem; }
.tarjeta p:last-child { margin-bottom: 0; }
.tarjeta__icono {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--agua-suave);
	color: var(--profundo);
	display: grid;
	place-items: center;
	font-size: 1.2rem;
	margin-bottom: 1.1rem;
}

/* ---------- Equipo: retratos circulares ---------- */

.persona { text-align: center; }
.persona__foto {
	width: min(230px, 62vw);
	aspect-ratio: 1;
	margin: 0 auto 1.3rem;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	/* El anillo va en box-shadow y no en ::after: el overflow:hidden que
	   recorta la foto recortaría también un pseudoelemento. */
	box-shadow: var(--sombra), 0 0 0 0 var(--agua-suave);
	transition: box-shadow .45s var(--suave);
}
.persona:hover .persona__foto { box-shadow: var(--sombra), 0 0 0 9px var(--agua-suave); }
.persona__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--suave); }
.persona:hover .persona__foto img { transform: scale(1.06); }
.persona h3 { margin-bottom: .1rem; }
.persona__papel {
	font-size: .74rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--agua);
	margin-bottom: .8rem;
}
.persona p { font-size: .95rem; color: var(--tinta-suave); }

/* ---------- Tarifas ---------- */

.tarifa { background: var(--card); border-radius: var(--radio-xl); overflow: hidden; box-shadow: var(--sombra); }
.tarifa__foto { aspect-ratio: 16 / 9; overflow: hidden; }
.tarifa__foto img { width: 100%; height: 100%; object-fit: cover; }
.tarifa__cuerpo { padding: clamp(1.8rem, 3vw, 2.8rem); }
.tarifa__donde {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .76rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--profundo);
	background: var(--agua-suave);
	border-radius: 999px;
	padding: .4rem 1rem;
	margin-bottom: 1.4rem;
}
.tarifa__grupo + .tarifa__grupo { margin-top: 2rem; }
.tarifa__grupo h4 {
	font-size: .78rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--agua);
	padding-bottom: .6rem;
	border-bottom: 1px solid var(--linea);
	margin-bottom: .4rem;
}
.tarifa__linea {
	display: flex;
	align-items: baseline;
	gap: .8rem;
	padding: .55rem 0;
	border-bottom: 1px dotted var(--linea);
}
.tarifa__linea:last-child { border-bottom: 0; }
.tarifa__linea dt { flex: 1; font-weight: 300; }
.tarifa__linea dd { margin: 0; font-weight: 700; color: var(--profundo); white-space: nowrap; }
dl.tarifa__grupo-lista { margin: 0; }

.aviso-precios {
	background: var(--agua-suave);
	border-radius: var(--radio);
	padding: 1.4rem 1.6rem;
	font-size: .95rem;
	color: var(--tinta-suave);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.aviso-precios strong { color: var(--profundo); font-weight: 700; }

/* ---------- Lista de ventajas ---------- */

.ventajas { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ventajas li { display: flex; gap: .9rem; align-items: flex-start; }
.ventajas li::before {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	color: var(--agua);
	font-size: .8rem;
	margin-top: .35rem;
	flex: none;
}

/* ---------- Galería tipo mosaico ---------- */

.mosaico {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(.6rem, 1.4vw, 1.1rem);
}
.mosaico figure { margin: 0; overflow: hidden; border-radius: var(--radio); aspect-ratio: 1; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.mosaico figure:hover img { transform: scale(1.07); }

/* Con 8 fotos (la galería) la rejilla cierra exacta: la primera ocupa un
   cuadrado de 2x2 y la última una banda de dos columnas. */
.mosaico figure:first-child { grid-column: span 2; grid-row: span 2; }
.mosaico figure:last-child { grid-column: span 2; aspect-ratio: auto; }

/* Con 6 fotos (Mi Barrio) salen dos filas limpias de tres. */
.mosaico--tres { grid-template-columns: repeat(3, 1fr); }
.mosaico--tres figure:first-child,
.mosaico--tres figure:last-child { grid-column: auto; grid-row: auto; aspect-ratio: 1; }

/* El logotipo oficial de Secretos del Agua ya trae su tinta (#071529),
   así que solo hay que darle tamaño. */
.logo-sda { width: 210px; margin: 0 auto 2.4rem; }
.logo-sda svg { width: 100%; height: auto; display: block; }

/* ---------- Productos Secretos del Agua ---------- */

.producto { text-align: center; }
.producto__caja {
	background: var(--card);
	border-radius: var(--radio);
	padding: 1.8rem;
	margin-bottom: 1.1rem;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	transition: background .4s var(--suave);
}
.producto:hover .producto__caja { background: var(--agua-suave); }
.producto__caja img { max-height: 100%; width: auto; object-fit: contain; }
.producto h4 { margin-bottom: .1rem; font-size: 1rem; }
.producto p { font-size: .88rem; color: var(--tinta-suave); margin: 0; }

/* ---------- Salones (contacto) ---------- */

.salon {
	background: var(--card);
	border-radius: var(--radio-xl);
	padding: clamp(1.8rem, 3vw, 2.6rem);
	box-shadow: var(--sombra);
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.salon h3 { margin-bottom: .2rem; }
.salon__tipo {
	font-size: .74rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--agua);
	margin-bottom: 1rem;
}
.salon__dato { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: .7rem; }
.salon__dato i { color: var(--agua); width: 18px; margin-top: .35rem; flex: none; }
.salon .botonera { margin-top: auto; padding-top: 1.2rem; }

.horario { list-style: none; margin: 0; padding: 0; }
.horario li {
	display: flex;
	justify-content: space-between;
	gap: 1.2rem;
	padding: .6rem 0;
	border-bottom: 1px solid var(--linea);
	font-size: .96rem;
}
.horario li:last-child { border-bottom: 0; }
.horario span:first-child { color: var(--tinta-suave); }
.horario span:last-child { font-weight: 400; text-align: right; }
.seccion--profunda .horario li,
.pie .horario li { border-color: rgba(242, 237, 228, .18); }
.seccion--profunda .horario span:first-child,
.pie .horario span:first-child { color: var(--crema-sobre-profundo); }
.seccion--profunda .horario span:last-child,
.pie .horario span:last-child { color: #fff; }

/* ---------- Formulario ---------- */

.form-av { display: grid; gap: 1.1rem; }
.form-av .campo-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-av label { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-suave); margin-bottom: .45rem; }
.form-av input[type="text"],
.form-av input[type="email"],
.form-av input[type="tel"],
.form-av input[type="date"],
.form-av select,
.form-av textarea {
	width: 100%;
	font-family: var(--texto);
	font-size: 1rem;
	font-weight: 300;
	color: var(--tinta);
	background: var(--card);
	border: 1px solid var(--linea);
	border-radius: var(--radio);
	padding: .9rem 1.1rem;
	transition: border-color .3s var(--suave), box-shadow .3s var(--suave);
}
.form-av textarea { min-height: 150px; resize: vertical; }
.form-av input:focus,
.form-av select:focus,
.form-av textarea:focus {
	outline: none;
	border-color: var(--agua);
	box-shadow: 0 0 0 3px var(--agua-suave);
}
.form-av .acepto { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--tinta-suave); }
.form-av .acepto label { text-transform: none; letter-spacing: 0; font-size: .9rem; margin: 0; }
.form-av .wpcf7-list-item { margin: 0; }
.form-av input[type="submit"] {
	justify-self: start;
	font-family: var(--texto);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: 1rem 2.4rem;
	border: 1px solid var(--profundo);
	border-radius: 999px;
	background: var(--profundo);
	color: var(--arena);
	cursor: pointer;
	transition: background .35s var(--suave), color .35s var(--suave);
}
.form-av input[type="submit"]:hover { background: var(--agua); border-color: var(--agua); color: var(--profundo-2); }
.form-av .wpcf7-not-valid-tip { color: #B4523F; font-size: .82rem; margin-top: .35rem; }
.wpcf7 form .wpcf7-response-output {
	border-radius: var(--radio);
	border-width: 1px;
	padding: 1rem 1.2rem;
	margin: 1.4rem 0 0;
	font-size: .95rem;
}
.aviso-lopd { font-size: .8rem; color: var(--tinta-tenue); line-height: 1.6; }

/* ---------- Reseñas de Google ---------- */

.resenas-google { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Pie ---------- */

.pie { background: var(--profundo); color: var(--crema-sobre-profundo); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.pie a { color: var(--crema-sobre-profundo); }
.pie a:hover { color: var(--agua-clara); }
.pie h3 {
	color: #fff;
	font-size: .78rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	margin-bottom: 1.3rem;
}

.pie__rejilla {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: clamp(2rem, 4vw, 3.2rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
	border-bottom: 1px solid rgba(242, 237, 228, .16);
}
.pie__marca img { width: 150px; height: auto; margin-bottom: 1.2rem; }
.pie__marca p { font-size: .95rem; }
.pie__menu { list-style: none; margin: 0; padding: 0; }
.pie__menu li { margin-bottom: .6rem; }
.pie__salon { font-size: .95rem; }
.pie__salon strong { display: block; color: #fff; font-weight: 400; margin-bottom: .3rem; }
.pie__salon + .pie__salon { margin-top: 1.4rem; }

.rrss { display: flex; gap: .7rem; margin-top: 1.4rem; }
.rrss a {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(242, 237, 228, .28);
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background .35s var(--suave), border-color .35s var(--suave), color .35s var(--suave);
}
.rrss a:hover { background: var(--agua); border-color: var(--agua); color: var(--profundo-2); }

.pie__subvenciones {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(1.4rem, 3vw, 2.6rem);
	padding: 2.2rem 0;
	border-bottom: 1px solid rgba(242, 237, 228, .16);
}
/* Los tres PNG oficiales traen el texto en blanco: son la versión para fondo
   oscuro. Sobre el verde del pie se leen; el recuadro blanco que llevaban
   antes se comía justamente los rótulos. */
.pie__subvenciones img {
	height: auto;
	width: clamp(150px, 20vw, 210px);
	background: none;
	border-radius: 0;
	padding: 0;
}

.pie__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.8rem;
	font-size: .84rem;
	color: rgba(242, 237, 228, .62);
}
.pie__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }

/* ---------- Apariciones al hacer scroll ---------- */

/* Solo se esconden si hay JavaScript para volver a mostrarlas: sin JS el
   contenido tiene que verse igual. */
.js .aparece {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .9s var(--suave), transform .9s var(--suave);
}
.js .aparece.es-visible { opacity: 1; transform: none; }

/* ---------- Contenido editable (páginas legales) ---------- */

.contenido { max-width: 78ch; }
.contenido h2 { margin-top: 2.2rem; }
.contenido ul, .contenido ol { padding-left: 1.3rem; }
.contenido li { margin-bottom: .5rem; }
.contenido a { color: var(--agua); text-decoration: underline; text-underline-offset: 3px; }
.contenido table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.contenido th, .contenido td { border: 1px solid var(--linea); padding: .7rem .9rem; text-align: left; }

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

@media (max-width: 1080px) {
	.rejilla--4 { grid-template-columns: repeat(2, 1fr); }
	.pie__rejilla { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	:root { --alto-cabecera: 72px; }
	.nav-principal { display: none; }
	.abrir-menu { display: flex; }
	.dupla { grid-template-columns: 1fr; }
	.dupla--invertida .dupla__media { order: 0; }
	.rejilla--3 { grid-template-columns: repeat(2, 1fr); }
	.mosaico, .mosaico--tres { grid-template-columns: repeat(2, 1fr); }
	.mosaico figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
	.mosaico figure:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
	.mosaico--tres figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
	.bajar { display: none; }
}

@media (max-width: 620px) {
	body { font-size: 1rem; }
	.rejilla--2, .rejilla--3, .rejilla--4 { grid-template-columns: 1fr; }
	.form-av .campo-doble { grid-template-columns: 1fr; }
	.pie__rejilla { grid-template-columns: 1fr; }
	.pie__legal { flex-direction: column; }
	.hero { min-height: min(86vh, 640px); }
}

/* ---------- Respeto por quien reduce el movimiento ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .aparece { opacity: 1; transform: none; transition: none; }
	.bajar::after { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Accesibilidad ---------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip-path: none;
	display: block;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	z-index: 100000;
	background: var(--card);
	color: var(--profundo);
	padding: .9rem 1.4rem;
	border-radius: 999px;
	box-shadow: var(--sombra-alta);
	font-size: .9rem;
}

:focus-visible {
	outline: 2px solid var(--agua);
	outline-offset: 3px;
	border-radius: 4px;
}
