/* ==========================================================================
   Taller Premium – estilos principales
   Índice: 1 Fuentes · 2 Variables · 3 Base · 4 Layout · 5 Botones · 6 Cabecera
           7 Portada · 8 Secciones · 9 Tarjetas · 10 Formulario · 11 Pie
           12 Flotantes y cookies · 13 Animaciones · 14 Responsive
   ========================================================================== */

/* 1. Fuentes autoalojadas (licencia OFL, ver assets/fonts) */
@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* 2. Variables (los colores se sobrescriben desde Configuración de la web) */
:root {
	--accent: #D71920;
	--bg: #101114;
	--surface: #24262B;
	--muted: #A7A9B0;
	--text: #FFFFFF;
	--accent-hover: color-mix(in srgb, var(--accent) 82%, #000);
	--surface-2: color-mix(in srgb, var(--surface) 55%, var(--bg));
	--line: rgba(255, 255, 255, .1);
	--line-strong: rgba(255, 255, 255, .22);
	--error: #FF6B70;
	--font-display: "Archivo Black", "Arial Black", Impact, system-ui, sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 4px;
	--header-h: 76px;
	--section-y: clamp(4.5rem, 9vw, 8rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--banner-h: 0px;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
img, svg, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: 68ch; }
ul { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px var(--accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--accent); color: #fff; padding: .7rem 1rem; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 4. Layout */
.container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 780px); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.section--surface { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 44rem; }
.section-title { position: relative; padding-top: 1.6rem; }
/* Motivo de marca: regla roja con marcas de escala, como una regla de taller */
.section-title::before, .cta__title::before { content: ""; position: absolute; left: 0; top: 0; width: 104px; height: 10px;
	background: linear-gradient(var(--accent), var(--accent)) left center / 38px 3px no-repeat,
	            repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 1px, transparent 1px 8px) 46px 50% / 58px 10px no-repeat; }
.cta__title { position: relative; padding-top: 1.6rem; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 56ch; }
.section-more { margin-top: 2.5rem; }
.prose p, .entry-content p { color: #D9DADD; }
.prose--lead p { font-size: 1.2rem; line-height: 1.7; }
.admin-hint { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1rem 1.25rem; color: var(--muted); }
.plain-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.grid--values { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }

/* 5. Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: 1rem 1.7rem; min-height: 3.25rem; border: 1px solid transparent; border-radius: var(--radius);
	font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer;
	transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--accent); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; text-transform: none; letter-spacing: .02em; font-size: .95rem; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--sm { padding: .7rem 1.1rem; min-height: 2.75rem; font-size: .76rem; }
.btn--ghost.btn--sm { font-size: .88rem; }
.btn--block { width: 100%; }
.btn__icon { transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.link-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; text-decoration: none; }
.link-more .icon { transition: transform .25s var(--ease); color: var(--accent); }
.link-more:hover .icon { transform: translateX(5px); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); color: inherit; }

/* 6. Cabecera */
/* El fondo va en un pseudo-elemento: backdrop-filter o view-transition-name en la propia cabecera
   convertirían a la cabecera en el bloque contenedor del menú móvil (position: fixed) y lo encogerían. */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(16, 17, 20, .85), rgba(16, 17, 20, 0));
	transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled::before, body.menu-open .site-header::before { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; transition: opacity .3s var(--ease), visibility .3s; }
.brand__logo { height: 52px; width: auto; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .01em; }
.home .site-header:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; }
.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; gap: .25rem; }
.site-nav .menu a { display: block; padding: .6rem .95rem; text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.site-nav .menu a::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .3rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav .menu a:hover::after, .site-nav .menu .is-current > a::after { transform: scaleX(1); }
.site-nav__extras { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.header-phone .icon { color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; width: 3rem; height: 3rem; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }
body.menu-open .nav-toggle__open { display: none; }
body.menu-open .nav-toggle__close { display: block; }

/* 7. Portada */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img, .page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(16, 17, 20, calc(var(--ov, .6) + .25)) 0%, rgba(16, 17, 20, var(--ov, .6)) 55%, rgba(16, 17, 20, calc(var(--ov, .6) * .55)) 100%),
	            linear-gradient(0deg, var(--bg) 0%, rgba(16, 17, 20, 0) 38%); }
