/* Reset básico */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

html {
	box-sizing: border-box;
}

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

/* Fondo continuo */
body {
	background: #000000 url("images/bg01.jpg") no-repeat center top fixed;
	background-size: cover;
	color: #e2e8f0;
	font-size: 13.5pt;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6em;
	font-weight: 300;
	overflow-x: hidden;
}

ol, ul {
	list-style: none;
}

a {
	text-decoration: none !important;
}

/* Canvas Cometas */
#light-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 1;
}

#page-wrapper {
	position: relative;
	z-index: 2;
}

/* Container & Layout */
.container {
	margin: 0 auto;
	max-width: 100%;
	width: 1200px;
	padding: 0 20px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-items: stretch;
	margin-top: -25px;
	margin-left: -25px;
}

.row > * {
	box-sizing: border-box;
	padding: 25px 0 0 25px;
}

.row.aln-middle {
	align-items: center;
}

.col-3 { width: 25%; }
.col-4 { width: 33.33333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.66667%; }
.col-12 { width: 100%; }

/* Header */
#header {
	position: relative;
	background: rgba(15, 23, 42, 0.75);
	border-bottom: solid 1px rgba(255, 255, 255, 0.1);
	padding: 25px 0;
	backdrop-filter: blur(5px);
}

#header h1 {
	font-family: 'Orbitron', 'Rajdhani', sans-serif !important;
	font-size: 2.3em;
	font-weight: 900;
	color: #94a3b8;
	letter-spacing: 3px;
	text-transform: uppercase;
	line-height: 1.1;
}

#header h1 span:first-child {
	color: #ef4444; 
	display: inline;
}

#header h1 span:last-child {
	display: block;
	font-size: 0.5em;
	letter-spacing: 8px;
	color: #ffffff;
	font-weight: 700;
	margin-top: 2px;
}

/* Banner */
#banner {
	padding: 60px 0 40px 0;
}

#banner .banner-title {
	font-family: 'Rajdhani', sans-serif;
	font-size: 2.2em;
	color: #ffffff;
	margin-bottom: 15px;
	font-weight: 700;
	line-height: 1.2;
}

#banner p {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1.15em;
	line-height: 1.6em;
	color: #cbd5e1;
	font-weight: 300;
}

#banner .bordered-feature-image {
	background: rgba(15, 23, 42, 0.85);
	padding: 15px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 425px;
	margin-left: auto;
}

#banner .bordered-feature-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Título Sección */
.section-title-red {
	font-family: 'Rajdhani', Arial, sans-serif !important;
	font-size: 1.8em;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 30px;
	display: inline-block;
	background: #ef4444;
	padding: 8px 24px;
	border-radius: 6px;
	box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Sección Servicios y Portafolio Desplegable */
#services-section, #projects-section {
	padding: 20px 0 40px 0;
}

