:root {
	--bg: #FAFAFB;
	--surface: #FFFFFF;
	--surface-alt: #F4F4F6;
	--border: #E4E4E7;
	--text: #111216;
	--muted: #52525B;
	--magenta: #E51464;
	--magenta-hover: #C80F56;
	--violet: #6D42D8;
	--violet-hover: #5A32C2;
	--radius: 0.875rem;
}

html.dark {
	--bg: #0A0B0E;
	--surface: #12141A;
	--surface-alt: #161820;
	--border: #232631;
	--text: #F4F4F6;
	--muted: #A1A1AA;
}

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

body {
	margin: 0;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: 'Outfit', system-ui, sans-serif;
	margin: 0 0 0.75rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.cinple-h1 { font-size: clamp(2.15rem, 4vw, 3.5rem); font-weight: 700; }
.cinple-hero-title { font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.16; font-weight: 700; }
.cinple-h2 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); font-weight: 600; }
.cinple-lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; margin: 1.25rem 0 2rem; }
.cinple-intro { font-size: 1.0625rem; color: var(--muted); max-width: 66ch; margin: 0 0 2.25rem; }
.cinple-muted { color: var(--muted); margin: 0; }

.cinple-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.cinple-section { padding: 5rem 0; }
.cinple-surface-alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Header 3 zonas */
.cinple-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.cinple-header-inner {
	height: 4.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.cinple-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--text);
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	white-space: nowrap;
}

.cinple-logo-frame {
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 0.6rem;
	background: var(--magenta);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cinple-nav { display: none; }
.cinple-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.cinple-nav-list a {
	text-decoration: none;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 500;
	white-space: nowrap;
}

.cinple-nav-list a:hover { color: var(--text); }

@media (min-width: 1024px) {
	.cinple-nav { display: block; }
	.cinple-menu-toggle { display: none; }
}

.cinple-header-actions { display: flex; align-items: center; gap: 0.75rem; }
.cinple-desktop-cta { display: none; }
@media (min-width: 768px) { .cinple-desktop-cta { display: inline-flex; } }

.cinple-menu-toggle {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--border);
	border-radius: 0.6rem;
	background: var(--surface);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
}
.cinple-menu-toggle span { width: 18px; height: 2px; background: var(--text); }

.cinple-mobile-drawer nav {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem;
	border-top: 1px solid var(--border);
	background: var(--surface);
}
.cinple-mobile-drawer a { text-decoration: none; color: var(--text); font-weight: 500; padding: 0.4rem 0; }

/* Botones */
.cinple-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.4rem;
	border-radius: 0.65rem;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
}

