/*
Theme Name: Doctor Epoxy
Theme URI: https://dudaa.online/demo/expoxy/
Author: Doctor Epoxy SRL
Description: Temă WordPress clasică pentru Doctor Epoxy SRL — pardoseli epoxidice aplicate profesional. Portare fidelă a design system-ului „Doctor Epoxy” (siglă D-monogramă, verde diagnostic), cu două teme vizuale (Rășină / Cobalt), selector de temă persistent, conținut deplin editabil ca articole WordPress (secțiuni și carduri), tip de conținut „Lucrări” cu galerie și lightbox, formular de ofertă, și deployment automat la activare.
Version: 1.16.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doctor-epoxy
Tags: business, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, two-columns, right-sidebar
*/

/* =========================================================================
   1. FONTS — self-hosted Archivo (variable, roman + italic, latin + latin-ext).
   latin-ext carries ș ț ă â î, so Romanian diacritics never fall back.
   ========================================================================= */
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/archivo-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/archivo-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Archivo';
	font-style: italic;
	font-weight: 400 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/archivo-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Archivo';
	font-style: italic;
	font-weight: 400 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/archivo-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
   2. TOKENS — colors.css, typography.css, spacing.css, effects.css verbatim
   ========================================================================= */
:root {
	/* Base */
	--white: #FFFFFF;
	--paper: #F7F7F4;
	--concrete-100: #F0F0EC;
	--concrete-200: #E4E4E0;
	--concrete-300: #C9CBCF;
	--ink-900: #15171C;
	--ink-800: #1E2127;
	--ink-700: #2A2E36;
	--ink-500: #565B66;
	--ink-400: #7B818D;
	--resin-100: #EDF3EC;
	--resin-400: #5BAC55;
	--resin-500: #3A7A35;
	--resin-600: #295626;
	--success: #2E8B57;
	--error: #C43D2B;
	/* Aliases */
	--surface-page: var(--paper);
	--surface-card: var(--white);
	--surface-sunken: var(--concrete-100);
	--surface-dark: var(--ink-900);
	--surface-dark-raised: var(--ink-800);
	--text-heading: var(--ink-900);
	--text-body: #3A3E46;
	--text-muted: var(--ink-500);
	--text-accent: var(--resin-500);
	--text-inverse: var(--paper);
	--text-on-dark: #F7F7F4;
	--action-primary: var(--resin-500);
	--action-primary-hover: var(--resin-600);
	--action-ghost-hover: var(--concrete-100);
	--border-subtle: var(--concrete-200);
	--border-strong: var(--concrete-300);
	--border-dark: rgba(255, 255, 255, .22);
	--focus-ring: rgba(58, 122, 53, .22);

	/* Type */
	--font-display: 'Archivo', system-ui, sans-serif;
	--font-body: 'Archivo', system-ui, sans-serif;
	--text-hero: clamp(40px, 5vw, 64px);
	--text-h2: clamp(30px, 3.4vw, 42px);
	--text-h3: 20px;
	--text-lg: 18px;
	--text-md: 16px;
	--text-sm: 14px;
	--text-xs: 12.5px;
	--leading-tight: 1.06;
	--leading-snug: 1.25;
	--leading-body: 1.62;
	--tracking-tight: -0.025em;
	--tracking-kicker: .14em;
	--weight-heading: 700;

	/* Spacing & layout (4px base) */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--space-9: 96px;
	--container-max: 1160px;
	--container-pad: 24px;

	/* Effects */
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-pill: 999px;
	--shadow-card: 0 1px 2px rgba(21, 23, 28, .05), 0 6px 20px rgba(21, 23, 28, .06);
	--shadow-raised: 0 2px 6px rgba(21, 23, 28, .08), 0 16px 40px rgba(21, 23, 28, .12);
	--shadow-photo: 0 24px 60px rgba(21, 23, 28, .28);
	--ease-brand: cubic-bezier(.22, .8, .3, 1);
	--dur-fast: 140ms;
	--dur-med: 260ms;
	--gloss-overlay: linear-gradient(120deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 42%);
	--protect-bottom: linear-gradient(to top, rgba(21, 23, 28, .72), rgba(21, 23, 28, 0) 55%);
}

/* =========================================================================
   3. THEME „COBALT” — theme-cobalt.css, rebound onto [data-theme] so the
   choice can be applied to <html> before first paint (no flash of Rășină).
   The .theme-cobalt body class is kept as a second hook for parity with the
   design-system source.
   ========================================================================= */