.hero__inner { padding-block: calc(var(--header-h) + 3rem) clamp(3.5rem, 10vh, 7rem); }
.hero__content { max-width: 46rem; }
.hero__brand { margin-bottom: 2.25rem; }
.hero__brand .brand__logo { height: clamp(68px, 10vw, 120px); }
.hero__brand .brand__name { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.hero__title { margin-bottom: .45em; }
.hero__subtitle { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #D9DADD; max-width: 38rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.page-hero { position: relative; min-height: clamp(18rem, 44vh, 30rem); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--surface-2); }
.page-hero--plain { min-height: clamp(14rem, 30vh, 20rem); }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(16, 17, 20, .55) 55%, rgba(16, 17, 20, .75) 100%); }
.page-hero__inner { padding-block: calc(var(--header-h) + 2.5rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero__title { margin-bottom: .3em; }
.page-hero__lead { color: #D9DADD; font-size: 1.2rem; margin: 0; }

/* 8. Secciones */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.intro__grid--single { grid-template-columns: minmax(0, 46rem); }
.intro__figure { margin: 0; }
.frame { position: relative; }
.frame::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); border-radius: var(--radius); transform: translate(16px, 16px); z-index: -1; }
.intro__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.why__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__item { display: flex; gap: 1.25rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__icon { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); }
.why__title { margin-bottom: .3em; }
.why__text { color: var(--muted); margin: 0; }
.cta { background: var(--surface); position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.cta__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 24ch; }
.cta__lead { color: var(--muted); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.location__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.location__grid--single { grid-template-columns: 1fr; }
.info-block { margin-bottom: 1.75rem; }
.info-block__title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.info-block__title .icon { color: var(--accent); }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); max-width: 26rem; }
.hours li span:last-child { color: var(--muted); text-align: right; }
.hours--compact li { padding: .25rem 0; border: 0; justify-content: flex-start; gap: 1rem; }
.map { position: relative; min-height: 22rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .75rem; padding: 2rem; color: var(--muted); }
.map__placeholder p { margin: 0 auto; max-width: 30ch; }
.map__icon { width: 2.5rem; height: 2.5rem; color: var(--accent); }
.map__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }
.map.is-loaded .map__placeholder { display: none; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-list { margin: 2rem 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__icon { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--accent); }
.contact-list__label { display: block; font-size: .85rem; color: var(--muted); }
.contact-list__link { font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.contact-list__link:hover { text-decoration: underline; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.social a:hover { border-color: var(--accent); background: rgba(255, 255, 255, .04); transform: translateY(-2px); }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; }
.service-aside__title { font-size: 1.35rem; }
.service-aside__actions { display: grid; gap: .7rem; margin-top: 1.25rem; }
.service-rows { display: grid; gap: 1.75rem; }

/* 9. Tarjetas */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
.service-card { display: flex; flex-direction: column; }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.card__media--empty { display: grid; place-items: center; color: var(--accent); }
.card__bigicon { width: 3.5rem; height: 3.5rem; stroke-width: 1.2; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__img { transform: scale(1.04); }
.card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.card__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); }
.service-card .card__icon { position: absolute; top: -1.375rem; right: 1.5rem; background: var(--bg); margin: 0; }
.card__title { margin-bottom: .5rem; }
.card__title a { text-decoration: none; }
.card__text { color: var(--muted); font-size: 1rem; flex: 1; }
.service-card .link-more { margin-top: auto; }
.value-card { padding: 1.75rem; border-top: 2px solid var(--accent); }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.team-card__role { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.service-row { display: grid; grid-template-columns: .85fr 1.15fr; }
.service-row:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { min-height: 17rem; background: var(--surface); position: relative; overflow: hidden; }
.service-row__media--empty { display: grid; place-items: center; color: var(--accent); }
.row__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-row:hover .row__img { transform: scale(1.04); }
.service-row__body { padding: clamp(1.5rem, 3vw, 2.75rem); }
.service-row__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-row__title a { text-decoration: none; }
.service-row__lead { font-size: 1.1rem; }
.service-row__text { color: var(--muted); }
.service-row__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Contenido del editor de WordPress */
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.25rem; }
.entry-content h3 { margin-top: 1.75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; color: #D9DADD; }
.entry-content ul { list-style: disc; }
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: #fff; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: #D9DADD; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; }
.intro-content p { font-size: 1.15rem; }
.alignwide { width: min(100vw - 2.5rem, 1100px); margin-inline: auto; }

/* 10. Formulario */
.contact__form { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--surface-2); }
.contact__form:hover { transform: none; box-shadow: none; }
.tp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; color: #D9DADD; }
.req { color: var(--accent); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; background: var(--bg); color: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .85rem 1rem; font: inherit; font-size: 1rem; min-height: 3rem;
	transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .88rem; margin: 0; }
.field .opt { color: var(--muted); font-size: .85rem; }
.field__help { color: var(--muted); font-size: .85rem; margin: 0; }
.field input[type="file"] { width: 100%; background: var(--bg); color: #D9DADD; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: .7rem 1rem; font: inherit; font-size: .95rem; }
.field input[type="file"]::file-selector-button { background: var(--surface); color: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .5rem .9rem; margin-right: .9rem; font: inherit; cursor: pointer; }
.field input[type="file"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field.has-error input[type="file"] { border-color: var(--error); }
.field--check { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: start; }
.field--check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; accent-color: var(--accent); }
.field--check .field__error { grid-column: 2; }
.tp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tp-form__status { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; border: 1px solid var(--line-strong); }
.tp-form__status.is-success { border-color: #3DBE7A; background: rgba(61, 190, 122, .1); }
.tp-form__status.is-error { border-color: var(--error); background: rgba(255, 107, 112, .08); }
.tp-form [data-submit][aria-busy="true"] { opacity: .65; pointer-events: none; }

/* 11. Pie */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-bottom: 1rem; }
.footer-text { color: var(--muted); margin-top: 1rem; }
.footer-list li { margin-bottom: .55rem; color: var(--muted); }
.footer-list a, .footer-link { text-decoration: none; color: var(--muted); }
.footer-list a:hover, .footer-link:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.footer-hours li { display: flex; flex-direction: column; }
.footer-hours__value { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-copy { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* 12. Botones flotantes y aviso de cookies */
.float-actions { position: fixed; right: 1rem; bottom: calc(1rem + var(--banner-h)); z-index: 90; display: flex; flex-direction: column; gap: .65rem; align-items: center; transition: bottom .3s var(--ease); }
.float-btn { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; cursor: pointer; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); transition: transform .25s var(--ease), background-color .25s; text-decoration: none; }
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-btn .icon { width: 1.5rem; height: 1.5rem; }
.float-btn--wa { background: #25D366; width: 3.5rem; height: 3.5rem; }
.float-btn--call { background: var(--accent); }
.float-btn--top { background: var(--surface); border: 1px solid var(--line-strong); width: 2.75rem; height: 2.75rem; opacity: 0; visibility: hidden; transform: translateY(8px); }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.cookie { position: fixed; left: 1rem; bottom: 1rem; z-index: 120; width: min(28rem, calc(100% - 2rem)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8); }
.cookie[hidden] { display: none; }
.cookie__text { font-size: .93rem; color: #D9DADD; margin-bottom: 1rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* 13. Animaciones (solo con JS y sin "reducir movimiento") */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
	.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
	.js [data-reveal].is-visible { opacity: 1; transform: none; }
	.js [data-hero] { opacity: 0; transform: translateY(22px); animation: hero-in .9s var(--ease) forwards; }
	.js .hero__title[data-hero] { animation-delay: .1s; }
	.js .hero__subtitle[data-hero] { animation-delay: .25s; }
	.js .hero__actions[data-hero] { animation-delay: .4s; }
	.js .hero__img { animation: hero-zoom 1.8s var(--ease) both; }
}
@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 14. Responsive */
@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.service-layout { grid-template-columns: 1fr; }
	.service-aside { position: static; }
}
@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions { display: none; }
	.site-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 1.5rem 1.25rem 2rem; background: var(--bg); overflow-y: auto; display: flex; flex-direction: column; gap: 1.5rem;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
	body.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { font-family: var(--font-display); font-size: 1.6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav .menu .is-current > a { color: #fff; box-shadow: inset 3px 0 0 var(--accent); padding-left: .9rem; }
	.site-nav__extras { display: grid; gap: .75rem; }
	.home .site-header:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; }
	body.menu-open .site-header .brand { opacity: 1 !important; visibility: visible !important; }
	.intro__grid, .why__grid, .location__grid, .contact__grid { grid-template-columns: 1fr; }
	.why__head { position: static; }
	.frame::after { transform: translate(10px, 10px); }
	.service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
	.service-row:nth-child(even) .service-row__media { order: 0; }
	.service-row__media { min-height: 14rem; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.hero__actions .btn, .cta__actions .btn { width: 100%; }
	.tp-form__grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.cookie { left: .75rem; right: .75rem; bottom: .75rem; width: auto; }
	.map { min-height: 18rem; }
	.float-btn--call { display: grid; }
	.service-card .card__icon { right: 1.25rem; }
}

/* Opiniones de clientes */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.reviews__summary { display: flex; align-items: center; gap: 1rem; }
.reviews__avg { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.reviews__count { display: block; color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.stars { display: inline-flex; gap: .15rem; color: rgba(255, 255, 255, .22); }
.stars__star { display: inline-flex; }
.stars__star.is-on, .reviews__summary .stars__star { color: #F5B301; }
.stars .icon { width: 1.15rem; height: 1.15rem; fill: currentColor; stroke: none; }
.carousel { position: relative; }
.reviews__list { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .25rem; -webkit-overflow-scrolling: touch; }
.reviews__list::-webkit-scrollbar { display: none; }
.carousel__controls { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.carousel__controls[hidden] { display: none; }
.carousel__btn { width: 3rem; height: 3rem; display: inline-grid; place-items: center; background: transparent; color: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.carousel__btn:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.carousel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.carousel__btn--toggle { color: var(--muted); }
.review { flex: 0 0 calc((100% - 2.5rem) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.review__text { margin: 0; flex: 1; }
.review__text p { margin: 0; color: #D9DADD; }
.review__meta { margin: 0; display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; }
.review__meta span { color: var(--muted); font-size: .85rem; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 960px) {
	.review { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
	.review { flex-basis: 86%; }
}
@media (prefers-reduced-motion: reduce) { .reviews__list { scroll-behavior: auto; } }
