/* ==========================================================================
   Vibrasound — estilos del theme (v2, dirección "póster fijo")

   Un solo par de márgenes, esquinas rectas, sin sombras, sin degradados y sin
   líneas finas: las superficies se separan por tono. El ámbar es la acción.
   Mobile primero; lo de escritorio entra por min-width.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--vib-header-h);
	scrollbar-width: thin;
	scrollbar-color: var(--vib-accent-500) var(--vib-black);
}
body {
	margin: 0;
	background: var(--vib-bg);
	color: var(--vib-fg);
	font-family: var(--vib-font-body);
	font-size: var(--vib-t-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--vib-accent-500); color: var(--vib-on-accent); }
:focus-visible { outline: 2px solid var(--vib-focus); outline-offset: 3px; }
input, textarea, select { caret-color: var(--vib-accent-500); accent-color: var(--vib-accent-500); }
[hidden] { display: none !important; }

h1, h2, h3 {
	font-family: var(--vib-font-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 0.95;
	margin: 0;
	text-wrap: balance;
}
h2 { font-size: var(--vib-t-h2); }
h3 { font-size: var(--vib-t-h3); line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.vib-dot { color: var(--vib-accent-500); }
.vib-lead { font-size: var(--vib-t-body); line-height: 1.55; color: var(--vib-fg-soft); max-width: 36ch; }

.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;
}
.vib-skip-link:focus {
	clip-path: none; height: auto; width: auto; margin: 0; left: 16px; top: 16px; z-index: 999;
	background: var(--vib-white); color: var(--vib-black); padding: 12px 16px;
}

/* --- Botones: planos, un solo relleno, esquinas rectas -------------------- */
.vib-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--vib-radius);
	background: var(--vib-black); color: var(--vib-white);
	font: 700 var(--vib-t-small)/1 var(--vib-font-body);
	text-decoration: none; cursor: pointer;
	transition: background var(--vib-dur-fast) var(--vib-ease), color var(--vib-dur-fast) var(--vib-ease), transform var(--vib-dur-quick) var(--vib-ease);
}
.vib-btn:hover { background: var(--vib-accent-500); color: var(--vib-on-accent); }
.vib-btn:active { transform: translateY(1px); }
.vib-btn--accent { background: var(--vib-accent-500); color: var(--vib-on-accent); }
.vib-btn--accent:hover { background: var(--vib-fg); color: var(--vib-bg); }
.vib-btn--dark { background: var(--vib-black); color: var(--vib-white); }
.vib-btn--line { background: var(--vib-ink-100); color: var(--vib-black); }
.vib-btn--line:hover { background: var(--vib-black); color: var(--vib-white); }
.vib-btn--block { width: 100%; }

/* --- Logo ------------------------------------------------------------------- */
.vib-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.vib-logo:hover { color: inherit; }
.vib-logo__mark { width: 32px; height: 32px; overflow: visible; }
.vib-logo__word { font-family: var(--vib-font-display); font-weight: 700; font-size: var(--vib-t-h3); letter-spacing: -0.01em; line-height: 1; }
.vib-logo__dot { color: var(--vib-accent-500); }
.vib-logo__bar { transform-box: fill-box; transform-origin: center; }
.vib-js .vib-logo__bar { animation: vib-eq 900ms var(--vib-ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes vib-eq { 0% { transform: scaleY(0.2); } 55% { transform: scaleY(1.12); } 100% { transform: scaleY(1); } }

/* --- Header: fijo, transparente, toma el tono de lo que tiene debajo ------- */
.vib-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: var(--vib-z-header);
	height: var(--vib-header-h);
	color: var(--vib-black);
	background: var(--vib-white);
	transition: color var(--vib-dur-fast) var(--vib-ease), background var(--vib-dur-fast) var(--vib-ease);
}
.vib-header[data-tone="dark"] { color: var(--vib-white); background: var(--vib-black); }
.vib-header[data-tone="photo"] { color: var(--vib-white); background: rgba(10, 10, 10, 0.55); }
.vib-header[data-tone="clear"] { color: var(--vib-black); background: transparent; }
.admin-bar .vib-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vib-header { top: 46px; } }
.vib-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--vib-margin); }
.vib-nav { display: flex; align-items: center; gap: 32px; }
.vib-nav__list { display: flex; gap: 32px; }
.vib-nav__list a { text-decoration: none; font-size: var(--vib-t-small); font-weight: 700; padding-block: 8px; transition: color var(--vib-dur-quick) var(--vib-ease); }
.vib-nav__list a:hover { color: var(--vib-accent-500); }
.vib-nav__cta { min-height: 44px; padding: 0 20px; }
.vib-nav__cta:hover { background: var(--vib-black); color: var(--vib-white); }
.vib-header[data-tone="dark"] .vib-nav__cta:hover, .vib-header[data-tone="photo"] .vib-nav__cta:hover { background: var(--vib-white); color: var(--vib-black); }

