/* Digital Dounia - modern homepage design */

:root {
	--dd-primary: #2b2a70;
	--dd-primary-dark: #1c1b4d;
	--dd-primary-light: #4b4ab0;
	--dd-accent: #f5a623;
	--dd-accent-dark: #d98c0f;
	--dd-cyan: #22d3ee;
	--dd-cyan-dark: #0891b2;
	--dd-text: #1f2333;
	--dd-text-muted: #5c6170;
	--dd-bg-alt: #f6f6fb;
	--dd-border: #e6e6f0;
	--dd-radius: 16px;
	--dd-shadow: 0 10px 30px rgba(43, 42, 112, 0.08);
	--dd-shadow-hover: 0 16px 40px rgba(43, 42, 112, 0.16);
	--dd-glass-bg: rgba(255, 255, 255, 0.68);
	--dd-glass-border: rgba(255, 255, 255, 0.6);
}

.dd-home, .dd-home body {
	margin: 0;
}

.dd-home, .dd-home * {
	box-sizing: border-box;
}

.dd-home {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--dd-text);
	line-height: 1.6;
	background-color: #fbfbfe;
	background-image:
		radial-gradient(680px circle at 8% 0%, rgba(43, 42, 112, 0.10), transparent 60%),
		radial-gradient(620px circle at 92% 18%, rgba(34, 211, 238, 0.10), transparent 55%),
		radial-gradient(700px circle at 15% 70%, rgba(245, 166, 35, 0.07), transparent 55%),
		radial-gradient(650px circle at 100% 100%, rgba(43, 42, 112, 0.08), transparent 55%);
	background-repeat: no-repeat;
}

.dd-home h1, .dd-home h2, .dd-home h3 {
	font-family: 'Poppins', 'Inter', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--dd-primary-dark);
}

.dd-home p,
.dd-home li {
	margin: 0 0 1em;
	font-size: 1.05rem;
}

.dd-home a:not(.dd-btn) {
	text-decoration: none;
	color: inherit;
}

.dd-home a.dd-btn {
	text-decoration: none;
}

.dd-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.dd-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dd-accent-dark);
	margin-bottom: 0.8em;
}

/* Buttons */
.dd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.dd-btn--primary {
	background: var(--dd-primary);
	color: #fff;
	box-shadow: var(--dd-shadow);
}

.dd-btn--primary:hover {
	background: var(--dd-primary-light);
	transform: translateY(-2px);
	box-shadow: var(--dd-shadow-hover), 0 0 24px rgba(34, 211, 238, 0.35);
}

.dd-btn--accent {
	background: var(--dd-accent);
	color: #1f2333;
}

.dd-btn--accent:hover {
	background: var(--dd-accent-dark);
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 10px 24px rgba(217, 140, 15, 0.35);
}

.dd-btn--ghost {
	background: transparent;
	color: var(--dd-primary);
	border: 2px solid var(--dd-border);
}

.dd-btn--ghost:hover {
	border-color: var(--dd-primary);
	transform: translateY(-2px);
}

.dd-btn--small {
	padding: 8px 18px;
	font-size: 0.85rem;
	background: var(--dd-primary);
	color: #fff;
}

.dd-btn--small:hover {
	background: var(--dd-primary-light);
}

/* Header */
.dd-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--dd-border);
}

.dd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
}

.dd-logo img {
	display: block;
	height: 64px;
	width: auto;
}

.dd-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.dd-nav a {
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--dd-text);
	transition: color 0.2s ease;
}

.dd-nav a:hover {
	color: var(--dd-primary);
}

.dd-nav__cta {
	color: #fff !important;
}

.dd-nav-toggle,
.dd-nav-burger {
	display: none;
}

/* Hero */
.dd-hero {
	background:
		radial-gradient(600px circle at 85% 10%, rgba(34, 211, 238, 0.25), transparent 60%),
		radial-gradient(500px circle at 10% 90%, rgba(245, 166, 35, 0.2), transparent 55%),
		linear-gradient(135deg, var(--dd-primary-light) 0%, var(--dd-primary) 100%);
	background-color: var(--dd-primary);
	overflow: hidden;
	position: relative;
}

