/* =========================================================
   ORVITAR — HOJA DE ESTILOS PRINCIPAL
   Todo el CSS visual del tema vive en este único archivo.
   Organizado por secciones. Sin estilos inline en el markup.
   ========================================================= */

/* ---------------------------------------------------------
   1. BASE / RESET LIGERO
   --------------------------------------------------------- */
:root {
	--orv-navy: #0B0F1A;
	--orv-navy-2: #11172A;
	--orv-purple: #4B1FB8;
	--orv-violet: #7D3CFF;
	--orv-blue: #2D6BFF;
	--orv-light: #F5F6FA;
	--orv-white: #FFFFFF;
	--orv-muted: #9AA3B8;
	--orv-line: #1E2436;
	--orv-line-light: #E4E6EF;
	--orv-shadow: 0 20px 60px rgba(11, 15, 26, 0.35);
	--orv-shadow-soft: 0 10px 30px rgba(11, 15, 26, 0.08);
	--orv-radius: 18px;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--orv-navy);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

section[id] {
	scroll-margin-top: 96px;
}

/* ---------------------------------------------------------
   2. ENCABEZADO (site-header)
   --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--orv-line);
	backdrop-filter: blur(10px);
}

.site-header__inner {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	align-items: center;
}

.site-header__brand {
	align-items: center;
	gap: 0.6rem;
}

.site-header__mark img {
	border-radius: 0;
}

.site-header__wordmark a {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	color: var(--orv-white);
	text-decoration: none;
}

.site-header__nav {
	flex-wrap: wrap;
}

.site-header__nav a {
	color: var(--orv-light);
	font-size: 0.95rem;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.site-header__nav a:hover {
	opacity: 1;
	color: var(--orv-violet);
}

.site-header__cta .wp-block-button__link {
	font-size: 0.9rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	white-space: nowrap;
}

/* ---------------------------------------------------------
   3. HERO
   --------------------------------------------------------- */
.section-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--orv-line);
}

.section-hero__inner {
	max-width: 1200px;
	margin-inline: auto;
	align-items: center;
}

.section-hero__eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--orv-violet);
	background: rgba(125, 60, 255, 0.12);
	border: 1px solid rgba(125, 60, 255, 0.35);
	border-radius: 999px;
	padding: 0.4rem 1rem;
}

.section-hero h1 {
	margin-top: 1.1rem;
}

.section-hero__subtitle {
	color: var(--orv-muted);
	max-width: 46ch;
}

.section-hero__ctas .wp-block-button__link {
	font-size: 1rem;
}

.section-hero__visual img {
	border-radius: var(--orv-radius);
	box-shadow: var(--orv-shadow);
}

.section-hero__stats {
	border-top: 1px solid var(--orv-line);
	max-width: 1200px;
	margin-inline: auto;
}

.section-hero__stats .wp-block-column {
	text-align: center;
}

.stat-number {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 2rem;
	color: var(--orv-white);
	display: block;
}

.stat-label {
	color: var(--orv-muted);
	font-size: 0.9rem;
}

/* ---------------------------------------------------------
   4. SECCIONES GENERALES (claras / oscuras alternadas)
   --------------------------------------------------------- */
.section-inner {
	max-width: 1200px;
	margin-inline: auto;
}

.section-heading {
	max-width: 640px;
}

.section-heading .section-hero__eyebrow {
	margin-bottom: 0.75rem;
}

.section-light {
	border-bottom: 1px solid var(--orv-line-light);
}

.section-dark {
	border-bottom: 1px solid var(--orv-line);
}

.section-light .section-hero__eyebrow {
	background: rgba(75, 31, 184, 0.08);
}

/* ---------------------------------------------------------
   5. SERVICIOS
   --------------------------------------------------------- */
.services-grid .wp-block-column {
	background: var(--orv-white);
	border-radius: var(--orv-radius);
	padding: 2rem 1.75rem;
	box-shadow: var(--orv-shadow-soft);
	border: 1px solid var(--orv-line-light);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-grid .wp-block-column:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(75, 31, 184, 0.16);
}

.service-card__icon img {
	width: 64px;
	height: 64px;
	margin-bottom: 1.1rem;
}

.service-card__title {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
	color: var(--orv-navy);
}

.service-card__desc {
	color: #565f78;
	font-size: 0.98rem;
	line-height: 1.6;
}

/* ---------------------------------------------------------
   6. BENEFICIOS
   --------------------------------------------------------- */
.benefits-grid .wp-block-column {
	border: 1px solid var(--orv-line);
	border-radius: var(--orv-radius);
	padding: 2rem 1.6rem;
	background: linear-gradient(180deg, rgba(75,31,184,0.08) 0%, rgba(11,15,26,0) 60%);
}

.benefit-item__index {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--orv-violet);
	letter-spacing: 0.08em;
}

.benefit-item__title {
	color: var(--orv-white);
	font-size: 1.2rem;
	margin: 0.5rem 0 0.5rem;
}

.benefit-item__desc {
	color: var(--orv-muted);
	font-size: 0.96rem;
}

.benefits-brandline {
	text-align: center;
	color: var(--orv-white);
	font-family: var(--wp--preset--font-family--heading);
	letter-spacing: 0.03em;
}

.benefits-brandline strong {
	color: var(--orv-violet);
}

/* ---------------------------------------------------------
   7. PROCESO
   --------------------------------------------------------- */
