/*
Theme Name: Digital Code Kadence Child
Theme URI: https://digitalcodecorp.com/
Description: Child theme for Digital Code Corp based on Kadence.
Author: Digital Code Corp
Author URI: https://digitalcodecorp.com/
Template: kadence
Version: 1.0.0
Text Domain: digitalcode-kadence-child
*/

/* =============================================
   TOKENS
   ============================================= */

:root {
	--dc-blue: #004aad;
	--dc-blue-dark: #003b91;
	--dc-blue-light: #eaf2ff;
	--dc-text: #29323a;
	--dc-muted: #6c757d;
	--dc-surface: #f4f3f1;
	--dc-border: rgba(41, 50, 58, 0.14);
	--dc-radius: 18px;
	--dc-shadow: 0 18px 45px rgba(24, 39, 56, 0.08);
	--dc-shadow-strong: 0 24px 70px rgba(24, 39, 56, 0.14);
	--dc-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--dc-home-angle: 5.5vw;
}

/* =============================================
   KEYFRAMES
   ============================================= */

@keyframes dc-fade-up {
	from {
		opacity: 0;
		transform: translateY(22px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes dc-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes dc-scale-in {
	from {
		opacity: 0;
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes dc-soft-float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-8px);
	}
}

/* =============================================
   BASE
   ============================================= */

html,
body {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	color: var(--dc-text);
	text-rendering: optimizeLegibility;
}

a {
	text-underline-offset: 0.18em;
}

::selection {
	background: rgba(47, 111, 172, 0.18);
	color: var(--dc-text);
}

:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--dc-blue);
	outline-offset: 3px;
}

::placeholder {
	color: var(--dc-muted);
	opacity: 0.65;
}

/* =============================================
   TYPOGRAPHY — FLUID SCALE
   ============================================= */

h1,
.entry-title {
	font-size: clamp(1.9rem, 2rem + 2vw, 3.25rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
}

h2 {
	font-size: clamp(1.45rem, 1.2rem + 1.5vw, 2.25rem);
	letter-spacing: -0.025em;
	line-height: 1.2;
}

h3 {
	font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.entry-title,
.elementor-heading-title {
	letter-spacing: -0.02em;
}

/* =============================================
   HEADER
   ============================================= */

.site-header,
#masthead {
	animation: dc-fade-in 500ms var(--dc-ease) both;
	backdrop-filter: saturate(180%) blur(12px);
	background: rgba(244, 243, 241, 0.96);
	box-shadow: 0 1px 0 rgba(41, 50, 58, 0.08);
	position: sticky !important;
	top: 0 !important;
	z-index: 10000 !important;
}

.admin-bar #masthead {
	top: 32px !important;
}

.site-header.dc-scrolled,
#masthead.dc-scrolled {
	box-shadow: 0 4px 28px rgba(24, 39, 56, 0.11), 0 1px 0 rgba(41, 50, 58, 0.07);
	transition: box-shadow 280ms var(--dc-ease);
}

#main-header,
#mobile-header {
	background: rgba(244, 243, 241, 0.96);
}

.site-branding img,
.custom-logo {
	height: auto;
	max-width: 220px;
}

/* =============================================
   NAVIGATION
   ============================================= */

.main-navigation a,
.header-navigation a {
	font-size: 1rem;
	letter-spacing: 0.01em;
	position: relative;
}

.main-navigation a::after,
.header-navigation a::after {
	background: var(--dc-blue);
	border-radius: 999px;
	bottom: 0.45em;
	content: "";
	height: 2px;
	left: 50%;
	opacity: 0;
	position: absolute;
	transform: translateX(-50%) scaleX(0.4);
	transition: opacity 180ms ease, transform 180ms ease;
	width: 18px;
}

.main-navigation a:hover,
.header-navigation a:hover,
.main-navigation .current-menu-item>a,
.header-navigation .current-menu-item>a {
	color: var(--dc-blue);
}