:root[data-theme="cobalt"],
body.theme-cobalt {
	--paper: #F7F9FC;
	--white: #FFFFFF;
	--concrete-100: #EEF2F7;
	--concrete-200: #E2E8F0;
	--concrete-300: #9AA6B8;
	--ink-900: #1B2430;
	--ink-800: #242F3E;
	--ink-500: #5C6B80;
	--ink-400: #8593A6;
	--resin-100: #E3EEFA;
	--resin-400: #7FB4E8;
	--resin-500: #2E7CD6;
	--resin-600: #1F63B4;
	--success: #2F8A66;
	--error: #C74A38;
	--surface-page: #F7F9FC;
	--surface-card: rgba(255, 255, 255, .58);
	--surface-sunken: rgba(255, 255, 255, .35);
	--surface-dark: #1B2430;
	--surface-dark-raised: rgba(255, 255, 255, .07);
	--text-heading: #1B2430;
	--text-body: #3D4A5C;
	--text-muted: #5C6B80;
	--text-accent: #2E7CD6;
	--text-inverse: #F7F9FC;
	--text-on-dark: #F4F8FC;
	--action-primary: #2E7CD6;
	--action-primary-hover: #1F63B4;
	--action-ghost-hover: rgba(255, 255, 255, .6);
	--border-subtle: rgba(255, 255, 255, .85);
	--border-strong: rgba(27, 36, 48, .16);
	--border-dark: rgba(255, 255, 255, .16);
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;
	--focus-ring: rgba(46, 124, 214, .22);
	--shadow-card: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(27, 36, 48, .06), 0 12px 32px -14px rgba(27, 36, 48, .14);
	--shadow-raised: inset 0 1px 0 rgba(255, 255, 255, .95), 0 2px 5px rgba(27, 36, 48, .06), 0 22px 48px -16px rgba(27, 36, 48, .2);
	--shadow-photo: 0 28px 64px -20px rgba(27, 36, 48, .28);
	--gloss-overlay: linear-gradient(rgba(127, 180, 232, .06), rgba(127, 180, 232, .06));
}

/* Ambient color fields — fixed, sit behind everything so the frosted blur has
   real color to diffuse. */
:root[data-theme="cobalt"] body::before,
body.theme-cobalt::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(560px 420px at 12% 8%, rgba(46, 124, 214, .16), transparent 65%),
		radial-gradient(640px 480px at 88% 20%, rgba(125, 196, 228, .18), transparent 65%),
		radial-gradient(700px 520px at 22% 85%, rgba(46, 124, 214, .1), transparent 65%),
		radial-gradient(520px 420px at 78% 92%, rgba(151, 170, 222, .14), transparent 65%),
		linear-gradient(180deg, #F7F9FC, #EFF3F9);
}

:root[data-theme="cobalt"] h1 em,
:root[data-theme="cobalt"] h2 em,
body.theme-cobalt h1 em,
body.theme-cobalt h2 em {
	color: #2E7CD6;
	-webkit-text-fill-color: #2E7CD6;
}

/* Logo variant swap: orange mark by default, blue mark in Cobalt */
.logo-cobalt { display: none !important; }
:root[data-theme="cobalt"] .logo-cobalt,
body.theme-cobalt .logo-cobalt { display: block !important; }
:root[data-theme="cobalt"] .logo-rasina,
body.theme-cobalt .logo-rasina { display: none !important; }

:root[data-theme="cobalt"] .de-btn--primary:hover,
body.theme-cobalt .de-btn--primary:hover { box-shadow: 0 10px 28px rgba(46, 124, 214, .3); }

/* Glass surfaces: blur + saturate refraction, bright top-edge highlight,
   faint outer ring. */
:root[data-theme="cobalt"] .teaser,
:root[data-theme="cobalt"] .de-form,
:root[data-theme="cobalt"] .de-article,
body.theme-cobalt .teaser,
body.theme-cobalt .de-form,
body.theme-cobalt .de-article {
	backdrop-filter: blur(22px) saturate(1.6);
	-webkit-backdrop-filter: blur(22px) saturate(1.6);
	border-color: rgba(255, 255, 255, .85) !important;
	outline: 1px solid rgba(27, 36, 48, .07);
}
:root[data-theme="cobalt"] .trustbar,
body.theme-cobalt .trustbar {
	background: rgba(255, 255, 255, .42) !important;
	color: #1B2430 !important;
	backdrop-filter: blur(22px) saturate(1.6);
	-webkit-backdrop-filter: blur(22px) saturate(1.6);
	border-top: 1px solid rgba(255, 255, 255, .8);
}
:root[data-theme="cobalt"] .site-nav,
body.theme-cobalt .site-nav {
	background: rgba(255, 255, 255, .45) !important;
	border-bottom: 1px solid rgba(255, 255, 255, .8) !important;
	box-shadow: 0 1px 12px rgba(27, 36, 48, .06);
	backdrop-filter: blur(24px) saturate(1.7) !important;
	-webkit-backdrop-filter: blur(24px) saturate(1.7) !important;
}
:root[data-theme="cobalt"] img,
body.theme-cobalt img { filter: saturate(1.04) contrast(1.02); }
:root[data-theme="cobalt"] ::selection,
body.theme-cobalt ::selection { background: rgba(46, 124, 214, .2); }

/* =========================================================================
   4. BASE — base.css, plus the resets a full page (rather than a mockup
   fragment) needs.
   ========================================================================= */
* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-md);
	line-height: var(--leading-body);
	color: var(--text-body);
	background: var(--surface-page);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--text-heading);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-tight);
	margin: 0;
}

a {
	color: var(--resin-500);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-brand);
}
a:hover { color: var(--resin-600); }

::selection { background: var(--resin-100); }

img { max-width: 100%; }

:focus-visible {
	outline: 2px solid var(--resin-500);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 300;
	background: var(--surface-dark);
	color: var(--text-on-dark);
	padding: 12px 20px;
	border-radius: 0 0 var(--radius-md) 0;
	font: 600 14px/1 var(--font-display);
}
.skip-link:focus {
	left: 0;
	color: var(--text-on-dark);
}

.de-icon {
	display: inline-flex;
	flex-shrink: 0;
	vertical-align: middle;
}
.de-icon svg { display: block; width: 100%; height: 100%; }