.dd-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 42px 42px;
	opacity: 0.6;
	pointer-events: none;
}

.dd-hero h1,
.dd-hero__text p {
	color: #fff;
}

.dd-hero__text p {
	color: rgba(255, 255, 255, 0.8);
}

.dd-hero .dd-eyebrow {
	color: var(--dd-accent);
}

.dd-hero .dd-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.dd-hero .dd-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.dd-cta .dd-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.dd-cta .dd-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

/* Trust strip */
.dd-trust {
	padding: 36px 24px;
	border-bottom: 1px solid var(--dd-border);
}

.dd-trust__label {
	display: block;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dd-text-muted);
	margin-bottom: 20px;
}

.dd-hero__inner {
	position: relative;
	z-index: 1;
	padding: 24px 24px 32px;
}

.dd-hero__track {
	position: relative;
}

.dd-hero__slide {
	display: none;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 40px;
}

.dd-hero__slide.is-active {
	display: grid;
	animation: dd-hero-fade 0.6s ease;
}

/* Photo slides: image-only, no text overlay. */
.dd-hero__slide--image {
	grid-template-columns: 1fr;
	min-height: 520px;
}

.dd-hero__media-stack {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.dd-hero__media {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.dd-hero__media.is-active {
	opacity: 1;
}

.dd-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Slides are image-only now: keep just a light bottom veil so the dots
   stay readable, without dulling the photo itself. */
.dd-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(20, 22, 68, 0.35) 0%,
		rgba(20, 22, 68, 0.05) 30%,
		transparent 55%
	);
}

@keyframes dd-hero-fade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dd-hero__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 44px;
}

.dd-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.dd-hero__dot:hover {
	background: rgba(255, 255, 255, 0.55);
}

.dd-hero__dot.is-active {
	background: var(--dd-accent);
	transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
	.dd-hero__slide.is-active {
		animation: none;
	}
}

.dd-hero__text h1 {
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	margin-bottom: 0.4em;
}

.dd-hero__text p {
	font-size: 1.2rem;
	max-width: 46ch;
}

.dd-hero__actions {
	display: flex;
	gap: 16px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.dd-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

.dd-hero__visual img {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 24px;
	padding: 20px;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.dd-hero__blob {
	position: absolute;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(245, 166, 35, 0.25), transparent 70%);
	border-radius: 50%;
	filter: blur(10px);
}

.dd-hero__visual--1 .dd-hero__blob {
	background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
}

.dd-hero__visual--2 .dd-hero__blob {
	background: radial-gradient(circle, rgba(120, 200, 120, 0.28), transparent 70%);
}

.dd-hero__icon-badge {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(6px);
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.dd-hero__icon-badge svg {
	width: 84px;
	height: 84px;
	color: #fff;
}

.dd-hero__visual--1 .dd-hero__icon-badge {
	background: rgba(34, 211, 238, 0.16);
	border-color: rgba(34, 211, 238, 0.4);
}

.dd-hero__visual--2 .dd-hero__icon-badge {
	background: rgba(120, 200, 120, 0.16);
	border-color: rgba(120, 200, 120, 0.4);
}

/* Stats */
.dd-stats {
	background: var(--dd-primary);
	color: #fff;
}

.dd-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding: 48px 24px;
	text-align: center;
}

.dd-stat__value {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 2.2rem;
	font-weight: 700;
}

.dd-stat__label {
	display: block;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 4px;
}

/* Sections */
.dd-section {
	padding: 90px 24px;
}

.dd-section--alt {
	background: rgba(246, 246, 251, 0.6);
	position: relative;
}

.dd-section__head {
	max-width: 640px;
	margin: 0 auto 56px;
	text-align: center;
}

.dd-section__head h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.dd-section__head p {
	color: var(--dd-text-muted);
}

/* Services */
.dd-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.dd-card {
	background: var(--dd-glass-bg);
	border: 1px solid var(--dd-glass-border);
	border-radius: var(--dd-radius);
	padding: 32px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dd-card:hover {
	border-color: rgba(43, 42, 112, 0.25);
}

.dd-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--dd-shadow-hover);
}

