/* ==========================================================================
   impulsoweb — estilos del theme
   Paleta y tipografías según Manual de Identidad de Marca v1.0
   ========================================================================== */

:root {
	--iw-teal: #03859A;        /* Teal principal: CTAs, íconos, acentos */
	--iw-teal-d: #026278;      /* Teal oscuro: hover, degradados */
	--iw-teal-l: #2FB3C6;      /* Teal claro: acentos sobre fondo oscuro */
	--iw-navy: #10283C;        /* Navy: fondo principal */
	--iw-navy-deep: #0B1D2C;   /* Navy profundo: ritmo entre secciones */
	--iw-ink: #0A0F14;         /* Casi negro del manual */
	--iw-white: #FFFFFF;
	--iw-text: #C9D6E0;
	--iw-muted: #8FA3B3;
	--iw-line: rgba(3, 133, 154, .28);
	--iw-card: rgba(16, 40, 60, .55);
	--iw-radius: 14px;
	--iw-maxw: 1180px;
	--iw-head-font: 'Poppins', sans-serif;
	--iw-body-font: 'Roboto', sans-serif;
	--iw-waves: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20600%20300'%20fill='none'%20stroke='%2303859A'%20stroke-width='1.2'%3E%3Cpath%20d='M0%20175C120%20115%20220%20235%20340%20165S520%2075%20600%20125M0%20190C120%20130%20220%20250%20340%20180S520%2090%20600%20140M0%20205C120%20145%20220%20265%20340%20195S520%20105%20600%20155M0%20220C120%20160%20220%20280%20340%20210S520%20120%20600%20170M0%20235C120%20175%20220%20295%20340%20225S520%20135%20600%20185M0%20250C120%20190%20220%20310%20340%20240S520%20150%20600%20200M0%20265C120%20205%20220%20325%20340%20255S520%20165%20600%20215M0%20280C120%20220%20220%20340%20340%20270S520%20180%20600%20230'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--iw-navy-deep);
	color: var(--iw-text);
	font-family: var(--iw-body-font);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--iw-head-font); color: var(--iw-white); line-height: 1.15; }
a { color: var(--iw-teal-l); }
img { max-width: 100%; height: auto; }
.iw-container { max-width: var(--iw-maxw); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.iw-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--iw-teal); color: #fff; padding: 10px 16px; border-radius: 8px; }
.iw-skip:focus { left: 8px; }
.iw-main { display: block; }
:focus-visible { outline: 2px solid var(--iw-teal-l); outline-offset: 3px; }

/* ---------- Botones ---------- */
.iw-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--iw-head-font); font-weight: 600; font-size: .95rem; line-height: 1.2;
	border-radius: 999px !important; padding: 14px 26px; text-decoration: none; border: 0; cursor: pointer;
	transition: background .25s, transform .25s, color .25s, box-shadow .25s;
}
.iw-btn svg { width: 18px; height: 18px; flex: none; }
.iw-btn.iw-btn-primary,
.wp-block-button.iw-btn-primary .wp-block-button__link,
.wp-block-button:not(.iw-btn-ghost):not(.is-style-outline) .wp-block-button__link {
	background: var(--iw-teal); color: var(--iw-white);
	box-shadow: 0 8px 24px -8px rgba(3, 133, 154, .7);
}
.iw-btn.iw-btn-primary:hover,
.wp-block-button.iw-btn-primary .wp-block-button__link:hover,
.wp-block-button:not(.iw-btn-ghost):not(.is-style-outline) .wp-block-button__link:hover { background: var(--iw-teal-d); color: #fff; transform: translateY(-2px); }
.wp-block-button.iw-btn-ghost .wp-block-button__link { background: transparent; color: var(--iw-white); padding: 14px 8px; box-shadow: none; }
.wp-block-button.iw-btn-ghost .wp-block-button__link::after { content: "→"; transition: transform .25s; }
.wp-block-button.iw-btn-ghost .wp-block-button__link:hover { color: var(--iw-teal-l); }
.wp-block-button.iw-btn-ghost .wp-block-button__link:hover::after { transform: translateX(4px); }

/* Íconos por clase (máscara SVG): ver bloque de íconos al final */
[class*="iw-ico-"] { --iw-ico-size: 22px; }
.wp-block-button[class*="iw-ico-"] .wp-block-button__link::before,
.iw-tab[class*="iw-ico-"]::before,
.iw-feat[class*="iw-ico-"]::before {
	content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask-image: var(--iw-ico); mask-image: var(--iw-ico); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}

/* ---------- Header ---------- */
.iw-header { position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; transition: background .3s, box-shadow .3s; }
.iw-header.is-scrolled, body:not(.iw-home) .iw-header { background: rgba(11, 29, 44, .96); box-shadow: 0 1px 0 var(--iw-line); }
@media (hover: hover) and (pointer: fine) {
	.iw-header.is-scrolled, body:not(.iw-home) .iw-header { background: rgba(11, 29, 44, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.iw-nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.iw-logo { display: flex; align-items: center; gap: 10px; font-family: var(--iw-head-font); font-weight: 700; font-size: 1.45rem; color: var(--iw-white); text-decoration: none; letter-spacing: -.01em; }
.iw-logo img { width: 38px; height: auto; }
.iw-menu { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.iw-menu a { font-family: var(--iw-head-font); font-size: .88rem; font-weight: 500; color: var(--iw-text); text-decoration: none; position: relative; padding: 6px 0; transition: color .2s; }
.iw-menu a:hover, .iw-menu a.is-active, .iw-menu .current-menu-item > a { color: var(--iw-white); }
.iw-primary-nav .iw-menu a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--iw-teal); }
.iw-nav-cta { padding: 10px 20px; font-size: .85rem; }
.iw-burger { display: none; background: none; border: 0; color: var(--iw-white); cursor: pointer; padding: 4px; }
.iw-burger svg { width: 28px; height: 28px; }

/* ---------- Secciones (bloques Grupo con clase iw-section) ---------- */
.iw-section { position: relative; isolation: isolate; overflow-x: clip; padding-left: 24px; padding-right: 24px; box-sizing: border-box; margin-block: 0 !important; }
.iw-blocks > * { margin-block: 0; }
.iw-section::before, .iw-section::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--iw-waves) center / contain no-repeat; aspect-ratio: 2 / 1; }
.iw-eyebrow { font-family: var(--iw-head-font); color: var(--iw-teal); font-size: .78rem !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px !important; }
.iw-head { text-align: center; margin-bottom: 48px !important; }
.iw-head > * { margin-block: 0; }
.iw-head h2, .iw-faq h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin: 0; }
.iw-lead { font-size: 1.1rem; font-weight: 300; max-width: 520px; }