/* =========================================================================
   5. LAYOUT PRIMITIVES
   ========================================================================= */
.de-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}

.de-dark {
	background: var(--surface-dark);
	background-image: var(--gloss-overlay);
	color: var(--text-on-dark);
}

.de-sunken { background: var(--surface-sunken); }

/* =========================================================================
   6. NAV / WORDMARK
   ========================================================================= */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 247, 244, .86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-subtle);
}
.site-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 66px;
	gap: 16px;
}

.de-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font: 800 21px/1 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}
.de-wordmark:hover { color: var(--text-heading); }
.de-wordmark img { height: 38px; width: auto; display: block; }
.de-wordmark em { font-style: normal; color: var(--resin-500); }

/* The uploaded logo (a badge with its own "Doctor Epoxy" wordmark baked in)
   needs more room than the old icon-only mark to stay legible. */
.de-wordmark__logo { height: 60px !important; width: auto; display: block; }

.de-wordmark--dark { color: var(--text-on-dark); }
.de-wordmark--dark:hover { color: var(--text-on-dark); }
.de-wordmark--dark img { height: 34px; }
.de-wordmark--dark .de-wordmark__logo { height: 52px !important; }
.de-wordmark--dark em { color: var(--resin-400); }

.site-nav__menu {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__menu a {
	font: 500 14px/1 var(--font-body);
	color: var(--text-body);
	text-decoration: none;
}
.site-nav__menu a:hover { color: var(--resin-500); }
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a,
.site-nav__menu .current-menu-ancestor > a,
.site-nav__menu .current_page_parent > a,
.site-nav__menu .is-current > a {
	font-weight: 700;
	color: var(--resin-500);
}
.site-nav__right { display: flex; align-items: center; gap: 26px; }

.site-nav__toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-heading);
	cursor: pointer;
	padding: 0;
}
.site-nav__toggle .de-icon--close { display: none; }
.site-nav__toggle[aria-expanded="true"] .de-icon--open { display: none; }
.site-nav__toggle[aria-expanded="true"] .de-icon--close { display: inline-flex; }

/* =========================================================================
   7. BUTTONS — Button.jsx
   ========================================================================= */
.de-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1;
	border-radius: var(--radius-pill);
	cursor: pointer;
	text-decoration: none;
	border: 1px solid transparent;
	transition:
		background var(--dur-fast) var(--ease-brand),
		color var(--dur-fast) var(--ease-brand),
		border-color var(--dur-fast) var(--ease-brand),
		transform var(--dur-fast) var(--ease-brand);
}
.de-btn--md { padding: 10px 20px; font-size: var(--text-sm); }
.de-btn--lg { padding: 14px 28px; font-size: var(--text-md); }
.de-btn:active { transform: scale(.98); }

.de-btn--primary { background: var(--action-primary); color: #fff; }
.de-btn--primary:hover { background: var(--action-primary-hover); color: #fff; }

.de-btn--secondary { background: transparent; color: var(--text-heading); border-color: var(--border-strong); }
.de-btn--secondary:hover { background: var(--action-ghost-hover); color: var(--text-heading); }

.de-btn--inverse { background: var(--text-on-dark); color: #15171C; }
.de-btn--inverse:hover { background: var(--concrete-200); color: #15171C; }

.de-btn--ghostDark { background: transparent; color: var(--text-on-dark); border-color: var(--border-dark); }
.de-btn--ghostDark:hover { background: rgba(255, 255, 255, .08); color: var(--text-on-dark); }

.de-btn--block { justify-content: center; width: 100%; }

/* =========================================================================
   8. SECTION HEADING / STAT BLOCK / CHIP — core components
   ========================================================================= */
.de-heading { max-width: 640px; }
.de-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.de-heading__kicker {
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-kicker);
	text-transform: uppercase;
	color: var(--text-accent);
	margin-bottom: 14px;
}
.de-heading__title {
	margin: 0;
	font-size: var(--text-h2);
	font-weight: var(--weight-heading);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}
.de-heading__title em { font-style: italic; color: var(--resin-500); }
.de-heading__lede {
	margin: 16px 0 0;
	font-size: var(--text-lg);
	line-height: var(--leading-body);
	color: var(--text-muted);
}
.de-heading--dark .de-heading__title { color: var(--text-on-dark); }
.de-heading--dark .de-heading__lede { color: var(--concrete-300); }

.de-stat__value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 40px;
	line-height: 1;
	letter-spacing: var(--tracking-tight);
	color: var(--resin-500);
}
.de-stat__label {
	margin-top: 8px;
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--text-muted);
}
.de-stat--dark .de-stat__label { color: var(--concrete-300); }

.de-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border-radius: var(--radius-pill);
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1;
	transition: all var(--dur-fast) var(--ease-brand);
	border: 1px solid var(--border-strong);
	background: transparent;
	color: var(--text-body);
}
.de-chip:hover { background: var(--action-ghost-hover); }
.de-chip--dark { border-color: var(--border-dark); color: var(--concrete-300); }
.de-chip--dark:hover { background: rgba(255, 255, 255, .07); }
.de-chip--active {
	border-color: var(--resin-500);
	background: var(--resin-100);
	color: var(--resin-600);
}
.de-chip--active:hover { background: var(--resin-100); }