.main-navigation a:hover::after,
.header-navigation a:hover::after,
.main-navigation .current-menu-item>a::after,
.header-navigation .current-menu-item>a::after {
	opacity: 1;
	transform: translateX(-50%) scaleX(1);
}

/* =============================================
   BUTTONS
   ============================================= */

.button,
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.elementor-button {
	border-radius: 999px;
	box-shadow: none;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition:
		background-color 180ms var(--dc-ease),
		border-color 180ms var(--dc-ease),
		box-shadow 180ms var(--dc-ease),
		color 180ms var(--dc-ease),
		transform 180ms var(--dc-ease);
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.elementor-button:hover {
	box-shadow: var(--dc-shadow);
	transform: translateY(-1px);
}

.button:active,
button:active,
input[type="button"]:active,
input[type="submit"]:active,
.wp-block-button__link:active,
.elementor-button:active {
	box-shadow: none !important;
	transform: translateY(1px) scale(0.97) !important;
	transition-duration: 70ms !important;
}

/* =============================================
   FORM FIELDS
   ============================================= */

.entry-content input,
.entry-content textarea,
.entry-content select,
.elementor-field,
.woocommerce input.input-text {
	border: 1.5px solid var(--dc-border);
	border-radius: 12px;
	box-shadow: none;
}

.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus,
.elementor-field:focus,
.woocommerce input.input-text:focus {
	border-color: var(--dc-blue);
	box-shadow: 0 0 0 3px rgba(47, 111, 172, 0.12);
	outline: none;
}

/* Elementor form — label */
.elementor-field-label {
	color: var(--dc-text);
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 6px;
}

/* Elementor form — text inputs */
.elementor-field-textual,
.elementor-field:not([type="submit"]) {
	background: #fff;
	border: 1.5px solid var(--dc-border) !important;
	border-radius: 12px !important;
	color: var(--dc-text);
	font-size: 0.9375rem;
	padding: 11px 16px !important;
	transition: border-color 200ms var(--dc-ease), box-shadow 200ms var(--dc-ease);
	width: 100%;
}

.elementor-field-textual:focus,
.elementor-field:not([type="submit"]):focus {
	border-color: var(--dc-blue) !important;
	box-shadow: 0 0 0 3px rgba(47, 111, 172, 0.12) !important;
	outline: none !important;
}

/* Textarea */
.elementor-field-type-textarea .elementor-field {
	min-height: 140px;
	resize: vertical;
}

/* Validation error */
.elementor-field-group .elementor-field.elementor-field-invalid,
.elementor-field-group.elementor-error .elementor-field {
	border-color: #d64545 !important;
	box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1) !important;
}

/* Form feedback messages */
.elementor-message,
.wpforms-confirmation-container-full,
.wpcf7-response-output {
	border-radius: 12px;
	font-weight: 600;
	padding: 14px 20px;
}

.elementor-message.elementor-message-success {
	background: rgba(37, 211, 102, 0.08);
	border: 1.5px solid rgba(37, 211, 102, 0.35);
	color: #1e7e3c;
}

.elementor-message.elementor-message-danger,
.elementor-message.elementor-error {
	background: rgba(214, 69, 69, 0.07);
	border: 1.5px solid rgba(214, 69, 69, 0.3);
	color: #b03535;
}

/* =============================================
   CARDS & IMAGES
   ============================================= */