/* ---------- Hero ---------- */
.iw-hero { padding-top: 150px; padding-bottom: 40px; background: radial-gradient(120% 80% at 80% 0%, #15344d 0%, var(--iw-navy) 45%, var(--iw-navy-deep) 100%); }
.iw-hero::before { width: 720px; right: -40px; bottom: 150px; opacity: .3; }
.iw-hero::after { width: 520px; height: 520px; aspect-ratio: auto; right: -120px; top: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 133, 154, .30), rgba(3, 133, 154, 0)); transform: scale(1.6); }
.iw-hero-grid { align-items: center !important; gap: 40px; }
.iw-hero-copy { flex: 1.05 1 0 !important; }
.iw-hero-copy > * { margin-block: 0; }
.iw-hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 22px; }
.iw-hero h1 em { font-style: normal; color: var(--iw-teal-l); }
.iw-hero .iw-lead { margin-bottom: 34px; }
.iw-hero .wp-block-buttons { gap: 18px; align-items: center; }
.iw-eyebrow + h1 { margin-top: 0; }
.iw-hero .iw-eyebrow { color: var(--iw-teal-l); }

/* Laptop (grupo iw-device: imagen + nombre). El marco se dibuja con CSS. */
.iw-hero-visual { display: flex; justify-content: flex-end; perspective: 1400px; }
.iw-device {
	position: relative; width: 100%; max-width: 540px; aspect-ratio: 16 / 10; box-sizing: border-box;
	border-radius: 14px 14px 4px 4px; background: radial-gradient(90% 90% at 50% 40%, #123450, #0a1a28);
	border: 12px solid #0d1720; outline: 1px solid #2b3f50;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(3, 133, 154, .45);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	transform: rotateY(-14deg) rotateX(6deg); animation: iw-float 6s ease-in-out infinite;
	margin: 0 0 28px !important;
}
.iw-device::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .06) 50%, transparent 60%); pointer-events: none; }
.iw-device::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: -30px; height: 16px; background: linear-gradient(#3a4b59, #1b2835); border-radius: 0 0 18px 18px; }
.iw-device > * { margin: 0 !important; max-width: none !important; }
.iw-device .iw-device-logo { width: 22%; }
.iw-device .iw-device-logo img { width: 100%; display: block; }
.iw-device .iw-device-name { font-family: var(--iw-head-font); color: #fff; font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.5rem); }
@keyframes iw-float { 50% { transform: rotateY(-14deg) rotateX(6deg) translateY(-12px); } }

/* Clientes */
.iw-clients { margin-top: 80px !important; text-align: center; }
.iw-clients .iw-eyebrow { color: var(--iw-muted); font-size: .72rem !important; }
.iw-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); margin-top: 10px !important; }
.iw-marquee:not(.iw-ready) { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 60px; }
.iw-track { display: flex; align-items: center; gap: 72px; width: max-content; padding: 14px 0; animation: iw-scroll var(--iw-marquee-speed, 40s) linear infinite; will-change: transform; }
.iw-marquee:hover .iw-track { animation-play-state: paused; }
@keyframes iw-scroll { to { transform: translateX(-50%); } }
.iw-client-logo { margin: 0 !important; flex: none; display: flex; align-items: center; height: 64px; }
/* Cualquier logo (PNG/SVG, de cualquier color) se muestra blanco al 55% */
.iw-client-logo img { height: var(--iw-logo-h, 44px); width: auto; max-width: none; filter: brightness(0) invert(1); opacity: .55; transition: opacity .25s; }
.iw-client-logo:hover img { opacity: 1; }