/* =========================================================================
   9. CARDS — ServiceCard / ProcessStep / ContactRow / teaser
   ========================================================================= */
.de-card {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.de-service {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	padding: 26px 24px;
	box-shadow: var(--shadow-card);
	transition:
		box-shadow var(--dur-med) var(--ease-brand),
		transform var(--dur-med) var(--ease-brand);
}
.de-service:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.de-service--photo { overflow: hidden; padding-top: 0; }
.de-service__photo {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--surface-sunken);
	margin: 0 -24px 18px;
}
.de-service__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-med) var(--ease-brand);
}
.de-service--photo:hover .de-service__photo img { transform: scale(1.04); }
.de-service--photo .de-service__icon { margin-top: 26px; }
.de-service__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-md);
	background: var(--surface-sunken);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	color: var(--resin-500);
}
.de-service__title {
	margin: 0 0 8px;
	font-size: var(--text-h3);
	font-weight: var(--weight-heading);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}
.de-service__text {
	margin: 0;
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	color: var(--text-muted);
}

.de-step { position: relative; }
.de-step__number {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .08em;
	color: var(--resin-500);
}
.de-step__rule {
	height: 1px;
	background: var(--border-subtle);
	margin: 14px 0 18px;
	position: relative;
}
.de-step__rule::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2.5px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--resin-500);
}
.de-step--last .de-step__rule::before { content: none; }
.de-step__title {
	margin: 0 0 8px;
	font-size: var(--text-h3);
	font-weight: var(--weight-heading);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}
.de-step__text {
	margin: 0;
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	color: var(--text-muted);
}

.de-row { display: flex; gap: 14px; align-items: flex-start; }
.de-row__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-md);
	background: var(--surface-sunken);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--resin-500);
}
.de-row__label {
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 3px;
}
.de-row__value {
	font-size: var(--text-md);
	font-weight: 500;
	line-height: var(--leading-snug);
	color: var(--text-heading);
	overflow-wrap: anywhere;
}
.de-row__value a { color: var(--text-heading); }
.de-row__value a:hover { color: var(--resin-500); }
.de-row__value .de-social { display: inline-flex; gap: 14px; }
.de-row__value .de-social a { color: var(--resin-500); }

/* =========================================================================
   10. HERO — Hero.jsx
   ========================================================================= */
@keyframes heroDrift {
	from { transform: scale(1.02) translateX(0); }
	to { transform: scale(1.12) translateX(-1.5%); }
}

.de-hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.de-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: heroDrift 5s var(--ease-brand) infinite alternate;
	will-change: transform;
}
.de-hero__scrim { position: absolute; inset: 0; background: rgba(21, 23, 28, .62); }
.de-hero__inner {
	position: relative;
	text-align: center;
	padding: 96px 24px 150px;
	max-width: 100%;
}
.de-hero__kicker {
	font: 600 12.5px/1 var(--font-display);
	letter-spacing: var(--tracking-kicker);
	text-transform: uppercase;
	color: var(--resin-400);
	margin-bottom: 18px;
}
.de-hero__title {
	margin: 0;
	font: 800 var(--text-hero)/var(--leading-tight) var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-on-dark);
}
.de-hero__title em { font-style: italic; color: var(--resin-400); }
.de-hero__lede {
	margin: 20px auto 30px;
	font: 400 var(--text-lg)/var(--leading-body) var(--font-body);
	color: var(--concrete-300);
	max-width: 520px;
}
.de-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.de-statcard-wrap { position: relative; z-index: 2; }
.de-statcard {
	margin: -96px auto 0;
	max-width: 960px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-photo);
}
.de-statcard__grid {
	background: var(--surface-card);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 34px 10px;
}
.de-statcard__item {
	text-align: center;
	border-left: 1px dashed var(--border-strong);
	padding: 0 10px;
}
.de-statcard__item:first-child { border-left: none; }
.de-statcard__item .de-icon { color: var(--resin-500); }
.de-statcard__value {
	font: 800 34px/1.15 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
	margin-top: 8px;
}
.de-statcard__label {
	font: 600 12px/1.3 var(--font-body);
	letter-spacing: var(--tracking-kicker);
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 6px;
}
.trustbar {
	background: linear-gradient(90deg, var(--resin-400), var(--resin-600));
	padding: 14px 20px;
	text-align: center;
	font: 700 17px/1.3 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: #fff;
}

/* =========================================================================
   11. PAGE HEADER — Overview.jsx PageHeader
   ========================================================================= */
.de-pagehead { padding: 72px 0 64px; }
.de-pagehead--tall { padding-bottom: 150px; }
.de-pagehead__kicker {
	font: 600 12.5px/1 var(--font-display);
	letter-spacing: var(--tracking-kicker);
	text-transform: uppercase;
	color: var(--resin-400);
	margin-bottom: 14px;
}
.de-pagehead__title {
	margin: 0;
	font: 800 var(--text-h2)/var(--leading-snug) var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-on-dark);
}
.de-pagehead__title em { font-style: italic; color: var(--resin-400); }
.de-pagehead__lede {
	margin: 14px 0 0;
	font: 400 var(--text-lg)/var(--leading-body) var(--font-body);
	color: var(--concrete-300);
	max-width: 560px;
}

/* =========================================================================
   12. HOMEPAGE BRIEFS — Overview.jsx
   ========================================================================= */
