/*
Theme Name: VARKÁN
Theme URI: https://varkan.cl
Author: VARKÁN
Description: Tema de VARKÁN, Constructora y corretaje de bienes raíces. Tema hijo de Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.5.0
Requires at least: 6.5
Text Domain: varkan
*/

/* ===== Base ===== */
:root {
	--vk-turq: #14FAF4;
	--vk-azul: #176BE0;
	--vk-verde: #0A632C;
	--vk-radius: 14px;
	--vk-shadow: 0 6px 24px rgba(15, 23, 42, .08);
	--vk-v-bg: url(/wp-content/uploads/2026/11/varkan-v-fondo.png);
}
.wp-site-blocks > * { margin-block-start: 0; }
.vk-main { margin-block-start: 0 !important; padding: 0 !important; }
.wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.vk-section { padding-block: clamp(56px, 8vw, 96px) !important; }
.vk-section-sm { padding-block: clamp(32px, 4vw, 48px) !important; }
.vk-azul-title { color: var(--vk-azul); }
.vk-lead { font-size: 1.1rem; }
.vk-muted { color: #52525b; }
.has-gris-oscuro-background-color .vk-muted, .has-negro-background-color .vk-muted { color: #a1a1aa; }
img { height: auto; }

/* ===== Header ===== */
.vk-header { padding-block: 14px !important; position: relative; z-index: 20; }
.vk-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.vk-social { margin: 0; }
.vk-social .wp-social-link svg { width: 26px; height: 26px; }
.vk-social .wp-social-link a { padding: 9px !important; display: inline-flex; }
.vk-social { gap: 0 !important; flex-wrap: nowrap !important; }
.vk-header-cta { justify-content: flex-end; margin: 0 !important; }
.vk-btn-header .wp-block-button__link { background: var(--vk-turq); color: #000; padding: 10px 18px; font-size: 14px; }
.vk-btn-header .wp-block-button__link:hover { background: #0fe0db; color: #000; }
.vk-brand { gap: 6px !important; }
.vk-site-title { font-family: var(--wp--preset--font-family--archivo); font-size: 1.6rem; font-weight: 600; letter-spacing: .02em; margin: 0; line-height: 1.1; }
.vk-site-title a { color: #fff; text-decoration: none; }
.vk-nav { font-size: 15px; }
.vk-nav .wp-block-navigation-item__content { color: #fff; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.vk-nav .wp-block-navigation-item__content:hover,
.vk-nav .current-menu-item > .wp-block-navigation-item__content,
.vk-nav [aria-current="page"] { border-bottom-color: var(--vk-turq); color: var(--vk-turq); }
@media (max-width: 781px) {
	.vk-header-inner { grid-template-columns: auto 1fr auto; }
	.vk-btn-header .wp-block-button__link { padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }
	.vk-social .wp-social-link a { padding: 7px !important; }
	.vk-social .wp-social-link svg { width: 22px; height: 22px; }
	.vk-brand { align-items: center !important; }
}

/* ===== Hero ===== */
.vk-hero {
	background-color: #000;
	background-image: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), var(--vk-v-bg);
	background-repeat: no-repeat;
	background-position: 0 0, 78% 50%;
	background-size: 100% 100%, auto 105%;
	padding-block: clamp(48px, 7vw, 96px) !important;
}
.vk-eyebrow { color: var(--vk-turq); font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: 1rem; margin-bottom: .4rem; }
.vk-hero h1, .vk-hero h2 { color: #fff; }
.vk-hero p:not(.vk-eyebrow) { color: #f4f4f5; font-size: 1.1rem; }
.vk-hero .wp-block-buttons { margin-top: 2rem; }

/* Fotos superpuestas */
.vk-stack { position: relative; min-height: 420px; }
.vk-stack figure { margin: 0; }
.vk-stack img { border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); object-fit: cover; width: 100%; }
.vk-stack .vk-stack-back { width: 62%; }
.vk-stack .vk-stack-back img { aspect-ratio: 3 / 2; }
.vk-stack .vk-stack-front { position: absolute; right: 0; top: 34%; width: 72%; }
.vk-stack .vk-stack-front img { aspect-ratio: 3 / 2; }
.vk-stack .vk-stack-front figcaption {
	position: absolute; top: 12px; left: 12px; right: 12px; margin: 0;
	background: rgba(0, 0, 0, .62); color: #fff; backdrop-filter: blur(2px); font-weight: 700; font-family: var(--wp--preset--font-family--archivo);
	padding: 8px 14px; border-radius: 6px; text-align: left; font-size: 1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.vk-stack-plan { position: relative; max-width: 460px; margin-inline: auto; }
.vk-stack-plan figure { margin: 0; }
.vk-stack-plan .vk-sello { position: absolute; right: -6%; bottom: -4%; width: 34%; transform: rotate(-8deg); }
@media (max-width: 781px) {
	.vk-stack { min-height: 0; padding-bottom: 50%; }
	.vk-hero { background-position: 0 0, 50% 100%; background-size: 100% 100%, 80% auto; }
}

/* ===== Botones ===== */
.vk-btn-wa .wp-block-button__link { background: var(--vk-verde); color: #fff; min-width: 300px; }
.vk-btn-wa .wp-block-button__link:hover { background: #08502a; }
.vk-btn-wa-claro .wp-block-button__link { background: var(--vk-verde); color: #fff; width: 100%; }
.vk-btn-wa-claro .wp-block-button__link:hover { background: #08502a; }
.vk-btn-turq .wp-block-button__link { background: var(--vk-turq); color: #000; }
.vk-btn-turq .wp-block-button__link:hover { background: #0fe0db; color: #000; }
.vk-btn-dark .wp-block-button__link { background: #000; color: #fff; min-width: 300px; }
.vk-btn-dark .wp-block-button__link:hover { background: #27272a; }
.vk-btn-pill .wp-block-button__link { border-radius: 999px; padding-inline: 60px; box-shadow: 0 6px 16px rgba(23, 107, 224, .3); }

/* ===== Garantías (franja de íconos) ===== */
.vk-features { padding-block: 28px !important; }
.vk-features .wp-block-columns { gap: 24px; }
.vk-feature { display: flex !important; align-items: center; gap: 14px; }
.vk-feature figure { margin: 0; flex: 0 0 40px; }
.vk-feature img { width: 40px; height: 40px; }
.vk-feature p { margin: 0; font-weight: 700; font-family: var(--wp--preset--font-family--archivo); line-height: 1.25; }

/* ===== Proyectos ===== */
.vk-projects { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.vk-project figure { margin: 0 0 14px; }
.vk-project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.vk-project h3 { font-size: 1.25rem; margin: 0 0 6px; }
.vk-project p { margin: 0; color: #52525b; }
@media (max-width: 1000px) { .vk-projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vk-projects { grid-template-columns: 1fr; } }

/* ===== Tarjetas ===== */
.vk-card { background: #fff; border-radius: var(--vk-radius); box-shadow: var(--vk-shadow); padding: 20px 22px !important; }
.vk-plan-item { display: flex !important; align-items: center; gap: 16px; }
.vk-plan-item + .vk-plan-item { margin-top: 22px !important; }
.vk-plan-item figure, .vk-icon { margin: 0; flex: 0 0 56px; }
.vk-plan-item img, .vk-icon img { width: 56px; height: 56px; border-radius: 10px; }
.vk-plan-item h3 { font-size: 1.1rem; margin: 0 0 4px; }
.vk-plan-item p { margin: 0; }

/* Servicios con check */
.vk-check-item { display: flex !important; align-items: flex-start; gap: 14px; }
.vk-check-item figure { margin: 4px 0 0; flex: 0 0 38px; }
.vk-check-item img { width: 38px; height: 38px; }
.vk-check-item h3 { font-size: 1.5rem; margin: 0 0 4px; }
.vk-check-item p { margin: 0; }
.vk-check-item + .vk-check-item { margin-top: 26px !important; }

.vk-plan-foto img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--vk-radius); }
.vk-hero-v { background-position: 0 0, 85% 50%; }

/* ===== Plan: cobertura ===== */
.vk-cobertura { gap: 0 !important; border-radius: var(--vk-radius); overflow: hidden; box-shadow: var(--vk-shadow); background: #fff; }
.vk-cobertura > .wp-block-column { padding: 28px 26px; display: flex; flex-direction: column; }
.vk-cobertura > .wp-block-column + .wp-block-column { border-left: 1px solid #e4e4e7; }
.vk-cobertura > .wp-block-column:first-child { background: #e8f0fa; }
.vk-cobertura-head { display: flex !important; gap: 14px; align-items: flex-start; }
.vk-cobertura-head h3 { margin: 6px 0 4px; font-size: 1.25rem; }
.vk-cobertura-head p { margin: 0; color: #52525b; }
.vk-checks { list-style: none; padding-left: 0; margin-top: 22px; flex: 1; }
.vk-checks li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.vk-checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
	background: #1257b0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.vk-card-note { border-top: 1px dashed #d4d4d8; padding-top: 16px; margin-top: 8px !important; }
@media (max-width: 781px) { .vk-cobertura > .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid #e4e4e7; } }

/* ===== Cómo funciona ===== */
.vk-steps { gap: 32px; }
.vk-step-num {
	display: flex; align-items: center; gap: 12px; margin: 0 0 18px !important;
}
.vk-step-num span:first-child {
	width: 46px; height: 46px; border-radius: 50%; background: #3f3f46; color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-size: 1.6rem; flex: 0 0 46px;
}
.vk-step-num::after { content: ""; flex: 1; height: 3px; background: #e4e4e7; border-radius: 3px; }
.vk-steps h3 { margin: 0 0 8px; font-size: 1.45rem; }
.vk-steps p { color: #52525b; margin: 0; }

/* ===== Caso real ===== */
.vk-case { background: #fff; border-radius: var(--vk-radius); box-shadow: var(--vk-shadow); padding: 30px !important; }
.vk-case h2 { font-size: 2rem; }
.vk-person { display: flex !important; align-items: center; gap: 22px; }
.vk-person figure { margin: 0; flex: 0 0 96px; }
.vk-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.vk-person p { margin: 0; }
.vk-quote { border-left: 4px solid var(--vk-turq); padding-left: 20px; margin: 26px 0 !important; font-size: 1.05rem; }
.vk-gallery-pair { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
.vk-gallery-pair figure { margin: 0; }
.vk-gallery-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.vk-case h4 { margin: 0 0 8px; }
.vk-stat-mini { background: #ececee; border-radius: 10px; padding: 14px 18px !important; font-weight: 700; font-family: var(--wp--preset--font-family--archivo); line-height: 1.25; font-size: .88rem; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.vk-gallery-pair > * { margin: 0 !important; }
.vk-stat-mini p { margin: 0; }

/* ===== Preguntas frecuentes ===== */
.vk-faq h2 { font-size: 2rem; }
.vk-faq .wp-block-details { border-bottom: 1px solid #e4e4e7; padding: 14px 0; margin: 0 !important; }
.vk-faq .wp-block-details summary { font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: 1.1rem; cursor: pointer; }
.vk-faq .wp-block-details p { margin: 10px 0 0; color: #3f3f46; }

/* ===== Servicios: cifras ===== */
.vk-stats-grid { gap: 22px; }
.vk-stat { background: #18181b; border-radius: var(--vk-radius); padding: 40px 20px !important; text-align: center; border: 1px solid #3f3f46; }
.vk-stat-num { font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; margin: 0 0 12px !important; color: #fff; }
.vk-stat p:not(.vk-stat-num) { color: #a1a1aa; font-size: .9rem; margin: 0; }

/* Título "PROYECTOS a la medida" */
.vk-title-split { display: flex !important; align-items: baseline; justify-content: center; gap: 18px; flex-wrap: wrap; }
.vk-title-split h2 { margin: 0; text-transform: uppercase; }
.vk-title-split p { margin: 0; }

/* ===== Contacto ===== */
.vk-contacto h1 { font-size: clamp(3rem, 7vw, 5rem); color: #fff; }
.vk-contacto p, .vk-contacto li { color: #f4f4f5; }
.vk-contacto ul { padding-left: 0; list-style: none; }
.vk-contacto li { margin-bottom: 6px; }
.vk-form { display: grid; gap: 18px; }
.vk-form label { display: grid; gap: 6px; color: #fff; font-size: .95rem; }
.vk-form input, .vk-form textarea {
	width: 100%; box-sizing: border-box; background: #e9e9ea; border: 1px solid #d4d4d8; border-radius: 4px;
	padding: 12px 14px; font: inherit; font-size: 15px; color: #18181b;
}
.vk-form input:focus, .vk-form textarea:focus { outline: 2px solid var(--vk-turq); outline-offset: 1px; }
.vk-form button {
	justify-self: start; background: var(--vk-turq); color: #000; border: 0; border-radius: 4px; cursor: pointer;
	padding: 14px 26px; font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: 15px;
}
.vk-form button:hover { background: #0fe0db; }
.vk-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.vk-form-msg { padding: 12px 16px; border-radius: 6px; margin: 0; font-weight: 600; }
.vk-form-ok { background: #dcfce7; color: #14532d !important; }
.vk-form-error { background: #fee2e2; color: #7f1d1d !important; }

/* ===== Footer ===== */
.vk-footer {
	background-color: #000;
	background-image: linear-gradient(rgba(0, 0, 0, .86), rgba(0, 0, 0, .86)), var(--vk-v-bg);
	background-repeat: no-repeat;
	background-position: 0 0, 50% 50%;
	background-size: 100% 100%, auto 90%;
	padding-block: 56px 36px !important;
}
.vk-footer a { color: #fff; text-decoration: none; }
.vk-footer a:hover { color: var(--vk-turq); }
.vk-footer p { margin: 0 0 6px; }
.vk-footer-brand {
	font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
	margin-bottom: 10px !important; position: relative; padding-top: 22px;
}
.vk-footer-brand::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 3px; background: var(--vk-turq); }
.vk-footer-contact { text-align: right; }
.vk-footer-label, .vk-footer-slogan { color: var(--vk-turq); font-weight: 600; letter-spacing: .12em; font-size: .85rem; }
.vk-footer-slogan { text-align: right; }
.vk-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .5); margin-top: 48px !important; padding-top: 10px; font-size: .85rem; }
@media (max-width: 781px) {
	.vk-footer-contact, .vk-footer-slogan { text-align: left; }
}

/* ===== WhatsApp flotante ===== */
.vk-wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 62px; height: 62px; border-radius: 50%;
	background: #0b7a45; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .15s ease;
}
.vk-wa-float:hover { transform: scale(1.07); color: #fff; }

/* ===== Tarjetas de proyecto enlazadas ===== */
.vk-project a { color: inherit; text-decoration: none; }
.vk-project h3 a:hover { color: var(--vk-azul); }
.vk-project figure a { display: block; overflow: hidden; border-radius: 6px; }
.vk-project figure img { transition: transform .35s ease; }
.vk-project figure a:hover img { transform: scale(1.04); }
.vk-project .vk-more { margin-top: 10px !important; }
.vk-project .vk-more a { color: var(--vk-azul); font-weight: 600; font-size: .95rem; }
.vk-project .vk-more a:hover { text-decoration: underline; }

/* ===== Páginas de detalle de proyecto ===== */
.vk-detail-hero { padding-block: clamp(40px, 6vw, 72px) !important; }
.vk-back { margin-bottom: 1.5rem !important; }
.vk-back a { color: #d4d4d8; text-decoration: none; font-size: .95rem; }
.vk-back a:hover { color: var(--vk-turq); }
.vk-detail h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.6rem; }
.vk-detail h3 { margin-top: 2rem; }
.vk-detail h3 + .vk-muted { margin-top: .25rem; }
.vk-detail li { margin-bottom: .55rem; }
.vk-detail ul ul { margin-top: .55rem; }
.vk-detail .wp-block-gallery { margin-top: 1rem; }
.vk-detail .wp-block-gallery img { border-radius: 6px; }
.vk-detail > .wp-block-image img { border-radius: var(--vk-radius); }
.vk-detail-facts { list-style: none; padding: 24px 28px !important; background: var(--wp--preset--color--gris-claro); border-left: 4px solid var(--vk-turq); border-radius: 8px; }
.vk-cta .wp-block-buttons { gap: 12px; }

/* ===== Avisos de propiedades ===== */
.vk-price { color: var(--vk-turq) !important; font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: 1.25rem !important; }
.vk-detail .vk-checks { margin-top: 12px; }

/* ===== Enfoque administradora de arriendos ===== */
.vk-eyebrow-azul { color: var(--vk-azul); font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem !important; }
.vk-hero .wp-block-buttons { gap: 12px; }
.vk-hero .vk-btn-wa .wp-block-button__link, .vk-hero .vk-btn-turq .wp-block-button__link { min-width: 0; }
.vk-hero-narrow { max-width: 780px; }

/* Cifras clave */
.vk-kpis-band { padding-block: 26px !important; border-top: 1px solid #27272a; }
.vk-kpis { gap: 18px; margin: 0 !important; }
.vk-kpi { text-align: center; }
.vk-kpi-num { font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; color: var(--vk-turq); margin: 0 0 6px !important; }
.vk-kpi-label { margin: 0 !important; color: #d4d4d8; font-size: .95rem; }
@media (max-width: 781px) { .vk-kpis { display: grid !important; grid-template-columns: 1fr 1fr; } }

/* Qué incluye */
.vk-incluye { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px !important; }
.vk-incluye-item { display: flex !important; gap: 14px; align-items: flex-start; margin: 0 !important; }
.vk-incluye-item figure { margin: 2px 0 0; flex: 0 0 30px; }
.vk-incluye-item img { width: 30px; height: 30px; }
.vk-incluye-item h3 { font-size: 1.12rem; margin: 0 0 6px; }
.vk-incluye-item p { margin: 0; color: #52525b; font-size: .97rem; }
@media (max-width: 1000px) { .vk-incluye { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vk-incluye { grid-template-columns: 1fr; } }

/* Tarifas */
.vk-tarifas { max-width: 900px; margin-inline: auto !important; gap: 24px; margin-top: 28px !important; }
.vk-tarifa { height: 100%; padding: 30px !important; border: 1px solid #e4e4e7; }
.vk-tarifa-destacada { border: 2px solid var(--vk-turq); }
.vk-tarifa-nombre { font-family: var(--wp--preset--font-family--archivo); font-weight: 700; font-size: 1.15rem; margin: 0 !important; }
.vk-tarifa-precio { font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-size: 3rem; line-height: 1.1; color: var(--vk-azul); margin: 8px 0 0 !important; }
.vk-tarifa-precio span { font-size: 1rem; font-weight: 600; color: #3f3f46; }
.vk-tarifa-cuando { color: #52525b; font-size: .95rem; margin: 4px 0 0 !important; }
.vk-tarifa .vk-checks { margin-top: 18px; }
.vk-tarifa-nota { color: #3f3f46; max-width: 720px; margin: 22px auto 18px !important; }

/* Pasos (4) */
.vk-steps-4 { margin-top: 30px !important; }
@media (max-width: 1000px) { .vk-steps-4 { flex-wrap: wrap !important; } .vk-steps-4 > .wp-block-column { flex-basis: calc(50% - 16px) !important; } }
@media (max-width: 600px) { .vk-steps-4 > .wp-block-column { flex-basis: 100% !important; } }

/* FAQ centrada */
.vk-faq-center { max-width: 820px; margin-inline: auto !important; margin-top: 18px !important; }

/* CTA oscuro */
.vk-cta-dark h2 { color: #fff; }
.vk-cta-dark p { color: #d4d4d8; }
.vk-cta-dark .wp-block-buttons { gap: 12px; }

/* Propiedades */
.vk-props { grid-template-columns: repeat(3, 1fr) !important; margin-top: 24px !important; }
@media (max-width: 900px) { .vk-props { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 600px) { .vk-props { grid-template-columns: 1fr !important; } }
.vk-badge { display: inline-block; font-size: .78rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; margin: 0 0 8px !important; }
.vk-badge-ok { background: #dcfce7; color: #14532d; }
.vk-badge-venta { background: #dbeafe; color: #1e3a8a; }
.vk-arrendado-nota { background: #dcfce7; color: #14532d; border-radius: 8px; padding: 14px 18px !important; font-weight: 600; }

/* Diferencias */
.vk-diferencia { gap: 22px; margin-top: 26px !important; }
.vk-diferencia .vk-card { height: 100%; }
.vk-diferencia h3 { font-size: 1.2rem; margin-top: 0; }
.vk-diferencia p { color: #52525b; margin-bottom: 0; }

/* Lista con checks grande */
.vk-checks-lg li { font-size: 1.05rem; margin-bottom: 16px; }

/* Formulario: selects y fila doble */
.vk-form select { width: 100%; box-sizing: border-box; background: #e9e9ea; border: 1px solid #d4d4d8; border-radius: 4px; padding: 12px 14px; font: inherit; font-size: 15px; color: #18181b; }
.vk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .vk-form-row { grid-template-columns: 1fr; } }

.vk-projects > *, .vk-incluye > * { margin-block-start: 0 !important; }
@media (max-width: 600px) {
	.vk-btn-header .wp-block-button__link { font-size: 0 !important; padding: 9px 14px !important; }
	.vk-btn-header .wp-block-button__link::after { content: "Cotizar"; font-size: 13px; }
	.vk-header-inner { gap: 8px; }
	html, body { overflow-x: hidden; }
}

/* ===== Cabecera en pantallas medianas (tablets / notebooks chicos) ===== */
.vk-btn-header .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1100px) {
	.vk-header-inner { grid-template-columns: 1fr auto !important; }
	.vk-header .vk-social { display: none !important; }
	.vk-brand { align-items: flex-start !important; }
	.vk-site-title { text-align: left !important; }
	.vk-nav, .vk-nav .wp-block-navigation__container { justify-content: flex-start !important; }
	.vk-nav { font-size: 14.5px; }
	.vk-nav .wp-block-navigation__container { gap: .4em 1.1em !important; }
	.vk-btn-header .wp-block-button__link { font-size: 0 !important; padding: 10px 18px !important; }
	.vk-btn-header .wp-block-button__link::after { content: "Cotizar"; font-size: 14px; }
}
/* Redes sociales en el pie */
.vk-footer-social { margin-top: 14px !important; }
.vk-footer-social .wp-social-link svg { width: 24px; height: 24px; }
.vk-footer-social .wp-social-link a { padding: 6px !important; }
@media (min-width: 601px) and (max-width: 820px) {
	.vk-nav { font-size: 13px; }
	.vk-nav .wp-block-navigation__container { gap: .3em .8em !important; flex-wrap: nowrap !important; }
}
.vk-nav .wp-block-navigation-item__content { white-space: nowrap; }
@media (min-width: 601px) and (max-width: 700px) {
	.vk-nav { font-size: 12px; }
	.vk-nav .wp-block-navigation__container { gap: .3em .6em !important; }
	.vk-btn-header .wp-block-button__link { padding: 9px 12px !important; }
}

/* ===== Banner: V con foco difuminado (opción A) ===== */
.vk-hero { position: relative; overflow: hidden; background: #000 !important; }
.vk-hero > * { position: relative; z-index: 1; }
.vk-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: var(--vk-v-bg) no-repeat 74% 55% / auto 88%;
	opacity: .55;
	-webkit-mask-image: radial-gradient(ellipse 34% 52% at 74% 55%, #000 35%, transparent 78%);
	mask-image: radial-gradient(ellipse 34% 52% at 74% 55%, #000 35%, transparent 78%);
}
@media (max-width: 781px) {
	.vk-hero::before {
		background-position: 50% 85%; background-size: auto 60%; opacity: .45;
		-webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 85%, #000 30%, transparent 75%);
		mask-image: radial-gradient(ellipse 60% 40% at 50% 85%, #000 30%, transparent 75%);
	}
}

/* ===== Banner: luz azul de marca, sin V (opción C) ===== */
.vk-hero::before {
	background:
		radial-gradient(circle at 78% 42%, rgba(23, 107, 224, .38), transparent 42%),
		radial-gradient(circle at 92% 88%, rgba(20, 250, 244, .16), transparent 35%),
		linear-gradient(180deg, #000, #05070d) !important;
	opacity: 1 !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
}
@media (max-width: 781px) {
	.vk-hero::before {
		background:
			radial-gradient(circle at 70% 75%, rgba(23, 107, 224, .35), transparent 50%),
			radial-gradient(circle at 15% 100%, rgba(20, 250, 244, .14), transparent 40%),
			linear-gradient(180deg, #000, #05070d) !important;
	}
}

/* ===== SEO: H1 con estilo de antetítulo y lema grande como H2 ===== */
.vk-hero h1.vk-eyebrow, .vk-hero .vk-eyebrow { color: var(--vk-turq) !important; font-size: 1rem !important; letter-spacing: 0 !important; line-height: 1.3 !important; margin: 0 0 .4rem !important; font-weight: 700; }
.vk-hero .vk-hero-title { font-size: clamp(2.3rem, 4.6vw, 3.7rem) !important; line-height: 1.08; margin-top: 0 !important; }
/* Sección de comunas y servicios */
.vk-comunas { display: flex !important; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 18px 0 0 !important; }
.vk-comunas li { background: #eef4fd; color: #1e3a8a; border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 600; margin: 0 !important; }
.vk-serv-grid { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 24px !important; }
.vk-serv-grid > * { margin: 0 !important; }
.vk-serv-grid h3 { margin: 0 0 6px; font-size: 1.2rem; }
.vk-serv-grid h3 a { color: inherit; text-decoration: none; }
.vk-serv-grid h3 a:hover { color: var(--vk-azul); }
.vk-serv-grid p { color: #52525b; margin: 0; }
@media (max-width: 700px) { .vk-serv-grid { grid-template-columns: 1fr; } }

/* ===== Márgenes y alineación consistentes ===== */
/* En las fichas de servicio, el título del banner se alinea con la columna de lectura (820px) */
main:has(.vk-detail) .vk-hero > .alignwide { max-width: 820px !important; margin-inline: auto !important; }
/* Bloques anchos dentro de franjas completas: siempre centrados */
.wp-block-group.alignfull > .alignwide { margin-inline: auto !important; }