.vib-burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: inherit; cursor: pointer; }
.vib-burger__bars i { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform var(--vib-dur-fast) var(--vib-ease), top var(--vib-dur-fast) var(--vib-ease); }
.vib-burger__bars i:first-child { top: 18px; }
.vib-burger__bars i:last-child { top: 28px; }
.vib-burger[aria-expanded="true"] .vib-burger__bars i:first-child { top: 23px; transform: rotate(45deg); }
.vib-burger[aria-expanded="true"] .vib-burger__bars i:last-child { top: 23px; transform: rotate(-45deg); }
.vib-header.is-open { color: var(--vib-white); background: transparent; }

@media (max-width: 860px) {
	.vib-burger { display: block; }
	.vib-nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
		padding: calc(var(--vib-header-h) + 32px) var(--vib-margin) var(--vib-margin);
		background: var(--vib-black); color: var(--vib-white);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity var(--vib-dur-fast) var(--vib-ease), transform var(--vib-dur-fast) var(--vib-ease), visibility 0s linear var(--vib-dur-fast);
	}
	.vib-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.vib-nav__list { flex-direction: column; gap: 0; }
	.vib-nav__list a { display: block; padding: 14px 0; font: 700 clamp(2.75rem, 12vw, 4.5rem)/1 var(--vib-font-display); letter-spacing: -0.02em; }
	.vib-nav__cta { min-height: 56px; }
}

/* --- Hero: una placa como las de "Contanos / Recibí / Tocá" ------------------ */
.vib-hero {
	position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
	overflow: hidden; background: var(--vib-black); color: var(--vib-white); text-align: center;
}
.vib-hero__media { position: absolute; inset: 0; }
.vib-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.vib-hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.46); }
.vib-hero__inner {
	position: relative; z-index: 1; width: 100%;
	display: flex; flex-direction: column; align-items: center; gap: 28px;
	padding: calc(var(--vib-header-h) + 32px) var(--vib-margin) 72px;
}
.vib-hero__name { margin: 0; font-size: var(--vib-t-display); line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap; padding-bottom: 0.04em; }
.vib-hero__lead { margin: 0; max-width: 24ch; font-size: var(--vib-t-h3); line-height: 1.3; font-weight: 700; color: var(--vib-white); text-wrap: balance; }
@media (max-width: 760px) { .vib-hero__lead { font-size: 1.5rem; max-width: none; } }

/* --- Servicios: el título queda fijo mientras pasan los bloques ------------ */
.vib-services { background: var(--vib-bg); color: var(--vib-fg); padding: var(--vib-section) 0; }
.vib-services__grid { display: grid; grid-template-columns: 1fr; gap: var(--vib-gap); padding-inline: var(--vib-margin); }
.vib-services__aside { position: sticky; top: var(--vib-header-h); z-index: 2; padding: 12px 0; background: var(--vib-bg); }
.vib-services__title { font-size: clamp(2.75rem, 11vw, 4.5rem); }
.vib-services__lead, .vib-services__aside .vib-btn { display: none; }
.vib-services__list { display: grid; gap: 72px; }
.vib-service h3 { margin-bottom: 20px; }
.vib-service__row { display: grid; gap: 20px; }
.vib-service__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--vib-ink-800); }
.vib-service__photo img { width: 100%; height: 100%; object-fit: cover; }
.vib-service li { font-size: var(--vib-t-body); margin-bottom: 14px; }