.de-brief { padding: 88px 0; }
.de-brief__split {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 56px;
	align-items: center;
}
.de-brief__photo {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-photo);
	display: block;
	background: var(--concrete-200);
}
.de-brief__body { display: grid; gap: 18px; }
.de-brief__body p {
	margin: 0;
	font: 400 var(--text-md)/var(--leading-body) var(--font-body);
	color: var(--text-body);
}
.de-brief__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.de-brief__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.de-sectionlink {
	font: 600 15px/1 var(--font-body);
	white-space: nowrap;
	color: var(--resin-500);
}
.de-sectionlink--dark { color: var(--resin-400); }
.de-sectionlink--dark:hover { color: var(--resin-400); }

.de-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.de-grid-4--wide { margin-top: 48px; }
.de-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
/* Flex, not grid: with an item count that doesn't divide evenly into rows,
   grid leaves a lone card stranded on the left of the last row. Flex-wrap
   with justify-content:center centers a leftover row instead, so it reads
   as a deliberate final highlight rather than an accident. */
.de-grid-systems {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 48px;
}
.de-grid-systems > * { flex: 1 1 320px; max-width: calc(33.333% - 11px); }
@media (max-width: 1024px) { .de-grid-systems > * { max-width: calc(50% - 8px); } }
@media (max-width: 620px)  { .de-grid-systems > * { max-width: 100%; } }

.de-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }

/* Tipuri de spații — the diversity cards that run before the portfolio. */
.de-domenii__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}
.de-domeniu {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	transition: transform var(--dur-med) var(--ease-brand), box-shadow var(--dur-med) var(--ease-brand);
}
.de-domeniu:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }

.de-domeniu__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-sunken); }
.de-domeniu__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-med) var(--ease-brand);
}
.de-domeniu:hover .de-domeniu__photo img { transform: scale(1.04); }

.de-domeniu__body { padding: 18px 20px 22px; }
.de-domeniu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	background: var(--resin-100);
	color: var(--action-primary);
	margin-bottom: 10px;
}
.de-domeniu__title {
	font: var(--weight-heading) var(--text-h3)/1.25 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
	margin: 0 0 6px;
}
.de-domeniu__text {
	font: 400 var(--text-sm)/var(--leading-body) var(--font-body);
	color: var(--text-muted);
	margin: 0;
}

.de-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.de-strip a {
	display: block;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	background: var(--concrete-200);
	height: 180px;
}
.de-strip img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-med) ease;
}
.de-strip a:hover img { transform: scale(1.04); }

.de-zone__kicker {
	font: 600 12.5px/1 var(--font-display);
	letter-spacing: var(--tracking-kicker);
	text-transform: uppercase;
	color: var(--resin-400);
	margin-bottom: 12px;
}
.de-zone__title {
	font: 800 clamp(24px, 2.6vw, 32px)/1.2 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-on-dark);
}
.de-zone__title em { font-style: italic; color: var(--resin-400); }
.de-zone__lede {
	margin: 14px 0 0;
	font: 400 15px/1.62 var(--font-body);
	color: var(--concrete-300);
}
.de-zone__list { margin: 26px 0 0; border-top: 1px solid var(--border-dark); }
.de-zone__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 2px;
	border-bottom: 1px solid var(--border-dark);
}
.de-zone__badge {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--border-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--resin-400);
}
.de-zone__text {
	font: 400 14.5px/1.5 var(--font-body);
	color: var(--concrete-300);
}
.de-zone__text b {
	font: 700 15px/1 var(--font-display);
	color: var(--text-on-dark);
	margin-right: 8px;
}
.de-zone__map { width: 100%; min-height: 320px; }
.de-zone__map svg { width: 100%; height: auto; display: block; }

.de-postteaser {
	display: flex;
	gap: 18px;
	align-items: center;
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: 16px;
	text-decoration: none;
	transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.de-postteaser:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.de-postteaser img {
	width: 132px;
	height: 100px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	flex-shrink: 0;
	background: var(--concrete-200);
}
.de-postteaser__meta {
	font: 500 12.5px/1 var(--font-body);
	color: var(--text-muted);
	margin-bottom: 7px;
}
.de-postteaser__title {
	font: 700 16px/1.35 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}

/* CTA band */
.de-cta { padding: 64px 0; }
.de-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.de-cta__title {
	font: 800 clamp(24px, 2.6vw, 32px)/1.2 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-on-dark);
}
.de-cta__title em { font-style: italic; color: var(--resin-400); }
.de-cta__lede {
	font: 400 15px/1.6 var(--font-body);
	color: var(--concrete-300);
	margin-top: 6px;
}

/* =========================================================================
   13. SECTIONS — Despre / Servicii / Proces
   ========================================================================= */
.de-section { padding: 96px 0; }
.de-section--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}
.de-prose {
	font: 400 var(--text-md)/var(--leading-body) var(--font-body);
	color: var(--text-body);
	display: grid;
	gap: 14px;
}
.de-prose p { margin: 0; }
.de-prose__stats {
	display: flex;
	gap: 44px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--border-subtle);
}

/* =========================================================================
   14. GALLERY — Gallery.jsx
   ========================================================================= */