.process-grid .wp-block-column {
	position: relative;
	padding: 1.8rem 1.4rem 1.4rem;
	background: var(--orv-white);
	border-radius: var(--orv-radius);
	border: 1px solid var(--orv-line-light);
	box-shadow: var(--orv-shadow-soft);
}

.process-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--orv-violet);
	color: var(--orv-white) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	margin-bottom: 1rem;
}

.process-step__title {
	color: var(--orv-navy);
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.process-step__desc {
	color: #565f78;
	font-size: 0.95rem;
}

/* ---------------------------------------------------------
   8. RESULTADOS / GALERÍA
   --------------------------------------------------------- */
.gallery-grid .wp-block-column {
	border-radius: var(--orv-radius);
	overflow: hidden;
	border: 1px solid var(--orv-line);
	background: var(--orv-navy-2);
}

.gallery-grid figure {
	margin: 0;
}

.gallery-grid img {
	border-radius: 0;
}

.gallery-caption {
	padding: 1.1rem 1.3rem 1.4rem;
}

.gallery-caption__tag {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--orv-violet);
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.gallery-caption__title {
	color: var(--orv-white);
	font-size: 1rem;
}

/* ---------------------------------------------------------
   9. TESTIMONIOS
   --------------------------------------------------------- */
.testimonials-grid .wp-block-column {
	background: var(--orv-white);
	border-radius: var(--orv-radius);
	padding: 1.9rem 1.7rem;
	border: 1px solid var(--orv-line-light);
	box-shadow: var(--orv-shadow-soft);
}

.testimonial-card__quote {
	color: #3B4258;
	font-size: 1rem;
	line-height: 1.65;
	font-style: italic;
}

.testimonial-card__person {
	align-items: center;
	gap: 0.8rem;
	margin-top: 1.1rem;
}

.testimonial-card__avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.testimonial-card__name {
	color: var(--orv-navy);
	font-weight: 700;
	font-size: 0.95rem;
}

.testimonial-card__role {
	color: #7A8296;
	font-size: 0.85rem;
}

/* ---------------------------------------------------------
   10. PREGUNTAS FRECUENTES (accordion nativo core/details)
   --------------------------------------------------------- */
.faq-list {
	max-width: 820px;
	margin-inline: auto;
}

.faq-list .wp-block-details {
	background: var(--orv-navy-2);
	border: 1px solid var(--orv-line);
	border-radius: 14px;
	padding: 1.1rem 1.4rem;
	margin-bottom: 1rem;
}

.faq-list .wp-block-details summary {
	color: var(--orv-white);
	font-weight: 600;
	font-size: 1.02rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.faq-list .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.faq-list .wp-block-details summary::after {
	content: "+";
	font-size: 1.4rem;
	color: var(--orv-violet);
	margin-left: 1rem;
	transition: transform 0.2s ease;
}

.faq-list .wp-block-details[open] summary::after {
	transform: rotate(45deg);
}

.faq-list .wp-block-details p {
	color: var(--orv-muted);
	margin-top: 0.8rem;
	font-size: 0.96rem;
}

/* ---------------------------------------------------------
   11. CTA FINAL
   --------------------------------------------------------- */
.section-cta {
	position: relative;
	overflow: hidden;
	text-align: center;
}

.section-cta__inner {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	align-items: center;
}

.section-cta h2 {
	color: var(--orv-white);
}

.section-cta p {
	color: rgba(245, 246, 250, 0.85);
}

.section-cta .wp-block-buttons {
	justify-content: center;
}

.section-cta .wp-block-button__link {
	font-size: 1.1rem;
	padding: 1.1rem 2.6rem;
	box-shadow: 0 20px 40px rgba(125, 60, 255, 0.35);
}

/* ---------------------------------------------------------
   12. PIE DE PÁGINA
   --------------------------------------------------------- */
.site-footer a {
	color: var(--orv-light);
	text-decoration: none;
	opacity: 0.88;
}

.site-footer a:hover {
	opacity: 1;
	color: var(--orv-violet);
}

.site-footer__grid {
	max-width: 1200px;
	margin-inline: auto;
}

.site-footer__tagline {
	color: var(--orv-muted);
	margin-top: 0.9rem;
	max-width: 32ch;
}

.site-footer__social a {
	background: rgba(245, 246, 250, 0.08);
}

.site-footer__legal {
	color: var(--orv-muted);
	text-align: center;
	max-width: 1200px;
	margin-inline: auto;
}

/* ---------------------------------------------------------
   13. BOTONES (ajustes generales, sin inline styles)
   --------------------------------------------------------- */
.wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	opacity: 0.94;
}

.is-style-outline .wp-block-button__link {
	border-width: 2px;
}

/* ---------------------------------------------------------
   14. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 782px) {
	.site-header__nav {
		display: none;
	}

	.section-hero__inner {
		text-align: center;
	}

	.section-hero__ctas {
		justify-content: center;
	}

	.stat-number {
		font-size: 1.5rem;
	}

	.benefits-grid .wp-block-column,
	.services-grid .wp-block-column,
	.process-grid .wp-block-column,
	.testimonials-grid .wp-block-column {
		margin-bottom: 1.25rem;
	}
}

@media (max-width: 600px) {
	.section-hero h1 {
		font-size: 2.1rem !important;
	}

	.section-cta .wp-block-button__link {
		width: 100%;
	}
}