@media (min-width: 900px) {
	.vib-services__grid { grid-template-columns: repeat(12, 1fr); }
	.vib-services__aside { grid-column: 1 / span 5; top: calc(var(--vib-header-h) + 32px); align-self: start; padding: 0; background: none; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
	.vib-services__title { font-size: var(--vib-t-h2); }
	.vib-services__lead { display: block; margin: 0; max-width: 28ch; font-size: 1.25rem; line-height: 1.5; color: var(--vib-fg-soft); }
	.vib-services__aside .vib-btn { display: inline-flex; }
	.vib-services__list { grid-column: 7 / span 6; gap: clamp(72px, 6vw, 96px); }
	.vib-service__row { display: flex; gap: clamp(24px, 3vw, 44px); align-items: flex-start; }
	.vib-service__photo { flex: none; width: clamp(220px, 21vw, 360px); aspect-ratio: 3 / 4; }
	.vib-service:nth-child(even) .vib-service__row { flex-direction: row-reverse; justify-content: flex-end; }
	.vib-service:nth-child(even) .vib-service__photo { margin-left: auto; }
}

/* --- Presupuesto: foto a sangre y una tarjeta de una columna ---------------- */
.vib-showcase { position: relative; min-height: 100svh; background: var(--vib-black); color: var(--vib-white); overflow: hidden; }
.vib-showcase__bg { position: absolute; inset: 0; }
.vib-showcase__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.vib-showcase__grid { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr; align-items: end; padding-inline: 0; }
.vib-showcase__card {
	background: var(--vib-black); color: var(--vib-white);
	padding: 28px var(--vib-margin) 32px;
	display: flex; flex-direction: column; gap: 16px;
}
.vib-showcase__card h2 { font-size: var(--vib-t-h3); line-height: 1.05; }
.vib-showcase__card p { margin: 0; color: var(--vib-ink-300); font-size: var(--vib-t-body); }
.vib-showcase__fact { color: var(--vib-white) !important; font-weight: 700; }
.vib-showcase__card .vib-btn { margin-top: 8px; }

@media (min-width: 900px) {
	.vib-showcase__grid { grid-template-columns: repeat(4, 1fr); align-items: center; padding-inline: var(--vib-margin); column-gap: var(--vib-gap); }
	.vib-showcase__card { grid-column: 2; min-height: 54svh; padding: 32px; gap: 20px; }
	.vib-showcase__card .vib-btn { margin-top: auto; }
}

/* --- Cómo trabajamos: un verbo por vez sobre su foto ------------------------ */
.vib-how { background: var(--vib-black); }
.vib-panel { position: relative; height: 180svh; }
.vib-panel__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--vib-black); color: var(--vib-white); }
.vib-panel__media { position: absolute; inset: 0; }
.vib-panel__media img, .vib-panel__media video { width: 100%; height: 100%; object-fit: cover; }
.vib-panel__media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.42); }
.vib-panel__verb {
	position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-52%);
	margin: 0; text-align: center; color: var(--vib-white);
	font-size: 25vw; line-height: 0.8; letter-spacing: -0.02em;
	pointer-events: none;
}
.vib-panel__text {
	position: absolute; left: var(--vib-margin); bottom: var(--vib-margin); max-width: 30rem; margin: 0;
	padding: 14px 18px; background: rgba(10, 10, 10, 0.62);
	font-size: var(--vib-t-body); line-height: 1.5; color: var(--vib-white);
}
@media (min-width: 761px) { .vib-panel__text { padding: 16px 20px; } .vib-panel__verb { font-size: 31vw; } }
@media (max-width: 760px) { .vib-panel__text { right: var(--vib-margin); max-width: none; } }

