/* ==========================================================================
   MARCA RAFA VIDELA — logo y preguntas frecuentes
   ========================================================================== */

/* Logo (firma blanca) en el header */
.vd-header .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.vd-header .custom-logo-link img,
.vd-header .custom-logo { height: 58px; max-height: none; width: auto; transition: height .5s var(--vd-ease), opacity .3s; }
.vd-header.is-scrolled .custom-logo-link img { height: 46px; }
.vd-header .custom-logo-link:hover img { opacity: .85; }

/* Logo en el footer */
.vd-footer__about .custom-logo-link { display: inline-block; line-height: 0; }
.vd-footer__about .custom-logo-link img { height: 72px; width: auto; max-height: none; }

/* Firma gigante de fondo en el footer */
.vd-footer__giant { display: flex; justify-content: center; padding: 10px var(--vd-gutter) 0; line-height: 0; }
.vd-footer__giant-logo { width: min(1100px, 92vw); height: auto; opacity: .06; filter: drop-shadow(0 0 1px rgba(201, 138, 82, .4)); user-select: none; pointer-events: none; }

/* Menú móvil con logo */
.vd-mobile .custom-logo-link img { height: 48px; width: auto; }

@media (max-width: 960px) {
	.vd-header .custom-logo-link img, .vd-header .custom-logo { height: 46px; }
	.vd-header.is-scrolled .custom-logo-link img { height: 40px; }
}
@media (max-width: 640px) {
	.vd-header .custom-logo-link img, .vd-header .custom-logo { height: 40px; }
	.vd-footer__about .custom-logo-link img { height: 60px; }
}

/* ==========================================================================
   PREGUNTAS FRECUENTES
   ========================================================================== */
.vd-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.vd-faq-wrap > .vd-heading { position: sticky; top: calc(var(--vd-header-h) + 30px); margin: 0; }
.vd-faq { border-top: 1px solid var(--vd-line-2); }
.vd-faq__item { border-bottom: 1px solid var(--vd-line-2); }
.vd-faq__q { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 14px; padding: 24px 0; cursor: pointer; list-style: none; }
.vd-faq__q::-webkit-details-marker { display: none; }
.vd-faq__q h3 { margin: 0 !important; font-size: clamp(20px, 1.8vw, 26px) !important; font-weight: 500 !important; line-height: 1.25 !important; transition: color .3s; }
.vd-faq__q:hover h3 { color: var(--vd-ember-2); }
.vd-faq__n { font-family: var(--vd-display); font-style: italic; font-size: 20px; color: var(--vd-ember-2); }
.vd-faq__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--vd-line-2); transition: background .4s, border-color .4s, transform .5s var(--vd-ease); }
.vd-faq__icon::before, .vd-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--vd-ease); color: var(--vd-chrome); }
.vd-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.vd-faq__item[open] .vd-faq__icon { background: var(--vd-ember); border-color: var(--vd-ember); transform: rotate(180deg); }
.vd-faq__item[open] .vd-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.vd-faq__a { padding: 0 46px 26px 58px; font-size: 16.5px; line-height: 1.8; color: var(--vd-text); animation: vd-faq-in .5s var(--vd-ease); }
.vd-faq__a p { margin: 0 !important; }
@keyframes vd-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.vd-tone--light .vd-faq, .vd-tone--light .vd-faq__item { border-color: rgba(0, 0, 0, .14); }
.vd-tone--light .vd-faq__icon::before, .vd-tone--light .vd-faq__icon::after { color: #151412; }
.vd-tone--light .vd-faq__a { color: #45423d; }

@media (max-width: 960px) {
	.vd-faq-wrap { grid-template-columns: 1fr; }
	.vd-faq-wrap > .vd-heading { position: static; }
}
@media (max-width: 640px) {
	.vd-faq__q { grid-template-columns: 30px 1fr 28px; gap: 10px; }
	.vd-faq__a { padding: 0 0 22px 40px; }
}

/* Ajustes finos */
.vd-faq__n, .vd-bento__idx, .vd-card__idx, .vd-step__num, .vd-clist__idx { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.vd-footer__giant-logo { width: min(820px, 84vw); opacity: .055; }
