/*
Theme Name: Sonidos Inmersivos FSE
Theme URI: https://sonidosinmersivos.com
Author: Sonidos Inmersivos
Description: Tema de bloques nativo (Full Site Editing) independiente y ligero para Sonidos Inmersivos, con tipografías locales e identidad visual original.
Version: 1.0.4
Requires at least: 6.5
Tested up to: 7.1.5
Requires PHP: 8.1
Text Domain: sonidosinmersivos-fse
*/

html {
	scroll-behavior: smooth;
	background-color: #000000;
}

body {
	background-color: #000000;
	color: #ffffff;
	overflow-x: hidden;
}

#reel_ancla,
#servicios_ancla,
#proyectos_ancla,
#contacto_ancla {
	scroll-margin-top: 84px;
}

.si-reel-frame {
	max-width: 1040px;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 30px 90px rgba(86, 20, 180, 0.24);
	background: #000000;
}

/* Header & Navigation */
.si-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.si-header-inner {
	max-width: 1340px;
	margin: 0 auto;
	padding: 16px clamp(1.25rem, 4vw, 3rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.si-logo img {
	height: 45px;
	width: auto;
	display: block;
}

.si-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(20px, 3.5vw, 56px);
}

.si-nav-list a {
	color: #b4b4b4;
	text-decoration: none;
	font-size: 18px;
	font-weight: 300;
	transition: color 0.2s ease;
}

.si-nav-list a:hover,
.si-nav-list a:focus,
.si-nav-list a.is-active {
	color: #c32fbf;
}

/* Mobile menu toggle (pure CSS details/summary, zero JS bloat) */
.si-mobile-menu {
	display: none;
}

@media (max-width: 860px) {
	.si-logo img {
		height: 35px;
	}
	.si-desktop-nav {
		display: none;
	}
	.si-mobile-menu {
		display: block;
		position: relative;
	}
	.si-mobile-menu summary {
		list-style: none;
		cursor: pointer;
		padding: 8px 12px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 8px;
		color: #ffffff;
		font-size: 16px;
		user-select: none;
	}
	.si-mobile-menu summary::-webkit-details-marker {
		display: none;
	}
	.si-mobile-menu[open] .si-mobile-drawer {
		position: absolute;
		right: 0;
		top: calc(100% + 10px);
		background: #101213;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 12px;
		padding: 20px 28px;
		min-width: 220px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
	}
	.si-mobile-drawer ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.si-mobile-drawer a {
		color: #ffffff;
		text-decoration: none;
		font-size: 18px;
	}
}

/* Text Gradients */
.si-gradient-hero {
	font-family: 'coolveticaregular', sans-serif !important;
	font-weight: 400;
	line-height: 1.04 !important;
	background: linear-gradient(to left, rgb(205, 4, 107) 43%, rgb(54, 15, 201) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.si-gradient-premios {
	font-family: 'made_tommymedium', sans-serif !important;
	background: linear-gradient(to right, rgb(128, 34, 222) 10%, rgb(205, 4, 107) 58%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* Home Hero with floating video */
.si-home-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: #000000;
	padding: 80px clamp(1.25rem, 4vw, 3rem);
}

.si-home-hero-video {
	position: absolute;
	right: 0;
	top: 8vh;
	width: 650px;
	max-width: 55vw;
	height: auto;
	pointer-events: none;
	z-index: 1;
	opacity: 0.92;
}

.si-home-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.si-home-hero-content h1 {
	max-width: 780px;
	font-size: clamp(2.8rem, 6.8vw, 100px);
	margin: 0;
}

@media (max-width: 640px) {
	.si-home-hero {
		min-height: 76vh;
		align-items: flex-start;
		padding-top: 56px;
	}
	.si-home-hero-video {
		width: 460px;
		max-width: none;
		right: -190px;
		top: 26vh;
		opacity: 0.78;
	}
	.si-home-hero-content h1 {
		font-size: 12vw;
	}
}

/* Cards: Services, Projects, Blog, Bunker */
.si-card {
	background-color: #101213;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 32px 28px;
	transition: transform 0.25s ease, border-color 0.25s ease;
	height: 100%;
	box-sizing: border-box;
}

.si-card:hover {
	transform: translateY(-4px);
	border-color: rgba(195, 47, 191, 0.65);
}

.si-card-icon img {
	height: 64px;
	width: auto;
	margin-bottom: 18px;
}

.si-card h3 a,
.si-post-card h3 a,
.si-post-card h4 a {
	color: #ffffff;
	text-decoration: none;
}

.si-card h3 a:hover,
.si-post-card h3 a:hover,
.si-post-card h4 a:hover {
	color: #c32fbf;
}

/* Query Grid Post Cards */
.si-query-grid .wp-block-post-template {
	gap: 28px;
}

.si-post-card {
	background: #101213;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.si-post-card:hover {
	transform: translateY(-4px);
	border-color: rgba(195, 47, 191, 0.6);
}

.si-post-card .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.si-post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.si-bunker-grid .si-post-card .wp-block-post-featured-image {
	aspect-ratio: 1 / 1;
}

.si-post-card-body {
	padding: 22px 24px 26px;
}

/* Blog Featured Hero Overlay (Uncode Metro Style) */
.si-blog-hero-query {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.si-blog-hero-query .wp-block-post-template,
.si-blog-hero-query .wp-block-post {
	margin: 0 !important;
	padding: 0 !important;
}

.si-blog-hero-cover {
	min-height: 84vh !important;
	padding: 3rem clamp(1.25rem, 5vw, 4rem) !important;
}

.si-blog-hero-cover .wp-block-cover__inner-container {
	max-width: 1060px !important;
	margin: 0 auto;
	text-align: center;
}

.si-blog-hero-cover .wp-block-post-title {
	font-family: 'made_tommymedium', sans-serif !important;
	font-size: clamp(1.95rem, 3.55vw, 3.3rem) !important;
	font-weight: 600 !important;
	line-height: 1.18 !important;
	margin: 0 auto 1.15rem !important;
	letter-spacing: -0.01em;
}

.si-blog-hero-cover .wp-block-post-title a {
	color: #ffffff !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.si-blog-hero-cover .wp-block-post-title a:hover {
	opacity: 0.86;
	color: #ffffff !important;
}

.si-blog-hero-cover .wp-block-post-date {
	color: #ffffff !important;
	font-size: 0.85rem !important;
	font-weight: 600;
	margin: 0 0 0.55rem 0 !important;
}

/* Inline compact author avatar + "by Name" */
.si-inline-author.wp-block-post-author {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	gap: 8px;
	margin: 0;
}

.si-inline-author .wp-block-post-author__avatar {
	margin: 0 !important;
	display: flex;
	align-items: center;
}

.si-inline-author .wp-block-post-author__avatar img {
	width: 22px !important;
	height: 22px !important;
	border-radius: 50%;
	display: block;
}

.si-inline-author .wp-block-post-author__content {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #ffffff;
}

.si-inline-author .wp-block-post-author__byline,
.si-inline-author .wp-block-post-author__name {
	display: inline !important;
	font-size: inherit !important;
	margin: 0 !important;
	color: inherit !important;
}

.si-post-card-body .si-inline-author.wp-block-post-author {
	justify-content: flex-start;
	margin-top: 10px;
}

.si-post-card-body .si-inline-author .wp-block-post-author__content {
	color: #b4b4b4;
	font-weight: 400;
	font-size: 0.82rem;
}

/* Blog Post Share Bar (Uncode Share Replica) */
.si-share-box {
	text-align: center;
	margin: 2.2rem auto 2.8rem;
}

.si-share-title {
	margin: 0;
	color: #ffffff;
	font-family: 'Libre Franklin', 'avenir', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.si-share-sep {
	display: block;
	width: 84px;
	height: 2px;
	background-color: #ffffff;
	margin: 18px auto 18px;
}

.si-share-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.si-share-list a {
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, transform 0.2s ease;
}

.si-share-list a:hover,
.si-share-list a:focus {
	color: #c32fbf;
	transform: translateY(-2px);
}

/* Project Case Study Layout */
.si-case-lead {
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	line-height: 1.6;
	color: #eaeaea;
	margin-bottom: 2.5rem;
}

.si-case-specs {
	background: #101213;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 28px;
}

.si-case-specs h3 {
	margin: 0 0 18px 0;
	font-size: 1.1rem;
	font-family: 'made_tommymedium', sans-serif;
	letter-spacing: 0.03em;
	color: #ffffff;
}

.si-spec-row {
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.si-spec-label {
	display: block;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #c32fbf;
	font-weight: 700;
	margin-bottom: 4px;
}

.si-spec-value {
	display: block;
	font-size: 0.96rem;
	color: #ffffff;
	line-height: 1.45;
}

.si-case-body h2 {
	font-family: 'made_tommymedium', sans-serif;
	font-size: 1.65rem;
	margin: 0 0 1rem 0;
}

.si-case-body h3 {
	font-family: 'made_tommymedium', sans-serif;
	font-size: 1.3rem;
	margin: 2rem 0 0.85rem 0;
	color: #ffffff;
}

.si-case-body p,
.si-case-body li {
	color: #d0d0d0;
	line-height: 1.72;
}

.si-case-body ul {
	padding-left: 1.25rem;
	margin-bottom: 1.75rem;
}

.si-case-body li {
	margin-bottom: 0.55rem;
}

/* Awards list */
.si-award-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 28px;
}

.si-award-item img {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

.si-award-item h4 {
	margin: 0 0 4px 0;
	font-size: 1.25rem;
	font-weight: 600;
}

.si-award-item p {
	margin: 0;
	color: #b4b4b4;
	font-size: 0.95rem;
	line-height: 1.45;
}

/* Contact CTA Box & CF7 Styling */
.si-cta-box {
	background-color: #0e0e0e;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

#form_cta br {
	display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	box-sizing: border-box;
	background-color: #1d1d1d;
	border: 1px solid #504f4f;
	border-radius: 6px;
	color: #ffffff;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 15px;
	margin-bottom: 12px;
}

.wpcf7-form textarea {
	min-height: 150px;
	resize: vertical;
}

.btn-si2024,
.wpcf7-form input[type="submit"] {
	width: 100% !important;
	border: 0 !important;
	border-radius: 8px;
	padding: 14px 24px;
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	background: linear-gradient(90deg, rgba(118, 58, 245, 1) 0%, rgba(166, 4, 242, 1) 67%) !important;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.btn-si2024:hover,
.wpcf7-form input[type="submit"]:hover {
	background: #360fc9 !important;
}

/* Decorative 3D shapes on service pages */
.si-deco-shape {
	opacity: 0.88;
	margin: 12px auto 0;
	pointer-events: none;
}

.si-deco-shape img {
	max-width: 100%;
	height: auto;
}

/* Responsive video & iframe embeds */
.responsive-embed-container {
	position: relative;
	overflow: hidden;
	padding-bottom: 56.25%;
	height: 0;
	max-width: 100% !important;
	border-radius: 12px;
}

.responsive-embed-container iframe,
.responsive-embed-container object,
.responsive-embed-container embed {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

/* Footer */
.si-site-footer {
	background-color: #151515;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 56px clamp(1.25rem, 4vw, 3rem) 40px;
	margin-top: 64px;
}

.si-footer-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 32px;
	align-items: start;
}

.si-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.si-footer-links a {
	color: #b4b4b4;
	text-decoration: none;
	font-size: 15px;
}

.si-footer-links a:hover {
	color: #ffffff;
}

.si-footer-copy {
	max-width: 1200px;
	margin: 36px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: #b4b4b4;
	font-size: 14px;
	font-weight: 300;
	text-align: right;
}

@media (max-width: 768px) {
	.si-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.si-footer-copy {
		text-align: left;
	}
}