.dd-card__icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(43, 42, 112, 0.1), rgba(34, 211, 238, 0.12));
	box-shadow: 0 0 0 1px rgba(43, 42, 112, 0.06) inset, 0 6px 16px rgba(43, 42, 112, 0.1);
	color: var(--dd-primary);
	border-radius: 14px;
	margin-bottom: 18px;
	flex-shrink: 0;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.dd-card:hover .dd-card__icon,
.dd-pole:hover .dd-card__icon,
.dd-sector:hover .dd-card__icon {
	box-shadow: 0 0 0 1px rgba(43, 42, 112, 0.1) inset, 0 0 24px rgba(34, 211, 238, 0.35), 0 6px 16px rgba(43, 42, 112, 0.15);
	transform: translateY(-2px);
}

.dd-card__icon svg {
	width: 26px;
	height: 26px;
}

.dd-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.4em;
}

.dd-card p {
	color: var(--dd-text-muted);
	font-size: 1.05rem;
	margin: 0;
}

/* Packs / formations */
.dd-packs__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.dd-pack {
	background: var(--dd-glass-bg);
	border-radius: var(--dd-radius);
	overflow: hidden;
	border: 1px solid var(--dd-glass-border);
	box-shadow: var(--dd-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.dd-pack:hover {
	transform: translateY(-6px);
	box-shadow: var(--dd-shadow-hover);
}

.dd-pack__media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--dd-bg-alt);
}

.dd-pack__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dd-pack__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.dd-pack__body h3 {
	font-size: 1.05rem;
	margin: 0;
}

.dd-pack__body p {
	color: var(--dd-text-muted);
	font-size: 1rem;
	margin: 0;
	flex: 1;
}

.dd-pack__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
}

.dd-pack__price {
	font-weight: 700;
	color: var(--dd-primary);
}

/* About */
.dd-about {
	max-width: 760px;
	text-align: center;
}

.dd-about__text h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.dd-about__text p {
	color: var(--dd-text-muted);
}

.dd-checklist {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: inline-flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
}

.dd-checklist li {
	position: relative;
	padding-left: 28px;
	color: var(--dd-text);
	font-weight: 500;
}

.dd-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--dd-accent-dark);
	font-weight: 700;
}

/* CTA */
.dd-cta {
	background:
		radial-gradient(550px circle at 15% 0%, rgba(34, 211, 238, 0.2), transparent 60%),
		radial-gradient(500px circle at 100% 100%, rgba(245, 166, 35, 0.18), transparent 55%),
		linear-gradient(135deg, var(--dd-primary-light) 0%, var(--dd-primary) 100%);
	background-color: var(--dd-primary);
	color: #fff;
	text-align: center;
	padding: 80px 24px;
}

.dd-cta h2 {
	color: #fff;
}

.dd-cta p {
	color: rgba(255, 255, 255, 0.8);
	max-width: 46ch;
	margin: 0 auto 28px;
}

/* Reveal-on-scroll (subtle) */
.dd-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.dd-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.dd-section__more {
	text-align: center;
	margin-top: 40px;
}

/* Inner page hero */
.dd-page-hero {
	background:
		radial-gradient(500px circle at 90% 0%, rgba(34, 211, 238, 0.22), transparent 60%),
		radial-gradient(450px circle at 5% 100%, rgba(245, 166, 35, 0.18), transparent 55%),
		linear-gradient(135deg, var(--dd-primary-light) 0%, var(--dd-primary) 100%);
	background-color: var(--dd-primary);
	padding: 70px 24px 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.dd-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 42px 42px;
	opacity: 0.6;
	pointer-events: none;
}

