/* ============================================
   HostingNet theme — estilos base (clases hn-*)
   Color primario de marca: #0c5adb
   ============================================ */

:root {
	--hn-primary: #0c5adb;
	--hn-primary-dark: #0947ad;
	--hn-orange: #f97316;
}

* { box-sizing: border-box; }

body {
	font-family: 'Inter', system-ui, sans-serif;
	margin: 0;
	color: #1e293b;
}

a { text-decoration: none; color: inherit; }

/* ---------- Breadcrumb ---------- */
.hn-breadcrumb {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}
.hn-breadcrumb-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
	font-size: .85rem;
	color: #64748b;
}
.hn-breadcrumb-inner a { color: var(--hn-primary); font-weight: 600; }

/* ---------- Contenido genérico ---------- */
.hn-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 48px 20px;
	line-height: 1.7;
}

/* ---------- Mas Servicios ---------- */
.hn-mas-servicios {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px;
	text-align: center;
}
.hn-mas-servicios-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.hn-servicio-card {
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px;
	font-weight: 700;
	text-align: center;
	transition: transform .15s ease;
}
.hn-servicio-card:hover { transform: translateY(-3px); }
.hn-soporte-247 { margin-top: 24px; color: #64748b; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
	background: #0f172a;
	color: #cbd5e1;
	padding: 48px 20px 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}
.hn-footer-col h3 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 12px;
}
.hn-footer-col ul { list-style: none; padding: 0; margin: 0; }
.hn-footer-col li { margin-bottom: 8px; }
.hn-footer-col a:hover { color: var(--hn-primary); }
.hn-footer-social { display: flex; gap: 16px; align-items: flex-start; }
.hn-footer-social a {
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
}
.hn-footer-social a:hover { background: var(--hn-primary); }

/* ---------- Home: Hero ---------- */
.hn-hero-wrap {
	position: relative;
	background: linear-gradient(135deg, #1e3a8a, var(--hn-primary) 55%, #1e40af);
	overflow: hidden;
	padding: 64px 20px 140px;
}
.hn-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hn-hero-network { position: absolute; top: 0; right: 0; width: 65%; height: 100%; }
.hn-dot { animation: hn-twinkle 3s ease-in-out infinite; }
.hn-dot:nth-child(odd) { animation-delay: 1s; }
.hn-dot:nth-child(3n) { animation-delay: 2s; }
@keyframes hn-twinkle {
	0%, 100% { opacity: .4; }
	50% { opacity: 1; }
}

.hn-hero-inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.hn-hero-copy { max-width: 640px; }
.hn-hero-eyebrow {
	color: #93c5fd;
	font-weight: 800;
	letter-spacing: .08em;
	font-size: .85rem;
	text-transform: uppercase;
	margin: 0 0 12px;
}
.hn-hero-title {
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 900;
	line-height: 1.05;
	margin: 0 0 16px;
	text-transform: uppercase;
}
.hn-hero-highlight {
	color: #fbbf24;
	font-weight: 800;
	font-size: 1.3rem;
	text-transform: uppercase;
	margin: 0 0 18px;
}
.hn-hero-desc { color: #dbeafe; font-size: 1.05rem; line-height: 1.6; margin: 0 0 28px; max-width: 540px; }
.hn-hero-cta {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--hn-orange);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 16px 28px;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(0,0,0,.2);
	transition: background .15s ease, transform .15s ease;
}
.hn-hero-cta:hover { background: #ea580c; transform: translateY(-2px); }

.hn-hero-rocket-wrap { flex-shrink: 0; width: 260px; }
.hn-rocket { width: 100%; height: auto; }
.hn-rocket-float { animation: hn-float 3.5s ease-in-out infinite; transform-origin: center; }
@keyframes hn-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}
.hn-rocket-flame {
	animation: hn-flame 0.4s ease-in-out infinite alternate;
	transform-origin: top center;
}
@keyframes hn-flame {
	from { transform: scaleY(1); opacity: 1; }
	to { transform: scaleY(1.3); opacity: .7; }
}

/* ---------- Home: tarjetas de servicios (superpuestas al hero) ---------- */
.hn-services-overlap {
	position: relative;
	max-width: 1200px;
	margin: -96px auto 0;
	padding: 0 20px;
	z-index: 10;
}
.hn-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
}
.hn-service-card {
	background: #fff;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 20px 40px rgba(15,23,42,.12);
	transition: transform .18s ease, box-shadow .18s ease;
}
.hn-service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,23,42,.16); }
.hn-service-icon { font-size: 2.4rem; color: var(--hn-primary); margin-bottom: 14px; }
.hn-service-card h3 {
	font-size: 1.05rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #1e293b;
	margin: 0 0 10px;
}
.hn-service-card p { color: #64748b; font-size: .9rem; line-height: 1.6; margin: 0 0 16px; }
.hn-service-link { color: var(--hn-primary); font-weight: 700; font-size: .9rem; }

@media (max-width: 768px) {
	.hn-hero-wrap { padding-bottom: 260px; text-align: center; }
	.hn-hero-inner { flex-direction: column; }
	.hn-hero-rocket-wrap { width: 180px; }
	.hn-services-overlap { margin-top: -220px; }
}

.hn-planes-grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.hn-plan-card {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	position: relative;
}
.hn-plan-popular { border-color: var(--hn-primary); box-shadow: 0 8px 24px rgba(12,90,219,.15); }
.hn-badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--hn-primary); color: #fff; font-size: .75rem; font-weight: 700;
	padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}


.hn-features-counters {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: center;
}
.hn-counters { display: flex; gap: 32px; flex-wrap: wrap; }
.hn-counters span { display: block; font-size: 1.8rem; font-weight: 900; color: var(--hn-primary); }

/* ---------- Responsive (home placeholders) ---------- */
@media (max-width: 900px) {
	.hn-servicios-cards,
	.hn-planes-grid,
	.hn-features-counters { padding: 32px 20px; }
}