/* ---------- Servicios (pestañas) ---------- */
.iw-services { padding-top: 110px; padding-bottom: 120px; }
.iw-services::before { width: 560px; left: -120px; top: 40px; opacity: .14; transform: scaleX(-1); }
.iw-tablist { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.iw-tab { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1px solid rgba(201, 214, 224, .28); color: var(--iw-text); padding: 13px 26px; border-radius: 999px; font-family: var(--iw-head-font); font-size: .93rem; font-weight: 500; cursor: pointer; transition: .25s; }
.iw-tab:hover { border-color: var(--iw-teal); color: #fff; }
.iw-tab[aria-selected="true"] { background: var(--iw-teal); border-color: var(--iw-teal); color: #fff; box-shadow: 0 8px 24px -10px rgba(3, 133, 154, .8); }
.iw-tabs.iw-ready .iw-tab-label { display: none; }
.iw-tab-label { font-family: var(--iw-head-font); color: var(--iw-teal-l); font-weight: 600; margin: 30px 0 14px; }
.iw-panel { margin: 0 !important; }
.iw-panel[hidden] { display: none; }
.iw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.iw-cards > * { margin: 0 !important; }
.iw-card {
	position: relative; background: var(--iw-card); border: 1px solid var(--iw-line); border-radius: var(--iw-radius);
	padding: 104px 28px 30px; transition: border-color .3s, transform .3s, box-shadow .3s;
}
.iw-card::before { content: ""; position: absolute; left: 28px; top: 30px; width: 54px; height: 54px; box-sizing: border-box; border-radius: 50%; background: rgba(3, 133, 154, .14); border: 1px solid rgba(3, 133, 154, .45); }
.iw-card::after { content: ""; position: absolute; left: 43px; top: 45px; width: 24px; height: 24px; background: var(--iw-teal-l); -webkit-mask-image: var(--iw-ico); mask-image: var(--iw-ico); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.iw-card:hover { border-color: var(--iw-teal); transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(3, 133, 154, .6); }
.iw-card > * { margin: 0 !important; }
.iw-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px !important; }
.iw-card p { font-size: .93rem; }
.iw-js .iw-panel:not([hidden]) .iw-card { animation: iw-in .5s both; }
.iw-js .iw-panel .iw-card:nth-child(2) { animation-delay: .08s; }
.iw-js .iw-panel .iw-card:nth-child(3) { animation-delay: .16s; }
@keyframes iw-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Cómo trabajamos: línea de tiempo vertical ---------- */
.iw-process { padding-top: 110px; padding-bottom: 90px; background: linear-gradient(180deg, var(--iw-navy-deep), var(--iw-navy) 25%, var(--iw-navy) 75%, var(--iw-navy-deep)); }
.iw-process::before { width: 620px; left: -60px; top: 12%; opacity: .22; transform: scaleX(-1); }
.iw-process::after { width: 620px; right: -60px; bottom: 6%; opacity: .22; }
.iw-timeline { position: relative; max-width: 1000px !important; }
.iw-timeline > * { margin: 0; }
/* Sin JS (o en el editor): cada paso es una tarjeta simple */
.iw-step { background: var(--iw-card); border: 1px solid var(--iw-line); border-radius: var(--iw-radius); padding: 26px 28px; margin-bottom: 20px !important; }
.iw-step h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 10px; }
.iw-step p { font-size: .93rem; margin: 0; }
/* Con JS: nodos conectados */
.iw-timeline.iw-ready .iw-step { background: none; border: 0; padding: 0; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; margin-bottom: -40px !important; }
.iw-timeline.iw-ready .iw-step:last-child { margin-bottom: 0 !important; }
.iw-rail { position: absolute; left: 50%; width: 2px; transform: translateX(-50%); background: rgba(201, 214, 224, .12); border-radius: 2px; }
.iw-rail i { display: block; width: 100%; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--iw-teal-d), var(--iw-teal-l)); box-shadow: 0 0 14px rgba(47, 179, 198, .6); position: relative; }
.iw-rail i::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--iw-teal-l); transform: translateX(-50%); box-shadow: 0 0 16px 4px rgba(47, 179, 198, .55); }
.iw-node { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; background: var(--iw-navy); border: 2px solid rgba(201, 214, 224, .25); display: grid; place-items: center; font-family: var(--iw-head-font); font-weight: 700; font-size: 0; color: #fff; transition: width .5s cubic-bezier(.3, 1.4, .5, 1), height .5s cubic-bezier(.3, 1.4, .5, 1), font-size .3s .15s, background .4s, border-color .4s, box-shadow .4s; }
.iw-step.is-on .iw-node { width: 58px; height: 58px; font-size: 1.2rem; background: var(--iw-teal); border-color: var(--iw-teal); box-shadow: 0 0 0 8px rgba(3, 133, 154, .18), 0 0 30px rgba(3, 133, 154, .5); }
.iw-step-card { grid-row: 1; position: relative; background: var(--iw-card); border: 1px solid var(--iw-line); border-radius: var(--iw-radius); padding: 26px 28px; opacity: 0; transition: opacity .6s .1s, transform .6s .1s cubic-bezier(.2, .8, .2, 1); }
.iw-step:nth-child(odd) .iw-step-card { grid-column: 1; transform: translateX(-40px); }
.iw-step:nth-child(even) .iw-step-card { grid-column: 3; transform: translateX(40px); }
.iw-step.is-on .iw-step-card { opacity: 1; transform: none; }
.iw-step-card::before { content: ""; position: absolute; top: 50%; width: 48px; height: 2px; background: linear-gradient(90deg, transparent, rgba(47, 179, 198, .6)); }
.iw-step:nth-child(odd) .iw-step-card::before { right: -49px; transform: scaleX(-1); }
.iw-step:nth-child(even) .iw-step-card::before { left: -49px; }
.iw-kicker { font-family: var(--iw-head-font); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--iw-teal-l); margin-bottom: 8px; display: block; }