.de-gallery { padding: 96px 0; background: var(--surface-page); }
.de-gallery__stage {
	position: relative;
	margin-top: 40px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-photo);
	cursor: zoom-in;
	background: var(--concrete-200);
}
.de-gallery__stage img {
	width: 100%;
	height: 560px;
	object-fit: cover;
	display: block;
}
.de-gallery__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: none;
	background: rgba(21, 23, 28, .62);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.de-gallery__arrow--prev { left: 18px; }
.de-gallery__arrow--next { right: 18px; }
.de-gallery__counter {
	position: absolute;
	right: 18px;
	bottom: 16px;
	background: rgba(21, 23, 28, .78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 999px;
	padding: 7px 14px;
	font: 600 13px/1 var(--font-display);
	color: var(--text-on-dark);
	letter-spacing: 0.04em;
}
.de-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
	margin-top: 14px;
	padding: 0;
	margin-bottom: 0;
	list-style: none;
}
.de-gallery__thumb {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: block;
	line-height: 0;
}
.de-gallery__thumb img {
	width: 100%;
	height: 88px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	display: block;
	background: var(--concrete-200);
	opacity: .82;
	outline-offset: 1.5px;
	transition: opacity var(--dur-fast) var(--ease-brand);
}
.de-gallery__thumb[aria-current="true"] img { opacity: 1; outline: 2px solid var(--resin-500); }
.de-gallery__thumb:hover img { opacity: 1; }

.de-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(21, 23, 28, .94);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
.de-lightbox[hidden] { display: none; }
.de-lightbox img {
	max-width: 88vw;
	max-height: 86vh;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-photo);
}
.de-lightbox .de-gallery__arrow--prev { left: 28px; }
.de-lightbox .de-gallery__arrow--next { right: 28px; }
.de-lightbox__close { top: 28px; right: 28px; transform: none; }

/* =========================================================================
   15. BLOG — Blog.jsx
   ========================================================================= */
.de-blog { padding: 72px 0 96px; }
.de-bloggrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.de-postcard {
	display: block;
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	text-decoration: none;
	transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.de-postcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.de-postcard img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	background: var(--concrete-200);
}
.de-postcard__body { padding: 24px; }
.de-postcard__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.de-postcard__date { font: 500 12.5px/1 var(--font-body); color: var(--text-muted); }
.de-postcard__title {
	font: 700 var(--text-h3)/1.3 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
	margin: 0 0 8px;
}
.de-postcard__excerpt {
	margin: 0 0 12px;
	font: 400 14.5px/1.6 var(--font-body);
	color: var(--text-muted);
}
.de-postcard__more { font: 600 14px/1 var(--font-body); color: var(--resin-500); }

.de-article { padding: 72px 0 96px; }
.de-article .de-container { max-width: 760px; }
.de-article__back { font: 600 14px/1 var(--font-body); color: var(--resin-500); }
.de-article__meta { display: flex; gap: 12px; align-items: center; margin: 26px 0 14px; flex-wrap: wrap; }
.de-article__date { font: 500 13px/1 var(--font-body); color: var(--text-muted); }
.de-article__title {
	margin: 0 0 24px;
	font: 800 clamp(28px, 3vw, 40px)/1.15 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}
.de-article__photo {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-photo);
	display: block;
	margin-bottom: 28px;
}
.de-article__body {
	display: grid;
	gap: 16px;
	font: 400 17px/1.7 var(--font-body);
	color: var(--text-body);
}
.de-article__body p { margin: 0; }
.de-article__body h2, .de-article__body h3 { margin: 12px 0 0; }
.de-article__body ul, .de-article__body ol { margin: 0; padding-left: 22px; }
.de-article__body img { border-radius: var(--radius-lg); height: auto; }
.de-article__body blockquote {
	margin: 0;
	padding-left: 20px;
	border-left: 3px solid var(--resin-500);
	color: var(--text-muted);
}

.de-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 48px;
	flex-wrap: wrap;
}
.de-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--border-strong);
	font: 600 14px/1 var(--font-display);
	color: var(--text-body);
}
.de-pagination .page-numbers.current,
.de-pagination .page-numbers:hover {
	background: var(--resin-100);
	border-color: var(--resin-500);
	color: var(--resin-600);
}

/* =========================================================================
   16. CONTACT — Contact.jsx
   ========================================================================= */
.de-contact { padding: 0 0 96px; background: var(--surface-sunken); }
.de-contact__grid {
	position: relative;
	z-index: 2;
	margin-top: -88px;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 28px;
	align-items: stretch;
}
.de-form {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 36px;
	display: grid;
	gap: 18px;
	align-content: start;
}
.de-form__title {
	margin: 0 0 6px;
	font: 800 var(--text-h3)/1.2 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-heading);
}
.de-form__lede {
	margin: 0;
	font: 400 14.5px/1.5 var(--font-body);
	color: var(--text-muted);
}
.de-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.de-form__actions { display: grid; gap: 12px; justify-items: stretch; }
.de-form__note {
	margin: 0;
	font: 400 13px/1.5 var(--font-body);
	color: var(--text-muted);
	text-align: center;
}
.de-form__success {
	font: 600 14px/1.4 var(--font-body);
	color: var(--success);
	text-align: center;
}
.de-form__error {
	font: 600 14px/1.4 var(--font-body);
	color: var(--error);
	text-align: center;
}
.de-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Contact Form 7: its own <form> sits between .de-form and our field markup;
   display:contents lifts the CF7 wrapper out of the box model so .de-form's
   grid gap still applies between the pairs/fields/actions it wraps. */