/* --- Acción: toda la banda es el botón -------------------------------------- */
.vib-cta {
	position: relative; display: block; overflow: hidden;
	padding: calc(var(--vib-header-h) + 8px) var(--vib-margin) 28px;
	background: var(--vib-accent-500); color: var(--vib-on-accent); text-decoration: none;
	transition: background var(--vib-dur-quick) linear, color var(--vib-dur-quick) linear;
}
.vib-cta:hover, .vib-cta:focus-visible { background: var(--vib-black); color: var(--vib-accent-500); outline: none; }
.vib-cta__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; }
.vib-cta__text { max-width: 20ch; font-size: var(--vib-t-body); font-weight: 700; line-height: 1.3; }
.vib-cta__arrow .vib-arrow { width: 48px; height: 48px; transform: rotate(-45deg); transition: transform var(--vib-dur-medium) var(--vib-ease); }
.vib-cta:hover .vib-arrow { transform: rotate(-45deg) translateX(8px); }
.vib-cta__word {
	display: inline-block; white-space: nowrap;
	font-family: var(--vib-font-display); font-weight: 700; font-size: 30vw; line-height: 0.86; letter-spacing: -0.02em;
	/* Vertigo apoya el glifo más abajo que el centro de la caja: se sube para que la palabra no pise la frase de abajo. */
	position: relative; top: -0.08em;
}

/* --- Contacto ---------------------------------------------------------------- */
.vib-contact { background: var(--vib-white); color: var(--vib-black); padding: var(--vib-section) 0; }
.vib-contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-inline: var(--vib-margin); }
.vib-contact__intro h2 { margin-bottom: 24px; }
.vib-contact__intro .vib-lead { color: var(--vib-ink-600); }
@media (min-width: 900px) {
	.vib-contact__grid { grid-template-columns: repeat(12, 1fr); }
	.vib-contact__intro { grid-column: 1 / span 5; align-self: start; }
	.vib-form { grid-column: 7 / span 6; }
}

.vib-form { display: grid; gap: 24px; }
.vib-form__row { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vib-form__row { grid-template-columns: 1fr 1fr; } }

.vib-chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.vib-chips legend { padding: 0; margin-bottom: 12px; font-size: var(--vib-t-small); font-weight: 700; color: var(--vib-ink-600); }
.vib-chip { position: relative; }
.vib-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vib-chip span {
	display: inline-flex; align-items: center; gap: 0; min-height: 48px; padding: 0 20px;
	background: var(--vib-ink-100); color: var(--vib-black); font-weight: 700; font-size: var(--vib-t-small);
	transition: background var(--vib-dur-fast) var(--vib-ease), color var(--vib-dur-fast) var(--vib-ease), gap var(--vib-dur-fast) var(--vib-ease);
}
.vib-chip svg { width: 0; height: 16px; overflow: hidden; transition: width var(--vib-dur-fast) var(--vib-ease); }
.vib-chip svg path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset var(--vib-dur-medium) var(--vib-ease) 80ms; }
.vib-chip input:checked + span { background: var(--vib-black); color: var(--vib-white); gap: 8px; }
.vib-chip input:checked + span svg { width: 16px; }
.vib-chip input:checked + span svg path { stroke-dashoffset: 0; }
.vib-chip input:hover + span { background: var(--vib-ink-200); }
.vib-chip input:checked:hover + span { background: var(--vib-ink-800); }
.vib-chip input:focus-visible + span { outline: 2px solid var(--vib-focus); outline-offset: 3px; }

.vib-field { display: flex; flex-direction: column; gap: 8px; }
.vib-field label { font-size: var(--vib-t-small); font-weight: 700; color: var(--vib-ink-600); }
.vib-field input, .vib-field textarea {
	width: 100%; border: 0; border-radius: 0; background: var(--vib-ink-100); color: var(--vib-black);
	font: 400 1rem/1.5 var(--vib-font-body); padding: 14px 16px; min-height: 52px;
	transition: background var(--vib-dur-fast) var(--vib-ease), outline-color var(--vib-dur-fast) var(--vib-ease);
	outline: 2px solid transparent; outline-offset: 0;
}
.vib-field textarea { resize: vertical; min-height: 120px; }
.vib-field input:hover, .vib-field textarea:hover { background: var(--vib-ink-200); }
.vib-field input:focus, .vib-field textarea:focus { background: var(--vib-white); outline-color: var(--vib-accent-500); }
.vib-field .is-invalid { outline-color: var(--vib-error); }
.vib-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: campo trampa oculto, no es una línea */
.vib-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vib-form__status { min-height: 1.5em; margin: 0; font-size: var(--vib-t-small); font-weight: 700; }
.vib-form__status.is-ok { color: var(--vib-success); }
.vib-form__status.is-error { color: var(--vib-error); }
.vib-form.is-sending .vib-btn--dark { opacity: 0.55; pointer-events: none; }