/* ---------- FAQ ---------- */
.iw-faq { padding-top: 120px; padding-bottom: 120px; }
.iw-faq::after { width: 420px; height: 420px; aspect-ratio: auto; left: -160px; top: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 133, 154, .18), rgba(3, 133, 154, 0)); transform: scale(1.6); }
.iw-faq::before { display: none; }
.iw-faq-grid { gap: 60px !important; }
.iw-faq-list { flex: 1.1 1 0 !important; }
.iw-faq-list > * { margin-block: 0 !important; }
.iw-faq-list h2 { margin-bottom: 34px !important; }
.iw-faq-item { border: 1px solid var(--iw-line); border-radius: 12px; margin-bottom: 12px !important; background: var(--iw-card); transition: border-color .25s; }
.iw-faq-item[open] { border-color: var(--iw-teal); }
.iw-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--iw-head-font); font-weight: 500; font-size: .95rem; color: #fff; }
.iw-faq-item summary::-webkit-details-marker { display: none; }
.iw-faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--iw-teal-l), var(--iw-teal-l)) center / 14px 2px no-repeat, linear-gradient(var(--iw-teal-l), var(--iw-teal-l)) center / 2px 14px no-repeat; transition: transform .3s; }
.iw-faq-item[open] summary::after { transform: rotate(45deg); }
.iw-faq-item > p { padding: 0 22px 20px; margin: 0 !important; font-size: .93rem; }
.iw-faq-item[open] > p { animation: iw-fade .35s ease; }
@keyframes iw-fade { from { opacity: 0; transform: translateY(-6px); } }
.iw-faq-side { padding-top: 70px; align-self: flex-start; position: sticky; top: 110px; }
.iw-faq-side > p { margin-bottom: 34px; }
.iw-doubt { position: relative; padding: 28px 28px 28px 112px; border-radius: var(--iw-radius); border: 1px solid var(--iw-line); background: linear-gradient(135deg, rgba(3, 133, 154, .18), rgba(16, 40, 60, .6)); }
.iw-doubt::before { content: ""; position: absolute; left: 28px; top: 50%; margin-top: -32px; width: 64px; height: 64px; box-sizing: border-box; border-radius: 50%; background: rgba(3, 133, 154, .14); border: 1px solid rgba(3, 133, 154, .45); }
.iw-doubt::after { content: ""; position: absolute; left: 47px; top: 50%; margin-top: -13px; width: 26px; height: 26px; background: var(--iw-teal-l); -webkit-mask-image: var(--iw-ico); mask-image: var(--iw-ico); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.iw-doubt > * { margin: 0 !important; }
.iw-doubt h4 { font-size: 1.1rem; margin-bottom: 4px !important; }
.iw-doubt p { font-size: .92rem; }
.iw-doubt-link { margin-top: 12px !important; }
.iw-doubt-link a { font-family: var(--iw-head-font); font-weight: 600; color: var(--iw-teal-l); text-decoration: none; }

/* ---------- Contacto ---------- */
.iw-contact { padding-top: 110px; padding-bottom: 110px; background: linear-gradient(180deg, var(--iw-navy-deep), var(--iw-navy)); }
.iw-contact::before { width: 640px; left: -80px; bottom: -40px; opacity: .2; transform: scaleX(-1); }
.iw-contact::after { width: 460px; height: 460px; aspect-ratio: auto; right: -100px; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 133, 154, .22), rgba(3, 133, 154, 0)); transform: scale(1.6); }
.iw-contact-grid { align-items: center !important; gap: 70px !important; }
.iw-contact-copy > * { margin-block: 0 !important; }
.iw-contact h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 18px !important; }
.iw-contact .iw-lead { font-size: 1.05rem; max-width: 460px; }
.iw-feats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 34px !important; padding-top: 34px; position: relative; }
.iw-feats::before { content: ""; position: absolute; top: 0; left: 0; width: 90px; height: 3px; background: var(--iw-teal); border-radius: 3px; }
.iw-feats > * { margin: 0 !important; }
.iw-feat { display: flex; flex-direction: column; gap: 10px; color: #fff; font-family: var(--iw-head-font); font-size: .95rem; }
.iw-feat[class*="iw-ico-"]::before { width: 26px; height: 26px; background: var(--iw-teal-l); }

/* ---------- Footer ---------- */
.iw-footer { background: var(--iw-ink); border-top: 1px solid var(--iw-line); padding: 44px 0 30px; position: relative; overflow: hidden; isolation: isolate; }
.iw-foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.iw-footer .iw-menu { gap: 30px; flex-wrap: wrap; }
.iw-footer .iw-menu a { font-size: .85rem; }
.iw-social { display: flex; gap: 14px; }
.iw-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201, 214, 224, .2); color: #fff; transition: .25s; }
.iw-social a:hover { background: var(--iw-teal); border-color: var(--iw-teal); }
.iw-social svg { width: 18px; height: 18px; }
.iw-copy { text-align: center; font-size: .82rem; color: var(--iw-muted); margin: 30px 0 0; padding-top: 24px; border-top: 1px solid rgba(201, 214, 224, .08); }
.iw-waves--footer { position: absolute; z-index: -1; right: -80px; bottom: -90px; width: 560px; height: auto; aspect-ratio: 2 / 1; color: var(--iw-teal); opacity: .16; pointer-events: none; }