.elementor-widget-container .elementor-image-box-wrapper,
.woocommerce ul.products li.product,
.wc-block-grid__product {
	border-radius: var(--dc-radius);
	transition: box-shadow 220ms var(--dc-ease), transform 220ms var(--dc-ease);
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
	box-shadow: var(--dc-shadow);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product img,
.wc-block-grid__product-image img,
.elementor-widget-image img {
	border-radius: 14px;
	transition: filter 260ms var(--dc-ease), transform 260ms var(--dc-ease);
}

.woocommerce ul.products li.product:hover img,
.wc-block-grid__product:hover img,
.elementor-widget-image:hover img {
	filter: saturate(1.04) contrast(1.02);
	transform: scale(1.015);
}

.woocommerce ul.products li.product .button,
.wc-block-grid__product-add-to-cart .wp-block-button__link {
	background: var(--dc-blue);
	color: #fff;
}

.woocommerce ul.products li.product .button:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	background: var(--dc-blue-dark);
	color: #fff;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

/* ── Hero ── clase: dc-contact-hero */
.dc-contact-hero {
	background: linear-gradient(135deg, #162d5e 0%, var(--dc-blue) 65%, #3a82c4 100%) !important;
	padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 80px) !important;
	position: relative;
	text-align: center;
}

.dc-contact-hero .elementor-heading-title,
.dc-contact-hero h1,
.dc-contact-hero h2,
.dc-contact-hero h3 {
	color: #fff !important;
}

.dc-contact-hero .elementor-widget-text-editor p,
.dc-contact-hero p {
	color: rgba(255, 255, 255, 0.82);
	margin-left: auto;
	margin-right: auto;
	max-width: 580px;
}

.dc-contact-hero .elementor-button-wrapper {
	display: inline-block;
}

/* ── Sección info + formulario ── clase: dc-contact-body */
.dc-contact-body {
	padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 80px) !important;
}

/* ── Columna izquierda: info ── clase: dc-contact-info */
.dc-contact-info {
	background: transparent !important;
	color: var(--dc-text) !important;
	padding: 0 !important;
}

.dc-contact-info .elementor-heading-title,
.dc-contact-info h2,
.dc-contact-info h3 {
	color: var(--dc-blue) !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
}

.dc-contact-info .elementor-widget-text-editor,
.dc-contact-info p {
	color: var(--dc-text) !important;
}