.vib-contact__wa {
	display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; color: var(--vib-black); text-decoration: none;
	font-family: var(--vib-font-display); font-weight: 700; font-size: var(--vib-t-h2); line-height: 0.95; letter-spacing: -0.02em;
	transition: color var(--vib-dur-fast) var(--vib-ease);
}
.vib-contact__wa:hover { color: var(--vib-accent-500); }
.vib-contact__arrow .vib-arrow { width: 0.6em; height: 0.6em; transition: transform var(--vib-dur-medium) var(--vib-ease); }
.vib-contact__wa:hover .vib-arrow { transform: translateX(10px); }

/* --- Footer: foto grande y menú -------------------------------------------- */
.vib-footer { display: grid; grid-template-columns: 1fr; background: var(--vib-black); color: var(--vib-white); }
.vib-footer__photo { height: 50svh; overflow: hidden; }
.vib-footer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; }
.vib-footer__side { display: flex; flex-direction: column; gap: 40px; padding: 32px var(--vib-margin); }
.vib-footer__menu { display: flex; flex-direction: column; gap: 4px; }
.vib-footer__menu a { font: 700 clamp(2.75rem, 11vw, 4.5rem)/1.05 var(--vib-font-display); letter-spacing: -0.02em; text-decoration: none; transition: transform var(--vib-dur-medium) var(--vib-ease), color var(--vib-dur-medium) var(--vib-ease); }
.vib-footer__info { display: flex; flex-wrap: wrap; gap: 24px 48px; font-size: var(--vib-t-small); }
.vib-footer__info p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.vib-footer__info a { text-decoration: none; font-weight: 700; }
.vib-footer__info a:hover { color: var(--vib-accent-500); }
.vib-footer__label { color: var(--vib-ink-400); }
.vib-footer__legal { margin: 0; color: var(--vib-ink-400); font-size: var(--vib-t-small); }
.vib-footer__legal a { color: var(--vib-white); font-weight: 700; text-decoration: none; transition: color var(--vib-dur-quick) var(--vib-ease); }
.vib-footer__legal a:hover { color: var(--vib-accent-500); }

@media (min-width: 900px) {
	.vib-footer { grid-template-columns: 1fr 1fr; min-height: 100svh; }
	.vib-footer__photo { height: auto; }
	.vib-footer__side { padding: calc(var(--vib-header-h) + 32px) var(--vib-margin) 32px clamp(24px, 4vw, 64px); gap: 0; }
	.vib-footer__menu { margin-top: 56px; gap: 0; }
	.vib-footer__menu a { font-size: var(--vib-t-h2); }
	.vib-footer__menu:hover a { color: var(--vib-ink-500); }
	.vib-footer__menu a:hover { color: var(--vib-white); transform: translateX(12px); }
	.vib-footer__info { margin-top: 64px; }
	.vib-footer__legal { margin-top: auto; padding-top: 48px; }
}

/* --- Página común (políticas, 404) -------------------------------------------- */
.vib-main--page { padding: calc(var(--vib-header-h) + 64px) var(--vib-margin) var(--vib-section); min-height: 70svh; background: var(--vib-white); }
.vib-prose { max-width: 720px; }
.vib-prose h1 { font-size: var(--vib-t-h2); margin-bottom: 32px; }

/* --- Movimiento: solo se esconde si hay JS que lo muestre ---------------------- */
.vib-js [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.vib-js [data-reveal] { opacity: 1; }
}