/* ---------- Páginas internas / blog ---------- */
.iw-page { padding: 140px 0 90px; }
.iw-page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 30px; }
.iw-page-content { max-width: var(--iw-maxw); margin: 0 auto; padding: 0 24px; }
.iw-page-content .iw-section { margin-left: -24px; margin-right: -24px; }
.iw-posts { display: grid; gap: 24px; }
.iw-post-card { background: var(--iw-card); border: 1px solid var(--iw-line); border-radius: var(--iw-radius); padding: 26px 28px; }
.iw-post-card h2 { font-size: 1.3rem; margin: 0 0 8px; }
.iw-post-card h2 a { color: #fff; text-decoration: none; }

/* ---------- Animación de entrada (sólo si hay JS) ---------- */
.iw-js .iw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.iw-js .iw-reveal.is-on { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.iw-primary-nav { display: none; }
	.iw-primary-nav.is-open { display: block; position: absolute; top: 76px; left: 0; right: 0; background: var(--iw-navy-deep); padding: 24px; border-bottom: 1px solid var(--iw-line); }
	.iw-primary-nav.is-open .iw-menu { flex-direction: column; gap: 18px; }
	.iw-burger { display: block; }
	.iw-nav-cta { display: none; }
	.iw-hero-grid, .iw-faq-grid, .iw-contact-grid { flex-wrap: wrap !important; }
	.iw-hero-grid > .wp-block-column, .iw-faq-grid > .wp-block-column, .iw-contact-grid > .wp-block-column { flex-basis: 100% !important; }
	.iw-hero-visual { justify-content: center; }
	.iw-device { max-width: 440px; transform: none; animation: none; }
	.iw-cards { grid-template-columns: 1fr 1fr; }
	.iw-faq-side { position: static; padding-top: 0; }
	.iw-process { padding-top: 90px; padding-bottom: 70px; }
	.iw-rail { left: 28px; }
	.iw-timeline.iw-ready .iw-step { grid-template-columns: 56px 1fr; gap: 0 22px; align-items: start; margin-bottom: 32px !important; }
	.iw-node { grid-column: 1; margin-top: 18px; }
	.iw-step.is-on .iw-node { width: 52px; height: 52px; margin-top: 0; }
	.iw-step:nth-child(n) .iw-step-card { grid-column: 2; transform: translateY(24px); }
	.iw-step.is-on .iw-step-card { transform: none; }
	.iw-step-card::before { display: none; }
	.iw-step-card { padding: 22px; }
}
@media (max-width: 640px) {
	.iw-cards { grid-template-columns: 1fr; }
	.iw-hero { padding-top: 120px; }
	.iw-foot { flex-direction: column; text-align: center; }
	.iw-footer .iw-menu { justify-content: center; }
	.iw-doubt { padding: 100px 22px 24px; }
	.iw-doubt::before { top: 24px; margin-top: 0; left: 22px; }
	.iw-doubt::after { top: 43px; margin-top: 0; left: 41px; }
}
@media (prefers-reduced-motion: reduce) {
	/* Con "Reducir movimiento" activado (iOS/Android/Mac) se sacan los desplazamientos y la flotación,
	   pero el carrusel de logos y los nodos de "Cómo trabajamos" siguen funcionando con fundidos. */
	html { scroll-behavior: auto; }
	.iw-device { animation: none; }
	.iw-js .iw-reveal, .iw-step .iw-step-card, .iw-step:nth-child(n) .iw-step-card { transform: none !important; }
	.iw-js .iw-panel:not([hidden]) .iw-card { animation: none; }
	.iw-track { animation-duration: calc(var(--iw-marquee-speed, 40s) * 1.5); }
}

/* ==========================================================================
   Hero: entrada en secuencia (CSS pura, arranca sola al cargar)
   ========================================================================== */
@keyframes iw-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes iw-focus { from { opacity: 0; transform: translateY(18px); filter: blur(12px); } to { filter: blur(0); } }
@keyframes iw-focus-inline { from { opacity: 0; filter: blur(10px); } to { filter: blur(0); } }
@keyframes iw-drop { from { opacity: 0; transform: translateY(-100%); } }
@keyframes iw-visual-in { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes iw-screen-on { 0% { opacity: 0; } 30% { opacity: .7; } 45% { opacity: .15; } 60% { opacity: .9; } 72% { opacity: .5; } 100% { opacity: 1; } }
@keyframes iw-glow-on { from { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 0 rgba(3, 133, 154, 0); } }
.iw-intro .iw-header { animation: iw-drop .6s cubic-bezier(.2, .8, .2, 1) both; }
.iw-intro .iw-hero .iw-hero-copy .iw-eyebrow { animation: iw-rise .6s .15s cubic-bezier(.2, .8, .2, 1) both; }
.iw-intro .iw-hero h1 { animation: iw-focus .9s .25s cubic-bezier(.2, .8, .2, 1) both; }
.iw-intro .iw-hero h1 em { animation: iw-focus-inline .9s .6s ease-out both; }
.iw-intro .iw-hero .iw-lead { animation: iw-rise .7s .8s cubic-bezier(.2, .8, .2, 1) both; }
.iw-intro .iw-hero .wp-block-buttons { animation: iw-rise .7s .95s cubic-bezier(.2, .8, .2, 1) both; }
.iw-intro .iw-hero .iw-hero-visual { animation: iw-visual-in 1s .35s cubic-bezier(.2, .8, .2, 1) both; }
.iw-intro .iw-hero .iw-device > * { animation: iw-screen-on .7s 1.1s linear both; }
.iw-intro .iw-hero .iw-device { animation: iw-glow-on 1s 1.1s ease-out both, iw-float 6s 2s ease-in-out infinite; }
.iw-intro .iw-hero .iw-clients { animation: iw-rise .8s 1.5s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- Despegue del cohete (el JS separa cohete y globo del isotipo) ---------- */
.iw-device-logo { position: relative; }
.iw-rocket { position: absolute; left: 41.5%; top: .9%; width: 58.5% !important; height: auto; pointer-events: none; }
.iw-launch { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; max-width: none !important; margin: 0 !important; }
.iw-launch svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iw-launch .iw-flying { position: absolute; will-change: transform; filter: drop-shadow(0 0 10px rgba(47, 179, 198, .7)); }
.iw-flying img { display: block; width: 100%; height: auto; position: relative; }
/* Fuego del cohete (colores de marca: núcleo blanco → teal) */
.iw-flame { position: absolute; left: 31%; top: 72%; width: 30%; height: 70%; transform-origin: 50% 0; transform: translateX(-50%) rotate(32deg); pointer-events: none; }
.iw-flame b { display: block; width: 100%; height: 100%; transform-origin: 50% 0; transform: scale(.4, 0); opacity: 0; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), opacity .15s; }
.iw-flame i { display: block; width: 100%; height: 100%; transform-origin: 50% 0; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
	background: radial-gradient(ellipse 50% 60% at 50% 18%, #fff 0 30%, #BDF1F7 42%, #2FB3C6 62%, rgba(3, 133, 154, 0) 100%);
	animation: iw-flicker .09s ease-in-out infinite alternate; }
.iw-flying.is-ignite .iw-flame b { transform: scale(.75, .45); opacity: 1; }
.iw-flying.is-burn .iw-flame b { transform: scale(1.05, 1.6); }
@keyframes iw-flicker { from { transform: scale(1, 1); } to { transform: scale(.86, 1.14); } }

/* ==========================================================================
   Ondas vivas (reemplazan a las ondas estáticas cuando carga el JS)
   ========================================================================== */
.iw-waves-live::before { display: none; }
.iw-process.iw-waves-live::after { display: none; }
.iw-wv { position: absolute; z-index: -1; max-width: none !important; margin: 0 !important; pointer-events: none; color: var(--iw-teal); height: auto; aspect-ratio: 2 / 1; overflow: visible; translate: calc(var(--iw-mx, 0) * 16px) calc(var(--iw-my, 0) * 10px); transition: translate .8s cubic-bezier(.2, .8, .2, 1); }
.iw-wv path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.iw-wv .iw-wl { opacity: var(--wo, .2); }
.iw-wv .iw-wl { animation: iw-sway 7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.9s); }
.iw-wv .iw-wp { stroke: var(--iw-teal-l); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 70 1100; opacity: min(.75, calc(var(--wo, .2) * 2.6)); animation: iw-sway 7s ease-in-out infinite alternate, iw-pulse 6.5s linear infinite; animation-delay: calc(var(--i) * -.9s), calc(var(--i) * -1.7s); }
.iw-wv:not(.is-visible) path { animation-play-state: paused; }
@keyframes iw-sway { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes iw-pulse { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1170; } }
/* Ondas del hero: se dibujan cuando termina la estela del cohete */
.iw-wv.is-pending .iw-wl { stroke-dasharray: 820; stroke-dashoffset: 820; }
.iw-wv.is-pending .iw-wp, .iw-wv.is-drawing .iw-wp { opacity: 0; }
.iw-wv.is-drawing .iw-wl { stroke-dasharray: 820; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .09s); }
/* Posiciones (mismas que las ondas estáticas) */
.iw-wv--hero { width: 720px; right: -40px; bottom: 150px; --wo: .34; }
.iw-wv--services { width: 560px; left: -120px; top: 40px; --wo: .16; transform: scaleX(-1); }
.iw-wv--process-a { width: 620px; left: -60px; top: 12%; --wo: .24; transform: scaleX(-1); }
.iw-wv--process-b { width: 620px; right: -60px; bottom: 6%; --wo: .24; }
.iw-wv--contact { width: 640px; left: -80px; bottom: -40px; --wo: .22; transform: scaleX(-1); }
.iw-wv--footer { width: 560px; right: -80px; bottom: -90px; --wo: .18; }
@media (max-width: 980px) {
	.iw-wv--hero { width: 520px; right: -140px; bottom: 32%; }
	.iw-intro .iw-hero .iw-device { animation: iw-glow-on 1s 1.1s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
	/* Con "Reducir movimiento" se mantienen la entrada, el despegue y las ondas; sólo se quita la flotación de la laptop. */
	.iw-intro .iw-hero .iw-device { animation: iw-glow-on 1s 1.1s ease-out both !important; }
	.iw-wv { translate: none; }
}

/* ==========================================================================
   Íconos (agregá la clase en Avanzado > Clases CSS adicionales)
   Disponibles: iw-ico-monitor, iw-ico-layers, iw-ico-cart, iw-ico-chat, iw-ico-megaphone,
   iw-ico-pen, iw-ico-mail, iw-ico-search, iw-ico-camera, iw-ico-share, iw-ico-grid,
   iw-ico-bulb, iw-ico-dots, iw-ico-rocket, iw-ico-chart, iw-ico-star
   ========================================================================== */
.iw-ico-monitor { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%222%22%20y=%224%22%20width=%2220%22%20height=%2213%22%20rx=%222%22/%3E%3Cpath%20d=%22M8%2021h8M12%2017v4%22/%3E%3C/svg%3E"); }
.iw-ico-layers { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%202%202%207l10%205%2010-5-10-5z%22/%3E%3Cpath%20d=%22m2%2017%2010%205%2010-5M2%2012l10%205%2010-5%22/%3E%3C/svg%3E"); }
.iw-ico-cart { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%229%22%20cy=%2221%22%20r=%221%22/%3E%3Ccircle%20cx=%2220%22%20cy=%2221%22%20r=%221%22/%3E%3Cpath%20d=%22M1%201h4l2.7%2013.4a2%202%200%200%200%202%201.6h9.7a2%202%200%200%200%202-1.6L23%206H6%22/%3E%3C/svg%3E"); }
.iw-ico-chat { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M21%2011.5a8.4%208.4%200%200%201-12.4%207.4L3%2021l2.1-5.4A8.4%208.4%200%201%201%2021%2011.5z%22/%3E%3C/svg%3E"); }
.iw-ico-megaphone { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M3%2011v2a1%201%200%200%200%201%201h3l5%204V6L7%2010H4a1%201%200%200%200-1%201z%22/%3E%3Cpath%20d=%22M16%209a4%204%200%200%201%200%206M19%206a8%208%200%200%201%200%2012%22/%3E%3C/svg%3E"); }
.iw-ico-pen { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%2020h9%22/%3E%3Cpath%20d=%22M16.5%203.5a2.1%202.1%200%200%201%203%203L7%2019l-4%201%201-4%2012.5-12.5z%22/%3E%3C/svg%3E"); }
.iw-ico-mail { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%222%22%20y=%224%22%20width=%2220%22%20height=%2216%22%20rx=%222%22/%3E%3Cpath%20d=%22m22%206-10%207L2%206%22/%3E%3C/svg%3E"); }
.iw-ico-search { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2211%22%20cy=%2211%22%20r=%227%22/%3E%3Cpath%20d=%22m21%2021-4.3-4.3%22/%3E%3C/svg%3E"); }
.iw-ico-camera { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M23%2019a2%202%200%200%201-2%202H3a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2h4l2-3h6l2%203h4a2%202%200%200%201%202%202z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2213%22%20r=%224%22/%3E%3C/svg%3E"); }
.iw-ico-share { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2218%22%20cy=%225%22%20r=%223%22/%3E%3Ccircle%20cx=%226%22%20cy=%2212%22%20r=%223%22/%3E%3Ccircle%20cx=%2218%22%20cy=%2219%22%20r=%223%22/%3E%3Cpath%20d=%22M8.6%2013.5l6.8%204M15.4%206.5l-6.8%204%22/%3E%3C/svg%3E"); }
.iw-ico-grid { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%223%22%20width=%227%22%20height=%227%22%20rx=%222%22/%3E%3Crect%20x=%2214%22%20y=%223%22%20width=%227%22%20height=%227%22%20rx=%222%22/%3E%3Crect%20x=%223%22%20y=%2214%22%20width=%227%22%20height=%227%22%20rx=%222%22/%3E%3Crect%20x=%2214%22%20y=%2214%22%20width=%227%22%20height=%227%22%20rx=%222%22/%3E%3C/svg%3E"); }
.iw-ico-bulb { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M9%2018h6M10%2022h4%22/%3E%3Cpath%20d=%22M12%202a7%207%200%200%200-4%2012.7c.6.5%201%201.3%201%202.1V17h6v-.2c0-.8.4-1.6%201-2.1A7%207%200%200%200%2012%202z%22/%3E%3C/svg%3E"); }
.iw-ico-dots { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%227%22%20cy=%227%22%20r=%223.5%22/%3E%3Ccircle%20cx=%2217%22%20cy=%227%22%20r=%223.5%22/%3E%3Ccircle%20cx=%227%22%20cy=%2217%22%20r=%223.5%22/%3E%3Ccircle%20cx=%2217%22%20cy=%2217%22%20r=%223.5%22/%3E%3C/svg%3E"); }
.iw-ico-rocket { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M4.5%2016.5c-1.5%201.3-2%205-2%205s3.7-.5%205-2c.7-.8.7-2.1-.1-2.9a2.2%202.2%200%200%200-2.9-.1z%22/%3E%3Cpath%20d=%22m12%2015-3-3a22%2022%200%200%201%202-3.9A12.9%2012.9%200%200%201%2022%202c0%202.7-.8%207.5-6%2011a22.4%2022.4%200%200%201-4%202z%22/%3E%3Cpath%20d=%22M9%2012H4s.6-3%202-4c1.6-1.1%205%200%205%200M12%2015v5s3-.6%204-2c1.1-1.6%200-5%200-5%22/%3E%3C/svg%3E"); }
.iw-ico-chart { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M3%203v18h18%22/%3E%3Cpath%20d=%22m7%2015%204-4%203%203%206-6%22/%3E%3C/svg%3E"); }
.iw-ico-star { --iw-ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m12%202%203.1%206.3%206.9%201-5%204.9%201.2%206.8L12%2017.8%205.8%2021l1.2-6.8-5-4.9%206.9-1z%22/%3E%3C/svg%3E"); }
