/* AVINTAS — estilos informativos de marca (complementa Tailwind/DaisyUI) */

:root {
	--av-bone: #faf8f5;
	--av-paper: #ffffff;
	--av-ink: #1c1917;
	--av-muted: #57534e;
	--av-line: #e8e2d9;
	--av-clay: #9a6a45;
	--av-clay-soft: #f3ece3;
	--av-dark: #23201d;
	--av-max: 1160px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, sans-serif;
	background: var(--av-bone);
	color: var(--av-ink);
	line-height: 1.65;
	font-size: 16px;
}

body.av-no-scroll { overflow: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- accesibilidad ---------- */

.av-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--av-dark);
	color: #fff;
	padding: 12px 18px;
	font-weight: 600;
	border-radius: 0 0 10px 0;
}

.av-skip:focus { left: 0; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--av-clay);
	outline-offset: 4px;
	border-radius: 4px;
}

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

.av-container {
	width: 100%;
	max-width: var(--av-max);
	margin: 0 auto;
	padding: 0 22px;
}

.av-section { padding: 62px 0; }
.av-section--tight { padding: 34px 0; }
.av-section--plain { background: var(--av-paper); }
.av-section--dark { background: var(--av-dark); color: #f5f0e9; }

@media (min-width: 780px) {
	.av-section { padding: 92px 0; }
	.av-container { padding: 0 32px; }
}

.av-kicker {
	margin: 0 0 14px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--av-clay);
}

.av-kicker--light { color: #d9c3ac; }

.av-h1 {
	margin: 0 0 20px;
	font-size: clamp(2.3rem, 7vw, 4.15rem);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.028em;
}

.av-h1--sm { font-size: clamp(2rem, 5vw, 3.1rem); }

.av-h2 {
	margin: 0 0 16px;
	font-size: clamp(1.55rem, 3.6vw, 2.35rem);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.av-lead {
	margin: 0 0 26px;
	max-width: 58ch;
	font-size: clamp(1rem, 1.9vw, 1.16rem);
	color: var(--av-muted);
}

.av-body {
	margin: 0 0 18px;
	max-width: 62ch;
	color: var(--av-muted);
}

.av-body--light { color: #d6cec4; }

.av-note {
	margin: 14px 0 0;
	font-size: 0.8rem;
	color: #8a8178;
}

.av-link {
	display: inline-block;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

/* ---------- header ---------- */

.av-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 248, 245, 0.95);
	border-bottom: 1px solid var(--av-line);
	backdrop-filter: saturate(130%) blur(8px);
}

.av-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}

.av-logo {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	text-decoration: none;
}

.av-logo__text {
	font-weight: 600;
	font-size: 1.18rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.av-nav { display: none; align-items: center; gap: 2px; }

.av-nav__link {
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--av-muted);
	padding: 9px 13px;
	border-radius: 6px;
}

.av-nav__link:hover { color: var(--av-ink); background: var(--av-clay-soft); }
.av-nav__link.is-active { color: var(--av-ink); font-weight: 600; }

.av-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	padding: 11px;
	background: transparent;
	border: 1px solid var(--av-line);
	border-radius: 8px;
	cursor: pointer;
}

.av-burger__bar {
	display: block;
	height: 1.5px;
	width: 100%;
	background: var(--av-ink);
	transition: transform 180ms ease, opacity 180ms ease;
}

.av-burger[aria-expanded="true"] .av-burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.av-burger[aria-expanded="true"] .av-burger__bar:nth-child(2) { opacity: 0; }
.av-burger[aria-expanded="true"] .av-burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.av-mobile-nav {
	display: flex;
	flex-direction: column;
	padding: 6px 0 18px;
	border-top: 1px solid var(--av-line);
}

.av-mobile-nav[hidden] { display: none; }

.av-mobile-nav__link {
	text-decoration: none;
	padding: 14px 2px;
	font-weight: 500;
	color: var(--av-ink);
	border-bottom: 1px solid #f1ece4;
}

.av-mobile-nav__link.is-active { font-weight: 600; color: var(--av-clay); }

@media (min-width: 920px) {
	.av-nav { display: flex; }
	.av-burger { display: none; }
	.av-mobile-nav { display: none !important; }
}

/* ---------- hero ---------- */

.av-hero {
	position: relative;
	color: #fff;
	min-height: 78vh;
	display: flex;
	align-items: flex-end;
	padding: 76px 0 58px;
	overflow: hidden;
	background: var(--av-dark);
}

.av-hero__media { position: absolute; inset: 0; }

.av-hero__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center 45%;
}

.av-hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(28,25,23,0.55) 0%, rgba(28,25,23,0.35) 40%, rgba(28,25,23,0.82) 100%);
}

.av-hero__inner { position: relative; z-index: 2; }

.av-hero .av-eyebrow {
	display: block;
	margin: 0 0 16px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #e6cdb3;
}

