/* Vertical System SAS: patrones de landing y páginas corporativas (fase 2).
   Rejilla: Bootstrap 5 (container, row, col-*). Iconos: Font Awesome Free. */

/* Neutraliza márgenes de Gutenberg dentro de la rejilla */
.vs-section .row > * { margin-block-start: var(--bs-gutter-y, 0); }
.vs-section .wp-block-group > :where(h1, h2, h3, p, ul):first-child { margin-top: 0; }

/* Tipografía */
.vs-section h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); line-height: 1.12; font-weight: 800; }
.vs-section h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 700; }
.vs-section h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 700; margin: 0 0 .5rem; }
.vs-section p, .vs-section li { line-height: 1.6; }
.vs-section-head { max-width: 46rem; margin-bottom: 2rem; }
.vs-section-head h2 { margin: 0 0 .5rem; }
.vs-lead { font-size: 1.125rem; color: var(--vs-muted); margin: 0; }
.vs-meta { color: var(--vs-muted); font-size: .9rem; }
.vs-section__cta { margin-top: 2rem; }

/* Hero */
.vs-hero { background: linear-gradient(135deg, var(--vs-navy) 0%, var(--vs-ink) 100%); }
.vs-hero__title { margin: 0 0 1rem; max-width: 20ch; }
.vs-hero__lead { font-size: 1.125rem; max-width: 60ch; margin: 0 0 1.5rem; }
.vs-section--dark .vs-hero__lead { color: #dbe5f5; }
.vs-hero__cta { margin-bottom: 1.5rem; }
.vs-hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.vs-hero__points li::before,
.vs-checklist li::before {
	content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
	color: var(--vs-cyan); margin-right: .6rem;
}
.vs-hero__art {
	aspect-ratio: 1 / 1; max-width: 420px; margin-inline: auto;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cg stroke='%2306B6D4' stroke-opacity='.6' stroke-width='2'%3E%3Cpath d='M60 300 150 190 260 230 330 110 210 80 150 190M260 230 340 320 150 190M210 80 120 60 150 190'/%3E%3C/g%3E%3Cg fill='%2306B6D4'%3E%3Ccircle cx='60' cy='300' r='9'/%3E%3Ccircle cx='150' cy='190' r='12'/%3E%3Ccircle cx='260' cy='230' r='9'/%3E%3Ccircle cx='330' cy='110' r='12'/%3E%3Ccircle cx='210' cy='80' r='9'/%3E%3Ccircle cx='340' cy='320' r='9'/%3E%3Ccircle cx='120' cy='60' r='9'/%3E%3C/g%3E%3C/svg%3E");
}
.vs-page-hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
.vs-page-title { margin: 0 0 .75rem; }

/* Iconos */
.vs-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 12px;
	background: rgba(37, 99, 235, .1); color: var(--vs-blue); font-size: 1.25rem;
}
.vs-section--dark .vs-icon { background: rgba(255, 255, 255, .1); color: var(--vs-cyan); }

/* Tarjetas */
.vs-card { height: 100%; }
.vs-card p:last-child { margin-bottom: 0; }
.vs-card--link { position: relative; transition: border-color .2s ease, box-shadow .2s ease; }
.vs-card--link:hover { border-color: var(--vs-blue); }
.vs-card--link:focus-within { outline: 3px solid var(--vs-cyan); outline-offset: 2px; }
.vs-card--link .vs-card__title { margin-bottom: .5rem; }
.vs-card--link .vs-card__title a { color: inherit; text-decoration: none; }
.vs-card--link .vs-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.vs-card--link .vs-card__title a:focus-visible { outline: none; }

.vs-badge {
	display: inline-block; margin: 0 0 .75rem; padding: .15rem .65rem; border-radius: 999px;
	background: rgba(6, 182, 212, .12); color: var(--vs-cyan-text); font-size: .75rem; font-weight: 600;
}
.vs-tile {
	display: grid; place-items: center; min-height: 5rem; padding: .5rem;
	border: 2px dashed var(--vs-border); border-radius: var(--vs-radius); color: var(--vs-muted); text-align: center;
}
.vs-tile p { margin: 0; }

.vs-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.vs-cta { max-width: 44rem; margin-inline: auto; }
.vs-cta .wp-block-buttons { justify-content: center; margin-top: 1.5rem; }
.vs-contact-list { list-style: none; margin: 0; padding: 0; }
.vs-contact-list li { padding: .75rem 0; border-bottom: 1px solid var(--vs-border); }

/* Botones dentro de secciones */
body .wp-block-button__link { min-height: 44px; padding: .7rem 1.5rem; display: inline-flex; align-items: center; cursor: pointer; }
body .vs-section--dark .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--vs-cyan); color: var(--vs-ink); }
body .vs-section--dark .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--vs-white); color: var(--vs-ink); }
body .vs-section--dark .is-style-outline > .wp-block-button__link { color: var(--vs-white); border: 2px solid var(--vs-white); background: transparent; }
body .vs-section--dark .is-style-outline > .wp-block-button__link:hover { background: var(--vs-white); color: var(--vs-ink); }
body .vs-section:not(.vs-section--dark) .is-style-outline > .wp-block-button__link { color: var(--vs-blue); border: 2px solid var(--vs-blue); background: transparent; }
body .vs-section:not(.vs-section--dark) .is-style-outline > .wp-block-button__link:hover { background: var(--vs-blue); color: var(--vs-white); }

/* FAQ (core/details) */
.vs-faq { max-width: 52rem; }
.vs-faq .wp-block-details { border-bottom: 1px solid var(--vs-border); }
.vs-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-height: 44px; padding: .75rem 0; cursor: pointer; list-style: none;
	font-family: var(--vs-font-heading); font-weight: 600; color: var(--vs-ink);
}
.vs-faq summary::-webkit-details-marker { display: none; }
.vs-faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem; color: var(--vs-blue); }
.vs-faq details[open] summary::after { content: "\f068"; }
.vs-faq .wp-block-details p { margin: 0; padding-bottom: 1rem; }

@media (max-width: 575.98px) {
	.vs-hero__title { max-width: none; }
}