.dd-page-hero .dd-container {
	position: relative;
	z-index: 1;
}

.dd-page-hero h1 {
	font-size: clamp(1.9rem, 3.6vw, 2.8rem);
	color: #fff;
}

.dd-page-hero p {
	color: rgba(255, 255, 255, 0.8);
	max-width: 56ch;
	margin: 0 auto;
}

.dd-page-hero .dd-eyebrow {
	color: var(--dd-accent);
}

/* Services page - 6 poles */
.dd-poles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.dd-pole {
	background: var(--dd-glass-bg);
	border: 1px solid var(--dd-glass-border);
	border-radius: var(--dd-radius);
	padding: 32px;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dd-pole:hover {
	transform: translateY(-6px);
	box-shadow: var(--dd-shadow-hover);
}

.dd-pole h2 {
	font-size: 1.1rem;
	margin-bottom: 0.3em;
}

.dd-pole__tagline {
	font-weight: 600;
	color: var(--dd-primary);
	font-size: 0.9rem;
	margin-bottom: 0.6em;
}

.dd-pole__desc {
	color: var(--dd-text-muted);
	font-size: 1rem;
}

.dd-pole .dd-checklist {
	flex: 1;
	margin-bottom: 20px;
}

.dd-pole__cta {
	align-self: flex-start;
}

/* Sectors page */
.dd-sectors__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.dd-sector {
	background: var(--dd-glass-bg);
	border: 1px solid var(--dd-glass-border);
	border-radius: var(--dd-radius);
	padding: 32px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dd-sector:hover {
	transform: translateY(-6px);
	box-shadow: var(--dd-shadow-hover);
}

.dd-sector h2 {
	font-size: 1.1rem;
}

/* Method / process steps */
.dd-method {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.dd-method__step {
	position: relative;
	padding: 24px 18px;
	background: var(--dd-glass-bg);
	border: 1px solid var(--dd-glass-border);
	border-radius: 14px;
	text-align: center;
}

.dd-method__num {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	color: var(--dd-accent-dark);
	font-size: 0.85rem;
	margin-bottom: 10px;
}

.dd-method__step h3 {
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.dd-method__step p {
	font-size: 0.98rem;
	color: var(--dd-text-muted);
	margin: 0;
}

/* Promise section */
.dd-promise {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.dd-promise p {
	color: var(--dd-text-muted);
	font-size: 1.15rem;
}

/* Sector teaser pills (homepage) */
.dd-sector-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.dd-sector-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--dd-glass-bg);
	border: 1px solid var(--dd-glass-border);
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--dd-text);
}

.dd-sector-pill svg {
	width: 16px;
	height: 16px;
	color: var(--dd-primary);
}

/* Advantages */
.dd-advantages__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.dd-advantage {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--dd-glass-bg);
	border: 1px solid var(--dd-glass-border);
	border-radius: 12px;
	padding: 18px 20px;
	font-weight: 500;
}

.dd-advantage__icon {
	display: flex;
	color: var(--dd-accent-dark);
	flex-shrink: 0;
}

.dd-advantage__icon svg {
	width: 20px;
	height: 20px;
}

/* Clients */
.dd-clients__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 36px;
}

.dd-client__logo {
	height: 48px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.dd-client__logo:hover {
	filter: grayscale(0);
	opacity: 1;
}

.dd-client__badge {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: var(--dd-text-muted);
	border: 1px solid var(--dd-border);
	border-radius: 999px;
	padding: 10px 22px;
}

/* Contact page */
.dd-contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.dd-contact-info {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.dd-contact-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.dd-contact-item h3 {
	font-size: 1rem;
	margin-bottom: 4px;
}

.dd-contact-item div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--dd-text-muted);
	font-size: 1.05rem;
}

.dd-contact-item a {
	color: var(--dd-text);
	font-weight: 600;
}