.av-hero .av-h1 { color: #fff; max-width: 22ch; }
.av-hero .av-lead { color: #ece5dc; max-width: 56ch; }

@media (min-width: 780px) {
	.av-hero { min-height: 84vh; padding: 120px 0 84px; }
}

/* ---------- botones ---------- */

.av-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.av-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.94rem;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.av-btn--solid { background: #f5f0e9; color: var(--av-dark); }
.av-btn--solid:hover { background: #fff; }

.av-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.av-btn--ghost:hover { background: rgba(255,255,255,0.12); }

.av-btn--ghost-light { color: #f5f0e9; border-color: rgba(245,240,233,0.42); }
.av-btn--ghost-light:hover { background: rgba(245,240,233,0.1); }

.av-btn--outline { color: var(--av-ink); border-color: var(--av-line); background: var(--av-paper); }

/* ---------- pills / cards ---------- */

.av-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-pills li {
	padding: 7px 18px;
	border: 1px solid var(--av-line);
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--av-muted);
	background: var(--av-paper);
}

.av-cards {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr;
	margin-top: 30px;
}

@media (min-width: 740px) { .av-cards { grid-template-columns: repeat(3, 1fr); } }

.av-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--av-paper);
	border: 1px solid var(--av-line);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 180ms ease;
}

.av-card:hover { border-color: var(--av-clay); }

.av-card__media { display: block; overflow: hidden; background: var(--av-clay-soft); }
.av-card__media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform 420ms ease; }
.av-card:hover .av-card__media img { transform: scale(1.03); }

.av-card__body { display: block; padding: 20px 22px 24px; }
.av-card__title { display: block; font-weight: 600; font-size: 1.08rem; margin-bottom: 6px; }
.av-card__text { display: block; font-size: 0.9rem; color: var(--av-muted); }

.av-cards--plain { margin-top: 26px; }

.av-tile {
	padding: 26px 24px;
	border-top: 2px solid var(--av-clay);
	background: var(--av-paper);
}

.av-section--plain .av-tile { border: 1px solid var(--av-line); border-top: 2px solid var(--av-clay); }

.av-tile__title { margin: 0 0 8px; font-size: 1.04rem; font-weight: 600; }
.av-tile__text { margin: 0; font-size: 0.92rem; color: var(--av-muted); }

.av-section--plain .av-tile__text,
.av-section--plain .av-body { color: var(--av-muted); }

/* ---------- split / figures ---------- */

.av-split {
	display: grid;
	gap: 34px;
	grid-template-columns: 1fr;
	align-items: center;
}

@media (min-width: 860px) {
	.av-split { grid-template-columns: 1fr 1fr; gap: 56px; }
	.av-split--media { grid-template-columns: 1.05fr 0.95fr; }
}

.av-figure { margin: 0; }

.av-figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
}

.av-split .av-figure img { aspect-ratio: 3 / 4; }

.av-figure figcaption {
	margin-top: 10px;
	font-size: 0.78rem;
	color: #8a8178;
}

/* ---------- section head ---------- */

.av-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
}

/* ---------- pasos ---------- */

.av-steps {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

@media (min-width: 820px) { .av-steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.av-steps li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 22px;
	border-top: 1px solid rgba(245,240,233,0.24);
}

.av-steps__n {
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	color: #d9c3ac;
	font-weight: 600;
}

.av-steps__t { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }

.av-steps__d { font-size: 0.9rem; color: #c9c0b6; }

.av-steps--light li { border-top-color: var(--av-line); }
.av-steps--light .av-steps__n { color: var(--av-clay); }
.av-steps--light .av-steps__d { color: var(--av-muted); }

.av-section--dark .av-btn { margin-top: 30px; }

/* ---------- page head ---------- */

.av-page-head {
	background: var(--av-paper);
	padding: 62px 0 42px;
	border-bottom: 1px solid var(--av-line);
}

@media (min-width: 780px) { .av-page-head { padding: 92px 0 56px; } }

/* ---------- feature (tienda) ---------- */

.av-feature {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
	margin-bottom: 54px;
	align-items: center;
}

.av-feature:last-child { margin-bottom: 0; }

.av-feature__media { margin: 0; }
.av-feature__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
}

@media (min-width: 820px) {
	.av-feature { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
	.av-feature--rev { grid-template-columns: 0.9fr 1.1fr; }
	.av-feature--rev .av-feature__media { order: 2; }
}

/* ---------- listas ---------- */

.av-list {
	margin: 0;
	padding-left: 20px;
	color: var(--av-muted);
}

.av-list li { margin-bottom: 12px; }

/* ---------- FAQ ---------- */

.av-faq {
	display: grid;
	gap: 0;
	max-width: 820px;
	margin-top: 22px;
	border-top: 1px solid var(--av-line);
}

.av-faq__item { border-bottom: 1px solid var(--av-line); }

.av-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 2px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
}

.av-faq__q::-webkit-details-marker { display: none; }

.av-faq__q::after {
	content: "+";
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--av-clay);
	line-height: 1;
}

.av-faq__item[open] .av-faq__q::after { content: "−"; }

.av-faq__a {
	margin: 0;
	padding: 0 2px 22px;
	max-width: 68ch;
	font-size: 0.94rem;
	color: var(--av-muted);
}

/* ---------- contacto ---------- */

.av-contact { text-align: left; }
.av-contact .av-body { margin-bottom: 0; }

/* ---------- footer ---------- */

.av-footer {
	background: var(--av-dark);
	color: #d6cec4;
	padding: 54px 0 30px;
}

.av-footer__inner {
	display: grid;
	gap: 26px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(245,240,233,0.14);
}

@media (min-width: 800px) {
	.av-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

.av-footer__brand {
	margin: 0 0 8px;
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: #f5f0e9;
}

.av-footer__text { margin: 0; font-size: 0.9rem; max-width: 34ch; }

.av-footer__label {
	margin: 0 0 10px;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #a29889;
}

.av-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-footer__links a {
	text-decoration: none;
	font-size: 0.9rem;
	color: #e4ddd3;
}

.av-footer__links a:hover { text-decoration: underline; }

.av-footer__legal {
	margin: 22px 0 0;
	font-size: 0.78rem;
	color: #857c72;
}

/* ---------- reduce motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.av-card:hover .av-card__media img { transform: none; }
}