.de-form form.wpcf7-form { display: contents; }
.de-form .wpcf7-form-control-wrap { display: block; }
.de-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: var(--text-xs);
	color: var(--error);
}
.de-form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border-radius: var(--radius-md);
	border: none;
	font: 600 14px/1.4 var(--font-body);
	text-align: center;
}
.de-form form.sent .wpcf7-response-output { color: var(--success); background: var(--surface-sunken); }
.de-form form.failed .wpcf7-response-output,
.de-form form.spam .wpcf7-response-output,
.de-form form.aborted .wpcf7-response-output { color: var(--error); background: var(--surface-sunken); }
.de-form form.invalid .wpcf7-response-output { display: none; }

.de-field { display: block; }
.de-field__label {
	display: block;
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 7px;
}
.de-field input,
.de-field select,
.de-field textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--font-body);
	font-size: var(--text-md);
	color: var(--text-heading);
	background: var(--surface-card);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
	padding: 12px 14px;
	outline: none;
	transition:
		border-color var(--dur-fast) var(--ease-brand),
		box-shadow var(--dur-fast) var(--ease-brand);
}
.de-field textarea { resize: vertical; }
.de-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23565B66' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}
.de-field input:focus,
.de-field select:focus,
.de-field textarea:focus {
	border-color: var(--resin-500);
	box-shadow: 0 0 0 3px var(--focus-ring);
	outline: none;
}

.de-directcard {
	background: var(--surface-dark);
	background-image: var(--gloss-overlay);
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-lg);
	padding: 30px;
}
.de-directcard__kicker {
	font: 600 12.5px/1 var(--font-display);
	letter-spacing: var(--tracking-kicker);
	text-transform: uppercase;
	color: var(--resin-400);
	margin-bottom: 14px;
}
.de-directcard__phone {
	display: block;
	font: 800 30px/1.1 var(--font-display);
	letter-spacing: var(--tracking-tight);
	color: var(--text-on-dark);
	text-decoration: none;
}
.de-directcard__phone:hover { color: var(--resin-400); }
.de-directcard__who {
	margin: 10px 0 22px;
	font: 400 14.5px/1.5 var(--font-body);
	color: var(--concrete-300);
}
.de-directcard__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.de-aside { display: flex; flex-direction: column; gap: 24px; }
.de-detailcard {
	flex: 1;
	padding: 30px;
	display: grid;
	align-content: space-evenly;
	gap: 18px;
}

/* =========================================================================
   17. FOOTER + FLOATING CONTACT + THEME PICKER
   ========================================================================= */
.de-footer {
	background: var(--surface-dark);
	border-top: 1px solid var(--border-dark);
	padding: 36px 0;
}
.de-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.de-footer__copy {
	font: 400 13.5px/1.6 var(--font-body);
	color: var(--ink-400);
	margin-top: 8px;
}
.de-footer__copy b { color: var(--concrete-300); }
.de-footer__meta {
	display: flex;
	align-items: center;
	gap: 20px;
	font: 500 13.5px/1 var(--font-body);
	flex-wrap: wrap;
}
.de-footer__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--concrete-300);
}
.de-footer__meta span .de-icon { color: var(--resin-400); }
.de-footer__meta span a { color: var(--concrete-300); }
.de-footer__meta span a:hover { color: var(--resin-400); }
.de-footer__meta > a { color: var(--resin-400); }

.de-footer__credit {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--border-dark);
	font: 400 12.5px/1.6 var(--font-body);
	color: var(--ink-400);
	text-align: center;
}
.de-footer__credit a {
	color: var(--concrete-300);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.de-footer__credit a:hover {
	color: var(--resin-400);
	border-bottom-color: var(--resin-400);
}

.de-floating {
	position: fixed;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 200;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.de-floating a {
	width: 52px;
	height: 52px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
	transition: transform var(--dur-fast) var(--ease-brand);
	color: #fff;
}
.de-floating a:hover { transform: scale(1.08); }
.de-floating__wa { background: #25D366; }
.de-floating__tel { background: var(--action-primary); }
.de-floating__tt { background: #010101; }

/* Consent banner — a real dialog strip, not an overlay that blocks the page. */
.de-consent {
	position: fixed;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 300;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: rgba(21, 23, 28, .95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-md);
	padding: 18px 20px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .4);
}
.de-consent__body { flex: 1 1 340px; }
.de-consent__title {
	display: block;
	font: 700 15px/1.3 var(--font-display);
	color: var(--text-on-dark);
	margin-bottom: 5px;
}
.de-consent__text {
	font: 400 13px/1.6 var(--font-body);
	color: var(--concrete-300);
	margin: 0;
}
.de-consent__text a {
	color: var(--resin-400);
	text-decoration: underline;
	white-space: nowrap;
}
.de-consent__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	flex-shrink: 0;
}
.de-consent__btn { min-height: 42px; }

/* Footer legal row */
.de-footer__legal {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 26px;
	font: 500 13px/1.6 var(--font-body);
}
.de-footer__legal a { color: var(--concrete-300); text-decoration: none; }
.de-footer__legal a:hover { color: var(--resin-400); text-decoration: underline; }
.de-footer__legal + .de-footer__credit { margin-top: 16px; }

/* =========================================================================
   18. RESPONSIVE — mockups are desktop-first at 1160px. Below that, keep the
   hierarchy: single-column forms, stacked cards, collapsible nav, ≥44px taps.
   ========================================================================= */
@media (max-width: 1080px) {
	.de-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.de-strip { grid-template-columns: repeat(2, 1fr); }
	.de-strip a,
	.de-strip img { height: auto; aspect-ratio: 3 / 2; }
	.de-domenii__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.de-gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
	.de-brief__split,
	.de-section--split { gap: 40px; }
}

@media (max-width: 900px) {
	:root { --container-pad: 20px; }

	.site-nav__toggle { display: inline-flex; }
	.site-nav__right {
		position: absolute;
		left: 0;
		right: 0;
		top: 66px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--surface-page);
		border-bottom: 1px solid var(--border-subtle);
		padding: 8px var(--container-pad) 20px;
		box-shadow: var(--shadow-card);
	}
	.site-nav__right.is-open { display: flex; }
	.site-nav__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.site-nav__menu a {
		display: flex;
		align-items: center;
		min-height: 48px;
		font-size: 16px;
		border-bottom: 1px solid var(--border-subtle);
	}
	.site-nav__right .de-btn { justify-content: center; margin-top: 16px; }

	.de-brief__split,
	.de-section--split,
	.de-contact__grid { grid-template-columns: 1fr; }
	.de-brief__split > .de-zone__map { order: -1; }

	.de-grid-3 { grid-template-columns: 1fr; gap: 32px; }
	.de-grid-2,
	.de-bloggrid { grid-template-columns: 1fr; }

	.de-contact__grid { margin-top: -60px; }
	.de-pagehead--tall { padding-bottom: 120px; }

	.de-hero { min-height: 520px; }
	.de-hero__inner { padding: 72px 0 130px; }
	.de-statcard { margin-top: -80px; }
	.de-statcard__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding: 28px 10px; }
	.de-statcard__item:nth-child(odd) { border-left: none; }

	.de-gallery__stage img { height: 420px; }
	.de-article__photo { height: 260px; }
}

