:root {
	/* Colors - NO CHANGE per user request */
	--bg: #ffffff;
	--bg-alt: #f8f9fb;
	--surface: rgba(255, 255, 255, 0.98);
	--surface-strong: #ffffff;
	--line: rgba(17, 17, 17, 0.08);
	--ink: #111111;
	--muted: #5d6470;
	--accent: #f92026;
	--accent-strong: #c81a20;

	/* Typography - Fluid System (Senior UI) */
	--font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: 'Inter', sans-serif;
	--font-serif: 'Frank Ruhl Libre', serif;

	/* Spacing - Fluid System */
	--space-xs: clamp(0.5rem, 1vw, 0.75rem);
	--space-sm: clamp(1rem, 2vw, 1.5rem);
	--space-md: clamp(2rem, 4vw, 3rem);
	--space-lg: clamp(4rem, 8vw, 6rem);
	--space-xl: clamp(6rem, 12vw, 10rem);

	/* Card Radius - Per request (10px–16px area) */
	--radius: 16px;
	--radius-lg: 24px;

	/* Shadows - Depth levels */
	--shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.12);

	/* Transitions */
	--ease: cubic-bezier(0.165, 0.84, 0.44, 1);

	--container: min(1200px, calc(100vw - 2rem));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-main);
	background: var(--bg);
	color: var(--ink);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.button,