.cinple-btn-primary { background: var(--magenta); color: #fff; transition: background-color 180ms ease, color 180ms ease; }
.cinple-btn-primary:hover { background: #111216; color: #fff; }
html.dark .cinple-btn-primary:hover { background: #000000; border-color: #3F3F46; }

.cinple-btn-line-cta { gap: 0.75rem; }
.cinple-cta-line { display: inline-block; width: 16px; height: 2px; background: #fff; transition: transform 200ms ease; transform-origin: left; }
.cinple-btn-line-cta:hover .cinple-cta-line { transform: translateX(6px) scaleX(1.5); }

.cinple-btn-violet { background: var(--violet); color: #fff; }
.cinple-btn-violet:hover { background: #111216; color: #fff; }

.cinple-btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.cinple-btn-secondary:hover { border-color: var(--text); }

.cinple-theme-btn {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	padding: 0.5rem 0.9rem;
	border-radius: 0.6rem;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
}

/* Grids & Cards */
.cinple-hero-top-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.cinple-kicker { font-size: 0.875rem; font-weight: 600; color: var(--magenta); margin: 0 0 0.75rem; }
.cinple-kicker-violet { color: var(--violet); }
.cinple-cta-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.cinple-micro-proof { font-size: 0.875rem; color: var(--muted); margin-top: 1.5rem; }

.cinple-hero-grid { display: grid; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .cinple-hero-grid { grid-template-columns: 1.25fr 0.75fr; } }

.cinple-hero-visual {
	position: relative;
	overflow: hidden;
	padding: 0;
	background: #12141A;
	min-height: 340px;
}
.cinple-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cinple-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.22) 55%, transparent); pointer-events: none; }
.cinple-hero-visual-overlay { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.cinple-hero-emblem-box { width: 3rem; height: 3rem; border-radius: 0.75rem; background: var(--magenta); padding: 0.5rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cinple-hero-emblem { width: 100%; height: 100%; object-fit: contain; }

.cinple-grid-2, .cinple-grid-3, .cinple-grid-4, .cinple-contact-grid {
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.cinple-grid-2, .cinple-contact-grid { grid-template-columns: repeat(2, 1fr); }
	.cinple-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.cinple-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.cinple-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
}

.cinple-index { display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--magenta); margin-bottom: 0.5rem; }
.cinple-metric { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--magenta); margin: 0 0 0.35rem; }
.cinple-link-arrow { display: inline-block; margin-top: 1rem; color: var(--magenta); font-weight: 600; text-decoration: none; }

.cinple-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.cinple-service-detail { display: grid; gap: 2rem; }
@media (min-width: 900px) { .cinple-service-detail { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.cinple-list { margin: 0; padding-left: 1.15rem; color: var(--muted); display: grid; gap: 0.5rem; }

.cinple-alliance-banner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 900px) { .cinple-alliance-banner { flex-direction: row; align-items: center; justify-content: space-between; } }

.cinple-split-role { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cinple-role-label { font-weight: 600; font-size: 0.875rem; margin: 0 0 0.25rem; }

.cinple-faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.cinple-faq-item summary { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.cinple-faq-item p { margin-top: 0.85rem; }

.cinple-form { display: flex; flex-direction: column; gap: 1rem; }
.cinple-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; }
.cinple-form input, .cinple-form select, .cinple-form textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: 0.55rem;
	background: var(--bg);
	color: var(--text);
	font: inherit;
}

.cinple-neural-section { position: relative; overflow: hidden; }
.cinple-neural-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(244,102,255,0.16), rgba(250,214,254,0.12), rgba(251,251,230,0.45));
}
html.dark .cinple-neural-bg {
	background: linear-gradient(90deg, rgba(229,20,100,0.12), rgba(109,66,216,0.12), rgba(10,11,14,0.85));
}
.cinple-neural-bg svg { width: 100%; height: 100%; display: block; transition: transform 300ms ease-out; }
@keyframes cinpleNeuralFlow { 0% { stroke-dashoffset: 530; } 100% { stroke-dashoffset: -530; } }
@keyframes cinpleSynapsePulse { 0%, 100% { opacity: 0.25; transform: scale(0.88); } 50% { opacity: 0.68; transform: scale(1.22); } }
.cinple-neural-wave { stroke-dasharray: 110 420; animation: cinpleNeuralFlow 8s linear infinite; }
.cinple-neural-wave-b { animation-duration: 9.5s; animation-delay: 1s; }
.cinple-synapse { transform-box: fill-box; transform-origin: center; animation: cinpleSynapsePulse 4.6s ease-in-out infinite; }

.cinple-drops-section { position: relative; overflow: hidden; }
.cinple-drops-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(243,123,252,0.18), rgba(250,214,254,0.15), rgba(251,251,230,0.5));
}
html.dark .cinple-drops-bg {
	background: linear-gradient(90deg, rgba(229,20,100,0.12), rgba(109,66,216,0.12), rgba(22,24,32,0.7));
}
.cinple-drops-bg svg { width: 100%; height: 100%; display: block; }
@keyframes cinpleDropA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(115px, 12px); } }
@keyframes cinpleDropB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-115px, -12px); } }
.cinple-drop-a { animation: cinpleDropA 10s infinite ease-in-out; }
.cinple-drop-b { animation: cinpleDropB 10s infinite ease-in-out; }
.cinple-card-glass { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); }

.cinple-alliance-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.cinple-touch-box { display: flex; align-items: center; justify-content: center; padding: 0.75rem; border-radius: var(--radius); border: 1px solid rgba(229, 20, 100, 0.25); background: var(--surface); }
@keyframes cinpleRipple { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.cinple-ripple { transform-origin: 62px 46px; animation: cinpleRipple 2s infinite ease-out; }
.cinple-ripple-2 { transform-origin: 62px 46px; animation: cinpleRipple 2s 0.7s infinite ease-out; }

.cinple-reveal { opacity: 0; transform: translateY(18px); transition: opacity 450ms cubic-bezier(0.16,1,0.3,1), transform 450ms cubic-bezier(0.16,1,0.3,1); }
.cinple-reveal.is-visible { opacity: 1; transform: translateY(0); }

.cinple-nosotros-logo-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.cinple-nosotros-halo {
	position: absolute; width: 220px; height: 220px; border-radius: 2.25rem;
	border: 2px solid rgba(229,20,100,0.45); background: rgba(229,20,100,0.08);
	animation: cinpleLogoPulse 3.4s ease-in-out infinite;
}
.cinple-nosotros-logo-box {
	position: relative; z-index: 2; width: 176px; height: 176px; border-radius: 1.75rem;
	background: var(--magenta); padding: 0.45rem; overflow: hidden;
	box-shadow: 0 20px 40px rgba(229,20,100,0.24);
	animation: cinpleFloatLogo 5s ease-in-out infinite;
	transition: transform 250ms ease;
}
.cinple-nosotros-logo-box:hover { transform: scale(1.07) rotate(3deg); }
.cinple-nosotros-logo-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.4rem; display: block; }
@keyframes cinpleFloatLogo { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes cinpleLogoPulse { 0%, 100% { transform: scale(0.92); opacity: 0.35; } 50% { transform: scale(1.15); opacity: 0.08; } }

.cinple-mini-logo-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; flex-shrink: 0; }
.cinple-mini-logo-halo { position: absolute; inset: 0; border-radius: 1rem; border: 1px solid rgba(229,20,100,0.45); background: rgba(229,20,100,0.08); animation: cinpleLogoPulse 3s ease-in-out infinite; }
.cinple-mini-logo-box { position: relative; z-index: 2; width: 3rem; height: 3rem; border-radius: 0.75rem; background: var(--magenta); padding: 0.25rem; overflow: hidden; box-shadow: 0 8px 18px rgba(229,20,100,0.2); animation: cinpleFloatLogo 4.5s ease-in-out infinite; }
.cinple-mini-logo-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.55rem; display: block; }