.service-card {
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 25px 20px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.service-card:hover {
	border-color: #ef4444;
	box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}

.service-summary {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	outline: none;
}

.service-summary::-webkit-details-marker {
	display: none;
}

.service-icon {
	font-size: 2.2em;
	color: #ef4444;
	margin-bottom: 12px;
}

.service-card h3 {
	font-family: 'Rajdhani', sans-serif;
	font-size: 1.35em;
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 8px;
}

.toggle-icon {
	font-size: 0.9em;
	color: #94a3b8;
	margin-top: 5px;
	transition: transform 0.3s ease;
}

.service-card[open] .toggle-icon {
	transform: rotate(180deg);
	color: #ef4444;
}

.service-card p {
	font-size: 0.9em;
	color: #cbd5e1;
	line-height: 1.5em;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Estilo para los links de proyectos internos (Color Cian) */
.project-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.project-link-item {
	display: block;
	background: rgba(0, 242, 234, 0.08);
	border: 1px solid rgba(0, 242, 234, 0.3);
	color: #00f2ea !important;
	padding: 8px 12px;
	border-radius: 6px;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 700;
	font-size: 1.05em;
	transition: all 0.3s ease;
}

.project-link-item:hover {
	background: #00f2ea;
	color: #000000 !important;
	box-shadow: 0 0 15px rgba(0, 242, 234, 0.5);
}

/* Section Features (Quiénes Somos / UI/UX, etc. ahora desplegables) */
#features {
	background: rgba(10, 15, 26, 0.7);
	padding: 40px 0 60px 0;
}

.feature-box {
	background: rgba(15, 23, 42, 0.92) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	border-radius: 12px !important;
	padding: 20px !important;
	height: 100% !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
	cursor: pointer;
	transition: all 0.3s ease;
}

.feature-box:hover {
	border-color: #00f2ea !important;
	box-shadow: 0 8px 25px rgba(0, 242, 234, 0.25) !important;
}

.feature-summary {
	list-style: none;
	outline: none;
}

.feature-summary::-webkit-details-marker {
	display: none;
}

.feature-box .svg-button {
	width: 100%;
	height: 110px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(0, 242, 234, 0.3);
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	transition: all 0.3s ease;
	box-shadow: inset 0 0 15px rgba(0, 242, 234, 0.05);
}

.feature-box .svg-button svg {
	width: 44px;
	height: 44px;
	stroke: #00f2ea;
	transition: all 0.3s ease;
	filter: drop-shadow(0 0 6px rgba(0, 242, 234, 0.4));
}

.feature-box:hover .svg-button {
	border-color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
	box-shadow: 0 0 20px rgba(239, 68, 68, 0.3), inset 0 0 15px rgba(239, 68, 68, 0.2);
}

.feature-box:hover .svg-button svg {
	stroke: #ef4444;
	transform: scale(1.1);
	filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8));
}

.feature-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.feature-box h2 {
	font-family: 'Rajdhani', sans-serif !important;
	font-size: 1.4em !important;
	color: #ffffff !important;
	margin-bottom: 0 !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
}

.feature-toggle-icon {
	font-size: 0.9em;
	color: #00f2ea;
	transition: transform 0.3s ease;
}

.feature-box[open] .feature-toggle-icon {
	transform: rotate(180deg);
}

.feature-box p {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 0.9em !important;
	color: #e2e8f0 !important;
	line-height: 1.5em !important;
	font-weight: 300 !important;
	margin-top: 15px !important;
	padding-top: 15px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	animation: fadeIn 0.4s ease;
}

/* Footer & Bloque de Presencia Digital */
#footer {
	padding: 50px 0 40px 0;
	text-align: center;
	background: rgba(15, 23, 42, 0.95);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer h2 {
	font-family: 'Rajdhani', sans-serif;
	font-size: 1.8em;
	color: #ffffff;
	margin-bottom: 12px;
	font-weight: 700;
}

.footer-subtitle {
	font-size: 0.95em;
	color: #cbd5e1;
	max-width: 650px;
	margin: 0 auto 30px auto;
	line-height: 1.5;
}

.social-platforms-block {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 35px;
	flex-wrap: wrap;
}

.platform-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #00f2ea;
	cursor: default;
	user-select: none;
}

.platform-item i {
	font-size: 1.7em;
	margin-bottom: 6px;
	filter: drop-shadow(0 0 5px rgba(0, 242, 234, 0.4));
}

.platform-item span {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #cbd5e1;
	letter-spacing: 0.5px;
}

/* Copyright */
#copyright {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.85em;
	padding: 20px 0 40px 0;
	color: #64748b;
}

/* Responsivo */
@media screen and (max-width: 980px) {
	.col-12-medium { width: 100%; }
	.col-6-medium { width: 50%; }
	
	#header { text-align: center; }
	#banner { text-align: center; }
	#banner .bordered-feature-image { margin: 25px auto 0 auto; }
	.section-title-red { text-align: center; display: block; width: fit-content; margin-left: auto; margin-right: auto; }
}

@media screen and (max-width: 736px) {
	.col-12-small { width: 100%; }
	.social-platforms-block { gap: 20px; }
}

/* --- Language Switcher Button --- */
.lang-switcher-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid #00f2ea;
    color: #00f2ea;
    padding: 8px 18px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #00f2ea;
    color: #050b14;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.6);
}

/* --- Contenedor para alinear los botones del banner --- */
.banner-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* --- Botón Compartir (Share) --- */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 8px 18px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}