.expertise-num,
.service-card__cat {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.portfolio-slide__text,
.section-intro p,
.lead {
	font-family: var(--font-serif);
	font-style: normal;
	font-weight: 400;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

svg {
	display: block;
	fill: currentColor;
}

input,
textarea,
button {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: var(--container);
	margin: 0 auto;
}

.skip-link {
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
}

.topbar {
	border-bottom: 1px solid rgba(22, 18, 18, 0.07);
	background: rgba(255, 255, 255, 0.62);
	backdrop-filter: blur(18px);
}

.topbar__inner,
.site-header__inner,
.site-footer__bottom,
.hero__actions,
.hero__stack,
.contact-form__actions,
.filter-bar,
.site-footer__legal,
.contact-list li,
.social-links,
.hero__stats,
.footer-contact li,
.service-card__tags,
.menu,
.footer-menu {
	display: flex;
	gap: 1rem;
}

.topbar__inner,
.site-header__inner,
.site-footer__bottom {
	justify-content: space-between;
	align-items: center;
}

.topbar__meta {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: 0.92rem;
	color: var(--muted);
	padding: 0.8rem 0;
}

.topbar__actions {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex: 0 0 auto;
}

@keyframes slowBreath {
	0%, 100% { opacity: 0.7; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-1px); }
}

.topbar__text {
	animation: slowBreath 5s infinite ease-in-out;
	display: inline-block;
}

.topbar__phone,
.social-links a,
.footer-contact a,
.contact-list .icon,
.text-link,
.text-link--light {
	transition: all 0.4s var(--ease) !important;
}

.topbar__phone:hover {
	color: var(--accent) !important;
	transform: scale(1.05) !important;
	text-shadow: 0 0 10px rgba(249, 32, 38, 0.1);
}

.social-links a:hover {
	background: var(--accent) !important;
	color: #fff !important;
	transform: rotate(12deg) translateY(-5px) scale(1.2) !important;
	box-shadow: 0 6px 15px rgba(249, 32, 38, 0.35);
}

.footer-contact a:hover,
.text-link:hover,
.text-link--light:hover {
	color: var(--accent);
	transform: translateY(-2px) scale(1.05);
}

.topbar__phone,
.footer-contact li,
.contact-list li {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.topbar__divider {
	width: 1px;
	height: 16px;
	background: rgba(22, 18, 18, 0.12);
}

.social-links {
	align-items: center;
}

.social-links a {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(24, 59, 66, 0.08);
	color: var(--teal);
}

.social-links svg,
.icon svg,
.button__icon svg,
.whatsapp-widget__toggle-icon svg,
.whatsapp-widget__close svg {
	width: 18px;
	height: 18px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 1rem 0;
	background: rgba(245, 239, 231, 0.74);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.scrolled .site-header {
	background: rgba(255, 255, 255, 0.78);
	border-color: rgba(22, 18, 18, 0.08);
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.site-branding__logo-image,
.site-footer__logo-image {
	transition: all 0.4s var(--ease) !important;
}

.site-branding__link:hover .site-branding__logo-image,
.site-footer__logo-link:hover .site-footer__logo-image {
	animation: jumpWithJoy 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
	filter: brightness(1.25) drop-shadow(0 4px 15px rgba(249, 32, 38, 0.4)) !important;
}

.site-branding__link,
.site-footer__logo-link {
	display: inline-block;
}

.site-branding__link {
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
}

.site-branding__name,
h1,
h2,
h3,
.site-footer__label,
.hero__eyebrow,
.section-intro__eyebrow,
.pill,
.filter-button,
.button,
.topbar__text,
.topbar__phone,
.site-navigation__cta,
.stat-card strong,
.process-card span {
	letter-spacing: 0.02em;
}

.site-branding__name,
h1,
h2,
h3,
.glass-card span,
.hero__panel span,
.process-card span,
.site-footer__label {
	font-family: 'Literata Local', Georgia, serif;
}

.site-branding__name {
	font-size: 1.35rem;
	font-weight: 600;
}

.site-branding__tag {
	font-size: 0.82rem;
	color: var(--muted);
}

.site-navigation {
	position: relative;
}

.site-navigation__panel,
.menu,
.footer-menu {
	align-items: center;
}

.menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu li a,
.footer-menu li a {
	position: relative;
	font-size: 0.95rem;
	color: var(--muted);
	transition: color 0.3s var(--ease), transform 0.3s var(--ease);
	padding: 0.5rem 0;
}

.menu li a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s var(--ease);
}

.menu li a:hover::after,
.current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.menu li a:hover,
.footer-menu li a:hover {
	color: var(--ink);
	transform: translateY(-2px);
}

.current-menu-item > a {
	color: var(--ink) !important;
	font-weight: 700;
}

@keyframes jumpWithJoy {
	0%, 100% { transform: translateY(0) scale(1); }
	30% { transform: translateY(-12px) scale(1.15); }
	50% { transform: translateY(-5px) scale(1.08); }
	80% { transform: translateY(-2px) scale(1.02); }
}

.footer-menu li a,
.footer-list li a,
.footer-contact li,
.site-footer__legal a,
.site-footer__description {
	transition: all 0.3s var(--ease);
	display: inline-block;
}

.footer-menu li a:hover,
.footer-list li a:hover,
.footer-contact li:hover,
.footer-contact li a:hover,
.site-footer__legal a:hover {
	animation: jumpWithJoy 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
	color: var(--accent) !important;
	cursor: pointer;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.95rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.button--primary {
	background: linear-gradient(135deg, var(--accent), #d78b59);
	color: #fff;
}

.button--secondary,
.button--ghost,
.button--ghost-light {
	border-color: rgba(22, 18, 18, 0.12);
	background: rgba(255, 255, 255, 0.64);
	color: var(--ink);
}

.button--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.button--secondary:hover,
.button--ghost:hover,
.button--ghost-light:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(22, 18, 18, 0.1);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.72);
	color: var(--ink);
}

.menu-toggle__close {
	display: none;
}

.site-navigation.is-open .menu-toggle__open {
	display: none;
}

.site-navigation.is-open .menu-toggle__close {
	display: block;
}

.hero,
.page-hero,
.section,
.content-section,
.map-section {
	padding: 4rem 0;
}

.hero {
	position: relative;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.hero::before,
.hero::after,
.page-hero::before {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(20px);
	z-index: 0;
}

.hero::before {
	width: 340px;
	height: 340px;
	right: -80px;
	top: 30px;
	background: rgba(194, 111, 61, 0.18);
}

.hero::after {
	width: 280px;
	height: 280px;
	left: -80px;
	bottom: -50px;
	background: rgba(24, 59, 66, 0.12);
}

.hero__grid,
.split-layout,
.contact-preview,
.contact-page-grid,
.single-hero {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.hero__content h1,
.page-hero__content h1 {
	font-size: clamp(2.8rem, 6vw, 5rem);
	line-height: 0.98;
	margin: 0.6rem 0 1.2rem;
}

.hero__content p,
.page-hero__content p,
.section-intro p,
.service-card__body p,
.portfolio-card__body p,
.glass-card p,
.process-card p,
.contact-card p,
.content-card p,
.site-footer p,
.value-item span {
	color: var(--muted);
	font-size: clamp(0.98rem, 1.1vw, 1.14rem);
	line-height: 1.68;
}

.hero__eyebrow,
.section-intro__eyebrow,
.pill,
.site-footer__label,
.filter-button {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	gap: 0.5rem;
	font-size: 0.72rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	background: rgba(249, 32, 38, 0.08);
	color: var(--accent);
}

.hero__actions {
	flex-wrap: wrap;
	margin: 2rem 0;
}

.hero__stats {
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.hero__stats li,
.stat-card,
.process-card,
.contact-card,
.value-item,
.hero__panel,
.glass-card,
.service-card,
.portfolio-card,
.content-card,
.whatsapp-widget__panel {
	background: var(--surface);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.hero__stats li {
	flex: 1 1 180px;
	padding: 1.1rem 1.2rem;
}

.hero__stats strong,
.process-card h3,
.service-card h2,
.service-card h3,
.portfolio-card h2,
.portfolio-card h3,
.contact-card strong,
.glass-card h2,
.glass-card h3 {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 1.2rem;
}

.hero__visual {
	display: grid;
	gap: 1rem;
}

.hero__panel,
.glass-card {
	padding: 1.6rem;
}

.hero__panel--large,
.glass-card--tall {
	min-height: 280px;
	background: linear-gradient(180deg, rgba(24, 59, 66, 0.9), rgba(24, 59, 66, 0.72));
	color: #f8f4ef;
}

.hero__panel--large p,
.glass-card--tall p,
.section--dark .section-intro p,
.section--dark .portfolio-card__body p,
.section--dark .value-item span,
.text-link--light {
	color: #f92026;
}

.hero__stack {
	gap: 1rem;
}

.hero__stack .hero__panel {
	flex: 1;
}

.section--light {
	background: rgba(255, 255, 255, 0.35);
}

.section--dark {
	background: linear-gradient(180deg, #11262a 0%, #0f1e22 100%);
	color: #f8f4ef;
}

.section--about,
.section--process,
.content-section {
	background: transparent;
}

.section--cta {
	padding-top: 0;
}

.section-intro {
	max-width: 860px;
	margin-bottom: 2rem;
	padding: 0 1rem;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.section-intro--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.section-intro h2,
.map-section__header h2,
.cta-banner h2 {
	font-size: clamp(1.6rem, 2.5vw, 2.8rem);
	margin: 0.55rem 0 0.8rem;
	line-height: 1.15;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.cards-grid,
.portfolio-grid,
.process-grid,
.stats-grid,
.contact-cards,
.value-list {
	display: grid;
	gap: 1.4rem;
}

.cards-grid--services,
.process-grid,
.stats-grid,
.contact-cards,
.value-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid,
.portfolio-grid--full {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid--full .portfolio-card:nth-child(3n+2) {
	transform: translateY(2.2rem);
}

.section--dark .portfolio-card,
.section--dark .process-card,
.value-list--dark .value-item {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.08);
}

.service-card,
.portfolio-card,
.process-card,
.contact-card,
.stat-card,
.value-item,
.content-card {
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.portfolio-card:hover,
.process-card:hover,
.contact-card:hover,
.stat-card:hover,
.value-item:hover,
.content-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: rgba(194, 111, 61, 0.24);
}

.service-card__media,
.portfolio-card__media,
.single-hero__media {
	display: block !important;
	width: 100% !important;
	min-height: 360px !important;
	background-size: cover;
	background-position: center;
	position: relative;
}

.service-card__media::after,
.portfolio-card__media::after,
.single-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 20, 24, 0.04), rgba(15, 20, 24, 0.38));
}

.service-card__body,
.portfolio-card__body,
.content-card {
	padding: 1.45rem;
}

.service-card__body h2,
.portfolio-card__body h2 {
	margin-top: 0.7rem;
}

.pill {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(194, 111, 61, 0.12);
	color: var(--accent-strong);
}

.pill--dark {
	background: rgba(255, 255, 255, 0.12);
	color: #f7e8da;
}

.text-link,
.text-link--light {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
}

.text-link svg,
.text-link--light svg {
	width: 16px;
	height: 16px;
}

.split-layout__visual,
.contact-preview__form,
.contact-page-grid__form {
	align-self: stretch;
}

.value-list {
	margin-top: 1.6rem;
}

.value-item,
.process-card,
.stat-card,
.contact-card {
	padding: 1.4rem;
}

.process-card span {
	font-size: 2.8rem;
	color: rgba(194, 111, 61, 0.42);
	margin-bottom: 0.7rem;
}

.process-grid--wide {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem;
	background: linear-gradient(135deg, rgba(24, 59, 66, 0.95), rgba(194, 111, 61, 0.85));
	color: #fff;
	border-radius: calc(var(--radius) + 6px);
	box-shadow: var(--shadow);
}

.contact-list,
.footer-list,
.footer-contact {
	list-style: none;
	padding: 0;
	margin: 0;
}

.contact-list {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

.contact-page-grid,
.contact-preview {
	gap: 1.6rem;
}

.contact-form {
	padding: 1.6rem;
	border-radius: var(--radius);
	background: var(--surface-strong);
	border: 1px solid rgba(22, 18, 18, 0.08);
	box-shadow: var(--shadow-soft);
}

.contact-form--compact {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.contact-form__full {
	grid-column: 1 / -1;
}

.contact-form label {
	display: grid;
	gap: 0.4rem;
}

.contact-form span {
	font-size: 0.92rem;
	font-weight: 700;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid rgba(22, 18, 18, 0.11);
	border-radius: 16px;
	padding: 0.95rem 1rem;
	background: rgba(245, 239, 231, 0.48);
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: rgba(194, 111, 61, 0.55);
	box-shadow: 0 0 0 4px rgba(194, 111, 61, 0.12);
	background: #fff;
}

.contact-form__actions {
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.contact-form__hint,
.contact-form__status {
	font-size: 0.9rem;
	margin: 0;
}

.contact-form__status {
	color: var(--accent-strong);
}

.filter-bar {
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.filter-button {
	padding: 0.7rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(22, 18, 18, 0.1);
	background: rgba(255, 255, 255, 0.7);
	color: var(--muted);
}

.filter-button.is-active,
.filter-button:hover {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.filter-button--dark {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.75);
}

.filter-button--dark.is-active,
.filter-button--dark:hover {
	background: #fff;
	color: var(--ink);
	border-color: #fff;
}

.js-filterable-grid>* {
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.is-hidden {
	opacity: 0;
	transform: scale(0.98);
	pointer-events: none;
	visibility: hidden;
	position: absolute;
}

.page-hero,
.page-hero--compact {
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	width: 220px;
	height: 220px;
	right: -40px;
	top: 30px;
	background: rgba(194, 111, 61, 0.14);
}

.page-hero--compact {
	padding-top: 3.5rem;
	padding-bottom: 2rem;
}

.page-hero--portfolio,
.page-hero--contact,
.page-hero--single {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.content-container {
	max-width: 860px;
}

.content-stack {
	display: grid;
	gap: 1rem;
}

.content-card--page {
	padding: 2rem;
}

.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4 {
	margin-top: 0;
}

.content-card p:last-child {
	margin-bottom: 0;
}

.map-section {
	padding-bottom: 0;
}

.map-section__header {
	max-width: 720px;
	margin: 0 auto 1.5rem;
	text-align: center;
}

.map-section__frame {
	width: min(1440px, calc(100vw - 3rem));
	margin: 0 auto;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid rgba(0, 0, 0, 0.08); /* Añadimos borde para que parezca un cuadro */
}

.map-section iframe {
	width: 100%;
	height: 420px;
	border: 0;
	display: block;
}

.site-footer {
	padding: 4rem 0 2rem;
	background: #121318;
	color: rgba(255, 255, 255, 0.88);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 1.8rem;
}

.site-footer__column h3,
.site-footer__brand h2 {
	margin-top: 0;
}

.footer-menu,
.footer-list,
.footer-contact {
	display: grid;
	gap: 0.8rem;
}

.site-footer__bottom {
	margin-top: 2rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.65);
}

.site-footer__legal {
	flex-wrap: wrap;
}

.site-footer__legal a,
.footer-menu li a,
.footer-list a {
	color: rgba(255, 255, 255, 0.78);
}

.whatsapp-widget {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 60;
	max-width: 360px;
}

.whatsapp-widget__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.95rem 1.15rem;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, #0f8d64, #17b87c);
	color: #fff;
	box-shadow: 0 18px 40px rgba(15, 141, 100, 0.32);
	animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
	}
	70% {
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

.whatsapp-widget__panel {
	display: none;
	margin-top: 0.85rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.96);
}

.whatsapp-widget.is-open .whatsapp-widget__panel {
	display: block;
}

.whatsapp-widget__header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.whatsapp-widget__header p {
	margin: 0.3rem 0 0;
	font-size: 0.9rem;
	color: var(--muted);
}

.whatsapp-widget__close {
	border: 0;
	background: transparent;
	color: var(--muted);
}

.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--slide-right {
	transform: translateX(-40px);
}

.reveal--slide-left {
	transform: translateX(40px);
}

.reveal--scale {
	transform: scale(0.92) translateY(20px);
}

.reveal.is-visible {
	opacity: 1;
	transform: translate(0, 0) scale(1);
}

@media (max-width: 1024px) {

	.hero__grid,
	.split-layout,
	.contact-preview,
	.contact-page-grid,
	.single-hero,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.cards-grid--services,
	.portfolio-grid,
	.portfolio-grid--full,
	.process-grid,
	.stats-grid,
	.contact-cards,
	.value-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portfolio-grid--full .portfolio-card:nth-child(3n+2) {
		transform: none;
	}

	.site-footer__grid {
		gap: 2rem;
	}
}

@media (max-width: 820px) {

	.topbar__inner,
	.site-header__inner,
	.site-footer__bottom,
	.cta-banner,
	.contact-form__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.topbar__meta {
		flex-wrap: wrap;
	}

	.menu-toggle {
		display: inline-grid;
		place-items: center;
	}

	.site-navigation__panel {
		position: absolute;
		right: 0;
		top: calc(100% + 1rem);
		width: min(340px, calc(100vw - 2rem));
		padding: 1rem;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid rgba(22, 18, 18, 0.08);
		border-radius: 24px;
		box-shadow: var(--shadow-soft);
		display: none;
		flex-direction: column;
		align-items: stretch;
	}

	.site-navigation.is-open .site-navigation__panel {
		display: flex;
	}

	.menu {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-navigation__cta {
		width: 100%;
	}

	.hero,
	.page-hero,
	.section,
	.content-section,
	.map-section {
		padding: 3rem 0;
	}

	.hero__content h1,
	.page-hero__content h1 {
		font-size: clamp(2.4rem, 10vw, 4rem);
	}
}

@media (max-width: 640px) {

	.cards-grid--services,
	.portfolio-grid,
	.portfolio-grid--full,
	.process-grid,
	.process-grid--wide,
	.stats-grid,
	.contact-cards,
	.value-list,
	.contact-form__grid {
		grid-template-columns: 1fr;
	}

	.topbar__divider,
	.topbar__text {
		display: none;
	}

	.hero__stats,
	.hero__stack,
	.social-links,
	.filter-bar,
	.site-footer__legal {
		gap: 0.75rem;
	}

	.hero__stats li,
	.contact-form,
	.cta-banner,
	.whatsapp-widget__panel {
		padding: 1.2rem;
	}

	.whatsapp-widget {
		left: 1rem;
		right: 1rem;
		max-width: none;
	}

	.map-section__frame {
		width: 100%;
		border-radius: 24px 24px 0 0;
	}
}

/* Brand override: red and white corporate theme */
:root {
	--bg: #ba0419;
	--bg-alt: #9f0315;
	--surface: rgba(255, 255, 255, 0.09);
	--surface-strong: rgba(255, 255, 255, 0.12);
	--line: rgba(255, 255, 255, 0.18);
	--ink: #ffffff;
	--muted: rgba(255, 255, 255, 0.82);
	--accent: #ffffff;
	--accent-strong: #ffe8eb;
	--teal: #ffffff;
	--teal-soft: rgba(255, 255, 255, 0.12);
	--shadow: 0 24px 64px rgba(72, 0, 8, 0.34);
	--shadow-soft: 0 16px 36px rgba(72, 0, 8, 0.22);
}

body {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
		radial-gradient(circle at bottom left, rgba(120, 0, 13, 0.45), transparent 26%),
		linear-gradient(160deg, #b20318 0%, #d0071d 54%, #960214 100%);
	color: #ffffff;
}

body::after {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 6px, transparent 6px, transparent 18px);
	opacity: 0.45;
}

.skip-link {
	background: #ffffff;
	color: #a10315;
}

.topbar,
.site-header,
body.scrolled .site-header,
.site-navigation__panel,
.site-footer,
.section--dark,
.cta-banner,
.whatsapp-widget__panel {
	border-color: rgba(255, 255, 255, 0.12);
}

.topbar {
	background: rgba(125, 0, 17, 0.78);
}

.site-header {
	background: rgba(160, 0, 22, 0.74);
}

body.scrolled .site-header {
	background: rgba(132, 0, 18, 0.9);
	box-shadow: 0 8px 24px rgba(56, 0, 8, 0.3);
}

.site-navigation__panel {
	background: rgba(132, 0, 18, 0.96);
}

.topbar__meta,
.site-branding__tag,
.hero__content p,
.page-hero__content p,
.section-intro p,
.service-card__body p,
.portfolio-card__body p,
.glass-card p,
.process-card p,
.contact-card p,
.content-card p,
.site-footer p,
.value-item span,
.hero__summary,
.contact-form__hint,
.contact-form__status,
.whatsapp-widget__header p,
.map-section__header p {
	color: rgba(255, 255, 255, 0.82);
}

.menu li a,
.footer-menu li a,
.footer-list a,
.site-footer__legal a,
.footer-contact a {
	color: rgba(255, 255, 255, 0.9);
}

.menu li a:hover,
.footer-menu li a:hover,
.current-menu-item>a,
.footer-list a:hover,
.site-footer__legal a:hover,
.footer-contact a:hover,
.text-link:hover,
.text-link--light:hover {
	color: #ffffff;
}

.site-branding__logo-image,
.custom-logo-link img {
	display: block;
	height: 58px;
	width: auto;
	max-width: 240px;
}

.site-footer__logo {
	display: inline-flex;
	margin-bottom: 1rem;
}

.site-footer__logo-image {
	display: block;
	height: 76px;
	width: auto;
	max-width: 280px;
}

.social-links a,
.menu-toggle {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.16);
}

.button--primary {
	background: var(--accent);
	color: #ffffff;
	border-radius: var(--radius);
	box-shadow: 0 12px 24px rgba(249, 32, 38, 0.22);
}

.button--primary:hover {
	transform: translateY(-2px);
	background: var(--accent-strong);
	box-shadow: 0 16px 32px rgba(249, 32, 38, 0.3);
}

.button--secondary,
.button--ghost,
.button--ghost-light {
	background: transparent;
	border: 1.5px solid var(--line);
	color: var(--ink);
	border-radius: var(--radius);
}

.button--secondary:hover,
.button--ghost:hover {
	background: var(--ink);
	color: #ffffff;
	border-color: var(--ink);
}

.button--small {
	padding: 0.65rem 1.25rem !important;
	font-size: 0.82rem !important;
}

.hero,
.page-hero,
.section--light,
.section--about,
.section--process,
.content-section,
.section--contact-preview,
.map-section,
.page-hero--portfolio,
.page-hero--contact,
.page-hero--single,
.page-hero--compact {
	background: transparent;
}

.section--dark {
	background: linear-gradient(180deg, rgba(110, 0, 15, 0.74) 0%, rgba(83, 0, 11, 0.86) 100%);
}

.section--cta {
	padding-top: 1rem;
}

.hero::before {
	background: rgba(255, 255, 255, 0.12);
}

.hero::after,
.page-hero::before {
	background: rgba(255, 255, 255, 0.08);
}

.hero--minimal {
	padding-top: 6rem;
	padding-bottom: 4.5rem;
}

.hero__content--solo {
	max-width: 840px;
}

.hero__summary {
	display: inline-flex;
	align-items: center;
	padding: 0.95rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: var(--shadow-soft);
}

.hero__content h1,
.page-hero__content h1,
.section-intro h2,
.map-section__header h2,
.cta-banner h2,
.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.process-card h3,
.service-card h2,
.service-card h3,
.portfolio-card h2,
.portfolio-card h3,
.contact-card strong,
.glass-card h2,
.glass-card h3,
.site-footer__column h3,
.site-footer__brand h2 {
	color: #ffffff;
}

.hero__stats li,
.stat-card,
.process-card,
.contact-card,
.value-item,
.hero__panel,
.glass-card,
.service-card,
.portfolio-card,
.content-card,
.whatsapp-widget__panel,
.contact-form {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.service-card__media::after,
.portfolio-card__media::after,
.single-hero__media::after {
	background: linear-gradient(180deg, rgba(68, 0, 10, 0.12), rgba(52, 0, 8, 0.42));
}

.pill,
.pill--dark {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.process-card span,
.hero__eyebrow,
.section-intro__eyebrow,
.site-footer__label {
	color: rgba(255, 255, 255, 0.95);
}

.cta-banner {
	background: linear-gradient(135deg, rgba(136, 0, 20, 0.92), rgba(85, 0, 12, 0.92));
}

.contact-form input,
.contact-form textarea {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.14);
}

.filter-button,
.filter-button--dark {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button--dark.is-active,
.filter-button--dark:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: #b40318;
}

.page-hero--portfolio,
.page-hero--contact,
.page-hero--single {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
}

.map-section__frame {
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.map-section iframe {
	filter: saturate(0.88) contrast(0.95);
}

.site-footer {
	background: linear-gradient(180deg, rgba(115, 0, 16, 0.98), rgba(82, 0, 11, 0.98));
	color: rgba(255, 255, 255, 0.88);
}

.whatsapp-widget__toggle {
	background: #ffffff;
	color: #b40318;
	box-shadow: 0 18px 40px rgba(72, 0, 8, 0.3);
	animation: pulse-whatsapp-dark 2s infinite;
}

@keyframes pulse-whatsapp-dark {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
	}
	70% {
		box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

.whatsapp-widget__close,
.whatsapp-widget__toggle-icon {
	color: inherit;
}

@media (max-width: 820px) {
	.site-navigation__panel {
		background: rgba(140, 0, 18, 0.98);
	}
}

@media (max-width: 640px) {
	.hero__summary {
		display: flex;
		border-radius: 24px;
	}

	.site-branding__logo-image,
	.custom-logo-link img {
		height: 48px;
	}
}

/* === 2026 Theme Refresh: light/dark system + simplified white layout === */
body[data-theme='light'] {
	--bg: #ffffff;
	--bg-alt: #fff5f6;
	--surface: rgba(255, 255, 255, 0.96);
	--surface-strong: #ffffff;
	--line: rgba(171, 11, 34, 0.12);
	--ink: #180d10;
	--muted: #5f474d;
	--accent: #cb102d;
	--accent-strong: #8f091d;
	--teal: #cb102d;
	--teal-soft: #fff1f3;
	--shadow: 0 24px 60px rgba(139, 9, 29, 0.12);
	--shadow-soft: 0 16px 36px rgba(24, 13, 16, 0.08);
}

body[data-theme='dark'] {
	--bg: #0f1116;
	--bg-alt: #161a22;
	--surface: rgba(21, 25, 33, 0.94);
	--surface-strong: #1b2029;
	--line: rgba(255, 255, 255, 0.1);
	--ink: #f7f7fb;
	--muted: #c8ccd7;
	--accent: #ff3350;
	--accent-strong: #d91432;
	--teal: #ff3350;
	--teal-soft: #242a37;
	--shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
	--shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.22);
}

body {
	background: var(--bg);
	color: var(--ink);
	transition: background 0.28s ease, color 0.28s ease;
}

body::before {
	transition: opacity 0.28s ease;
}

body.menu-open::before {
	content: '';
	position: fixed;
	inset: 0;
	background: rgba(10, 12, 16, 0.36);
	backdrop-filter: blur(8px);
	z-index: 35;
}

.topbar,
.site-header,
.site-footer,
.section--light,
.section--dark,
.section--process,
.section--contact-preview,
.page-hero,
.page-hero--portfolio,
.page-hero--contact,
.page-hero--single,
.page-hero--compact,
.content-section,
.map-section,
.hero {
	background: var(--bg);
	color: var(--ink);
}

.topbar {
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	backdrop-filter: blur(18px);
}

.site-header {
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(18px);
}

body.scrolled .site-header {
	background: color-mix(in srgb, var(--bg) 95%, transparent);
	border-color: var(--line);
	box-shadow: var(--shadow-soft);
}

.topbar__meta,
.topbar__phone,
.topbar__text,
.menu li a,
.footer-menu li a,
.footer-list a,
.site-footer__legal a,
.footer-contact a,
.contact-list li,
.site-footer p,
.contact-card p,
.content-card p,
.process-card p,
.portfolio-card p,
.service-card p,
.map-section__header p,
.section-intro p,
.whatsapp-widget__header p,
.contact-form__hint,
.contact-form__status {
	color: var(--muted);
}

.menu li a:hover,
.footer-menu li a:hover,
.current-menu-item>a,
.footer-list a:hover,
.site-footer__legal a:hover,
.footer-contact a:hover,
.text-link:hover,
.text-link--light:hover,
.topbar__phone:hover,
.social-links a:hover {
	color: var(--accent);
}

.site-header__tools,
.site-navigation__panel {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-header__tools {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
}

.site-navigation {
	flex: 1 1 auto;
	min-width: 0;
}

.site-navigation__panel {
	justify-content: flex-end;
	flex-wrap: nowrap;
	min-width: 0;
}

.site-branding__link--logo,
.site-footer__logo {
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	box-shadow: var(--shadow-soft);
}

.site-branding__logo-image,
.custom-logo-link img,
.site-footer__logo-image,
.hero__logo-image {
	display: block;
	width: auto;
	max-width: 100%;
}

.hero__logo-image {
	height: clamp(74px, 11vw, 150px);
}

.theme-toggle,
.social-links a,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	box-shadow: var(--shadow-soft);
}

.theme-toggle {
	padding: 0.58rem 0.82rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.82rem;
	line-height: 1;
	gap: 0.5rem;
}

.theme-toggle__icons {
	display: inline-grid;
	place-items: center;
	width: 1rem;
	height: 1rem;
}

.theme-toggle__icons svg {
	grid-area: 1 / 1;
	width: 1rem;
	height: 1rem;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

body[data-theme='light'] .theme-toggle__sun,
body[data-theme='dark'] .theme-toggle__moon {
	opacity: 1;
	transform: scale(1);
}

body[data-theme='light'] .theme-toggle__moon,
body[data-theme='dark'] .theme-toggle__sun {
	opacity: 0;
	transform: scale(0.65);
}

.theme-toggle:hover,
.menu-toggle:hover,
.social-links a:hover {
	transform: translateY(-1px);
}

.topbar__divider {
	background: var(--line);
}

.button--primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	color: #ffffff;
	box-shadow: 0 18px 32px rgba(203, 16, 45, 0.18);
}

.button--secondary,
.button--ghost,
.button--ghost-light,
.filter-button,
.filter-button--dark {
	background: var(--surface);
	border-color: var(--line);
	color: var(--ink);
}

.button--secondary:hover,
.button--ghost:hover,
.button--ghost-light:hover,
.filter-button.is-active,
.filter-button:hover,
.filter-button--dark.is-active,
.filter-button--dark:hover {
	background: color-mix(in srgb, var(--accent) 10%, var(--surface-strong));
	border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
	color: var(--accent);
}

.section--services-home {
	padding-top: 5.5rem !important;
	padding-bottom: 6.5rem !important;
}

.service-card {
	border-radius: 32px !important;
	overflow: hidden;
	border-top: 6px solid var(--accent) !important;
}

.service-card__body h3 {
	font-size: 1.75rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	margin-bottom: 0.75rem !important;
}

.service-card__body p {
	font-size: 1rem !important;
	line-height: 1.6 !important;
	margin-bottom: 1.5rem !important;
}

.hero--brand {
	padding-top: 2rem;
}

.hero__brand-panel {
	display: grid;
	place-items: center;
	gap: 1.15rem;
	min-height: clamp(240px, 38vw, 420px);
	padding: clamp(2.25rem, 4vw, 3.5rem);
	border-radius: 42px;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	box-shadow: var(--shadow);
	text-align: center;
}

.hero__brand-logo {
	display: flex;
	justify-content: center;
	width: 100%;
}

.hero__brand-line {
	width: min(140px, 35vw);
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
}

.section-intro__eyebrow,
.site-footer__label,
.contact-card .icon,
.contact-list .icon,
.footer-contact .icon,
.whatsapp-widget__toggle-icon,
.text-link,
.text-link--light {
	color: var(--accent);
}

.hero__content h1,
.page-hero__content h1,
.section-intro h2,
.map-section__header h2,
.cta-banner h2,
.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.service-card h2,
.service-card h3,
.portfolio-card h2,
.portfolio-card h3,
.contact-card strong,
.glass-card h2,
.glass-card h3,
.site-footer__column h3,
.site-footer__brand h2 {
	color: var(--ink);
}

.hero__stats li,
.stat-card,
.process-card,
.contact-card,
.value-item,
.hero__panel,
.glass-card,
.service-card,
.portfolio-card,
.content-card,
.whatsapp-widget__panel,
.contact-form,
.map-section__frame {
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
	box-shadow: var(--shadow-soft);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover,
.process-card:hover,
.portfolio-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow);
	border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.pill,
.pill--dark {
	background: color-mix(in srgb, var(--accent) 10%, var(--surface-strong));
	color: var(--accent);
}

.cta-banner {
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	color: #ffffff;
	padding: clamp(3rem, 7vw, 6rem);
	border-radius: 42px;
	box-shadow: 0 40px 100px -20px rgba(203, 16, 45, 0.45);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-banner__content {
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	z-index: 5;
}

.cta-banner h2 {
	font-size: clamp(2rem, 5vw, 3.8rem) !important;
	line-height: 1 !important;
	font-weight: 900 !important;
	color: #ffffff !important;
	margin-bottom: 2rem !important;
	letter-spacing: -0.04em !important;
}

.cta-banner p {
	font-size: clamp(1.1rem, 1.8vw, 1.4rem) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	margin-bottom: 3rem !important;
}

.cta-banner .section-intro__eyebrow {
	color: rgba(255, 255, 255, 0.8) !important;
	background: rgba(255, 255, 255, 0.15);
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	margin-bottom: 2.5rem;
	display: inline-block;
}

.cta-banner .button--primary {
	background: #ffffff !important;
	color: var(--accent) !important;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.cta-banner .button--primary:hover {
	transform: scale(1.05);
	background: #f7f7f7 !important;
}

.contact-form input,
.contact-form textarea {
	background: color-mix(in srgb, var(--surface-strong) 90%, var(--bg-alt));
	border-color: var(--line);
	color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
	background: var(--surface-strong);
}

.service-card__media::after,
.portfolio-card__media::after,
.single-hero__media::after {
	background: linear-gradient(180deg, rgba(12, 14, 18, 0.08), rgba(12, 14, 18, 0.35));
}

.map-section__frame {
	overflow: hidden;
	border-radius: 32px;
}

.map-section iframe {
	display: block;
	width: 100%;
	min-height: 420px;
	filter: saturate(0.96) contrast(0.98);
}

.site-footer {
	border-top: 1px solid var(--line);
}

.site-footer__grid,
.site-footer__bottom {
	position: relative;
	z-index: 1;
}

.whatsapp-widget__toggle {
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	color: #ffffff;
	box-shadow: var(--shadow);
}

.whatsapp-widget__close {
	color: var(--ink);
}

body[data-theme='dark'] .site-branding__link--logo,
body[data-theme='dark'] .site-footer__logo,
body[data-theme='dark'] .hero__brand-panel,
body[data-theme='dark'] .cta-banner,
body[data-theme='dark'] .whatsapp-widget__toggle {
	box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

body[data-theme='dark'] .map-section iframe {
	filter: saturate(0.88) contrast(1.02) brightness(0.9);
}

@media (max-width: 820px) {
	.site-header__tools {
		gap: 0.65rem;
	}

	.site-navigation__panel {
		position: fixed;
		left: 1rem;
		right: 1rem;
		top: 6.75rem;
		width: auto;
		padding: 1.2rem;
		border-radius: 30px;
		background: var(--surface-strong);
		border: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		z-index: 60;
	}

	body.menu-open .site-navigation__panel,
	.site-navigation.is-open .site-navigation__panel {
		display: flex;
	}

	.menu {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.45rem;
	}

	.menu li a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.95rem 1rem;
		border-radius: 18px;
		background: color-mix(in srgb, var(--surface-strong) 88%, var(--bg-alt));
		border: 1px solid transparent;
		font-size: 1rem;
		font-weight: 700;
	}

	.menu li a:hover,
	.current-menu-item>a {
		border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
		background: color-mix(in srgb, var(--accent) 9%, var(--surface-strong));
	}

	.theme-toggle {
		padding-inline: 0.92rem;
	}

	.hero__brand-panel {
		border-radius: 30px;
	}
}

@media (max-width: 640px) {

	.topbar__inner,
	.site-header__inner {
		gap: 0.8rem;
	}

	.theme-toggle {
		padding: 0.78rem;
	}

	.theme-toggle__label {
		display: none;
	}

	.site-branding__link--logo,
	.site-footer__logo {
		padding: 0.72rem 1rem;
	}

	.site-branding__logo-image,
	.custom-logo-link img {
		height: 44px;
	}

	.hero__brand-panel {
		min-height: 200px;
	}

	.map-section iframe {
		min-height: 320px;
	}
}


/* === Professional white/red refinement + portfolio slider === */
body[data-theme='light'] {
	--bg: #ffffff;
	--bg-alt: #f7f7f8;
	--surface: #ffffff;
	--surface-strong: #ffffff;
	--line: rgba(17, 17, 17, 0.08);
	--ink: #111111;
	--muted: #525252;
	--accent: #c6122f;
	--accent-strong: #970e24;
	--teal: #111111;
	--teal-soft: #f4f4f5;
	--shadow: 0 26px 64px rgba(17, 17, 17, 0.08);
	--shadow-soft: 0 18px 36px rgba(17, 17, 17, 0.06);
}

body[data-theme='light'] .topbar,
body[data-theme='light'] .site-header,
body[data-theme='light'] .site-footer,
body[data-theme='light'] .section--light,
body[data-theme='light'] .section--dark,
body[data-theme='light'] .section--process,
body[data-theme='light'] .section--contact-preview,
body[data-theme='light'] .page-hero,
body[data-theme='light'] .map-section,
body[data-theme='light'] .hero {
	background: #ffffff;
}

body[data-theme='light'] .section-intro__eyebrow,
body[data-theme='light'] .text-link,
body[data-theme='light'] .text-link--light,
body[data-theme='light'] .contact-card .icon,
body[data-theme='light'] .contact-list .icon,
body[data-theme='light'] .footer-contact .icon,
body[data-theme='light'] .process-card span,
body[data-theme='light'] .site-footer__label {
	color: var(--accent);
}

body[data-theme='light'] .hero__brand-panel {
	background: #ffffff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

body[data-theme='light'] .hero__brand-logo {
	padding: 1.15rem 1.5rem;
	border-radius: 30px;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	box-shadow: 0 18px 40px rgba(198, 18, 47, 0.18);
}

body[data-theme='light'] .hero__brand-line {
	background: rgba(198, 18, 47, 0.18);
}

body[data-theme='light'] .site-branding__link--logo,
body[data-theme='light'] .site-footer__logo {
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

body[data-theme='light'] .service-card,
body[data-theme='light'] .portfolio-card,
body[data-theme='light'] .process-card,
body[data-theme='light'] .contact-card,
body[data-theme='light'] .contact-form,
body[data-theme='light'] .map-section__frame,
body[data-theme='light'] .whatsapp-widget__panel {
	border-color: var(--line);
	box-shadow: var(--shadow-soft);
}

body[data-theme='light'] .button--primary,
body[data-theme='light'] .whatsapp-widget__toggle {
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	color: #ffffff;
}

body[data-theme='light'] .button--secondary,
body[data-theme='light'] .button--ghost,
body[data-theme='light'] .button--ghost-light,
body[data-theme='light'] .filter-button,
body[data-theme='light'] .filter-button--dark,
body[data-theme='light'] .slider-button,
body[data-theme='light'] .theme-toggle,
body[data-theme='light'] .menu-toggle,
body[data-theme='light'] .social-links a {
	background: #ffffff;
	color: var(--ink);
	border-color: var(--line);
}

body[data-theme='light'] .button--secondary:hover,
body[data-theme='light'] .button--ghost:hover,
body[data-theme='light'] .button--ghost-light:hover,
body[data-theme='light'] .slider-button:hover,
body[data-theme='light'] .theme-toggle:hover,
body[data-theme='light'] .menu-toggle:hover,
body[data-theme='light'] .social-links a:hover {
	color: var(--accent);
	border-color: rgba(198, 18, 47, 0.24);
	background: #fff8fa;
}

.portfolio-slider {
	display: grid;
	gap: 1.5rem;
}

.portfolio-slider__viewport {
	overflow: hidden;
	border-radius: 34px;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-soft);
}

.portfolio-slider__track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.portfolio-slide {
	min-width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	align-items: stretch;
}

.portfolio-slide__media {
	min-height: 430px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.portfolio-slide__body {
	display: grid;
	align-content: center;
	gap: 1rem;
	padding: clamp(1.75rem, 4vw, 3rem);
}

.portfolio-slide__body h3 {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	color: var(--ink);
}

.portfolio-slide__body p {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
	max-width: 38ch;
}

.portfolio-slider__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
}

.portfolio-slider__progress {
	height: 5px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(17, 17, 17, 0.08);
}

.portfolio-slider__progress span {
	display: block;
	width: 100%;
	height: 100%;
	transform-origin: left center;
	transform: scaleX(calc(var(--slider-progress, 16.67) / 100));
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.portfolio-slider__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.slider-button {
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

.slider-button svg {
	width: 18px;
	height: 18px;
}

.slider-button--prev svg {
	transform: rotate(180deg);
}

.slider-dot {
	width: 11px;
	height: 11px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.18);
	transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.slider-dot.is-active {
	width: 34px;
	background: var(--accent);
}

.slider-dot:hover {
	transform: scale(1.08);
}

.has-single-slide .portfolio-slider__actions {
	opacity: 0.45;
	pointer-events: none;
}

.contact-preview__info .section-intro {
	margin-bottom: 1.5rem;
}

.contact-preview__info .section-intro h2 {
	margin-bottom: 0;
}

@media (max-width: 920px) {
	.portfolio-slide {
		grid-template-columns: 1fr;
	}

	.portfolio-slide__media {
		min-height: 320px;
	}

	.portfolio-slider__controls {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.portfolio-slider__viewport {
		border-radius: 26px;
	}

	.portfolio-slide__media {
		min-height: 240px;
	}

	.portfolio-slider__body {
		padding: 1.4rem;
	}

	.portfolio-slider__actions {
		justify-content: space-between;
	}

	.slider-dot.is-active {
		width: 26px;
	}
}

/* === Hero image slider directly below the main menu === */
.hero-slider-section {
	padding: 1rem 0 2.5rem;
	background: var(--bg);
}

.portfolio-slider--hero {
	position: relative;
	gap: 0;
	margin-bottom: var(--space-md);
}

.portfolio-slider--hero .portfolio-slider__viewport {
	border-radius: var(--radius-lg);
	border: 0;
	background: #000000;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.portfolio-slider--hero .portfolio-slide,
.portfolio-slider--hero .portfolio-slide--hero-item {
	min-width: 100%;
	display: block;
	position: relative;
}

.portfolio-slider--hero .portfolio-slide__media {
	position: relative;
	min-height: clamp(480px, 75vh, 820px);
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.portfolio-slide__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: var(--space-lg);
	background: none;
	z-index: 5;
}

.portfolio-slide__title {
	font-size: clamp(2.8rem, 8vw, 6.5rem) !important;
	line-height: 0.88 !important;
	font-weight: 900 !important;
	color: #ffffff !important;
	margin-bottom: var(--space-sm) !important;
	letter-spacing: -0.05em !important;
	text-transform: uppercase;
}

.portfolio-slide__text {
	font-size: clamp(1.15rem, 2.2vw, 1.6rem) !important;
	line-height: 1.4 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	margin-bottom: var(--space-md) !important;
	max-width: 45ch;
	text-wrap: balance;
}

.cards-grid--premium {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--space-md);
}

.service-card--senior {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--radius) !important;
	overflow: hidden;
	transition: all 0.5s var(--ease);
}

.service-card--senior:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

.service-card--senior .service-card__media {
	height: 240px;
	background-size: cover;
	background-position: center;
}

.service-card--senior .service-card__body {
	padding: var(--space-md) !important;
}

.service-card--senior .service-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.service-card--senior .service-card__icon {
	width: 44px;
	height: 44px;
	color: var(--accent);
	background: rgba(249, 32, 38, 0.08);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-card--senior .service-card__icon svg {
	width: 22px;
	height: 22px;
}

.service-card--senior h3 {
	font-size: 1.6rem !important;
	font-weight: 850 !important;
	letter-spacing: -0.04em !important;
	margin-bottom: 0.85rem !important;
}

.service-card--senior p {
	font-size: 1rem !important;
	color: var(--muted);
	margin-bottom: 2rem !important;
}

/* === Home Expertise === */
.home-expertise {
	padding: var(--space-md) 0;
	background: var(--bg-alt);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.expertise-num {
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.expertise-grid {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: var(--space-md);
	text-align: center;
	padding: 2rem 0;
}

.expertise-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.expertise-label {
	font-family: var(--font-display);
	color: var(--muted);
	font-weight: 600;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

@media (max-width: 768px) {
	.expertise-grid {
		flex-direction: column;
		gap: 3rem;
	}
}

/* === Professional Gallery (Portafolio) === */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--space-sm);
}

.portfolio-card {
	border-radius: var(--radius) !important;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition: all 0.5s var(--ease);
}

.portfolio-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

.portfolio-slider--hero .portfolio-slide__media::after {
	content: none;
}

.portfolio-slider--hero .slider-button {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.portfolio-slider--hero .slider-button:hover {
	background: #f92026;
	border-color: #f92026;
	transform: scale(1.15) rotate(5deg);
}

.portfolio-slider__overlay {
	position: absolute;
	left: 1.75rem;
	right: 1.75rem;
	bottom: 1.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	pointer-events: none;
	z-index: 10;
}

.portfolio-slider__overlay .slider-button,
.portfolio-slider__overlay .portfolio-slider__dots {
	pointer-events: auto;
}

.portfolio-slider__overlay .slider-button {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(16px);
	border: 0;
	transition: all 0.3s ease;
}

.portfolio-slider__overlay .slider-button:hover {
	background: #f92026;
	color: #ffffff;
	transform: scale(1.1);
}

.portfolio-slider__overlay .portfolio-slider__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-slider__overlay .slider-dot {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.45);
	border: 0;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-slider__overlay .slider-dot.is-active {
	width: 32px;
	background: #f92026;
	border-radius: 999px;
}

body[data-theme='dark'] .portfolio-slider__overlay .slider-button {
	background: rgba(30, 34, 42, 0.92);
}

body[data-theme='dark'] .portfolio-slider__overlay .portfolio-slider__dots {
	background: rgba(15, 17, 22, 0.4);
	border-color: rgba(255, 255, 255, 0.1);
}

/* === Customizer-controlled hero slider sizing === */
.portfolio-slider--hero .portfolio-slide__media {
	height: min(62vh, var(--hero-slider-desktop, 680px));
	min-height: 320px;
}

@media (max-width: 640px) {
	.portfolio-slider--hero .portfolio-slide__media {
		height: var(--hero-slider-mobile, 240px);
		min-height: var(--hero-slider-mobile, 240px);
	}
}

/* === Fixed dark theme background === */
body[data-theme='dark'],
body[data-theme='dark'] .topbar,
body[data-theme='dark'] .site-header,
body[data-theme='dark'] .site-footer,
body[data-theme='dark'] .hero-slider-section,
body[data-theme='dark'] .section,
body[data-theme='dark'] .section--light,
body[data-theme='dark'] .section--dark,
body[data-theme='dark'] .section--process,
body[data-theme='dark'] .section--contact-preview,
body[data-theme='dark'] .page-hero,
body[data-theme='dark'] .content-section,
body[data-theme='dark'] .map-section,
body[data-theme='dark'] .site-main {
	background: #0f1116;
}

body[data-theme='dark'] {
	--bg: #0f1116;
}

/* === Remove residual decorative overlays near header === */
body,
body[data-theme='dark'] {
	background-image: none !important;
}

body::after,
body[data-theme='dark']::after {
	content: none !important;
	display: none !important;
}

/* === Desktop navigation guard === */
@media (min-width: 721px) {
	.menu-toggle {
		display: none !important;
	}

	.site-navigation__panel {
		position: static !important;
		inset: auto !important;
		width: auto !important;
		padding: 0 !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 1rem !important;
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.menu {
		width: auto !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 0.5rem !important;
	}

	body.menu-open::before {
		content: none !important;
		display: none !important;
	}
}

@media (max-width: 720px) {
	.menu-toggle {
		display: inline-grid !important;
		place-items: center;
		border-radius: 16px;
		background: rgba(255, 255, 255, 0.05);
		border-color: rgba(255, 255, 255, 0.12);
		box-shadow: none;
	}
}

/* === Runtime color sync + premium navigation === */
body[data-theme='dark'],
body[data-theme='dark'] .site-main,
body[data-theme='dark'] .section,
body[data-theme='dark'] .section--light,
body[data-theme='dark'] .section--dark,
body[data-theme='dark'] .section--process,
body[data-theme='dark'] .section--contact-preview,
body[data-theme='dark'] .page-hero,
body[data-theme='dark'] .content-section,
body[data-theme='dark'] .map-section,
body[data-theme='dark'] .site-footer {
	background: var(--bg) !important;
}

body[data-theme='dark'] .topbar {
	background: color-mix(in srgb, var(--bg) 92%, transparent) !important;
}

body[data-theme='dark'] .site-header {
	background: color-mix(in srgb, var(--bg) 90%, transparent) !important;
}

body[data-theme='dark'].scrolled .site-header {
	background: color-mix(in srgb, var(--bg) 95%, transparent) !important;
}

.site-navigation__panel {
	background: var(--menu-bg) !important;
	border: 1px solid color-mix(in srgb, var(--menu-bg) 72%, white 28%) !important;
	border-radius: 999px !important;
	padding: 0.46rem !important;
	gap: 0.4rem !important;
	box-shadow: 0 24px 56px color-mix(in srgb, var(--menu-bg) 24%, transparent) !important;
}

.site-navigation .menu {
	gap: 0.18rem !important;
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: nowrap;
}

.site-navigation .menu li {
	flex: 0 0 auto;
}

.site-navigation .menu li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.92rem 1rem;
	border-radius: 999px;
	color: var(--menu-text) !important;
	font-weight: 700;
	font-size: 0.93rem;
	line-height: 1;
	letter-spacing: -0.01em;
	word-spacing: -0.04em;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-navigation .menu li a:hover,
.site-navigation .current-menu-item>a,
.site-navigation .current_page_item>a {
	color: var(--menu-text) !important;
	background: color-mix(in srgb, var(--menu-text) 14%, transparent) !important;
}

.site-navigation__cta.button--primary {
	background: var(--header-cta-bg) !important;
	color: var(--header-cta-text) !important;
	border-radius: 999px !important;
	box-shadow: 0 16px 32px color-mix(in srgb, var(--header-cta-bg) 40%, transparent) !important;
	flex: 0 0 auto;
	padding: 0.92rem 1.08rem !important;
	font-size: 0.92rem;
	line-height: 1;
	letter-spacing: -0.01em;
	min-height: 54px;
}

.site-navigation__cta.button--primary:hover {
	background: color-mix(in srgb, var(--header-cta-bg) 86%, black 14%) !important;
	color: var(--header-cta-text) !important;
}

@media (min-width: 721px) {
	.site-header__inner {
		gap: clamp(1.1rem, 2.6vw, 1.8rem);
	}

	.site-header__tools {
		margin-left: clamp(0.95rem, 2vw, 1.35rem);
	}

	.site-navigation {
		flex: 0 1 auto;
	}

	.site-navigation__panel {
		justify-content: flex-start !important;
		width: max-content;
		max-width: 100%;
		margin-left: auto;
		gap: 0.22rem !important;
	}

	.site-navigation .menu {
		flex: 0 0 auto;
		gap: 0.12rem !important;
	}

	.site-navigation__cta.button--primary {
		margin-left: 0.02rem;
	}
}

@media (max-width: 720px) {
	.site-navigation__panel {
		background: var(--menu-bg) !important;
		border-radius: 30px !important;
		padding: 1rem !important;
	}

	.site-navigation .menu li a {
		width: 100%;
		justify-content: flex-start;
		padding: 0.95rem 1rem;
	}

	.site-navigation__cta.button--primary {
		width: 100%;
	}
}

/* === White brand refinement === */
body[data-theme='light'] {
	--bg: #ffffff;
	--bg-alt: #ffffff;
	--surface: #ffffff;
	--surface-strong: #ffffff;
	--line: rgba(17, 17, 17, 0.08);
	--ink: #111111;
	--muted: #4f4f4f;
	--accent: #f92026;
	--accent-strong: #d91419;
	--shadow: 0 22px 56px rgba(17, 17, 17, 0.08);
	--shadow-soft: 0 14px 32px rgba(17, 17, 17, 0.06);
}

body[data-theme='light'],
body[data-theme='light'] .site-main,
body[data-theme='light'] .hero-slider-section,
body[data-theme='light'] .section,
body[data-theme='light'] .section--light,
body[data-theme='light'] .section--dark,
body[data-theme='light'] .section--process,
body[data-theme='light'] .section--contact-preview,
body[data-theme='light'] .page-hero,
body[data-theme='light'] .content-section,
body[data-theme='light'] .map-section,
body[data-theme='light'] .site-footer {
	background: #ffffff !important;
	color: var(--ink) !important;
}

body[data-theme='light'] .topbar,
body[data-theme='light'] .site-header,
body[data-theme='light'].scrolled .site-header {
	background: rgba(255, 255, 255, 0.96) !important;
	border-color: rgba(17, 17, 17, 0.08) !important;
}

body[data-theme='light'] .topbar__meta,
body[data-theme='light'] .topbar__phone,
body[data-theme='light'] .topbar__text,
body[data-theme='light'] .contact-card p,
body[data-theme='light'] .content-card p,
body[data-theme='light'] .contact-list li,
body[data-theme='light'] .contact-form__hint,
body[data-theme='light'] .contact-form__status,
body[data-theme='light'] .site-footer p,
body[data-theme='light'] .footer-contact a,
body[data-theme='light'] .footer-list a,
body[data-theme='light'] .footer-menu li a {
	color: var(--muted) !important;
}

body[data-theme='light'] h1,
body[data-theme='light'] h2,
body[data-theme='light'] h3,
body[data-theme='light'] h4,
body[data-theme='light'] h5,
body[data-theme='light'] h6,
body[data-theme='light'] .menu li a,
body[data-theme='light'] .current-menu-item>a,
body[data-theme='light'] .current_page_item>a,
body[data-theme='light'] .site-footer h3,
body[data-theme='light'] .footer-contact span,
body[data-theme='light'] strong {
	color: #111111;
}

body[data-theme='light'] .page-hero--portfolio {
	background: #0f1116 !important;
	color: #ffffff !important;
	padding: clamp(6rem, 10vw, 9rem) 0;
	text-align: center;
}

body[data-theme='light'] .page-hero--portfolio h1 {
	color: #ffffff !important;
	font-size: clamp(3rem, 7vw, 5rem) !important;
}

body[data-theme='light'] .page-hero--portfolio p {
	color: rgba(255, 255, 255, 0.82) !important;
}

body[data-theme='light'] .page-hero--portfolio .section-intro__eyebrow {
	color: #f92026 !important;
}

body[data-theme='light'] .section-intro__eyebrow,
body[data-theme='light'] .text-link,
body[data-theme='light'] .text-link--light,
body[data-theme='light'] .contact-card .icon,
body[data-theme='light'] .contact-list .icon,
body[data-theme='light'] .footer-contact .icon,
body[data-theme='light'] .process-card span,
body[data-theme='light'] .site-footer__label,
body[data-theme='light'] .topbar__phone:hover,
body[data-theme='light'] .footer-menu li a:hover,
body[data-theme='light'] .footer-list a:hover,
body[data-theme='light'] .site-footer__legal a:hover {
	color: #f92026 !important;
}

body[data-theme='light'] .service-card,
body[data-theme='light'] .process-card,
body[data-theme='light'] .contact-card,
body[data-theme='light'] .contact-form,
body[data-theme='light'] .map-section__frame,
body[data-theme='light'] .whatsapp-widget__panel,
body[data-theme='light'] .portfolio-slider--hero {
	background: transparent !important;
	border-color: rgba(17, 17, 17, 0.08) !important;
	box-shadow: var(--shadow-soft) !important;
}

/* === Theme compatibility for hero content === */
body[data-theme='dark'] .portfolio-slide__content {
	background: linear-gradient(90deg,
			rgba(15, 17, 22, 0.9) 0%,
			rgba(15, 17, 22, 0.5) 40%,
			transparent 100%);
}

@media (max-width: 820px) {
	body[data-theme='dark'] .portfolio-slide__content {
		background: linear-gradient(0deg,
				rgba(15, 17, 22, 0.95) 0%,
				rgba(15, 17, 22, 0.6) 50%,
				transparent 50%);
	}
}

body[data-theme='light'] .portfolio-card {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.04) !important;
	box-shadow: 0 12px 36px rgba(171, 11, 34, 0.08) !important;
}

body[data-theme='light'] .button--primary {
	background: #000000 !important;
	color: #ffffff !important;
	box-shadow: 0 16px 34px rgba(249, 32, 38, 0.24) !important;
}

body[data-theme='light'] .button--primary:hover {
	background: #d91419 !important;
}

body[data-theme='light'] .button--secondary,
body[data-theme='light'] .button--ghost,
body[data-theme='light'] .button--ghost-light,
body[data-theme='light'] .filter-button,
body[data-theme='light'] .filter-button--dark,
body[data-theme='light'] .slider-button,
body[data-theme='light'] .social-links a,
body[data-theme='light'] .menu-toggle {
	background: #ffffff !important;
	color: #111111 !important;
	border-color: rgba(17, 17, 17, 0.08) !important;
}

body[data-theme='light'] .site-navigation__panel {
	background: var(--menu-bg) !important;
}

body[data-theme='light'] .site-navigation .menu li a,
body[data-theme='light'] .site-navigation .current-menu-item>a,
body[data-theme='light'] .site-navigation .current_page_item>a {
	color: var(--menu-text) !important;
}

body[data-theme='light'] .site-navigation__cta.button--primary {
	background: var(--header-cta-bg) !important;
	color: var(--header-cta-text) !important;
}

/* === Customizer controls for topbar and service cards === */
body[data-theme='light'] .topbar {
	background: transparent !important;
	border-bottom: 0 !important;
	padding-top: 0.85rem;
}

body[data-theme='light'] .topbar__inner {
	background: var(--topbar-bg) !important;
	color: var(--topbar-text) !important;
	border: 1px solid color-mix(in srgb, var(--topbar-bg) 72%, white 28%);
	border-radius: 999px;
	padding: 0.6rem 1rem;
	box-shadow: 0 20px 48px color-mix(in srgb, var(--topbar-bg) 22%, transparent);
	gap: 1rem;
}

body[data-theme='light'] .topbar__meta {
	padding: 0 !important;
	color: var(--topbar-text) !important;
}

body[data-theme='light'] .topbar__phone,
body[data-theme='light'] .topbar__text,
body[data-theme='light'] .topbar__meta,
body[data-theme='light'] .topbar__meta span,
body[data-theme='light'] .topbar .icon,
body[data-theme='light'] .topbar .icon svg {
	color: var(--topbar-text) !important;
}

body[data-theme='light'] .topbar__divider {
	background: color-mix(in srgb, var(--topbar-text) 35%, transparent) !important;
}

body[data-theme='light'] .topbar .social-links a {
	background: color-mix(in srgb, var(--topbar-text) 14%, transparent) !important;
	color: var(--topbar-text) !important;
	border-color: color-mix(in srgb, var(--topbar-text) 10%, transparent) !important;
	box-shadow: none !important;
}

body[data-theme='light'] .topbar__phone:hover,
body[data-theme='light'] .topbar .social-links a:hover {
	color: var(--topbar-text) !important;
	background: color-mix(in srgb, var(--topbar-text) 20%, transparent) !important;
}

body[data-theme='light'] .service-card {
	background: var(--service-card-bg) !important;
}

@media (max-width: 820px) {
	body[data-theme='light'] .topbar {
		padding-top: 0.5rem;
	}

	body[data-theme='light'] .topbar__inner {
		border-radius: 30px;
		padding: 0.9rem 1rem;
	}

	body[data-theme='light'] .topbar__meta {
		gap: 0.65rem;
	}
}

/* === Global scale refinement for better screen fit === */
:root {
	--container: min(1240px, calc(100vw - 2.75rem));
	--radius: 22px;
	--radius-sm: 16px;
}

body {
	font-size: clamp(15px, 0.96vw, 16px);
}

.hero,
.page-hero,
.section,
.content-section,
.map-section {
	padding: clamp(2.5rem, 5vw, 3.4rem) 0 !important;
}

.hero {
	padding-top: clamp(3rem, 6vw, 4.2rem) !important;
	padding-bottom: clamp(3rem, 6vw, 4rem) !important;
}

.hero__content h1,
.page-hero__content h1 {
	font-size: clamp(2.05rem, 4.5vw, 3.55rem) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.03em;
	max-width: 12ch;
}

.section-intro h2,
.map-section__header h2,
.cta-banner h2 {
	font-size: clamp(1.55rem, 3vw, 2.35rem) !important;
	line-height: 1.12 !important;
}

.content-card h1 {
	font-size: clamp(1.9rem, 3.2vw, 2.65rem) !important;
}

.content-card h2 {
	font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
}

.content-card h3,
.content-card h4,
.site-footer__column h3,
.site-footer__brand h2 {
	font-size: clamp(1.02rem, 1.7vw, 1.24rem) !important;
	line-height: 1.2;
}

.hero__stats strong,
.process-card h3,
.service-card h2,
.service-card h3,
.portfolio-card h2,
.portfolio-card h3,
.contact-card strong,
.glass-card h2,
.glass-card h3 {
	font-size: clamp(1rem, 1.5vw, 1.16rem) !important;
	line-height: 1.2;
}

.hero__content p,
.page-hero__content p,
.section-intro p,
.service-card__body p,
.portfolio-card__body p,
.glass-card p,
.process-card p,
.contact-card p,
.content-card p,
.site-footer p,
.value-item span,
.contact-list li,
.footer-list a,
.footer-menu li a,
.footer-contact a {
	font-size: 0.98rem;
	line-height: 1.68;
}

.menu li a,
.site-navigation__cta,
.button,
.topbar__phone,
.topbar__text {
	font-size: 0.94rem;
}

.hero__actions {
	margin: 1.35rem 0 1.55rem !important;
}

.hero__stats li,
.stat-card,
.process-card,
.contact-card,
.value-item,
.hero__panel,
.glass-card,
.service-card,
.portfolio-card,
.content-card,
.whatsapp-widget__panel,
.contact-form {
	border-radius: 20px !important;
}

.hero__panel,
.glass-card,
.contact-form,
.content-card--page {
	padding: clamp(1.05rem, 2vw, 1.45rem) !important;
}

.service-card__body,
.content-card {
	padding: 1.15rem !important;
}

.portfolio-card__body {
	padding: 1.8rem 1.45rem !important;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	border-top: 4px solid #f92026;
}

.portfolio-card__body .pill {
	align-self: flex-start;
	background: rgba(249, 32, 38, 0.08) !important;
	color: #f92026 !important;
	font-weight: 800;
	font-size: 0.72rem;
}

.portfolio-card__body h3 {
	font-size: 1.45rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
	margin: 0.2rem 0 !important;
}

.portfolio-card__body h3 a:hover {
	color: #f92026 !important;
}

.portfolio-card__body p {
	color: #555555 !important;
	font-size: 0.94rem !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

.portfolio-card__body .text-link {
	margin-top: 0.8rem;
	color: #f92026 !important;
	text-transform: uppercase;
	font-size: 0.82rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em;
}

.cards-grid,
.portfolio-grid,
.process-grid,
.stats-grid,
.contact-cards,
.value-list,
.site-footer__grid {
	gap: clamp(1rem, 2vw, 1.35rem) !important;
}

.cards-grid--services {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}

.portfolio-grid,
.portfolio-grid--full {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}

.portfolio-grid--full .portfolio-card:nth-child(3n+2) {
	transform: none !important;
}

.portfolio-slider--hero .portfolio-slide__media {
	height: min(54vh, var(--hero-slider-desktop, 560px)) !important;
	min-height: 300px !important;
}

.map-section__header {
	text-align: center;
	margin-bottom: 3rem;
}

.map-section__frame {
	width: min(720px, calc(100vw - 3rem)) !important;
	border-radius: 28px !important;
	margin: 0 auto;
}

.map-section iframe {
	height: 280px !important;
}

.site-footer {
	padding: 3rem 0 1.7rem !important;
}

.site-footer__grid {
	grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.9fr));
}

@media (max-width: 1024px) {
	:root {
		--container: min(100vw - 2rem, 1200px);
	}

	.hero__content h1,
	.page-hero__content h1 {
		max-width: 14ch;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 820px) {
	:root {
		--container: calc(100vw - 1.35rem);
	}

	body {
		font-size: 15px;
	}

	.hero,
	.page-hero,
	.section,
	.content-section,
	.map-section {
		padding: 2.25rem 0 !important;
	}

	.hero__content h1,
	.page-hero__content h1 {
		font-size: clamp(1.8rem, 8vw, 2.6rem) !important;
		max-width: 100%;
	}

	.section-intro h2,
	.map-section__header h2,
	.cta-banner h2 {
		font-size: clamp(1.35rem, 6vw, 1.9rem) !important;
	}

	.service-card__body,
	.portfolio-card__body,
	.content-card,
	.contact-form,
	.content-card--page {
		padding: 1rem !important;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	:root {
		--container: calc(100vw - 1rem);
	}

	.hero-slider-section {
		padding-bottom: 1.5rem !important;
	}

	.portfolio-slider--hero .portfolio-slide__media {
		height: min(52vw, var(--hero-slider-mobile, 220px)) !important;
		min-height: 210px !important;
	}

	.map-section__frame {
		width: calc(100vw - 1rem) !important;
	}

	.map-section iframe {
		height: 280px !important;
	}
}

/* === Testimonials and client logos above the map === */
.testimonials-section {
	padding: clamp(1.7rem, 3vw, 2.3rem) 0 0.8rem;
	background: #ffffff;
}

.testimonials-section__header {
	margin-bottom: 1rem;
	text-align: center;
}

.testimonials-section__title {
	margin: 0;
	font-size: clamp(1.45rem, 2.7vw, 2.15rem);
	line-height: 1.08;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.testimonial-card {
	display: grid;
	gap: 0.7rem;
	padding: 1rem 1rem 0.95rem;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid rgba(17, 17, 17, 0.06);
	box-shadow: 0 14px 28px rgba(17, 17, 17, 0.05);
}

.testimonial-card__stars {
	font-size: 1.14rem;
	letter-spacing: 0.18em;
	line-height: 1;
	color: #f92026;
}

.testimonial-card__quote {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.6;
	font-style: italic;
	color: #23262e;
}

.testimonial-card__meta {
	display: grid;
	gap: 0.18rem;
}

.testimonial-card__meta strong {
	font-size: 0.92rem;
	line-height: 1.2;
	color: #111111;
}

.testimonial-card__meta span {
	font-size: 0.84rem;
	line-height: 1.35;
	color: #5d6470;
}

.clients-section {
	padding: clamp(1.3rem, 2.5vw, 1.8rem) 0 0.7rem;
	background: #ffffff;
}

.clients-section__header {
	margin-bottom: 0.8rem;
}

.clients-section__header h2 {
	margin: 0.35rem 0 0;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	line-height: 1.12;
}

.clients-logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.8rem;
}

.client-logo-card {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 0.85rem;
	background: #ffffff;
	border: 0;
	border-radius: 16px;
	box-shadow: none;
	transition: transform 0.22s ease;
}

.client-logo-card:hover {
	transform: translateY(-2px);
}

.client-logo-image {
	display: block;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

@media (max-width: 640px) {
	.testimonials-grid {
		grid-template-columns: 1fr;
		gap: 0.7rem;
	}

	.testimonial-card {
		padding: 0.9rem 0.9rem 0.85rem;
		border-radius: 16px;
	}

	.clients-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.client-logo-card {
		padding: 0.6rem 0.7rem;
		border-radius: 14px;
	}
}

/* === Final dark mode parity === */
body[data-theme='dark'],
body[data-theme='dark'] .site-main,
body[data-theme='dark'] .hero-slider-section,
body[data-theme='dark'] .section,
body[data-theme='dark'] .section--light,
body[data-theme='dark'] .section--dark,
body[data-theme='dark'] .section--process,
body[data-theme='dark'] .section--contact-preview,
body[data-theme='dark'] .page-hero,
body[data-theme='dark'] .content-section,
body[data-theme='dark'] .map-section,
body[data-theme='dark'] .site-footer,
body[data-theme='dark'] .testimonials-section,
body[data-theme='dark'] .clients-section {
	background: var(--bg) !important;
	color: var(--ink) !important;
}

body[data-theme='dark'] .topbar {
	background: transparent !important;
	border-bottom: 0 !important;
	padding-top: 0.85rem;
}

body[data-theme='dark'] .topbar__inner {
	background: color-mix(in srgb, var(--surface-strong) 92%, black 8%) !important;
	color: var(--ink) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 999px;
	padding: 0.6rem 1rem;
	box-shadow: var(--shadow-soft) !important;
	gap: 1rem;
}

body[data-theme='dark'] .topbar__meta {
	padding: 0 !important;
}

body[data-theme='dark'] .topbar__phone,
body[data-theme='dark'] .topbar .icon,
body[data-theme='dark'] .topbar .icon svg {
	color: var(--ink) !important;
}

body[data-theme='dark'] .topbar__text,
body[data-theme='dark'] .topbar__meta,
body[data-theme='dark'] .topbar__meta span,
body[data-theme='dark'] .contact-card p,
body[data-theme='dark'] .content-card p,
body[data-theme='dark'] .contact-list li,
body[data-theme='dark'] .contact-form__hint,
body[data-theme='dark'] .contact-form__status,
body[data-theme='dark'] .site-footer p,
body[data-theme='dark'] .footer-contact a,
body[data-theme='dark'] .footer-list a,
body[data-theme='dark'] .footer-menu li a,
body[data-theme='dark'] .section-intro p,
body[data-theme='dark'] .map-section__header p,
body[data-theme='dark'] .service-card__body p,
body[data-theme='dark'] .portfolio-card__body p,
body[data-theme='dark'] .whatsapp-widget__header p {
	color: var(--muted) !important;
}

body[data-theme='dark'] h1,
body[data-theme='dark'] h2,
body[data-theme='dark'] h3,
body[data-theme='dark'] h4,
body[data-theme='dark'] h5,
body[data-theme='dark'] h6,
body[data-theme='dark'] strong,
body[data-theme='dark'] .site-footer h3,
body[data-theme='dark'] .footer-contact span,
body[data-theme='dark'] .menu li a,
body[data-theme='dark'] .current-menu-item>a,
body[data-theme='dark'] .current_page_item>a {
	color: var(--ink) !important;
}

body[data-theme='dark'] .section-intro__eyebrow,
body[data-theme='dark'] .text-link,
body[data-theme='dark'] .text-link--light,
body[data-theme='dark'] .contact-card .icon,
body[data-theme='dark'] .contact-list .icon,
body[data-theme='dark'] .footer-contact .icon,
body[data-theme='dark'] .process-card span,
body[data-theme='dark'] .site-footer__label,
body[data-theme='dark'] .topbar__phone:hover,
body[data-theme='dark'] .footer-menu li a:hover,
body[data-theme='dark'] .footer-list a:hover,
body[data-theme='dark'] .site-footer__legal a:hover {
	color: var(--accent) !important;
}

body[data-theme='dark'] .service-card,
body[data-theme='dark'] .portfolio-card,
body[data-theme='dark'] .process-card,
body[data-theme='dark'] .contact-card,
body[data-theme='dark'] .contact-form,
body[data-theme='dark'] .map-section__frame,
body[data-theme='dark'] .whatsapp-widget__panel,
body[data-theme='dark'] .portfolio-slider--hero,
body[data-theme='dark'] .content-card,
body[data-theme='dark'] .glass-card,
body[data-theme='dark'] .value-item,
body[data-theme='dark'] .hero__panel,
body[data-theme='dark'] .stat-card,
body[data-theme='dark'] .client-logo-card,
body[data-theme='dark'] .testimonial-card {
	background: var(--surface-strong) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: var(--shadow-soft) !important;
	color: var(--ink) !important;
}

body[data-theme='dark'] .service-card {
	background: var(--surface-strong) !important;
}

body[data-theme='dark'] .button--secondary,
body[data-theme='dark'] .button--ghost,
body[data-theme='dark'] .button--ghost-light,
body[data-theme='dark'] .filter-button,
body[data-theme='dark'] .filter-button--dark,
body[data-theme='dark'] .slider-button,
body[data-theme='dark'] .social-links a,
body[data-theme='dark'] .menu-toggle,
body[data-theme='dark'] .theme-toggle {
	background: var(--surface-strong) !important;
	color: var(--ink) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-theme='dark'] .button--secondary:hover,
body[data-theme='dark'] .button--ghost:hover,
body[data-theme='dark'] .button--ghost-light:hover,
body[data-theme='dark'] .filter-button:hover,
body[data-theme='dark'] .filter-button--dark:hover,
body[data-theme='dark'] .slider-button:hover,
body[data-theme='dark'] .social-links a:hover,
body[data-theme='dark'] .menu-toggle:hover,
body[data-theme='dark'] .theme-toggle:hover {
	background: color-mix(in srgb, var(--accent) 18%, var(--surface-strong)) !important;
	color: var(--ink) !important;
}

body[data-theme='dark'] .topbar .social-links a {
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--ink) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
}

body[data-theme='dark'] .topbar .social-links a:hover {
	background: color-mix(in srgb, var(--accent) 22%, var(--surface-strong)) !important;
}

body[data-theme='dark'] .contact-form input,
body[data-theme='dark'] .contact-form textarea {
	background: color-mix(in srgb, var(--surface-strong) 86%, black 14%) !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: var(--ink) !important;
}

body[data-theme='dark'] .contact-form input::placeholder,
body[data-theme='dark'] .contact-form textarea::placeholder {
	color: color-mix(in srgb, var(--muted) 76%, transparent) !important;
}

body[data-theme='dark'] .contact-form input:focus,
body[data-theme='dark'] .contact-form textarea:focus {
	border-color: color-mix(in srgb, var(--accent) 48%, white 12%) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent) !important;
	background: color-mix(in srgb, var(--surface-strong) 92%, black 8%) !important;
}

body[data-theme='dark'] .topbar__divider {
	background: rgba(255, 255, 255, 0.14) !important;
}

body[data-theme='dark'] .clients-section__header h2,
body[data-theme='dark'] .clients-section__header .section-intro__eyebrow,
body[data-theme='dark'] .testimonials-section__title,
body[data-theme='dark'] .testimonial-card__meta strong {
	color: var(--ink) !important;
}

body[data-theme='dark'] .client-logo-card {
	background: color-mix(in srgb, var(--surface-strong) 95%, black 5%) !important;
	border: 0 !important;
	box-shadow: none !important;
}

body[data-theme='dark'] .testimonial-card__quote,
body[data-theme='dark'] .testimonial-card__meta span {
	color: var(--muted) !important;
}

@media (max-width: 820px) {
	body[data-theme='dark'] .topbar {
		padding-top: 0.5rem;
	}

	body[data-theme='dark'] .topbar__inner {
		border-radius: 30px;
		padding: 0.9rem 1rem;
	}
}

body[data-theme='dark'] .site-navigation__panel {
	background: var(--topbar-bg) !important;
	border: 1px solid color-mix(in srgb, var(--topbar-bg) 72%, white 28%) !important;
	box-shadow: 0 20px 48px color-mix(in srgb, var(--topbar-bg) 22%, transparent) !important;
}

body[data-theme='dark'] .site-navigation .menu li a,
body[data-theme='dark'] .site-navigation .current-menu-item>a,
body[data-theme='dark'] .site-navigation .current_page_item>a {
	color: var(--topbar-text) !important;
}

body[data-theme='dark'] .site-navigation .menu li a:hover,
body[data-theme='dark'] .site-navigation .current-menu-item>a,
body[data-theme='dark'] .site-navigation .current_page_item>a {
	color: var(--topbar-text) !important;
	background: color-mix(in srgb, var(--topbar-text) 16%, transparent) !important;
}

body[data-theme='dark'] .topbar__meta,
body[data-theme='dark'] .topbar__phone,
body[data-theme='dark'] .topbar__text,
body[data-theme='dark'] .topbar__meta span,
body[data-theme='dark'] .topbar .icon,
body[data-theme='dark'] .topbar .icon svg {
	color: var(--topbar-text) !important;
}

body[data-theme='dark'] .topbar__divider {
	background: color-mix(in srgb, var(--topbar-text) 35%, transparent) !important;
}

body[data-theme='dark'] .topbar .social-links a {
	background: color-mix(in srgb, var(--topbar-text) 14%, transparent) !important;
	color: var(--topbar-text) !important;
	border-color: color-mix(in srgb, var(--topbar-text) 10%, transparent) !important;
	box-shadow: none !important;
}

body[data-theme='dark'] .topbar__phone:hover,
body[data-theme='dark'] .topbar .social-links a:hover {
	color: var(--topbar-text) !important;
	background: color-mix(in srgb, var(--topbar-text) 20%, transparent) !important;
}

/* === Dark mode customizer sync === */
body[data-theme='dark'] .topbar__inner {
	background: var(--topbar-bg) !important;
	color: var(--topbar-text) !important;
	border: 1px solid color-mix(in srgb, var(--topbar-bg) 72%, white 28%) !important;
	box-shadow: 0 20px 48px color-mix(in srgb, var(--topbar-bg) 22%, transparent) !important;
}

body[data-theme='dark'] .topbar__meta,
body[data-theme='dark'] .topbar__phone,
body[data-theme='dark'] .topbar__text,
body[data-theme='dark'] .topbar__meta span,
body[data-theme='dark'] .topbar .icon,
body[data-theme='dark'] .topbar .icon svg {
	color: var(--topbar-text) !important;
}

body[data-theme='dark'] .topbar__divider {
	background: color-mix(in srgb, var(--topbar-text) 35%, transparent) !important;
}

body[data-theme='dark'] .topbar .social-links a {
	background: color-mix(in srgb, var(--topbar-text) 14%, transparent) !important;
	color: var(--topbar-text) !important;
	border-color: color-mix(in srgb, var(--topbar-text) 10%, transparent) !important;
}

body[data-theme='dark'] .topbar__phone:hover,
body[data-theme='dark'] .topbar .social-links a:hover {
	color: var(--topbar-text) !important;
	background: color-mix(in srgb, var(--topbar-text) 20%, transparent) !important;
}

body[data-theme='dark'] .site-navigation__panel {
	background: var(--menu-bg) !important;
	border: 1px solid color-mix(in srgb, var(--menu-bg) 72%, white 28%) !important;
	box-shadow: 0 20px 48px color-mix(in srgb, var(--menu-bg) 22%, transparent) !important;
}

body[data-theme='dark'] .site-navigation .menu li a,
body[data-theme='dark'] .site-navigation .current-menu-item>a,
body[data-theme='dark'] .site-navigation .current_page_item>a {
	color: var(--menu-text) !important;
}

body[data-theme='dark'] .site-navigation .menu li a:hover,
body[data-theme='dark'] .site-navigation .current-menu-item>a,
body[data-theme='dark'] .site-navigation .current_page_item>a {
	color: var(--menu-text) !important;
	background: color-mix(in srgb, var(--menu-text) 16%, transparent) !important;
}

body[data-theme='dark'] .site-navigation__cta.button--primary {
	background: var(--header-cta-bg) !important;
	color: var(--header-cta-text) !important;
	box-shadow: 0 16px 32px color-mix(in srgb, var(--header-cta-bg) 40%, transparent) !important;
}

body[data-theme='dark'] .site-navigation__cta.button--primary:hover {
	background: color-mix(in srgb, var(--header-cta-bg) 86%, black 14%) !important;
	color: var(--header-cta-text) !important;
}

body[data-theme='dark'] .service-card {
	background: var(--service-card-bg) !important;
}

/* === Header CTA without neon glow === */
.site-navigation__cta.button--primary,
.site-navigation__cta.button--primary:hover,
.site-navigation__cta.button--primary:focus-visible,
body[data-theme='light'] .site-navigation__cta.button--primary,
body[data-theme='light'] .site-navigation__cta.button--primary:hover,
body[data-theme='dark'] .site-navigation__cta.button--primary,
body[data-theme='dark'] .site-navigation__cta.button--primary:hover {
	box-shadow: none !important;
	text-shadow: none !important;
}

/* === Mobile rescue layout === */
@media (max-width: 820px) {

	html,
	body {
		overflow-x: hidden;
	}

	.topbar__inner {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0.75rem !important;
	}

	.topbar__meta {
		width: 100%;
		flex-wrap: wrap;
		gap: 0.65rem !important;
	}

	.topbar__actions {
		width: 100%;
		justify-content: flex-end;
	}

	.social-links {
		flex-wrap: wrap;
	}

	.site-header__inner {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.75rem !important;
	}

	.site-branding {
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-branding__link--logo,
	.custom-logo-link {
		max-width: 100%;
	}

	.site-branding__logo-image,
	.custom-logo-link img {
		max-width: min(52vw, 190px);
		height: auto !important;
		max-height: 52px;
	}

	.site-header__tools {
		margin-left: auto;
		display: flex;
		align-items: center;
		gap: 0.55rem !important;
		flex: 0 0 auto;
	}

	.menu-toggle {
		flex: 0 0 auto;
	}

	.site-navigation__panel {
		position: absolute !important;
		top: calc(100% + 0.75rem) !important;
		right: 0 !important;
		left: auto !important;
		width: min(92vw, 360px) !important;
		max-height: calc(100vh - 7.5rem);
		overflow-y: auto;
		border-radius: 24px !important;
	}

	.portfolio-slide {
		grid-template-columns: 1fr !important;
	}

	.portfolio-slide__media,
	.portfolio-slider--hero .portfolio-slide__media {
		min-height: 260px !important;
	}

	.portfolio-slide__body {
		padding: 1.1rem !important;
	}

	.cards-grid--services,
	.portfolio-grid,
	.portfolio-grid--full,
	.contact-cards,
	.value-list,
	.contact-page-grid,
	.split-layout {
		grid-template-columns: 1fr !important;
	}

	.map-section__frame,
	.portfolio-slider__viewport,
	.portfolio-slider--hero {
		width: 100% !important;
		border-radius: 24px !important;
		overflow: hidden;
	}
}

@media (max-width: 640px) {
	.topbar__phone {
		width: 100%;
		justify-content: flex-start;
	}

	.topbar__text,
	.topbar__divider {
		display: none;
	}

	.site-navigation__panel {
		width: calc(100vw - 1rem) !important;
	}

	.portfolio-slider--hero .portfolio-slide__media {
		height: clamp(220px, 52vw, 280px) !important;
		min-height: 220px !important;
	}

	.site-footer__bottom {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.75rem !important;
	}
}

.menu-toggle__label {
	display: none;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 820px) {
	.menu-toggle {
		width: auto !important;
		min-width: 84px;
		padding-inline: 0.95rem;
		gap: 0.45rem;
		border-radius: 16px;
		justify-content: center !important;
		text-align: center;
	}

	.menu-toggle__label {
		display: inline-block;
		text-align: center;
	}
}

/* Final mobile fit for the WhatsApp contact panel */
@media (max-width: 640px) {
	.whatsapp-widget {
		left: 0.75rem !important;
		right: 0.75rem !important;
		bottom: 0.75rem !important;
	}

	.whatsapp-widget__panel {
		max-height: min(74dvh, 500px) !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		padding: 1rem !important;
		border-radius: 22px !important;
	}

	.whatsapp-widget__header {
		margin-bottom: 0.75rem !important;
		gap: 0.75rem !important;
	}

	.whatsapp-widget__header p {
		font-size: 0.82rem !important;
		line-height: 1.35;
	}

	.contact-form--compact .contact-form__grid {
		gap: 0.75rem !important;
	}

	.contact-form--compact label {
		gap: 0.3rem !important;
	}

	.contact-form--compact span {
		font-size: 0.82rem !important;
	}

	.contact-form--compact input,
	.contact-form--compact textarea {
		padding: 0.8rem 0.9rem !important;
		border-radius: 14px !important;
	}

	.contact-form--compact textarea {
		min-height: 92px !important;
		max-height: 18dvh;
	}

	.contact-form--compact .contact-form__actions {
		margin-top: 0.75rem !important;
		gap: 0.5rem !important;
	}

	.contact-form--compact .button {
		width: 100%;
		justify-content: center;
	}

	.contact-form--compact .contact-form__hint,
	.contact-form--compact .contact-form__status {
		font-size: 0.8rem !important;
		line-height: 1.35;
	}
}

/* Safety hide for stale cached home CTA above Clients */
.home .section__footer,
.home a.button.button--secondary[href*='productos-y-servicios'] {
	display: none !important;
}

/* Home refinement */
.hero-slider-section--elevated {
	padding: 0.9rem 0 1.9rem;
}

.portfolio-slider--hero {
	border-radius: 36px;
	overflow: hidden;
	background: #0f1116;
	box-shadow: 0 26px 56px rgba(17, 17, 17, 0.12);
}

.portfolio-slider--hero .portfolio-slide__media::after {
	background: none;
}

.portfolio-slider__overlay {
	left: 1.2rem;
	right: 1.2rem;
	bottom: 1.2rem;
}

.portfolio-slider__overlay .slider-button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	box-shadow: 0 14px 24px rgba(17, 17, 17, 0.1);
}

.portfolio-slider__overlay .portfolio-slider__dots {
	padding: 0.58rem 0.82rem;
	box-shadow: 0 14px 24px rgba(17, 17, 17, 0.1);
}

.home-intro-card {
	display: grid;
	gap: 0.55rem;
	max-width: 760px;
	margin: -2.1rem auto 0;
	padding: 1rem 1.2rem 1.05rem;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 24px;
	border: 1px solid rgba(17, 17, 17, 0.06);
	box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
	position: relative;
	z-index: 3;
	text-align: center;
}

.home-intro-card__eyebrow {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #f92026;
}

.home-intro-card p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.68;
	color: #22252c;
}

.section--services-home {
	padding-top: 2.4rem;
}

.section--services-home .section-intro {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.section--services-home .section-intro h2 {
	max-width: 12ch;
	margin-inline: auto;
}

.section--services-home .section-intro p {
	max-width: 58ch;
	margin-inline: auto;
}

.section--services-home .cards-grid--services {
	margin-top: 0.55rem;
}

.service-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(17, 17, 17, 0.06);
	box-shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 52px rgba(17, 17, 17, 0.1);
}

.service-card__media {
	min-height: 230px;
}

.service-card__media::after {
	background: linear-gradient(180deg, rgba(17, 17, 17, 0) 12%, rgba(17, 17, 17, 0.18) 100%);
}

.service-card__body {
	display: grid;
	gap: 0.85rem;
	padding: 1.2rem !important;
}

.service-card__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.service-card__index {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.42);
}

.service-card h3 {
	font-size: clamp(1.04rem, 1.6vw, 1.2rem) !important;
	line-height: 1.16;
}

.service-card__body p {
	line-height: 1.62;
	color: #3d434d;
}

.service-card .text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
}

body[data-theme='dark'] .portfolio-slider--hero {
	background: var(--surface-strong) !important;
	box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}

body[data-theme='dark'] .home-intro-card {
	background: color-mix(in srgb, var(--surface-strong) 92%, black 8%) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

body[data-theme='dark'] .home-intro-card p,
body[data-theme='dark'] .service-card__body p,
body[data-theme='dark'] .service-card__index {
	color: var(--muted) !important;
}

body[data-theme='dark'] .service-card {
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2) !important;
}

body[data-theme='dark'] .service-card:hover {
	box-shadow: 0 26px 54px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 820px) {
	.hero-slider-section--elevated {
		padding-bottom: 1.45rem;
	}

	.home-intro-card {
		margin-top: -1.3rem;
		padding: 0.9rem 1rem 0.95rem;
		border-radius: 20px;
	}

	.section--services-home {
		padding-top: 1.9rem;
	}
}

@media (max-width: 640px) {
	.portfolio-slider--hero {
		border-radius: 24px;
	}

	.portfolio-slider__overlay {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.portfolio-slider__overlay .slider-button {
		width: 40px;
		height: 40px;
	}

	.portfolio-slider__overlay .portfolio-slider__dots {
		padding: 0.5rem 0.7rem;
		gap: 0.5rem;
	}

	.home-intro-card {
		margin-top: -0.9rem;
		gap: 0.45rem;
		text-align: left;
	}

	.home-intro-card p {
		font-size: 0.92rem;
		line-height: 1.58;
	}

	.section--services-home .section-intro {
		text-align: left;
	}

	.section--services-home .section-intro h2,
	.section--services-home .section-intro p {
		margin-inline: 0;
	}

	.service-card__media {
		min-height: 210px;
	}

	.service-card__body {
		padding: 1rem !important;
		gap: 0.75rem;
	}
}

/* Final WhatsApp widget refinement */
.whatsapp-widget {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.whatsapp-widget__toggle {
	background: #25d366 !important;
	color: #ffffff !important;
	box-shadow: 0 18px 36px rgba(37, 211, 102, 0.24) !important;
}

.whatsapp-widget__toggle:hover {
	background: #1ebe5b !important;
}

.whatsapp-widget__toggle-icon,
.whatsapp-widget__toggle-icon svg {
	color: inherit !important;
	fill: currentColor;
}

.whatsapp-widget__toggle-icon svg {
	width: 1.2rem;
	height: 1.2rem;
}

.whatsapp-widget__panel {
	width: min(360px, calc(100vw - 2rem));
	margin-top: 0.85rem;
}

.whatsapp-widget.is-open .whatsapp-widget__toggle {
	display: none !important;
}

.whatsapp-widget.is-open .whatsapp-widget__panel {
	display: block;
	margin-top: 0;
}

body[data-theme='dark'] .whatsapp-widget__toggle {
	background: #25d366 !important;
	color: #ffffff !important;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24) !important;
}

@media (max-width: 640px) {
	.whatsapp-widget.is-open .whatsapp-widget__panel {
		width: 100%;
	}
}

/* Blog guide */
.page-hero--blog-guide .page-hero__content {
	max-width: 44rem;
}

.blog-guide-section {
	padding-top: 1.2rem !important;
}

.blog-guide-layout,
.blog-post-layout--with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
	gap: 1.35rem;
	align-items: start;
}

.blog-guide-main {
	min-width: 0;
}

.blog-sidebar {
	display: grid;
	gap: 1rem;
	position: sticky;
	top: 1.35rem;
}

.blog-sidebar__card {
	display: grid;
	gap: 0.8rem;
	padding: 1.2rem;
	border-radius: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

.blog-sidebar__card h2 {
	margin: 0;
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	line-height: 1.15;
}

.blog-sidebar__list,
.blog-sidebar__posts {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-sidebar__list li,
.blog-sidebar__posts li {
	margin: 0;
}

.blog-sidebar__list a,
.blog-sidebar__posts a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.8rem 0.9rem;
	border-radius: 18px;
	background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
	color: var(--ink);
	text-decoration: none;
	border: 1px solid var(--line);
}

.blog-sidebar__list a:hover,
.blog-sidebar__posts a:hover {
	border-color: color-mix(in srgb, var(--accent) 40%, transparent);
	transform: translateY(-2px);
}

.blog-sidebar__list strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--accent) 14%, white 86%);
	color: var(--accent);
	font-size: 0.82rem;
}

.blog-sidebar__post-title {
	display: block;
	font-weight: 700;
	line-height: 1.3;
}

.blog-sidebar__post-meta {
	display: block;
	font-size: 0.8rem;
	color: var(--muted);
	text-align: right;
}

.blog-guide-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 1.25rem;
	align-items: stretch;
	margin-bottom: 1.4rem;
}

.blog-guide-feature__media,
.blog-guide-card__media {
	display: block;
	position: relative;
	min-height: 280px;
	border-radius: 24px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.blog-guide-feature__media::after,
.blog-guide-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.02) 0%, rgba(17, 17, 17, 0.18) 100%);
}

.blog-guide-feature__body {
	display: grid;
	align-content: center;
	gap: 0.9rem;
	padding: 1.6rem;
	border-radius: 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

.blog-guide-feature__label,
.blog-post__footer-label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.blog-guide-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.blog-guide-meta a {
	color: inherit;
}

.blog-guide-meta__divider {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--accent) 72%, white 28%);
}

.blog-guide-feature__body h2,
.blog-guide-card__body h2 {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.7rem);
	line-height: 1.12;
}

.blog-guide-feature__body h2 a,
.blog-guide-card__body h2 a {
	color: var(--ink);
	text-decoration: none;
}

.blog-guide-feature__body p,
.blog-guide-card__body p,
.blog-post__prose p {
	color: var(--muted);
}

.blog-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.2rem;
}

.blog-guide-card {
	display: grid;
	gap: 0;
	overflow: hidden;
	padding: 0 !important;
}

.blog-guide-card__body {
	display: grid;
	gap: 0.85rem;
	padding: 1.2rem;
}

.blog-guide-card__media {
	min-height: 220px;
	border-radius: 20px 20px 0 0;
}

.blog-post-hero .page-hero__content {
	max-width: 42rem;
}

.blog-guide-meta--hero {
	margin-top: 0.35rem;
}

.blog-post-layout {
	max-width: 860px;
}

.blog-post-layout--with-sidebar {
	max-width: none;
}

.content-card--blog {
	padding: clamp(1.4rem, 3vw, 2rem) !important;
}

.blog-post__prose>*:first-child {
	margin-top: 0;
}

.blog-post__prose img {
	border-radius: 20px;
}

.blog-post__prose ul,
.blog-post__prose ol {
	padding-left: 1.2rem;
	color: var(--muted);
}

.blog-post__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.blog-post__categories {
	display: grid;
	gap: 0.65rem;
}

.blog-guide-section .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin: 1.6rem 0 0;
	padding: 0;
	list-style: none;
}

.blog-guide-section .page-numbers li {
	margin: 0;
}

.blog-guide-section .page-numbers a,
.blog-guide-section .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--shadow-soft);
}

.blog-guide-section .page-numbers .current,
.blog-guide-section .page-numbers a:hover {
	border-color: transparent;
	background: var(--accent);
	color: #ffffff;
}

body[data-theme='dark'] .blog-guide-feature__body,
body[data-theme='dark'] .blog-sidebar__card,
body[data-theme='dark'] .blog-guide-card,
body[data-theme='dark'] .blog-guide-section .page-numbers a,
body[data-theme='dark'] .blog-guide-section .page-numbers span {
	background: var(--surface);
	border-color: var(--line);
	box-shadow: var(--shadow-soft);
}

body[data-theme='dark'] .blog-guide-feature__media::after,
body[data-theme='dark'] .blog-guide-card__media::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.32) 100%);
}

body[data-theme='dark'] .blog-sidebar__list a,
body[data-theme='dark'] .blog-sidebar__posts a {
	background: color-mix(in srgb, var(--surface) 92%, black 8%);
	border-color: var(--line);
}

body[data-theme='dark'] .blog-sidebar__list strong {
	background: color-mix(in srgb, var(--accent) 22%, black 78%);
}

@media (max-width: 820px) {

	.blog-guide-layout,
	.blog-post-layout--with-sidebar {
		grid-template-columns: 1fr;
	}

	.blog-sidebar {
		position: static;
		order: 2;
	}

	.blog-guide-feature {
		grid-template-columns: 1fr;
	}

	.blog-guide-feature__media {
		min-height: 250px;
	}
}

@media (max-width: 640px) {
	.blog-guide-section {
		padding-top: 0.7rem !important;
	}

	.blog-guide-feature__media,
	.blog-guide-card__media {
		min-height: 220px;
		border-radius: 20px;
	}

	.blog-guide-card__media {
		border-radius: 20px 20px 0 0;
	}

	.blog-guide-feature__body,
	.blog-guide-card__body {
		padding: 1rem;
	}

	.blog-sidebar__card {
		padding: 1rem;
	}

	.blog-post__footer {
		align-items: stretch;
	}

	.blog-post__footer .button {
		width: 100%;
		justify-content: center;
	}
}

/* Custom content styles */
.content-section a:not(.button):not(.pill),
.content-container a:not(.button):not(.pill),
.content-card a:not(.button):not(.pill),
.entry-content a:not(.button):not(.pill),
.blog-post__prose a:not(.button):not(.pill),
.portfolio-card__body a:not(.button):not(.pill) {
	color: #f92026 !important;
	text-decoration: underline;
}

.content-section a:not(.button):not(.pill):hover,
.content-container a:not(.button):not(.pill):hover,
.content-card a:not(.button):not(.pill):hover,
.entry-content a:not(.button):not(.pill):hover,
.blog-post__prose a:not(.button):not(.pill):hover,
.portfolio-card__body a:not(.button):not(.pill):hover {
	color: #d91419 !important;
}

/* Content Images Adjustment */
.blog-post__prose img,
.content-card img,
.entry-content img,
.sken-service-description img,
.sken-portfolio-description img,
.wp-block-image img {
	border-radius: var(--radius-sm, 16px);
	box-shadow: var(--shadow-soft);
	margin: 2.22rem auto;
	display: block;
	max-width: 100%;
	height: auto;
	transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-post__prose img:hover,
.content-card img:hover,
.wp-block-image img:hover {
	transform: scale(1.015);
	box-shadow: var(--shadow);
}

.service-card__media,
.portfolio-card__media,
.single-hero__media {
	display: block !important;
	width: 100% !important;
	min-height: 280px !important;
	background-size: cover !important;
	background-position: center !important;
	position: relative !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* === Clean Page Layout (Premium Minimalist) === */
.clean-page {
	padding: clamp(6rem, 15vw, 12rem) 0;
	text-align: center;
	background: radial-gradient(circle at 50% -10%,
			rgba(249, 32, 38, 0.03) 0%,
			transparent 70%);
}

.container--narrow {
	max-width: 920px !important;
	margin: 0 auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.clean-page__header {
	margin-bottom: 5.5rem;
}

.clean-page__title {
	font-size: clamp(3rem, 8vw, 6rem) !important;
	line-height: 0.9 !important;
	font-weight: 950 !important;
	color: var(--ink) !important;
	margin: 1.5rem 0 !important;
	letter-spacing: -0.06em !important;
	text-transform: uppercase;
}

.clean-page__lead {
	font-size: clamp(1.4rem, 2.8vw, 2rem) !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	color: #f92026 !important;
	margin: 0 !important;
	letter-spacing: -0.01em;
	display: block;
}

.clean-page__lead::after {
	content: '';
	width: 120px;
	height: 6px;
	background: #f92026;
	display: block;
	margin: 3.5rem auto 0;
	border-radius: 999px;
}

.clean-page__content.prose {
	max-width: 780px;
	margin: 0 auto;
	font-family: var(--font-serif, serif) !important;
}

.clean-page__content.prose p {
	font-size: clamp(1.2rem, 1.6vw, 1.45rem) !important;
	line-height: 1.75 !important;
	color: var(--muted) !important;
	margin-bottom: 2.5rem !important;
}

body[data-theme='dark'] .clean-page {
	background: radial-gradient(circle at 50% -10%,
			rgba(249, 32, 38, 0.1) 0%,
			transparent 70%);
}

@media (max-width: 820px) {
	.clean-page {
		padding: 4rem 0;
	}

	.clean-page__header {
		margin-bottom: 3.5rem;
	}
}

/* === Home Gallery Grid (3x2) === */
.home-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
	width: 100%;
}

.home-gallery-item {
position: relative;
border-radius: var(--radius);
overflow: hidden;
aspect-ratio: 4 / 3;
box-shadow: var(--shadow-sm);
transition: all 0.5s var(--ease);
background: #000;
perspective: 1200px;
}

.home-gallery-item::after {
content: "";
position: absolute;
top: -250%;
left: -100%;
width: 250%;
height: 350%;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
transform: rotate(35deg);
transition: top 1s var(--ease);
pointer-events: none;
z-index: 5;
}

.home-gallery-item:hover {
transform: translateY(-15px) rotateX(6deg) scale(1.02);
box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.35);
}

.home-gallery-item:hover::after {
top: 50%;
}

.home-gallery-image {
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.home-gallery-item:hover .home-gallery-image {
transform: scale(1.2);
opacity: 0.95;
filter: saturate(1.2) contrast(1.1);
}

.home-gallery-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 2.5rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
	opacity: 0.85;
	transition: opacity 0.4s var(--ease);
}

.home-gallery-item:hover .home-gallery-overlay {
	opacity: 1;
}

.home-gallery-content {
	transform: translateY(20px);
	transition: transform 0.4s var(--ease);
}

.home-gallery-item:hover .home-gallery-content {
	transform: translateY(0);
}

.home-gallery-content h3 {
	color: #ffffff !important;
	font-size: 1.5rem;
	margin: 0.5rem 0 1.25rem;
	line-height: 1.2;
}

.home-gallery-content .button--ghost {
	border-color: #ffffff !important;
	color: #ffffff !important;
	background: transparent !important;
}

.home-gallery-content .button--ghost:hover {
	background: #ffffff !important;
	color: #f92026 !important;
}

.home-gallery-content .pill {
	background: var(--accent);
	color: #ffffff !important;
	border: none;
}

@media (max-width: 1100px) {
	.home-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 650px) {
	.home-gallery-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.home-gallery-item {
		aspect-ratio: 16 / 10;
	}

	.home-gallery-content {
		transform: translateY(0);
	}
}

/* =============================================
   Gallery Lightbox
   ============================================= */
#sken-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

#sken-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.sken-lb__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 6, 10, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.sken-lb__container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 4rem 5rem;
	box-sizing: border-box;
	z-index: 1;
}

.sken-lb__img-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 90vw;
	max-height: 85vh;
}

.sken-lb__img {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
	opacity: 0;
	transform: scale(0.94);
	transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Close button */
.sken-lb__close {
	position: fixed;
	top: 1.5rem;
	right: 1.5rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
	backdrop-filter: blur(6px);
	z-index: 10;
}

.sken-lb__close:hover {
	background: rgba(249, 32, 38, 0.8);
	transform: scale(1.1) rotate(90deg);
}

.sken-lb__close svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}

/* Navigation arrows */
.sken-lb__nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, transform 0.25s;
	backdrop-filter: blur(6px);
	z-index: 10;
}

.sken-lb__nav--prev {
	left: 1.5rem;
}

.sken-lb__nav--next {
	right: 1.5rem;
}

.sken-lb__nav:hover {
	background: rgba(249, 32, 38, 0.75);
	transform: translateY(-50%) scale(1.1);
}

.sken-lb__nav svg {
	width: 26px;
	height: 26px;
	fill: #fff;
}

/* Counter */
.sken-lb__counter {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	font-family: var(--font-display);
	letter-spacing: 0.1em;
	background: rgba(0, 0, 0, 0.4);
	padding: 0.4rem 1rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.sken-lb__container {
		padding: 4rem 1rem;
	}

	.sken-lb__nav--prev {
		left: 0.5rem;
	}

	.sken-lb__nav--next {
		right: 0.5rem;
	}

	.sken-lb__nav {
		width: 40px;
		height: 40px;
	}

	.sken-lb__nav svg {
		width: 20px;
		height: 20px;
	}

	.sken-lb__img {
		max-height: 80vh;
		max-width: 95vw;
	}
}

/* ── Servicios page: párrafo introductorio en negro ── */
.page-hero--services .page-hero__content p {
	color: #1a1209 !important;
}

/* Force original images in hero slider */
.portfolio-slider--hero .portfolio-slide__media::after,
.portfolio-slider--hero .portfolio-slide__content {
	background: none !important;
	opacity: 1 !important;
	filter: none !important;
	content: none !important;
}

.portfolio-slider--hero,
.portfolio-slider__viewport {
	background-color: transparent !important;
}
/* === Infinite Cliente Logos Carousel === */
.clients-section {
padding: 6rem 0;
background: transparent;
overflow: hidden;
}

.clients-logos {
overflow: hidden;
width: 100%;
padding: 2rem 0;
position: relative;
mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
-webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-logos__track {
display: flex;
width: max-content;
animation: logo-scroll 50s linear infinite;
gap: 6rem;
}

@keyframes logo-scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(calc(-100% / 3));
}
}

.client-logo-card {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
}

.client-logo-card img {
max-width: 160px;
height: 60px;
object-fit: contain;
opacity: 0.8;
transition: all 0.4s var(--ease);
}

body[data-theme='dark'] .client-logo-card img {
opacity: 0.9;
}

body[data-theme='light'] .client-logo-card img {
opacity: 0.75;
}


.client-logo-card:hover img {
filter: grayscale(0) invert(0) brightness(1) opacity(1);
transform: scale(1.1);
}

/* Home Spacing Adjustments - ULTRA COMPACT */
.hero {
	padding-bottom: 0 !important;
}

.hero-stats {
	margin-top: -4.5rem !important;
	padding-bottom: 0.5rem !important;
	position: relative;
	z-index: 10;
}

#productos-y-servicios {
	padding-top: 0.2rem !important;
}

.clients-section {
	padding-top: 0.2rem !important;
	padding-bottom: 0 !important;
}

.map-section {
	padding-top: 0 !important;
}

.section {
	padding: 1rem 0 !important;
}

/* Clientes unique layout (full window width but centered track) */
.container--clients-loop {
	max-width: 100% !important;
	padding: 0 !important;
	overflow: hidden;
}

/* Animacion para el boton de WhatsApp */
@keyframes whatsappPulse {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
70% { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-widget {
animation: whatsappPulse 2.5s infinite ease-in-out !important;
transition: all 0.3s var(--ease) !important;
}

.whatsapp-widget:hover {
animation: jumpWithJoy 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
filter: brightness(1.1);
}

/* Forza animacion alegre en logos y botones */
.site-branding__link:hover img,
.site-footer__logo-link:hover img,
.site-branding__logo-image:hover,
.site-footer__logo-image:hover,
.whatsapp-widget:hover,
.footer-menu li a:hover,
.footer-list li a:hover,
.footer-contact li:hover {
animation: jumpWithJoy 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
color: var(--accent) !important;
filter: brightness(1.2) !important;
cursor: pointer !important;
}

/* Estilos para el slider arrastrable */
.portfolio-slider__track {
cursor: grab;
user-select: none;
-webkit-user-drag: none;
}
.portfolio-slider.is-dragging .portfolio-slider__track {
cursor: grabbing;
}
.portfolio-slider__track img {
pointer-events: none;
user-select: none;
-webkit-user-drag: none;
}


/* Ajuste de tamano para titulos y textos de secciones */
.section-intro h2,
.map-section__header h2 {
font-size: clamp(2.5rem, 5vw, 4rem) !important;
line-height: 1.1 !important;
margin-bottom: 1.5rem !important;
font-weight: 800 !important;
}

.section-intro p,
.map-section__header p {
font-size: clamp(1.2rem, 1.35vw, 1.45rem) !important;
max-width: 800px !important;
margin-left: auto !important;
margin-right: auto !important;
line-height: 1.6 !important;
}