@media (max-width: 640px) {
	.de-section,
	.de-gallery { padding: 64px 0; }
	.de-brief { padding: 56px 0; }
	.de-blog,
	.de-article { padding: 48px 0 64px; }
	.de-pagehead { padding: 56px 0 48px; }
	.de-pagehead--tall { padding-bottom: 110px; }

	.de-grid-4,
	/* Doua coloane patrate, nu o banda letterbox pe toata latimea: pozele sunt
	   portret, iar inaltimea fixa de 180px le reducea la o felie de podea. */
	.de-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.de-strip a,
	.de-strip img { height: auto; aspect-ratio: 3 / 2; }
	.de-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }

	.de-form { padding: 24px; }
	.de-form__pair { grid-template-columns: 1fr; }
	.de-directcard,
	.de-detailcard { padding: 24px; }

	.de-brief__stats,
	.de-prose__stats { gap: 24px; }
	.de-stat__value { font-size: 32px; }

	.de-hero__inner { padding: 56px 0 120px; }
	.de-hero__actions .de-btn { width: 100%; justify-content: center; }
	.de-statcard__grid { padding: 24px 6px; }

	.de-gallery__stage img { height: 300px; }
	.de-gallery__arrow--prev { left: 10px; }
	.de-gallery__arrow--next { right: 10px; }

	.de-postteaser { flex-direction: column; align-items: stretch; }
	.de-postteaser img { width: 100%; height: 160px; }

	.de-footer__inner { flex-direction: column; align-items: flex-start; }
	.de-footer__meta { gap: 14px; }

	.de-floating { top: auto; bottom: 84px; transform: none; right: 14px; }
	.de-consent { left: 12px; right: 12px; bottom: 12px; padding: 16px; }

	.de-cta__inner .de-btn { width: 100%; justify-content: center; }
}

/* Every interactive control clears a 44px touch target. Keyed on small screens
   as well as coarse pointers: a phone that reports a fine pointer still gets
   thumbs, and the ≥44px rule is what makes the difference there. */
@media (pointer: coarse), (max-width: 900px) {
	.de-btn--md { padding: 15px 20px; }

	.de-sectionlink,
	.de-article__back,
	.de-wordmark,
	.skip-link,
	.de-footer__meta a,
	.de-footer__meta > span {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}

	/* Nav links stay full-width flex so their hairline rule spans the panel. */
	.site-nav__menu a { min-height: 48px; }

	.de-consent__btn { flex: 1 1 auto; justify-content: center; min-height: 44px; }
	.de-directcard__phone { padding: 7px 0; }
	.de-row__value a { min-height: 44px; display: inline-flex; align-items: center; }

	.de-field input,
	.de-field select,
	.de-field textarea { padding: 14px; }

	.de-gallery__thumb img { height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	.de-hero__bg { animation: none; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Editor / core block fallbacks so pasted content never breaks the grid. */
.alignwide, .alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--text-sm); color: var(--text-muted); }

@media (max-width: 560px) {
	.de-domenii__grid { grid-template-columns: 1fr; }
}

/* Firimituri, când le oferă un plugin de SEO */
.de-breadcrumbs {
	padding: 14px 0 0;
	font: 500 13px/1.5 var(--font-body);
	color: var(--text-muted);
}
.de-breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.de-breadcrumbs a:hover { color: var(--action-primary); }
.de-breadcrumbs .breadcrumb_last { color: var(--text-heading); }

