/* =========================================================
   Skinet Internet — sitio público
   Colores tomados del logo (logo1.png)
   ========================================================= */
:root {
	--navy: #0b2d52;
	--navy-700: #133d6b;
	--sky: #3b82f6;
	--sky-600: #2563eb;
	--sky-50: #eff6ff;
	--bg: #ffffff;
	--bg-soft: #f5f8fc;
	--text: #0f1f33;
	--muted: #5b6b7f;
	--border: #e3e9f1;
	--success: #16a34a;
	--danger: #dc2626;
	--whatsapp: #25d366;

	/* Tokens semánticos (cambian en modo oscuro) */
	--surface: #ffffff;
	--heading: var(--navy);
	--accent: var(--sky-600);
	--accent-soft: var(--sky-50);
	--primary: var(--navy);
	--primary-hover: var(--navy-700);
	--on-primary: #ffffff;
	--brand-surface: var(--navy);
	--header-bg: rgba(255, 255, 255, .85);
	--success-soft: #e8f8ee;
	--border-strong: #cfdbe8;
	color-scheme: light dark;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(11, 45, 82, .06);
	--shadow: 0 8px 24px -8px rgba(11, 45, 82, .14);
	--shadow-lg: 0 24px 48px -16px rgba(11, 45, 82, .22);

	--container: 1160px;
	--header-h: 72px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #060e22;
		--bg-soft: #0a1530;
		--surface: #0f1d3d;
		--text: #e3ebf4;
		--muted: #9aabbf;
		--border: #1c2b52;
		--border-strong: #2d4478;
		--heading: #f1f6fb;
		--accent: #60a5fa;
		--accent-soft: rgba(59, 130, 246, .14);
		--primary: #2f6fe8;
		--primary-hover: #3b82f6;
		--on-primary: #ffffff;
		--brand-surface: #142a66;
		--header-bg: rgba(6, 14, 34, .82);
		--success: #22c55e;
		--danger: #f87171;
		--success-soft: rgba(34, 197, 94, .14);
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
		--shadow: 0 8px 24px -8px rgba(0, 0, 0, .5);
		--shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, .6);
	}
	/* Mapa de Google: atenuarlo un poco para que no deslumbre */
	.map iframe { filter: brightness(.85) contrast(1.05); }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--heading); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: 600 15px/1 var(--font);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 16px -6px rgba(11, 45, 82, .5); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-sky { background: var(--sky-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(59, 130, 246, .6); }
.btn-sky:hover { background: #1d4ed8; }
.btn-outline { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-outline:hover { border-color: var(--heading); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fb959; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: var(--header-bg);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
	padding: 8px 14px; border-radius: 999px;
	font-weight: 500; font-size: 15px; color: var(--muted);
	transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--heading); background: var(--bg-soft); }
.nav .btn { margin-left: 8px; padding: 11px 20px; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--border); border-radius: 12px;
	background: var(--surface); color: var(--heading);
	align-items: center; justify-content: center;
	cursor: pointer;
}

@media (max-width: 880px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 4px;
		padding: 16px 20px 24px;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: transform .2s, opacity .2s, visibility .2s;
	}
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav a:not(.btn) { padding: 12px 14px; font-size: 16px; }
	.nav .btn { margin: 8px 0 0; }
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; margin-bottom: 16px;
	border-radius: 999px;
	background: var(--accent-soft); color: var(--accent);
	font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

@media (max-width: 640px) { .section { padding: 72px 0; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: 72px 0 96px;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(59, 130, 246, .16), transparent 60%),
		radial-gradient(700px 400px at -10% 110%, rgba(11, 45, 82, .08), transparent 60%),
		var(--bg);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .accent {
	background: linear-gradient(90deg, var(--sky-600), var(--sky));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 20px; max-width: 520px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stats strong { font-variant-numeric: tabular-nums; display: block; font-size: 26px; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.hero-stats span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-photo {
	aspect-ratio: 4 / 5; width: 100%; max-width: 460px; margin-left: auto;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
	position: absolute;
	display: flex; align-items: center; gap: 12px;
	padding: 14px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	font-size: 14px;
}
.float-card strong { display: block; color: var(--heading); font-size: 15px; }
.float-card span { color: var(--muted); font-size: 13px; }
.float-card .float-icon {
	width: 40px; height: 40px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--accent-soft); color: var(--accent);
}
.float-card.one { left: 0; top: 18%; }
.float-card.two { right: -12px; bottom: 10%; }
.float-card.two .float-icon { background: var(--accent-soft); color: var(--accent); }

@media (max-width: 960px) {
	.hero { padding: 48px 0 72px; }
	.hero .container { grid-template-columns: 1fr; gap: 48px; }
	.hero-photo { max-width: none; aspect-ratio: 16 / 11; margin: 0; }
	.float-card.one { left: 12px; top: 16px; }
	.float-card.two { right: 12px; bottom: 16px; }
}
@media (max-width: 480px) {
	.float-card { padding: 10px 12px; }
	.float-card .float-icon { width: 34px; height: 34px; }
	.hero-stats { gap: 20px; }
	.hero-stats strong { font-size: 21px; }
}

/* ---------- Tarjetas de info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -48px; position: relative; }
.info-card {
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.info-card .info-icon {
	width: 48px; height: 48px; margin-bottom: 18px;
	border-radius: 14px;
	display: grid; place-items: center;
	background: var(--accent-soft); color: var(--accent);
}
.info-card .info-icon .icon { width: 24px; height: 24px; }
.info-card h3 { font-size: 19px; font-weight: 700; }
.info-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.info-card p strong { color: var(--text); font-weight: 600; }
.info-card .btn { margin-top: 18px; }
.info-card.highlight { background: var(--brand-surface); border-color: var(--brand-surface); }
.info-card.highlight h3 { color: #fff; }
.info-card.highlight p { color: rgba(255, 255, 255, .75); }
.info-card.highlight .info-icon { background: rgba(255, 255, 255, .1); color: var(--sky); }

@media (max-width: 880px) { .info-grid { grid-template-columns: 1fr; margin-top: -32px; } }

/* ---------- Planes ---------- */
.tabs {
	display: inline-flex; gap: 4px; padding: 5px;
	margin: 0 auto 40px;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: 999px;
}
.tabs-wrap { text-align: center; }
.tab {
	padding: 10px 22px;
	border: 0; border-radius: 999px;
	background: transparent; color: var(--muted);
	font: 600 15px/1 var(--font);
	cursor: pointer;
	transition: background .2s, color .2s, box-shadow .2s;
}
.tab[aria-selected="true"] { background: var(--surface); color: var(--heading); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }

.plans { display: grid; gap: 20px; }
.plans[hidden] { display: none; }
.plans.plans-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.plans.plans-5 .plan { padding: 26px 20px; }
.plans.plans-5 .plan-features { font-size: 14px; gap: 9px; }
.plans.plans-5 .plan-features li { gap: 8px; }
.plans.plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: 0 auto; }

.plan {
	display: flex; flex-direction: column;
	padding: 28px 24px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.plan-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head .plan-name { font-size: 17px; font-weight: 700; color: var(--heading); }
.plan-level { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.plan-level i { width: 4px; border-radius: 2px; background: var(--border); }
.plan-level i:nth-child(1) { height: 6px; }
.plan-level i:nth-child(2) { height: 8px; }
.plan-level i:nth-child(3) { height: 11px; }
.plan-level i:nth-child(4) { height: 13px; }
.plan-level i:nth-child(5) { height: 16px; }
.plan-level i.on { background: var(--sky); }

.plan { position: relative; }
.plan-featured { border: 2px solid var(--sky); box-shadow: var(--shadow); }
.plan-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--sky); color: #fff;
	font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan-speed { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.plan-speed strong { font-variant-numeric: tabular-nums; font-size: 44px; font-weight: 800; color: var(--heading); letter-spacing: -.04em; line-height: 1; }
.plan-speed span { font-size: 16px; font-weight: 600; color: var(--accent); }
.plan-price { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border); font-size: 15px; color: var(--muted); }
.plan-price strong { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.plan-features { margin: 18px 0 22px; display: grid; gap: 10px; font-size: 14.5px; }
.plan-features li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.plan-features .icon { width: 18px; height: 18px; color: var(--accent); }
.plan-features a { color: var(--accent); font-weight: 600; }
.plan-features a:hover { text-decoration: underline; }
.plan .btn { margin-top: auto; }
.plan-folio { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

.plans-note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--muted); }
.plans-note a { color: var(--accent); font-weight: 600; }
.plans-note a:hover { text-decoration: underline; }

@media (max-width: 1100px) { .plans.plans-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
	.plans.plans-5 { grid-template-columns: repeat(2, 1fr); }
	.plans.plans-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .plans.plans-5 { grid-template-columns: 1fr; } }

/* ---------- Cobertura ---------- */
.coverage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.coverage h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.coverage-lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.towns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px; }
.town {
	display: flex; align-items: center; gap: 10px;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-weight: 600; color: var(--heading);
}
.town .icon { color: var(--accent); }
.map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3;
	background: var(--bg-soft);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 880px) { .coverage { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .towns { grid-template-columns: 1fr; } }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }

@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pagos ---------- */
.payments { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pay-card {
	padding: 32px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.pay-card .info-icon {
	width: 52px; height: 52px; margin-bottom: 20px;
	border-radius: 14px;
	display: grid; place-items: center;
	background: var(--accent-soft); color: var(--accent);
}
.pay-card .info-icon .icon { width: 26px; height: 26px; }
.pay-card h3 { font-size: 22px; font-weight: 700; }
.pay-card > p { margin-top: 8px; color: var(--muted); }
.pay-card .btn { margin-top: 24px; }
.address-list { margin-top: 20px; display: grid; gap: 12px; }
.address-list li {
	display: flex; gap: 12px;
	padding: 14px 16px;
	background: var(--bg-soft);
	border-radius: var(--radius-sm);
	font-size: 15px;
}
.address-list .icon { color: var(--accent); margin-top: 2px; }
.address-list strong { display: block; color: var(--heading); }
.address-list span { color: var(--muted); }

@media (max-width: 760px) { .payments { grid-template-columns: 1fr; } .pay-card { padding: 24px; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.contact-lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.contact-list { margin-top: 32px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .info-icon {
	width: 44px; height: 44px; flex-shrink: 0;
	border-radius: 12px;
	display: grid; place-items: center;
	background: var(--surface); color: var(--accent);
	border: 1px solid var(--border);
}
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a, .contact-list p { font-weight: 600; color: var(--heading); }
.contact-list a:hover { color: var(--accent); }

.contact-form {
	padding: 36px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--heading); }
.field input, .field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
	font: 15px/1.5 var(--font);
	color: var(--text);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
	outline: none;
	border-color: var(--sky);
	background: var(--surface);
	box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
}
.contact-form .btn { margin-top: 20px; }
.form-message { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1px; }
.form-message.is-ok { color: var(--success); }
.form-message.is-error { color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .contact-form { padding: 24px; } }

/* ---------- CTA ---------- */
.cta {
	position: relative; overflow: hidden;
	padding: 56px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(59, 130, 246, .35), transparent 60%),
		var(--brand-surface);
	color: #fff;
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .75); font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta .btn-outline:hover { border-color: #fff; }

@media (max-width: 560px) { .cta { padding: 36px 24px; } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 320px; }
.footer h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--heading); margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; font-size: 14.5px; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
	margin-top: 48px; padding-top: 24px;
	border-top: 1px solid var(--border);
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: 14px; color: var(--muted);
}

@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
	position: fixed; left: 20px; bottom: 20px; z-index: 90;
	width: 58px; height: 58px;
	border-radius: 50%;
	display: grid; place-items: center;
	background: var(--whatsapp); color: #fff;
	box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6);
	transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   Animaciones
   Solo se anima transform / opacity / clip-path (fluido en iOS y Android).
   Todo se desactiva con "Reducir movimiento" del sistema.
   ========================================================= */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

::selection { background: var(--sky); color: #fff; }

/* ---------- Entrada del hero ---------- */
.intro { animation: intro-up 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes intro-up {
	from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
	to { opacity: 1; transform: none; filter: none; }
}

/* Título palabra por palabra */
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.hero h1 .word > span { display: inline-block; animation: word-up 1s var(--ease-out) both; animation-delay: calc(var(--w, 0) * 75ms + 220ms); }
@keyframes word-up {
	from { transform: translateY(115%) rotate(6deg); opacity: 0; }
	to { transform: none; opacity: 1; }
}
/* El degradado del texto acentuado va por palabra (Safari no lo pinta a través de hijos transformados) */
.hero h1 .accent.is-split { background: none; color: inherit; }
.hero h1 .accent.is-split .word > span {
	background: linear-gradient(90deg, var(--sky-600), var(--sky), #93c5fd, var(--sky-600));
	background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: word-up 1s var(--ease-out) both, shimmer-text 6s linear 1.4s infinite;
	animation-delay: calc(var(--w, 0) * 75ms + 220ms), 1.4s;
}
@keyframes shimmer-text { to { background-position: -300% 0; } }

/* Fondo animado del hero */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob {
	position: absolute; border-radius: 50%;
	filter: blur(60px); opacity: .55;
	will-change: transform;
}
.blob.b1 { width: 520px; height: 520px; top: -180px; right: -120px; background: rgba(59, 130, 246, .45); animation: drift-1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: rgba(11, 45, 82, .25); animation: drift-2 22s ease-in-out infinite alternate; }
.blob.b3 { width: 260px; height: 260px; top: 40%; left: 45%; background: rgba(147, 197, 253, .35); animation: drift-3 16s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(140px, -80px) scale(1.2); } }
@keyframes drift-3 { to { transform: translate(-90px, -60px) scale(.85); } }
.hero-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(11, 45, 82, .06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(11, 45, 82, .06) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 30%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 60% at 70% 30%, #000 10%, transparent 75%);
}
.hero .container { position: relative; }
@media (prefers-color-scheme: dark) {
	.blob { opacity: .35; }
	.blob.b2 { background: rgba(59, 130, 246, .25); }
	.hero-grid {
		background-image:
			linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
			linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
	}
}

/* Foto del hero: parallax + ondas de señal saliendo de la torre */
.hero-photo { position: relative; will-change: transform; }
.hero-photo img { object-position: 50% 20%; }
.signal { position: absolute; left: 82%; top: 20%; width: 0; height: 0; }
.signal::before {
	content: ""; position: absolute; left: -6px; top: -6px;
	width: 12px; height: 12px; border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 0 24px 6px rgba(147, 197, 253, .9);
	animation: signal-dot 2s ease-in-out infinite;
}
.signal span {
	position: absolute; left: -60px; top: -60px;
	width: 120px; height: 120px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .85);
	opacity: 0;
	animation: signal-wave 3.6s var(--ease-out) infinite;
}
.signal span:nth-child(2) { animation-delay: 1.2s; }
.signal span:nth-child(3) { animation-delay: 2.4s; }
@keyframes signal-wave {
	0% { transform: scale(.1); opacity: .9; }
	100% { transform: scale(3.2); opacity: 0; }
}
@keyframes signal-dot { 50% { transform: scale(1.35); } }

/* Tarjetas flotantes */
.float-card { animation: float-y 6s ease-in-out infinite; }
.float-card.two { animation-delay: -3s; }
@keyframes float-y { 50% { transform: translateY(-10px); } }

/* ---------- Aparición al hacer scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(36px) scale(.97);
	filter: blur(6px);
	transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
@media (max-width: 760px) { .reveal { filter: none; transform: translateY(28px); } }

/* Galería: se "descubre" de abajo hacia arriba con zoom */
/* (el recorte va en la imagen: si va en la figura, IntersectionObserver la ve de tamaño cero) */
.gallery figure.reveal { opacity: 1; filter: none; transform: none; }
.gallery figure.reveal img {
	clip-path: inset(100% 0 0 0);
	transform: scale(1.3);
	transition: clip-path 1.1s var(--ease-out), transform 1.4s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 120ms);
}
.gallery figure.reveal.is-visible img { clip-path: inset(0 0 0 0); transform: none; }

/* Mapa: entra con zoom */
.map.reveal { transform: scale(.92); }
.map.reveal.is-visible { transform: none; }

/* Barras de nivel de los planes: se llenan al aparecer */
.plan-level i { transform: scaleY(.15); transform-origin: 50% 100%; transition: transform .5s var(--ease-spring); }
.plan-level i:nth-child(2) { transition-delay: .08s; }
.plan-level i:nth-child(3) { transition-delay: .16s; }
.plan-level i:nth-child(4) { transition-delay: .24s; }
.plan-level i:nth-child(5) { transition-delay: .32s; }
.plan.is-seen .plan-level i { transform: none; }

/* ---------- Tarjetas: inclinación 3D + luz que sigue al cursor (solo mouse) ---------- */
.plan, .info-card, .pay-card { position: relative; }
.plan::after, .info-card::after, .pay-card::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, .16), transparent 45%);
	opacity: 0; transition: opacity .3s;
}
.is-tilting::after { opacity: 1; }
.is-tilting {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) !important;
	transition: transform .12s ease-out, box-shadow .3s, border-color .3s !important;
	box-shadow: var(--shadow-lg);
}