.dc-contact-info .elementor-icon-list-items {
	display: flex;
	flex-direction: column;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dc-contact-info .elementor-icon-list-item {
	align-items: flex-start;
	display: flex;
	gap: 16px;
}

.dc-contact-info .elementor-icon-list-icon {
	align-items: center;
	background: transparent;
	border: 2px solid var(--dc-blue);
	border-radius: 50%;
	color: var(--dc-blue);
	display: flex;
	flex-shrink: 0;
	height: 54px;
	justify-content: center;
	min-width: 54px;
	width: 54px;
}

.dc-contact-info .elementor-icon-list-icon i {
	font-size: 19px;
}

.dc-contact-info .elementor-icon-list-text {
	color: var(--dc-text);
	font-size: 0.9375rem;
	line-height: 1.65;
	padding-top: 10px;
}

.dc-contact-info .elementor-icon-list-item a {
	color: var(--dc-blue);
	font-weight: 600;
	text-decoration: none;
	transition: color 180ms var(--dc-ease);
}

.dc-contact-info .elementor-icon-list-item a:hover {
	color: var(--dc-blue-dark);
	text-decoration: underline;
}

/* ── Formulario ── clase en la columna: dc-contact-form */
.dc-contact-form .elementor-widget-form,
.dc-contact-form .elementor-widget-wpforms {
	background: #fff;
}

.dc-contact-form .elementor-field-group {
	margin-bottom: 14px;
}

.dc-contact-form .elementor-button {
	background: var(--dc-blue) !important;
	border-radius: 8px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	padding: 16px 32px !important;
	width: 100% !important;
}

.dc-contact-form .elementor-button:hover {
	background: var(--dc-blue-dark) !important;
}

.dc-contact-form .elementor-button-text {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

/* ── Badges de confianza ── clase en la sección: dc-trust-badges */
.dc-trust-badges {
	background: var(--dc-surface) !important;
	padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 80px) !important;
}

.dc-trust-badges .elementor-icon-box-wrapper {
	align-items: flex-start !important;
	text-align: left !important;
}

.dc-trust-badges .elementor-icon {
	background: var(--dc-blue) !important;
	border-radius: 50% !important;
	color: #fff !important;
	height: 52px !important;
	width: 52px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.dc-trust-badges .elementor-icon i {
	font-size: 20px !important;
}

.dc-trust-badges .elementor-icon-box-title {
	font-size: 1rem !important;
	font-weight: 700 !important;
}

.dc-trust-badges .elementor-icon-box-description {
	color: var(--dc-muted) !important;
	font-size: 0.875rem !important;
}

/* ── Cards de contacto directo ── clase en cada icon box: dc-contact-card */
.dc-contact-card .elementor-icon-box-wrapper {
	border: 1px solid var(--dc-border);
	border-radius: var(--dc-radius);
	padding: clamp(20px, 3vw, 32px);
	transition: box-shadow 220ms var(--dc-ease), transform 220ms var(--dc-ease);
}

.dc-contact-card .elementor-icon-box-wrapper:hover {
	box-shadow: var(--dc-shadow);
	transform: translateY(-3px);
}

.dc-contact-card .elementor-icon {
	background: var(--dc-blue) !important;
	border-radius: 50% !important;
	color: #fff !important;
	height: 58px !important;
	width: 58px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.dc-contact-card .elementor-icon i {
	font-size: 22px !important;
}

/* ── Mapa ── clase en la columna: dc-contact-map */
.dc-contact-map .elementor-google-maps iframe {
	border-radius: var(--dc-radius);
	min-height: 380px;
}

/* ── Footer con links y social ── */
.footer-bottom-wrap .footer-navigation {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	justify-content: center;
}

/* Mobile: stack sections */
@media (max-width: 767px) {
	.dc-contact-hero {
		padding: clamp(48px, 8vw, 72px) 20px !important;
	}

	.dc-contact-body {
		padding: 40px 20px !important;
	}

	.dc-contact-info {
		margin-bottom: 40px;
	}
}

/* =============================================
   INNER PAGE HERO
   ============================================= */

.entry-hero,
.page-hero-section {
	background-color: var(--dc-surface);
	border-bottom: 1px solid var(--dc-border);
	padding-bottom: clamp(28px, 4vw, 48px);
	padding-top: clamp(28px, 4vw, 48px);
}

.home .entry-hero,
.home .page-hero-section {
	display: none;
}

.entry-hero .entry-title,
.page-hero-section .entry-title {
	margin-bottom: 0.25em;
}

/* =============================================
   HOME — FIRST SECTION & HERO
   ============================================= */

.home .entry-content>.elementor,
.home .entry-content>[data-elementor-type="wp-page"] {
	margin-top: 0;
}

.home .elementor-section:first-child,
.home .e-con:first-child {
	animation: dc-scale-in 650ms var(--dc-ease) both;
	position: relative;
}

.home .elementor-section:first-child::before,
.home .e-con:first-child::before {
	animation: dc-fade-in 900ms var(--dc-ease) 180ms both;
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.home .elementor-section:first-child .elementor-heading-title,
.home .e-con:first-child .elementor-heading-title {
	animation: dc-fade-up 700ms var(--dc-ease) 120ms both;
	max-width: 920px;
}

.home .elementor-section:first-child .elementor-button,
.home .e-con:first-child .elementor-button {
	animation: dc-fade-up 700ms var(--dc-ease) 260ms both;
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: 0 12px 28px rgba(24, 39, 56, 0.16);
}

.home .elementor-section:first-child+.elementor-section,
.home .e-con:first-child+.e-con {
	clip-path: polygon(0 var(--dc-home-angle), 100% 0, 100% 100%, 0 100%);
	margin-top: -1px;
	padding-top: clamp(48px, 7vw, 128px);
}

.home .elementor-section:first-child+.elementor-section>.elementor-container,
.home .elementor-section:first-child+.elementor-section>.elementor-container>.elementor-column>.elementor-widget-wrap,
.home .e-con:first-child+.e-con>.e-con-inner,
.home .e-con:first-child+.e-con>.e-con {
	clip-path: polygon(0 var(--dc-home-angle), 100% 0, 100% 100%, 0 100%);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */

.dc-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 520ms var(--dc-ease), transform 520ms var(--dc-ease);
}

.dc-reveal.dc-revealed {
	opacity: 1;
	transform: none;
}

.elementor-widget:nth-child(2).dc-reveal {
	transition-delay: 70ms;
}

.elementor-widget:nth-child(3).dc-reveal {
	transition-delay: 140ms;
}

.elementor-widget:nth-child(4).dc-reveal {
	transition-delay: 210ms;
}

/* =============================================
   ICON & IMAGE BOXES
   ============================================= */

.elementor-widget-icon-box .elementor-widget-container,
.elementor-widget-image-box .elementor-widget-container {
	border-radius: var(--dc-radius);
	transition: box-shadow 220ms var(--dc-ease), transform 220ms var(--dc-ease);
}

.elementor-widget-icon-box:hover .elementor-widget-container,
.elementor-widget-image-box:hover .elementor-widget-container {
	box-shadow: var(--dc-shadow);
	transform: translateY(-3px);
}

.home .elementor-widget-icon-box .elementor-widget-container,
.home .elementor-widget-image-box .elementor-widget-container {
	animation: dc-fade-up 600ms var(--dc-ease) both;
}

.home .elementor-widget-icon-box:nth-of-type(2) .elementor-widget-container,
.home .elementor-widget-image-box:nth-of-type(2) .elementor-widget-container {
	animation-delay: 90ms;
}

.home .elementor-widget-icon-box:nth-of-type(3) .elementor-widget-container,
.home .elementor-widget-image-box:nth-of-type(3) .elementor-widget-container {
	animation-delay: 180ms;
}

.elementor-icon {
	transition: background-color 180ms var(--dc-ease), color 180ms var(--dc-ease), transform 220ms var(--dc-ease);
}

.elementor-widget-icon-box:hover .elementor-icon {
	transform: scale(1.06);
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer,
#colophon {
	background: var(--dc-surface);
	border-top: 1px solid var(--dc-border);
	padding-top: clamp(32px, 5vw, 56px);
}

.footer-bottom-wrap,
.site-info {
	border-top: 1px solid var(--dc-border);
	color: var(--dc-muted);
	font-size: 0.875rem;
	margin-top: 24px;
	padding-bottom: clamp(20px, 3vw, 32px);
	padding-top: 20px;
}

.footer-bottom-wrap a,
.site-info a {
	color: var(--dc-muted);
	text-decoration: none;
	transition: color 180ms var(--dc-ease);
}

.footer-bottom-wrap a:hover,
.site-info a:hover {
	color: var(--dc-blue);
}

.footer-navigation .menu,
.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-navigation a {
	color: var(--dc-muted);
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 180ms var(--dc-ease);
}

.footer-navigation a:hover {
	color: var(--dc-blue);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */

.digitalcode-whatsapp-float {
	align-items: center;
	background: #25d366;
	border-radius: 999px;
	bottom: 24px;
	box-shadow: 0 16px 35px rgba(37, 211, 102, 0.3);
	color: #fff;
	display: flex;
	height: 68px;
	justify-content: center;
	position: fixed;
	right: 24px;
	text-decoration: none;
	transition: background-color 180ms var(--dc-ease), box-shadow 180ms var(--dc-ease), transform 180ms var(--dc-ease);
	width: 68px;
	z-index: 10000;
}

.digitalcode-whatsapp-float svg {
	display: block;
	fill: currentColor;
	height: 36px;
	width: 36px;
}

.digitalcode-whatsapp-float:hover,
.digitalcode-whatsapp-float:focus {
	background: #1ebe5d;
	box-shadow: 0 20px 45px rgba(37, 211, 102, 0.38);
	color: #fff;
	transform: translateY(-2px) scale(1.03);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {

	.site-branding img,
	.custom-logo {
		max-width: 185px;
	}

	/* Tablet: reduce hero heading */
	.home .elementor-section:first-child .elementor-heading-title,
	.home .e-con:first-child .elementor-heading-title {
		font-size: clamp(2rem, 4vw, 3rem) !important;
	}
}

@media (max-width: 767px) {

	/* ── Header ── */
	.site-header,
	#masthead {
		backdrop-filter: none;
	}

	.site-branding img,
	.custom-logo {
		max-width: 150px;
	}

	/* ── Overflow safety ── */
	.entry-content,
	.elementor-section .elementor-container,
	.e-con {
		overflow-x: hidden;
	}

	/* ── Section spacing ── */
	.elementor-section {
		padding-left: clamp(16px, 5vw, 24px) !important;
		padding-right: clamp(16px, 5vw, 24px) !important;
	}

	/* ── Buttons ── */
	.elementor-button,
	.wp-block-button__link,
	.button {
		max-width: 100%;
	}

	/* ── Home hero ── */
	.home .elementor-section:first-child,
	.home .e-con:first-child {
		min-height: auto;
		padding-bottom: clamp(40px, 8vw, 64px) !important;
		padding-top: clamp(48px, 9vw, 72px) !important;
		text-align: center;
	}

	.home .elementor-section:first-child .elementor-heading-title,
	.home .e-con:first-child .elementor-heading-title {
		font-size: clamp(1.7rem, 7vw, 2.5rem) !important;
		hyphens: none;
		max-width: 100%;
		overflow-wrap: normal;
	}

	/* Hero CTA buttons: full width, stacked */
	.home .elementor-section:first-child .elementor-button,
	.home .e-con:first-child .elementor-button {
		display: block !important;
		width: 100% !important;
	}

	.home .elementor-section:first-child .elementor-widget-button,
	.home .e-con:first-child .elementor-widget-button {
		margin-bottom: 12px;
	}

	/* ── Remove diagonal clip-path on mobile ── */
	:root {
		--dc-home-angle: 0px;
	}

	.home .elementor-section:first-child + .elementor-section,
	.home .e-con:first-child + .e-con {
		clip-path: none !important;
		margin-top: 0;
		padding-top: clamp(40px, 8vw, 64px);
	}

	.home .elementor-section:first-child + .elementor-section > .elementor-container,
	.home .elementor-section:first-child + .elementor-section > .elementor-container > .elementor-column > .elementor-widget-wrap,
	.home .e-con:first-child + .e-con > .e-con-inner,
	.home .e-con:first-child + .e-con > .e-con {
		clip-path: none !important;
	}

	/* ── Columns: stack on mobile ── */
	.elementor-column {
		width: 100% !important;
	}

	/* ── Typography ── */
	h1, .entry-title {
		font-size: clamp(1.7rem, 7vw, 2.4rem);
	}

	h2 {
		font-size: clamp(1.3rem, 5vw, 1.9rem);
	}

	h3 {
		font-size: clamp(1.1rem, 4vw, 1.4rem);
	}

	/* ── Images ── */
	.elementor-widget-image img,
	img {
		height: auto;
		max-width: 100%;
	}

	/* ── Icon boxes: center on mobile ── */
	.elementor-widget-icon-box .elementor-widget-container,
	.elementor-widget-image-box .elementor-widget-container {
		text-align: center;
	}

	.elementor-icon-box-wrapper {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	/* ── WhatsApp button ── */
	.digitalcode-whatsapp-float {
		bottom: 16px;
		height: 52px;
		right: 16px;
		width: 52px;
	}

	/* ── Footer ── */
	.footer-navigation .menu,
	.footer-navigation ul {
		justify-content: center;
	}

	.site-footer,
	#colophon {
		text-align: center;
	}
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {

	.site-branding img,
	.custom-logo {
		max-width: 130px;
	}

	.home .elementor-section:first-child .elementor-heading-title,
	.home .e-con:first-child .elementor-heading-title {
		font-size: clamp(1.5rem, 8vw, 2rem) !important;
	}

	.elementor-section {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.elementor-button,
	.wp-block-button__link,
	.button {
		font-size: 0.9375rem;
		padding: 12px 20px;
	}
}

@media (max-width: 782px) {
	.admin-bar #masthead {
		top: 46px !important;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 1ms !important;
	}

	.dc-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}