.cinple-acrostic-word { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.cinple-acrostic-word span {
	width: 2.75rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--border); border-radius: 0.65rem; font-family: 'Outfit', sans-serif;
	font-size: 1.45rem; font-weight: 700; transition: background-color 220ms ease, color 220ms ease, transform 240ms ease;
	transition-delay: var(--d, 0ms);
}
.cinple-acrostic-card:hover .cinple-acrostic-word span { background: var(--magenta); color: #fff; border-color: var(--magenta); transform: translateY(-3px); }
.cinple-acrostic-row {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
	padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--bg);
	transition: transform 240ms ease, border-color 220ms ease; transition-delay: var(--d, 0ms);
}
.cinple-acrostic-card:hover .cinple-acrostic-row { transform: translateX(4px); border-color: rgba(229,20,100,0.45); }
.cinple-acrostic-badge {
	width: 2.35rem; height: 2.35rem; border-radius: 0.5rem; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(229,20,100,0.12); color: var(--magenta); font-family: 'Outfit', sans-serif; font-weight: 700;
	transition: background-color 220ms ease, color 220ms ease; transition-delay: var(--d, 0ms);
}
.cinple-acrostic-card:hover .cinple-acrostic-badge { background: var(--magenta); color: #fff; }
.cinple-acrostic-title { opacity: 0.45; transition: opacity 260ms ease; transition-delay: var(--d, 0ms); }
.cinple-acrostic-card:hover .cinple-acrostic-title { opacity: 1; }

.cinple-footer { background: var(--violet); color: #fff; border-top: 1px solid #5A32C2; padding: 4rem 0 2.5rem; }
.cinple-logo-frame-footer { background: rgba(255,255,255,0.16); }
.cinple-footer-desc { color: rgba(255,255,255,0.85); margin-top: 1rem; max-width: 34ch; }
.cinple-footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .cinple-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.cinple-footer-title { font-size: 0.9375rem; margin-bottom: 0.85rem; color: #fff; }
.cinple-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; color: rgba(255,255,255,0.85); }
.cinple-footer-links a { text-decoration: none; color: rgba(255,255,255,0.85); }
.cinple-footer-links a:hover { color: #B8E600; }
.cinple-footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.8125rem; color: rgba(255,255,255,0.85); }
.cinple-footer-theme-btn { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }
.cinple-footer-theme-btn:hover { background: #111216; }

/* Botones flotantes WhatsApp y Accesibilidad */
.cinple-float-btn {
	position: fixed;
	bottom: 1rem;
	z-index: 45;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.cinple-float-wa { right: 1rem; background: #25D366; }
.cinple-float-wa:hover { background: #111216; }
.cinple-a11y-wrap { position: fixed; bottom: 1rem; left: 1rem; z-index: 45; }
.cinple-float-a11y { position: static; background: var(--violet); }
.cinple-float-a11y:hover { background: #111216; }
.cinple-a11y-panel {
	margin-bottom: 0.75rem;
	width: 15rem;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.875rem;
	display: grid;
	gap: 0.45rem;
	box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.cinple-a11y-title { font-weight: 700; font-size: 0.875rem; margin: 0 0 0.25rem; }
.cinple-a11y-panel button {
	padding: 0.45rem 0.65rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}
html[data-underline-links="true"] a { text-decoration: underline !important; }
html[data-high-contrast="true"] body { filter: contrast(1.12); }