/* Toque en celular: se "hunde" un poco */
@media (hover: none) {
	.plan:active, .info-card:active, .pay-card:active { transform: scale(.98); transition: transform .15s; }
}

/* Plan recomendado: borde que respira + etiqueta con brillo */
.plan-featured { animation: glow 3s ease-in-out infinite; }
@keyframes glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, .0), var(--shadow); }
	50% { box-shadow: 0 0 0 6px rgba(59, 130, 246, .14), var(--shadow); }
}
.plan-badge {
	background: linear-gradient(110deg, var(--sky-600) 30%, #93c5fd 50%, var(--sky-600) 70%);
	background-size: 250% 100%;
	animation: badge-shine 3s linear infinite, badge-bob 3s ease-in-out infinite;
}
@keyframes badge-shine { to { background-position: -250% 0; } }
@keyframes badge-bob { 50% { transform: translateX(-50%) translateY(-3px); } }

/* ---------- Pestañas con indicador deslizante ---------- */
.tabs { position: relative; }
.tab { position: relative; z-index: 1; overflow: hidden; }
.tab[aria-selected="true"] { background: transparent; box-shadow: none; }
.tab-indicator {
	position: absolute; top: 5px; bottom: 5px; left: 0; width: 0;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
	transition: transform .5s var(--ease-spring), width .5s var(--ease-spring);
}

/* ---------- Botones: brillo al pasar + onda al tocar ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-sky::after, .btn-whatsapp::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
	transform: translateX(-120%);
}
@media (hover: hover) {
	.btn-primary:hover::after, .btn-sky:hover::after, .btn-whatsapp:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-out); }
}
.ripple {
	position: absolute; border-radius: 50%;
	background: currentColor; opacity: .25;
	transform: scale(0);
	animation: ripple .7s var(--ease-out) forwards;
	pointer-events: none;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Franja CTA: luz giratoria ---------- */
.cta > * { position: relative; z-index: 1; }
.cta::before {
	content: ""; position: absolute; z-index: 0;
	width: 900px; height: 900px; left: 50%; top: 50%;
	margin: -450px 0 0 -450px;
	background: conic-gradient(from 0deg, transparent 0deg, rgba(59, 130, 246, .35) 60deg, transparent 120deg, transparent 360deg);
	animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- WhatsApp: pulso ---------- */
.wa-float::before, .wa-float::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 2px solid var(--whatsapp);
	animation: wa-pulse 2.4s var(--ease-out) infinite;
}
.wa-float::after { animation-delay: 1.2s; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
.wa-float { animation: wa-in .8s var(--ease-spring) 1.2s backwards; }
@keyframes wa-in { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }

/* ---------- Enlaces del footer: subrayado que crece ---------- */
.footer-links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.footer-links a:hover { background-size: 100% 1px; }

/* ---------- Iconos de tarjetas: rebote al pasar ---------- */
@media (hover: hover) {
	.info-card:hover .info-icon, .pay-card:hover .info-icon, .contact-list li:hover .info-icon { animation: icon-pop .6s var(--ease-spring); }
}
@keyframes icon-pop { 40% { transform: scale(1.18) rotate(-8deg); } }

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .gallery figure.reveal img { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
	.signal, .blob, .wa-float::before, .wa-float::after, .cta::before { display: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
}