.dd-contact-item a:hover {
	color: var(--dd-primary);
}

.dd-contact-form {
	background: var(--dd-bg-alt);
	border-radius: var(--dd-radius);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.dd-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.dd-contact-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--dd-text);
}

.dd-contact-form input,
.dd-contact-form textarea {
	font-family: inherit;
	font-size: 0.95rem;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--dd-border);
	background: #fff;
	color: var(--dd-text);
	resize: vertical;
}

.dd-contact-form input:focus,
.dd-contact-form textarea:focus {
	outline: none;
	border-color: var(--dd-primary);
}

.dd-contact-form button {
	align-self: flex-start;
}

/* Map */
.dd-map {
	line-height: 0;
}

.dd-map iframe {
	display: block;
	filter: grayscale(0.15);
}

/* Edit-mode card controls — injected by JS only once the access code checks
   out, so nothing here ever renders for ordinary visitors. */
.dd-admin-mode [data-dd-id] {
	position: relative;
}

.dd-card-tools {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 6px;
	z-index: 3;
}

.dd-card-tool {
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--dd-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--dd-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.dd-card-tool svg {
	width: 15px;
	height: 15px;
}

.dd-card-tool:hover {
	background: var(--dd-primary);
	color: #fff;
	transform: scale(1.08);
}

.dd-card-tool--danger:hover {
	background: #c0392b;
	border-color: #c0392b;
}

.dd-admin-chip {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	padding: 9px 18px;
	border: none;
	border-radius: 999px;
	background: var(--dd-primary-dark);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--dd-shadow);
	z-index: 70;
}

.dd-admin-chip:hover {
	background: #c0392b;
}

/* Floating call button */
.dd-call-fab {
	position: fixed;
	left: 24px;
	bottom: 24px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: var(--dd-shadow);
	z-index: 60;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: dd-call-fab-pulse 2.4s ease-out infinite;
}

.dd-call-fab svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.dd-call-fab:hover {
	transform: scale(1.08);
	box-shadow: var(--dd-shadow-hover);
	color: #fff;
}

@keyframes dd-call-fab-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
	}
	70% {
		box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

/* Back to top - progress ring + rocket */
.dd-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(0.9);
	transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
	z-index: 90;
	box-shadow: var(--dd-shadow);
}

.dd-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.dd-to-top:hover {
	box-shadow: var(--dd-shadow-hover);
}

.dd-to-top__ring {
	position: absolute;
	inset: 0;
	width: 52px;
	height: 52px;
	transform: rotate(-90deg);
}

.dd-to-top__ring-track {
	fill: none;
	stroke: var(--dd-border);
	stroke-width: 2.5;
}

.dd-to-top__ring-progress {
	fill: none;
	stroke: var(--dd-accent);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-dasharray: 119.4;
	stroke-dashoffset: 119.4;
	transition: stroke-dashoffset 0.1s linear;
}

.dd-to-top__rocket {
	position: relative;
	display: flex;
	color: var(--dd-primary);
	transform: rotate(45deg);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dd-to-top__rocket svg {
	width: 20px;
	height: 20px;
}

.dd-to-top:hover .dd-to-top__rocket {
	transform: rotate(0deg) translateY(-2px);
}

/* Footer */
.dd-footer {
	background: var(--dd-primary-dark);
	color: rgba(255, 255, 255, 0.85);
	padding: 64px 24px 24px;
}

.dd-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dd-footer__wordmark {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 12px;
}

.dd-footer__tagline {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9rem;
}

.dd-social {
	display: flex;
	gap: 10px;
}

.dd-social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	transition: background 0.2s ease;
}

.dd-social a:hover {
	background: var(--dd-accent);
	color: #1f2333;
}

.dd-footer__col h4 {
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	margin-bottom: 16px;
}

.dd-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 0.9rem;
}

.dd-footer__col a:hover {
	color: var(--dd-accent);
}

