/* Secciones de la landing */
.wb-section {
	position: relative;
	margin: 0;
	padding: 120px 24px;
	background: var(--wb-bg);
}
.entry-content .wb-section.alignfull { padding-left: 24px; padding-right: 24px; }
.wb-section > .wp-block-group__inner-container { max-width: 1240px; margin: 0 auto; }
.wb-section h2 {
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	max-width: 18ch;
	text-wrap: balance;
}
.wb-section h2 mark { background: none !important; }
.wb-section__lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--wb-muted);
	max-width: 52ch;
	margin: 0 0 48px;
}
.wb-section--feats h2 mark { color: var(--wb-blue) !important; }
.wb-section--services { border-top: 1px solid var(--wb-line); }
.wb-section--services h2 mark { color: var(--wb-teal) !important; }

/* Grilla de caracteristicas */
.wb-feats > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-areas:
		"diseno diseno celular velocidad"
		"contacto contacto google google";
	gap: 16px;
}
.wb-feat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 340px;
	margin: 0 !important;
	padding: 0;
	overflow: hidden;
	border-radius: 28px;
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	transition: border-color .3s;
}
.wb-feat > .wp-block-group__inner-container { display: flex; flex-direction: column; height: 100%; }
.wb-feat:hover { border-color: #4A545A; }
.wb-feat.f-diseno { grid-area: diseno; }
.wb-feat.f-celular { grid-area: celular; }
.wb-feat.f-velocidad { grid-area: velocidad; background: var(--wb-blue); border-color: var(--wb-blue); }
.wb-feat.f-contacto { grid-area: contacto; }
.wb-feat.f-google { grid-area: google; background: var(--wb-surface-2); }
.wb-feat .wp-block-shortcode, .wb-feat .wb-art__inner { position: relative; z-index: 0; flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; }
.wb-feat__text { position: relative; z-index: 3; padding: 0 28px 28px; }
.wb-feat h3 {
	font-size: clamp(19px, 1.6vw, 24px);
	line-height: 1.15;
	margin: 0 0 8px;
}
.wb-feat h3 a { color: var(--wb-ink); text-decoration: none; }
.wb-feat h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.wb-feat h3 a:focus-visible { outline: none; }
.wb-feat:has(h3 a:focus-visible) { outline: 2px solid var(--wb-lime); outline-offset: 3px; }
.wb-feat p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--wb-muted); max-width: 40ch; }
.wb-feat.f-velocidad h3 a, .wb-feat.f-velocidad p { color: #0E1013; }
.wb-feat.f-velocidad .wb-mini__floor { opacity: .35; }
.wb-feats-more { margin-top: 32px; }
.wb-feat.f-contacto .wb-mini { max-width: 400px; margin: 0 auto; }
.wb-section .wb-btn-secondary .wp-block-button__link {
	border-radius: 999px; padding: 15px 28px; font-size: 16px; font-weight: 600; line-height: 1.2;
	background: transparent; color: var(--wb-ink); border: 1px solid var(--wb-line);
}
.wb-section .wb-btn-secondary .wp-block-button__link:hover { border-color: var(--wb-ink); }

/* Mini escenas 3D */
.wb-mini {
	container-type: inline-size;
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	perspective: 1400px;
}
.wb-mini--diseno { aspect-ratio: 16 / 9; }
.wb-mini--google { aspect-ratio: 2.4 / 1; }
.wb-mini__floor {
	position: absolute; left: 12%; right: 12%; bottom: 6%; height: 30%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}
.wb-mini__stage {
	position: absolute; inset: 0;
	transform-style: preserve-3d;
	transition: transform 1s var(--wb-ease);
}
.wb-mini__stage > * { position: absolute; }
.wb-sheet {
	background: #F3F5F7;
	border-radius: 1.6cqw;
	box-shadow: inset 0 0 0 .15cqw #FFFFFF, 1.2cqw 2.4cqw 4cqw rgba(0, 0, 0, .45);
}
.wb-dark {
	background: linear-gradient(160deg, #262D32, #181C20);
	border-radius: 1.8cqw;
	box-shadow: inset 0 0 0 .15cqw #353E44, 1.2cqw 2.4cqw 4cqw rgba(0, 0, 0, .5);
}
.wb-photo { border-radius: 1.2cqw; background: radial-gradient(circle at 72% 30%, #FFE2A8 0 8%, rgba(255, 226, 168, 0) 9%), linear-gradient(170deg, #FFB37A 0%, #FF6F61 45%, #B83F6E 80%, #5A2D5E 100%); }
.wb-line { display: block; height: 1.1cqw; border-radius: 1cqw; background: #D3DADF; }
.wb-line.dark { background: #1C2226; }
.wb-line.w50 { width: 50%; } .wb-line.w60 { width: 60%; } .wb-line.w70 { width: 70%; } .wb-line.w80 { width: 80%; }
.wb-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.wb-tiles span { border-radius: 1cqw; }
.wb-tiles span:nth-child(1) { background: linear-gradient(160deg, #8FD3FF, #3D7BFF 70%, #22408F); }
.wb-tiles span:nth-child(2) { background: linear-gradient(160deg, #E4F7A8, #9CCB2E 65%, #4C7A1E); }
.wb-tiles span:nth-child(3) { background: linear-gradient(160deg, #FFC9E3, #FF3EA5 65%, #8E1F5C); }

/* Diseno a medida: pagina despiezada */
.wb-mini--diseno .wb-mini__stage { transform: translate(4cqw, 4cqw) rotateX(54deg) rotateZ(-34deg); }
.wb-feat:hover .wb-mini--diseno .wb-mini__stage { transform: translate(4cqw, 4cqw) rotateX(50deg) rotateZ(-30deg); }
.wb-mini--diseno .l1 { left: 26cqw; top: 6cqw; width: 46cqw; height: 52cqw; }
.wb-sheet__nav { position: absolute; left: 3cqw; right: 3cqw; top: 3cqw; height: 1.6cqw; border-radius: 1cqw; background: #D3DADF; }
.wb-mini--diseno .l2 { left: 29cqw; top: 11cqw; width: 40cqw; height: 18cqw; transform: translateZ(7cqw); box-shadow: 1cqw 2cqw 3cqw rgba(0, 0, 0, .35); }
.wb-mini--diseno .l3 { left: 29cqw; top: 31cqw; width: 26cqw; transform: translateZ(13cqw); display: flex; flex-direction: column; gap: 1.4cqw; }
.wb-piece__title { font-family: var(--wb-head); font-weight: 700; font-size: 3.6cqw; line-height: 1; color: #F1F4EF; text-shadow: 0 .4cqw 1cqw rgba(0, 0, 0, .35); }
.wb-piece__btn { width: 14cqw; height: 3.6cqw; border-radius: 3cqw; background: var(--wb-lime); box-shadow: .6cqw 1.2cqw 2cqw rgba(0, 0, 0, .35); }
.wb-mini--diseno .l4 { left: 29cqw; top: 44cqw; width: 40cqw; height: 10cqw; transform: translateZ(5cqw); }
.wb-swatches { left: 6cqw; top: 14cqw; width: 16cqw; padding: 1.6cqw; display: grid; gap: 1cqw; transform: translateZ(18cqw); }
.wb-swatches span { display: block; height: 3cqw; border-radius: .8cqw; }
.wb-mini .wb-type { left: 72cqw; top: 30cqw; width: 14cqw; height: 14cqw; display: grid; place-items: center; font-family: var(--wb-head); font-weight: 700; font-size: 6cqw; color: #F1F4EF; transform: translateZ(16cqw); }

/* Hecho para el celular */
.wb-mini--celular .wb-mini__stage { transform: rotateX(14deg) rotateY(-26deg); }
.wb-feat:hover .wb-mini--celular .wb-mini__stage { transform: rotateX(10deg) rotateY(-18deg); }
.wb-device { padding: 1.4cqw; border-radius: 4cqw; background: linear-gradient(160deg, #3D454C, #15181B 60%); box-shadow: inset 0 0 0 .3cqw #555F67, 2cqw 3.5cqw 5cqw rgba(0, 0, 0, .55); }
.wb-device__screen { height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 1.6cqw; padding: 2.4cqw; border-radius: 2.8cqw; background: #F3F5F7; }
.wb-device .wb-photo { height: 40%; flex: none; }
.wb-tablet { left: 18cqw; top: 8cqw; width: 46cqw; height: 60cqw; }
.wb-tablet .wb-tiles { flex: 1; grid-template-columns: 1fr 1fr; }
.wb-mphone { left: 56cqw; top: 22cqw; width: 23cqw; height: 46cqw; border-radius: 4.4cqw; transform: translateZ(10cqw); }
.wb-mphone .wb-photo { height: 46%; }
.wb-mbtn { margin-top: auto; height: 4cqw; border-radius: 3cqw; background: var(--wb-blue); }

/* Carga rapida */
.wb-mini--velocidad .wb-mini__stage { transform: rotateX(46deg) rotateZ(-18deg); }
.wb-feat:hover .wb-mini--velocidad .wb-mini__stage { transform: rotateX(40deg) rotateZ(-14deg); }
.wb-dial { left: 24cqw; top: 6cqw; width: 52cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #262D32, #101316); box-shadow: inset 0 0 0 .4cqw #353E44, 0 2cqw 0 #0A0C0E, 2cqw 5cqw 6cqw rgba(0, 0, 0, .55); }
.wb-dial__ring { position: absolute; inset: 4cqw; border-radius: 50%; background: conic-gradient(from 220deg, #AAC948 0 74%, #2C3336 74% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.4cqw), #000 calc(100% - 3.3cqw)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.4cqw), #000 calc(100% - 3.3cqw)); }
.wb-dial__needle { position: absolute; left: 50%; top: 50%; width: 1.6cqw; height: 20cqw; margin-left: -.8cqw; border-radius: 1cqw; background: #F1F4EF; transform-origin: 50% 0; transform: rotate(-150deg) translateZ(2cqw); box-shadow: .6cqw 1cqw 1.6cqw rgba(0, 0, 0, .4); }
.wb-load { left: 8cqw; top: 54cqw; width: 50cqw; padding: 2.4cqw; transform: translateZ(14cqw); display: flex; flex-direction: column; gap: 1.4cqw; }
.wb-load__label { font-family: var(--wb-body); font-weight: 600; font-size: 3cqw; color: #F1F4EF; }
.wb-load__track { height: 2.4cqw; border-radius: 2cqw; background: #2C3336; overflow: hidden; }
.wb-load__fill { display: block; height: 100%; width: 92%; border-radius: 2cqw; background: linear-gradient(90deg, #9CCB2E, #AAC948); }

/* Formularios y WhatsApp */
.wb-mini--contacto .wb-mini__stage { transform: rotateX(12deg) rotateY(-24deg); }
.wb-feat:hover .wb-mini--contacto .wb-mini__stage { transform: rotateX(8deg) rotateY(-16deg); }
.wb-form { left: 6cqw; top: 13cqw; width: 46cqw; height: 54cqw; padding: 4cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.wb-form__label { font-family: var(--wb-head); font-weight: 700; font-size: 4cqw; color: #1C2226; }
.wb-field { height: 5cqw; border-radius: 1.2cqw; background: #FFFFFF; box-shadow: inset 0 0 0 .2cqw #D3DADF; }
.wb-field--big { height: 11cqw; }
.wb-form__btn { margin-top: auto; padding: 1.6cqw; border-radius: 4cqw; background: var(--wb-blue); color: #fff; text-align: center; font-family: var(--wb-body); font-weight: 600; font-size: 3cqw; }
.wb-bubble { max-width: 40cqw; padding: 2.2cqw 3cqw; border-radius: 3cqw; font-family: var(--wb-body); font-weight: 600; font-size: 3.4cqw; line-height: 1.25; box-shadow: 1.2cqw 2.4cqw 4cqw rgba(0, 0, 0, .5); }
.wb-bubble--in { left: 50cqw; top: 9cqw; background: #2C3336; color: #F1F4EF; border-bottom-left-radius: .6cqw; transform: translateZ(14cqw); }
.wb-bubble--out { left: 54cqw; top: 36cqw; background: var(--wb-lime); color: #0E1013; border-bottom-right-radius: .6cqw; transform: translateZ(24cqw); }

/* Aparece en Google */
.wb-mini--google .wb-mini__stage { transform: rotateX(20deg) rotateY(-16deg); }
.wb-feat:hover .wb-mini--google .wb-mini__stage { transform: rotateX(16deg) rotateY(-10deg); }
.wb-search { left: 8cqw; top: 4cqw; width: 54cqw; height: 6cqw; border-radius: 4cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 2cqw; }
.wb-search__icon { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; box-shadow: inset 0 0 0 .45cqw #3D7BFF; flex: none; }
.wb-search__q { font-family: var(--wb-body); font-size: 2cqw; color: #1C2226; }
.wb-result { left: 8cqw; width: 54cqw; padding: 1.8cqw 2.4cqw; display: flex; flex-direction: column; gap: 1cqw; }
.wb-result .wb-line { height: .8cqw; }
.wb-result--top { top: 13cqw; transform: translateZ(8cqw); box-shadow: inset .8cqw 0 0 #AAC948, 1.6cqw 3cqw 4cqw rgba(0, 0, 0, .5); }
.wb-result__title { font-family: var(--wb-head); font-weight: 700; font-size: 2.4cqw; color: #1C2226; }
.wb-result.r2 { top: 25cqw; opacity: .9; }
.wb-result.r3 { top: 33cqw; opacity: .75; }
.wb-map {
	left: 68cqw; top: 6cqw; width: 24cqw; height: 28cqw;
	background:
		linear-gradient(90deg, transparent 46%, #FFFFFF 46% 52%, transparent 52%),
		linear-gradient(0deg, transparent 36%, #FFFFFF 36% 42%, transparent 42%),
		linear-gradient(32deg, transparent 60%, #FFFFFF 60% 64%, transparent 64%),
		#DCE6EA;
	transform: translateZ(4cqw);
}
.wb-pin { position: absolute; left: 45%; top: 22%; width: 5cqw; height: 5cqw; border-radius: 50% 50% 50% 0; background: var(--wb-coral); transform: rotate(-45deg) translateZ(4cqw); box-shadow: inset 0 0 0 1.4cqw var(--wb-coral), inset 0 0 0 2.4cqw #FFFFFF, .6cqw 1.2cqw 2cqw rgba(0, 0, 0, .35); }

/* Servicios en filas */
.wb-services { margin: 0 !important; border-top: 1px solid var(--wb-line); }
.wb-service {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 56px;
	align-items: center;
	gap: 32px;
	margin: 0 !important;
	padding: 36px 8px;
	border-bottom: 1px solid var(--wb-line);
	transition: padding .4s var(--wb-ease), background-color .3s;
}
.wb-service > .wp-block-group__inner-container { display: contents; }
.wb-service h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; margin: 0; }
.wb-service h3 a { color: var(--wb-ink); text-decoration: none; }
.wb-service h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.wb-service p { margin: 0; color: var(--wb-muted); font-size: 17px; line-height: 1.55; }
.wb-service::after {
	content: "";
	justify-self: end;
	width: 56px; height: 56px; border-radius: 50%;
	border: 1px solid var(--wb-line);
	background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1F4EF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	transition: background-color .3s, border-color .3s, transform .4s var(--wb-ease);
}
.wb-service:hover { padding-left: 20px; padding-right: 20px; background: rgba(45, 212, 191, .07); }
.wb-service:hover h3 a { color: var(--wb-teal); }
.wb-service:hover::after { background-color: var(--wb-teal); border-color: var(--wb-teal); transform: rotate(-35deg); }
.wb-service:has(h3 a:focus-visible) { outline: 2px solid var(--wb-lime); outline-offset: -2px; }

/* Cierre */
.wb-cta {
	margin: 0;
	padding: 120px 24px;
	background: var(--wb-lime);
	color: #0E1013;
}
.entry-content .wb-cta.alignfull { padding-left: 24px; padding-right: 24px; }
.wb-cta > .wp-block-group__inner-container { max-width: 1240px; margin: 0 auto; }
.wb-cta h2 { color: #0E1013; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 14ch; text-wrap: balance; }
.wb-cta p { color: #0E1013; font-size: 19px; line-height: 1.55; max-width: 44ch; margin: 0 0 36px; }
.wb-cta .wp-block-button__link { border-radius: 999px; padding: 18px 34px; font-size: 17px; font-weight: 600; line-height: 1.2; background: #0E1013; color: #F1F4EF; border: 1px solid #0E1013; transition: background-color .2s, transform .2s var(--wb-ease); }
.wb-cta .wp-block-button__link:hover { background: #22282C; }
.wb-cta .wp-block-button__link:active { transform: translateY(1px); }

@media (max-width: 1024px) {
	.wb-feats > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas: "diseno diseno" "celular velocidad" "contacto contacto" "google google";
	}
}
@media (max-width: 781px) {
	.wb-section, .wb-cta { padding-top: 72px; padding-bottom: 72px; }
	.entry-content .wb-section.alignfull, .entry-content .wb-cta.alignfull { padding-left: 16px; padding-right: 16px; }
	.wb-feats > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); grid-template-areas: "diseno" "celular" "velocidad" "contacto" "google"; }
	.wb-feat { min-height: 0; border-radius: 22px; padding-top: 12px; }
	.wb-feat__text { padding: 0 20px 22px; }
	.wb-service { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px 16px; padding: 26px 4px; }
	.wb-service p { grid-column: 1; }
	.wb-service::after { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; }
	.wb-service:hover { padding-left: 4px; padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
	.wb-mini__stage, .wb-service, .wb-service::after { transition: none; }
}

/* Fila unica de caracteristicas */
.wb-feats {
	position: relative;
	width: min(1440px, calc(100vw - 48px));
	left: 50%;
	transform: translateX(-50%);
}
.wb-feats > .wp-block-group__inner-container {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-template-areas: none;
	gap: 16px;
}
.wb-feat.f-diseno, .wb-feat.f-celular, .wb-feat.f-velocidad, .wb-feat.f-contacto, .wb-feat.f-google { grid-area: auto; }
.wb-feat { position: relative; min-height: 0; padding-top: 8px; border-radius: 22px; }
.wb-feat__text { position: static; padding: 0 20px 22px; }
.wb-feat h3 a::after { border-radius: 22px; }
.entry-content .wb-feat h3 { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.2; margin-bottom: 8px; }
.wb-feat p { font-size: 14px; line-height: 1.5; }
.wb-feat.f-contacto .wb-mini { max-width: none; }
.wb-feat:hover { transform: translateY(-3px); }
.wb-feat { transition: border-color .3s, transform .4s var(--wb-ease); }

@media (max-width: 1100px) {
	.wb-feats { width: auto; left: auto; transform: none; }
	.wb-feats > .wp-block-group__inner-container {
		grid-template-columns: none;
		grid-template-areas: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(250px, 34%);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		padding-bottom: 12px;
		scrollbar-width: thin;
	}
	.wb-feat { scroll-snap-align: start; }
}
@media (max-width: 781px) {
	.wb-feats > .wp-block-group__inner-container { grid-template-columns: none; grid-template-areas: none; grid-auto-columns: 78%; gap: 12px; }
	.wb-feat:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.wb-feat, .wb-feat:hover { transition: none; transform: none; }
}

.wb-mini .wb-type.wb-dark { background: #2C3338; border-radius: 22%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 1cqw 2cqw 3cqw rgba(0, 0, 0, .35); white-space: nowrap; letter-spacing: -0.02em; }

/* Carga rapida con el mismo fondo que las demas */
.wb-feat.f-velocidad { background: var(--wb-surface); border-color: var(--wb-line); }
.wb-feat.f-velocidad:hover { border-color: #4A545A; }
.wb-feat.f-velocidad h3 a { color: var(--wb-ink); }
.wb-feat.f-velocidad p { color: var(--wb-muted); }
.wb-feat.f-velocidad .wb-mini__floor { opacity: 1; }

/* Boton Ver todas las caracteristicas */
.wb-feats-more { justify-content: center; margin-top: 40px !important; }
.wb-feats-more .wb-btn-secondary .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 18px 30px;
	border: 2px solid var(--wb-lime) !important;
	background: transparent !important;
	color: var(--wb-lime) !important;
	font-size: 17px;
	font-weight: 600;
	transition: background-color .25s, color .25s, transform .35s var(--wb-ease), box-shadow .35s var(--wb-ease);
}
.wb-feats-more .wb-btn-secondary .wp-block-button__link::after {
	content: "\2192";
	display: inline-block;
	font-size: 1.15em;
	line-height: 1;
	transition: transform .35s var(--wb-ease);
}
.wb-feats-more .wb-btn-secondary .wp-block-button__link:hover,
.wb-feats-more .wb-btn-secondary .wp-block-button__link:focus-visible {
	background: var(--wb-lime) !important;
	color: #0E1013 !important;
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -12px rgba(170,201,72, .45);
}
.wb-feats-more .wb-btn-secondary .wp-block-button__link:hover::after,
.wb-feats-more .wb-btn-secondary .wp-block-button__link:focus-visible::after { transform: translateX(6px); }
.wb-feats-more .wb-btn-secondary .wp-block-button__link:active { transform: translateY(0); }
.wb-feats-more .wb-btn-secondary .wp-block-button__link:focus-visible { outline: 3px solid var(--wb-ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
	.wb-feats-more .wb-btn-secondary .wp-block-button__link, .wb-feats-more .wb-btn-secondary .wp-block-button__link::after { transition: background-color .2s, color .2s; transform: none !important; }
}