.dd-newsletter {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.dd-newsletter input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.dd-newsletter input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.dd-footer__bottom {
	padding-top: 24px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
	.dd-hero__inner {
		padding: 16px 16px 24px;
		text-align: center;
	}

	.dd-hero__slide {
		grid-template-columns: 1fr;
	}

	.dd-hero__slide--image {
		min-height: 360px;
	}

	.dd-hero__actions {
		justify-content: center;
	}

	.dd-hero__visual {
		order: -1;
	}

	.dd-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dd-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dd-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dd-poles__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dd-sectors__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dd-method {
		grid-template-columns: repeat(3, 1fr);
	}

	.dd-advantages__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dd-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.dd-nav-burger {
		display: flex;
		flex-direction: column;
		gap: 5px;
		cursor: pointer;
		padding: 8px;
	}

	.dd-nav-burger span {
		width: 24px;
		height: 2px;
		background: var(--dd-text);
	}

	.dd-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 24px 24px;
		gap: 16px;
		border-bottom: 1px solid var(--dd-border);
		display: none;
	}

	.dd-nav-toggle:checked ~ .dd-nav {
		display: flex;
	}

	.dd-services__grid {
		grid-template-columns: 1fr;
	}

	.dd-poles__grid {
		grid-template-columns: 1fr;
	}

	.dd-sectors__grid {
		grid-template-columns: 1fr;
	}

	.dd-method {
		grid-template-columns: 1fr 1fr;
	}

	.dd-footer__grid {
		grid-template-columns: 1fr;
	}

	.dd-advantages__grid {
		grid-template-columns: 1fr;
	}

	.dd-form-row {
		grid-template-columns: 1fr;
	}

	.dd-to-top {
		right: 16px;
		bottom: 16px;
	}
}

@media (max-width: 480px) {
	.dd-stats__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Pack signup modal */
.dd-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.dd-modal[hidden] {
	display: none;
}

.dd-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 27, 77, 0.55);
	backdrop-filter: blur(2px);
}

.dd-modal__panel {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: var(--dd-radius);
	box-shadow: var(--dd-shadow-hover);
	padding: 32px;
	max-width: 420px;
	width: 100%;
	animation: dd-hero-fade 0.25s ease;
}

.dd-modal__panel h3 {
	margin-bottom: 0.4em;
}

.dd-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: var(--dd-bg-alt);
	color: var(--dd-text);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.dd-modal__close:hover {
	background: var(--dd-border);
}

#dd-signup-form,
#dd-quickadd-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
	max-height: 70vh;
	overflow-y: auto;
}

#dd-signup-form label,
#dd-quickadd-form label,
#dd-appointment-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-weight: 500;
	font-size: 0.95rem;
}

#dd-signup-form input,
#dd-quickadd-form input,
#dd-quickadd-form select,
#dd-quickadd-form textarea,
#dd-appointment-form input,
#dd-appointment-form select,
#dd-appointment-form textarea {
	font-family: inherit;
	font-size: 0.95rem;
	padding: 12px 14px;
	border: 1px solid var(--dd-border);
	border-radius: 10px;
}

#dd-quickadd-form textarea,
#dd-appointment-form textarea {
	resize: vertical;
}

#dd-appointment-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
	max-height: 70vh;
	overflow-y: auto;
}

#dd-appointment-form .dd-form-row {
	gap: 16px;
}

.dd-field-hint {
	font-weight: 400;
	color: var(--dd-text-soft, #6b7280);
}

.dd-contact-appointment {
	align-self: flex-start;
	margin-top: 8px;
}

#dd-quickadd-form label[hidden] {
	display: none;
}

.dd-quickadd__section-label {
	margin: 0.2em 0 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--dd-accent-dark);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dd-modal__status {
	margin: 0;
	font-size: 0.9rem;
	min-height: 1.2em;
}

.dd-modal__status.is-success {
	color: #1a7f4a;
}

.dd-modal__status.is-error {
	color: #c0392b;
}
