/* dograma-gabrovo.com redesign 2026-12
 * Source file: U(n) = n pixels of the 1024 px mockup; build.py turns it into calc(n * var(--u)).
 * Desktop scales with the page width (1024 px wide = exactly the mockup); phones use their own layout below.
 */
body.dg-rd {
	--dg-navy: #1b2f50;
	--dg-ink: #0f1e38;
	--dg-orange: #f06a1a;
	--dg-orange-2: #d95a0e;
	--dg-bg: #f8f3ee;
	--dg-head: #fbf8f5;
	--dg-card: #fbf8f4;
	--dg-box: #f3ebe2;
	--dg-line: #e9dfd4;
	--dg-text: #1d2633;
	--u: clamp(.8px, calc(100cqw / 1024), 1.4px);
	margin: 0;
	background: var(--dg-bg);
	color: var(--dg-text);
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
.dg-page { container-type: inline-size; background: var(--dg-bg); font-feature-settings: "locl" 0; }
.dg-rd .dg-page * { font-feature-settings: "locl" 0; }
.dg-rd *, .dg-rd *::before, .dg-rd *::after { box-sizing: border-box; }
.dg-rd img { max-width: 100%; height: auto; }
.dg-rd h1, .dg-rd h2, .dg-rd h3 { font-family: "Montserrat", Arial, sans-serif; color: var(--dg-ink); text-transform: none; letter-spacing: -.01em; }
.dg-rd .dg-ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.dg-rd p { margin: 0; }
.dg-wrap { width: calc(968 * var(--u)); margin-left: auto; margin-right: auto; }
.dg-skip { position: absolute; left: -9999px; top: 0; }
.dg-skip:focus { left: 8px; top: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* buttons and pills */
.dg-rd .dg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: calc(6 * var(--u));
	height: calc(30 * var(--u)); padding: 0 calc(15 * var(--u)); border-radius: calc(4 * var(--u)); border: calc(1.5 * var(--u)) solid transparent;
	font-family: "Open Sans", Arial, sans-serif; font-weight: 600; font-size: calc(13 * var(--u)); line-height: 1;
	text-decoration: none; text-transform: none; letter-spacing: 0; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s;
}
.dg-rd .dg-btn .dg-ico { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.dg-rd .dg-btn-orange { background: linear-gradient(180deg, #f5761f, var(--dg-orange)); color: #fff; box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(240, 106, 26, .28); }
.dg-rd .dg-btn-orange:hover, .dg-rd .dg-btn-orange:focus-visible { background: var(--dg-orange-2); color: #fff; }
.dg-rd .dg-btn-outline { border-color: var(--dg-ink); color: var(--dg-ink); background: #fff; }
.dg-rd .dg-btn-outline:hover, .dg-rd .dg-btn-outline:focus-visible { background: var(--dg-ink); color: #fff; }
.dg-rd .dg-pill {
	display: inline-block; align-self: flex-start; background: linear-gradient(180deg, #f5761f, var(--dg-orange)); color: #fff;
	font-family: "Open Sans", Arial, sans-serif; font-weight: 600; font-size: calc(14 * var(--u)); line-height: calc(21 * var(--u));
	padding: 0 calc(11 * var(--u)); border-radius: calc(4 * var(--u)); white-space: nowrap;
}

/* top bar */
.dg-topbar { background: var(--dg-navy); color: #fff; }
.dg-topbar-in { display: flex; justify-content: space-between; align-items: center; width: calc(924 * var(--u)); height: calc(28 * var(--u)); margin: 0 auto; font-family: "Roboto Condensed", Arial, sans-serif; font-size: calc(13.5 * var(--u)); font-weight: 500; }
.dg-topbar-right { display: flex; gap: calc(36 * var(--u)); }
.dg-rd .dg-topbar-item { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); color: #fff; text-decoration: none; }
.dg-rd .dg-topbar-item .dg-ico { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.dg-rd a.dg-topbar-item:hover { color: #ffc49e; }

/* header */
.dg-header { background: var(--dg-head); position: sticky; top: 0; z-index: 400; box-shadow: 0 1px calc(6 * var(--u)) rgba(15, 30, 56, .06); }
.admin-bar .dg-header { top: 32px; }
.dg-header-in { display: flex; align-items: center; width: calc(938 * var(--u)); height: calc(47 * var(--u)); margin: 0 auto; }
.dg-rd .dg-logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.dg-logo img { display: block; width: calc(220 * var(--u)); }
.dg-nav { display: flex; align-items: center; margin-left: auto; }
.dg-rd .dg-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.dg-menu > li { position: relative; margin: 0; }
.dg-rd .dg-menu a {
	display: block; padding: calc(8 * var(--u)) calc(10 * var(--u)); color: var(--dg-ink); text-decoration: none;
	font-family: "Roboto Condensed", Arial, sans-serif; font-weight: 600; font-size: calc(13.5 * var(--u)); line-height: 1.2; white-space: nowrap;
}
.dg-rd .dg-menu a:hover, .dg-rd .dg-menu .current-menu-item > a, .dg-rd .dg-menu .current-menu-ancestor > a { color: var(--dg-orange); }
.dg-rd .dg-menu .sub-menu {
	list-style: none; margin: 0; padding: calc(6 * var(--u)) 0; position: absolute; left: 0; top: 100%; min-width: calc(220 * var(--u));
	background: #fff; border-radius: calc(6 * var(--u)); box-shadow: 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(15, 30, 56, .16);
	opacity: 0; visibility: hidden; transform: translateY(calc(4 * var(--u))); transition: opacity .18s, transform .18s, visibility .18s;
}
.dg-menu li:hover > .sub-menu, .dg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.dg-rd .dg-menu .sub-menu a { padding: calc(7 * var(--u)) calc(16 * var(--u)); font-weight: 500; white-space: normal; }
.dg-rd .dg-nav-cta { width: calc(106 * var(--u)); height: calc(30 * var(--u)); margin-left: calc(12 * var(--u)); font-family: "Open Sans", Arial, sans-serif; font-size: calc(14.5 * var(--u)); font-weight: 600; }
.dg-burger { display: none; }

/* hero */
.dg-hero, .dg-plise { --dg-off: max(0px, calc((100% - calc(1024 * var(--u))) / 2)); }
.dg-hero { position: relative; height: calc(295 * var(--u)); background: linear-gradient(90deg, #f8f2eb, #f4ede4); overflow: hidden; border-bottom: 1px solid #d6ccc1; }
.dg-hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--dg-off) + calc(402 * var(--u))); clip-path: polygon(calc(100 * var(--u)) 0, 100% 0, 100% 100%, 0 100%); }
.dg-rd .dg-hero-room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.dg-hero-panel { position: absolute; right: 0; bottom: 0; width: calc(185 * var(--u)); height: calc(140 * var(--u)); background: linear-gradient(160deg, #f6f3ef, #e7e1da); clip-path: polygon(calc(38 * var(--u)) 0, 100% 0, 100% 100%, 0 100%); }
.dg-rd .dg-hero-profile { position: absolute; right: calc(26 * var(--u)); bottom: calc(-8 * var(--u)); width: calc(124 * var(--u)); filter: drop-shadow(0 calc(6 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, .22)); }
.dg-hero-text { position: relative; z-index: 2; padding: calc(15 * var(--u)) 0 0 calc(var(--dg-off) + calc(56 * var(--u))); }
.dg-rd .dg-hero h1 { font-size: calc(43 * var(--u)); line-height: calc(39 * var(--u)); font-weight: 800; margin: 0; }
.dg-bar { display: block; width: calc(64 * var(--u)); height: calc(5 * var(--u)); background: var(--dg-orange); margin: calc(13 * var(--u)) 0 calc(11 * var(--u)); }
.dg-hero-sub { font-family: "Montserrat", Arial, sans-serif; font-weight: 600; font-size: calc(15.5 * var(--u)); line-height: calc(20 * var(--u)); color: var(--dg-ink); }
.dg-hero-btns { display: flex; gap: calc(12 * var(--u)); margin-top: calc(11 * var(--u)); }
.dg-rd .dg-hero-btns .dg-btn { padding: 0 calc(13 * var(--u)); }
.dg-hero-logos { display: flex; align-items: center; margin-top: calc(13 * var(--u)); }
.dg-rd .dg-logo-rehau { width: calc(138 * var(--u)); }
.dg-hero-logos span { width: 1px; height: calc(30 * var(--u)); background: #8f8a85; margin: 0 calc(26 * var(--u)); }
.dg-rd .dg-logo-maco { width: calc(52 * var(--u)); }

/* product tiles */
.dg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(16 * var(--u)); margin-top: calc(26 * var(--u)); }
.dg-rd .dg-tile {
	display: grid; grid-template-columns: 52% 1fr; align-items: center; height: calc(89 * var(--u)); overflow: hidden;
	background: var(--dg-card); border-radius: calc(8 * var(--u)); text-decoration: none; box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(15, 30, 56, .07);
	transition: transform .2s, box-shadow .2s;
}
.dg-rd .dg-tile:hover { transform: translateY(calc(-2 * var(--u))); box-shadow: 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(15, 30, 56, .13); }
.dg-rd .dg-tile img { width: 100%; height: 100%; object-fit: cover; }
.dg-tile-label { display: block; padding: 0 calc(2 * var(--u)) 0 calc(10 * var(--u)); font-family: "Montserrat", Arial, sans-serif; font-weight: 700; font-size: calc(13.3 * var(--u)); line-height: calc(16 * var(--u)); letter-spacing: -.02em; color: var(--dg-ink); }
.dg-tile-label .dg-ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--dg-orange); margin-left: calc(4 * var(--u)); vertical-align: calc(-2 * var(--u)); }

/* REHAU block */
.dg-rehau { position: relative; width: calc(944 * var(--u)); margin: calc(26 * var(--u)) auto 0; padding: calc(10 * var(--u)) calc(36 * var(--u)) calc(17 * var(--u)) calc(43 * var(--u)); background: var(--dg-box); border-radius: calc(10 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(15, 30, 56, .05); }
.dg-rd .dg-rehau h2 { font-size: calc(33 * var(--u)); line-height: calc(38 * var(--u)); font-weight: 800; margin: 0; }
.dg-rehau-sub { font-family: "Montserrat", Arial, sans-serif; font-weight: 700; font-size: calc(18 * var(--u)); line-height: calc(22 * var(--u)); color: var(--dg-orange); }
.dg-rd .dg-rehau-text { position: relative; max-width: calc(858 * var(--u)); margin: calc(8 * var(--u)) 0 0 calc(9 * var(--u)); font-size: calc(13.6 * var(--u)); line-height: calc(18 * var(--u)); letter-spacing: -.005em; color: var(--dg-text); }
.dg-rehau-text::before { content: ""; position: absolute; left: calc(-20 * var(--u)); top: calc(4 * var(--u)); bottom: calc(4 * var(--u)); width: calc(2 * var(--u)); background: var(--dg-orange); }
.dg-rd .dg-rehau-maco { position: absolute; right: calc(72 * var(--u)); top: calc(20 * var(--u)); width: calc(46 * var(--u)); }

/* profiles */
.dg-profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(16 * var(--u)); margin-top: calc(26 * var(--u)); }
.dg-rd .dg-profile {
	display: flex; flex-direction: column; height: calc(277 * var(--u)); padding: calc(4 * var(--u)) calc(10 * var(--u)) calc(12 * var(--u)) calc(29 * var(--u)); text-decoration: none;
	background: linear-gradient(180deg, #f6efe7, var(--dg-card)); border-radius: calc(10 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(15, 30, 56, .07); transition: transform .2s;
}
.dg-rd .dg-profile:hover { transform: translateY(calc(-2 * var(--u))); }
.dg-profile-img { display: flex; justify-content: center; align-items: flex-end; height: calc(174 * var(--u)); margin: 0 0 calc(-4 * var(--u)) calc(-22 * var(--u)); }
.dg-rd .dg-profile-img img { width: auto; max-height: 100%; }
.dg-profile-name { font-family: "Montserrat", Arial, sans-serif; font-weight: 800; font-size: calc(21.5 * var(--u)); line-height: calc(22 * var(--u)); color: var(--dg-ink); letter-spacing: -.01em; }
.dg-rd .dg-profile .dg-pill { margin: calc(5 * var(--u)) 0 calc(7 * var(--u)); }
.dg-profile-spec { font-size: calc(13.5 * var(--u)); line-height: calc(16 * var(--u)); font-weight: 500; color: var(--dg-ink); }

/* mosquito net banner */
.dg-plise { position: relative; height: calc(200 * var(--u)); margin-top: calc(36 * var(--u)); background: var(--dg-navy); overflow: hidden; }
.dg-plise-media { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--dg-off) + calc(420 * var(--u))); }
.dg-rd .dg-plise-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.dg-plise-shape { position: absolute; top: 0; right: 0; bottom: 0; left: var(--dg-off); pointer-events: none; }
.dg-plise-shape::before { content: ""; position: absolute; inset: 0; background: var(--dg-navy); clip-path: polygon(0 0, calc(500 * var(--u)) 0, calc(418 * var(--u)) 100%, 0 100%); }
.dg-plise-shape::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #f58a2a, var(--dg-orange)); clip-path: polygon(calc(500 * var(--u)) 0, calc(518 * var(--u)) 0, calc(436 * var(--u)) 100%, calc(418 * var(--u)) 100%); }
.dg-plise-text { position: relative; z-index: 2; padding: calc(16 * var(--u)) 0 0 calc(var(--dg-off) + calc(61 * var(--u))); color: #fff; }
.dg-rd .dg-plise h2 { color: #fff; font-size: calc(39 * var(--u)); line-height: calc(42 * var(--u)); font-weight: 800; margin: 0; letter-spacing: -.005em; }
.dg-plise-sub { font-size: calc(22.5 * var(--u)); line-height: calc(27 * var(--u)); }
.dg-plise-lead { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); margin-top: calc(4 * var(--u)) !important; }
.dg-rd .dg-plise .dg-btn { height: calc(33 * var(--u)); width: calc(262 * var(--u)); margin-top: calc(9 * var(--u)); font-size: calc(15 * var(--u)); }
.dg-rd .dg-plise .dg-btn .dg-ico { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.dg-rd .dg-plise-site { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-top: calc(9 * var(--u)) !important; font-size: calc(15 * var(--u)); }
.dg-rd .dg-plise-site .dg-ico { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }

/* sample prices */
.dg-prices { margin-top: calc(34 * var(--u)); }
.dg-rd .dg-prices h2 { font-size: calc(30.5 * var(--u)); line-height: calc(36 * var(--u)); font-weight: 800; margin: 0 0 calc(16 * var(--u)) calc(12 * var(--u)); }
.dg-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: calc(88 * var(--u)) calc(99 * var(--u)); gap: calc(14 * var(--u)) calc(14 * var(--u)); }
.dg-rd .dg-price {
	display: grid; grid-template-columns: calc(165 * var(--u)) 1fr; align-items: center; padding-right: calc(8 * var(--u));
	background: var(--dg-card); border: 1px solid var(--dg-line); border-radius: calc(8 * var(--u)); text-decoration: none; transition: box-shadow .2s, border-color .2s;
}
.dg-rd .dg-price:hover { border-color: var(--dg-orange); box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(15, 30, 56, .1); }
.dg-price-img { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 calc(12 * var(--u)) 0 calc(22 * var(--u)); overflow: hidden; }
.dg-rd .dg-price-img .dg-win { display: block; width: auto; height: calc(68 * var(--u)); filter: drop-shadow(0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, .18)); }
.dg-rd .dg-price:nth-child(n+4) .dg-price-img .dg-win { height: calc(90 * var(--u)); }
.dg-price-title { display: block; font-weight: 700; font-size: calc(13.3 * var(--u)); line-height: calc(14.5 * var(--u)); color: var(--dg-ink); }
.dg-price-link { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); margin-top: calc(9 * var(--u)); color: var(--dg-orange); font-weight: 700; font-size: calc(13.5 * var(--u)); }
.dg-rd .dg-price-link .dg-ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

/* award + call to action */
.dg-bottom { display: flex; align-items: center; width: calc(968 * var(--u)); height: calc(120 * var(--u)); margin: calc(30 * var(--u)) auto calc(26 * var(--u)); padding-left: calc(77 * var(--u)); }
.dg-rd .dg-award { display: flex; align-items: center; gap: calc(17 * var(--u)); width: calc(362 * var(--u)); text-decoration: none; }
.dg-rd .dg-award img { width: calc(110 * var(--u)); height: calc(110 * var(--u)); }
.dg-award-text { display: flex; flex-direction: column; }
.dg-award-title { font-family: "Open Sans", Arial, sans-serif; font-weight: 700; font-size: calc(15.5 * var(--u)); line-height: calc(17 * var(--u)); color: var(--dg-ink); }
.dg-rd .dg-award .dg-pill { margin-top: calc(7 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(23 * var(--u)); padding: 0 calc(10 * var(--u)); }
.dg-bottom-sep { width: 1px; height: calc(78 * var(--u)); background: #b9b2aa; flex: none; }
.dg-cta { margin-left: calc(50 * var(--u)); }
.dg-rd .dg-cta h2 { font-size: calc(24 * var(--u)); line-height: calc(28 * var(--u)); font-weight: 800; margin: 0; }
.dg-rd .dg-cta p { font-size: calc(11.5 * var(--u)); line-height: calc(14 * var(--u)); color: var(--dg-ink); margin-top: calc(2 * var(--u)); }
.dg-cta-row { display: flex; align-items: center; margin-top: calc(10 * var(--u)); }
.dg-rd .dg-cta .dg-btn { width: calc(180 * var(--u)); height: calc(28 * var(--u)); font-size: calc(14 * var(--u)); }
.dg-rd .dg-cta-phone { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); margin-left: calc(26 * var(--u)); color: var(--dg-ink); font-family: "Open Sans", Arial, sans-serif; font-weight: 700; font-size: calc(19.5 * var(--u)); text-decoration: none; }
.dg-rd .dg-cta-phone .dg-ico { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }

/* footer */
.dg-footer { background: var(--dg-navy); color: #fff; font-family: "Roboto Condensed", Arial, sans-serif; }
.dg-footer-top { display: flex; align-items: center; width: calc(920 * var(--u)); height: calc(34 * var(--u)); margin: 0 auto; padding-top: calc(6 * var(--u)); padding-left: calc(28 * var(--u)); }
.dg-rd .dg-footer .dg-logo img { width: calc(200 * var(--u)); }
.dg-footer-sep { width: 1px; height: calc(18 * var(--u)); background: rgba(255, 255, 255, .55); margin: 0 calc(38 * var(--u)); }
.dg-rd .dg-footer-item { display: inline-flex; align-items: center; gap: calc(9 * var(--u)); font-size: calc(12 * var(--u)); color: #fff; text-decoration: none; white-space: nowrap; }
.dg-rd .dg-footer-item .dg-ico { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.dg-footer-nav { display: flex; justify-content: center; gap: calc(48 * var(--u)); width: calc(920 * var(--u)); margin: calc(1 * var(--u)) auto 0; padding-bottom: calc(4 * var(--u)); border-bottom: 1px solid rgba(255, 255, 255, .28); }
.dg-rd .dg-footer-nav a { font-size: calc(12 * var(--u)); color: #fff; text-decoration: none; }
.dg-rd .dg-footer a:hover { color: #ffc49e; }
.dg-footer-bottom { text-align: center; font-family: "Open Sans", Arial, sans-serif; font-size: calc(9.5 * var(--u)); line-height: calc(19 * var(--u)); color: #e6ebf3; }
.dg-rd .dg-footer-cookies { color: #c9d3e3; margin-left: calc(10 * var(--u)); text-decoration: none; }

/* inner pages (normal pixel sizes) */
.dg-pagehead { background: var(--dg-box); padding: 26px 0 24px; border-bottom: 4px solid var(--dg-orange); }
.dg-pagehead .dg-wrap, .dg-bottom-inner { width: min(1180px, calc(100% - 40px)); }
.dg-rd .dg-pagehead h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin: 0; line-height: 1.15; }
.dg-crumbs { margin: 0 0 6px !important; font-size: 13px; color: #5a6473; }
.dg-rd .dg-crumbs a { color: var(--dg-orange); text-decoration: none; }
.dg-rd .dg-content.main-page-wrapper { margin-top: 0; padding: 30px 0 10px; background: #fff; }
.dg-rd .dg-content .container { max-width: 1220px; }
.dg-rd .dg-content a { color: var(--dg-orange-2); }
.dg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dg-rd .dg-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--dg-line); border-radius: 10px; text-decoration: none; background: #fff; }
.dg-rd .dg-card:hover { border-color: var(--dg-orange); }
.dg-rd .dg-card-img img { width: 100%; height: 180px; object-fit: contain; }
.dg-card-title { font-family: "Montserrat", Arial, sans-serif; font-weight: 700; color: var(--dg-ink); }
.dg-rd .dg-card .dg-price-link { font-size: 14px; margin-top: 0; }
.dg-empty { text-align: center; padding: 40px 0; }
.dg-bottom-inner { height: auto; padding: 28px 0 36px; justify-content: center; text-align: center; }
.dg-bottom-inner .dg-cta { margin-left: 0; }
.dg-rd .dg-bottom-inner .dg-cta h2 { font-size: 26px; line-height: 1.2; }
.dg-rd .dg-bottom-inner .dg-cta p { font-size: 15px; line-height: 1.4; margin-top: 4px; }
.dg-bottom-inner .dg-cta-row { justify-content: center; margin-top: 14px; }
.dg-rd .dg-bottom-inner .dg-cta .dg-btn { width: auto; height: 42px; padding: 0 20px; font-size: 15px; }
.dg-rd .dg-bottom-inner .dg-cta-phone { font-size: 21px; }

/* phones and small tablets */
@media (max-width: 799px) {
	body.dg-rd { --u: 1px; }
	.dg-wrap, .dg-bottom { width: auto; margin-left: 16px; margin-right: 16px; }
	.dg-topbar-in { width: auto; height: 34px; padding: 0 16px; font-size: 13px; }
	.dg-hide-sm { display: none !important; }
	.dg-header-in { width: auto; height: 60px; padding: 0 16px; position: relative; }
	.dg-logo img { width: 190px; }
	.dg-burger {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto;
		width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px; background: var(--dg-box); cursor: pointer; box-shadow: none; min-height: 0;
	}
	.dg-rd .dg-burger span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--dg-ink); transition: transform .2s, opacity .2s; }
	.dg-nav-open .dg-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.dg-nav-open .dg-burger span:nth-child(2) { opacity: 0; }
	.dg-nav-open .dg-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.dg-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 10px;
		background: #fff; padding: 8px 16px 18px; box-shadow: 0 14px 24px rgba(15, 30, 56, .14); max-height: calc(100vh - 100px); overflow-y: auto;
	}
	.dg-nav-open .dg-nav { display: flex; }
	.dg-rd .dg-menu { flex-direction: column; }
	.dg-menu > li { border-bottom: 1px solid var(--dg-line); }
	.dg-rd .dg-menu a { padding: 12px 4px; font-size: 17px; }
	.dg-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
	.dg-rd .dg-menu .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
	.dg-menu .dg-sub-open > .sub-menu { display: block; }
	.dg-rd .dg-nav-cta { width: auto; height: 46px; margin: 0; font-size: 16px; }

	.dg-hero { height: auto; display: flex; flex-direction: column-reverse; }
	.dg-hero-media { position: relative; left: auto; height: 230px; clip-path: none; }
	.dg-hero-text { padding: 26px 16px 24px; }
	.dg-hero, .dg-plise { --dg-off: 0px; }
	.dg-hero-media, .dg-plise-media { left: auto; }
	.dg-rd .dg-hero h1 { font-size: 34px; line-height: 36px; }
	.dg-hero-sub { font-size: 16px; }
	.dg-hero-btns { flex-wrap: wrap; gap: 10px; }
	.dg-rd .dg-hero-btns .dg-btn { flex: 1 1 100%; height: 46px; font-size: 15px; }
	.dg-rd .dg-logo-rehau { width: 120px; }
	.dg-rd .dg-hero-profile { width: 96px; right: 12px; }
	.dg-hero-panel { width: 140px; height: 110px; }

	.dg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
	.dg-rd .dg-tile { grid-template-columns: 1fr; height: auto; }
	.dg-rd .dg-tile img { height: 100px; }
	.dg-tile-label { padding: 10px 12px; font-size: 15px; line-height: 18px; }

	.dg-rehau { width: auto; margin: 16px 16px 0; padding: 20px 18px 22px; }
	.dg-rd .dg-rehau h2 { font-size: 25px; line-height: 29px; padding-right: 60px; }
	.dg-rehau-sub { font-size: 17px; margin-top: 4px; }
	.dg-rd .dg-rehau-text { font-size: 15px; line-height: 22px; margin: 10px 0 0 12px; }
	.dg-rehau-text::before { left: -12px; }
	.dg-rd .dg-rehau-maco { right: 16px; top: 18px; width: 46px; }

	.dg-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
	.dg-rd .dg-profile { height: auto; padding: 8px 12px 14px; }
	.dg-profile-img { height: 140px; margin-left: 0; }
	.dg-profile-name { font-size: 17px; line-height: 19px; margin-top: 6px; }
	.dg-rd .dg-pill { font-size: 12.5px; line-height: 20px; white-space: normal; }
	.dg-profile-spec { font-size: 13px; }

	.dg-plise { height: auto; margin-top: 18px; display: flex; flex-direction: column-reverse; }
	.dg-plise-media { position: relative; left: auto; height: 210px; }
	.dg-plise-shape { display: none; }
	.dg-plise-text { padding: 26px 16px 24px; }
	.dg-rd .dg-plise h2 { font-size: 32px; line-height: 36px; }
	.dg-plise-sub { font-size: 20px; line-height: 26px; }
	.dg-rd .dg-plise .dg-btn { width: 100%; height: 46px; margin-top: 14px; }

	.dg-prices { margin-top: 22px; }
	.dg-rd .dg-prices h2 { font-size: 25px; line-height: 30px; margin: 0 0 12px; }
	.dg-price-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
	.dg-rd .dg-price { grid-template-columns: 140px 1fr; min-height: 100px; }
	.dg-price-img { height: 100px; }
	.dg-price-title { font-size: 15px; line-height: 19px; }
	.dg-price-link { font-size: 14px; }

	.dg-bottom { flex-direction: column; align-items: flex-start; height: auto; padding: 22px 0 30px; gap: 22px; }
	.dg-rd .dg-award { width: auto; }
	.dg-rd .dg-award img { width: 96px; height: 96px; }
	.dg-award-title { font-size: 16px; line-height: 20px; }
	.dg-bottom-sep { width: 100%; height: 1px; }
	.dg-cta { margin-left: 0; }
	.dg-rd .dg-cta h2 { font-size: 24px; line-height: 28px; }
	.dg-rd .dg-cta p { font-size: 15px; line-height: 21px; }
	.dg-rd .dg-cta p br { display: none; }
	.dg-cta-row { flex-wrap: wrap; gap: 14px; margin-top: 14px; }
	.dg-rd .dg-cta .dg-btn { width: auto; height: 46px; padding: 0 20px; font-size: 15px; }
	.dg-rd .dg-cta-phone { margin-left: 0; font-size: 21px; }

	.dg-footer-top { flex-direction: column; align-items: flex-start; gap: 10px; width: auto; height: auto; padding: 22px 16px 12px; }
	.dg-footer-sep { display: none; }
	.dg-rd .dg-footer .dg-logo img { width: 190px; margin-bottom: 4px; }
	.dg-rd .dg-footer-item { font-size: 15px; }
	.dg-footer-nav { flex-wrap: wrap; justify-content: flex-start; gap: 8px 20px; width: auto; margin: 0 16px; padding: 6px 0 14px; }
	.dg-rd .dg-footer-nav a { font-size: 15px; }
	.dg-footer-bottom { font-size: 12px; line-height: 18px; padding: 10px 16px 14px; }

	.dg-cards { grid-template-columns: 1fr; }
	.dg-rd .dg-content.main-page-wrapper { padding-top: 20px; }
}

/* the mobile menu also on narrow laptops where the full menu does not fit */
@media (min-width: 800px) and (max-width: 899px) {
	.dg-rd .dg-menu a { padding-left: calc(8 * var(--u)); padding-right: calc(8 * var(--u)); }
}

@media (prefers-reduced-motion: reduce) {
	.dg-rd * { transition: none !important; }
}


/* slider (replaces the old Slider Revolution blocks) */
.dg-slider { position: relative; margin: 0 0 28px; border-radius: 12px; overflow: hidden; background: #e9e2da; box-shadow: 0 6px 22px rgba(15, 30, 56, .12); }
.dg-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.dg-slider-track::-webkit-scrollbar { display: none; }
.dg-rd .dg-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.dg-rd .dg-slide img { display: block; width: 100%; height: 460px; object-fit: cover; }
.dg-rd .dg-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; padding: 10px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--dg-ink); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); min-height: 0; line-height: 0; }
.dg-rd .dg-slider-btn:hover { background: var(--dg-orange); color: #fff; }
.dg-slider-btn svg { width: 26px; height: 26px; fill: currentColor; }
.dg-prev { left: 14px; }
.dg-next { right: 14px; }
.dg-slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.dg-rd .dg-slider-dots button { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; min-height: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.dg-rd .dg-slider-dots button.is-on { background: var(--dg-orange); border-color: var(--dg-orange); }

/* section headings and image grids on the product pages */
.dg-rd .entry-content h2.dg-sec { font-size: 28px; font-weight: 800; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--dg-orange); display: inline-block; }
.dg-rd .entry-content h2.dg-sec:first-child, .dg-rd .entry-content .dg-slider + h2.dg-sec { margin-top: 0; }
.dg-rd .entry-content h3 { font-size: 21px; font-weight: 700; margin: 26px 0 10px; }
.dg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 12px 0 22px; }
.dg-rd .dg-gallery figure.gallery-item { margin: 0; padding: 0; width: auto; max-width: none; float: none; text-align: center; }
.dg-rd .dg-gallery a { display: block; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(15, 30, 56, .1); transition: transform .2s, box-shadow .2s; }
.dg-rd .dg-gallery a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 30, 56, .16); }
.dg-rd .dg-gallery img { display: block; width: 100%; height: auto; }
.dg-rd .dg-gallery figcaption { font-size: 14px; font-weight: 600; color: var(--dg-ink); margin-top: 6px; }

/* full-screen photo viewer */
.dg-lb { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(10, 18, 32, .92); }
.dg-lb[hidden] { display: none; }
.dg-rd .dg-lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.dg-rd .dg-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; min-height: 0; padding: 0; }
.dg-rd .dg-lb button:hover { background: var(--dg-orange); }
.dg-lb-close { top: 16px; right: 16px; }
.dg-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.dg-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 799px) {
	.dg-rd .dg-slide img { height: 240px; }
	.dg-rd .dg-slider-btn { width: 38px; height: 38px; padding: 7px; }
	.dg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dg-rd .entry-content h2.dg-sec { font-size: 24px; }
}

/* ===== "За нас" page (1024 px mockup) ===== */
.dg-rd .dg-menu > li.current-menu-item > a { position: relative; color: var(--dg-ink); }
.dg-rd .dg-menu > li.current-menu-item > a::after { content: ""; position: absolute; left: calc(10 * var(--u)); right: calc(10 * var(--u)); bottom: calc(-8 * var(--u)); height: calc(3 * var(--u)); background: var(--dg-orange); }
.dg-about { --dg-off: max(0px, calc((100% - calc(1024 * var(--u))) / 2)); }

/* hero */
.dg-ab-hero { position: relative; height: calc(262 * var(--u)); background: linear-gradient(90deg, #f8f2eb, #f4ede4); overflow: hidden; border-bottom: 1px solid #d6ccc1; }
.dg-ab-hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--dg-off) + calc(336 * var(--u))); background: var(--dg-orange); clip-path: polygon(calc(110 * var(--u)) 0, 100% 0, 100% 100%, 0 100%); }
.dg-rd .dg-ab-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; clip-path: polygon(calc(120 * var(--u)) 0, 100% 0, 100% 100%, calc(10 * var(--u)) 100%); }
.dg-ab-hero-text { position: relative; z-index: 2; padding: calc(14 * var(--u)) 0 0 calc(var(--dg-off) + calc(57 * var(--u))); }
.dg-rd .dg-ab-crumbs { display: flex; gap: calc(7 * var(--u)); font-size: calc(12.5 * var(--u)); line-height: calc(16 * var(--u)); color: var(--dg-ink); }
.dg-rd .dg-ab-crumbs a { color: var(--dg-ink); text-decoration: none; }
.dg-ab-crumbs span:last-child { color: var(--dg-orange); }
.dg-rd .dg-about h1 { font-size: calc(46 * var(--u)); line-height: calc(48 * var(--u)); font-weight: 800; margin: calc(7 * var(--u)) 0 calc(8 * var(--u)); }
.dg-rd .dg-ab-lead { font-family: "Montserrat", Arial, sans-serif; font-weight: 800; font-size: calc(25.5 * var(--u)); line-height: calc(30 * var(--u)); color: var(--dg-ink); letter-spacing: -.01em; }
.dg-about .dg-bar { width: calc(62 * var(--u)); height: calc(5 * var(--u)); margin: calc(14 * var(--u)) 0 calc(9 * var(--u)); }
.dg-rd .dg-ab-since { font-size: calc(18 * var(--u)); line-height: calc(22 * var(--u)); font-weight: 500; color: var(--dg-ink); }

/* intro */
.dg-ab-intro { display: grid; grid-template-columns: calc(426 * var(--u)) calc(1 * var(--u)) 1fr; column-gap: 0; width: calc(955 * var(--u)); margin: 0 auto; padding-top: calc(36 * var(--u)); }
.dg-ab-intro-left { padding: calc(12 * var(--u)) 0 0 calc(22 * var(--u)); }
.dg-rd .dg-ab-intro h2 { font-size: calc(37 * var(--u)); line-height: calc(40 * var(--u)); font-weight: 800; margin: 0; letter-spacing: -.025em; white-space: nowrap; }
.dg-ab-bar { display: block; width: calc(80 * var(--u)); height: calc(5 * var(--u)); background: var(--dg-orange); margin-top: calc(24 * var(--u)); }
.dg-ab-vsep { width: calc(1 * var(--u)); height: calc(113 * var(--u)); margin-top: calc(10 * var(--u)); background: #9d968e; }
.dg-ab-intro-right { padding: 0 calc(14 * var(--u)) 0 calc(38 * var(--u)); }
.dg-rd .dg-ab-intro-right p { font-size: calc(15.2 * var(--u)); line-height: calc(17 * var(--u)); color: var(--dg-ink); }
.dg-rd .dg-ab-intro-right p + p { margin-top: calc(15 * var(--u)); }
.dg-ab-features { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: calc(18 * var(--u)); margin-top: calc(28 * var(--u)); }
.dg-rd .dg-ab-feature { display: flex; align-items: center; height: calc(67 * var(--u)); background: #fbf8f4; border: 1px solid #ddd3c8; border-radius: calc(8 * var(--u)); text-decoration: none; box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(15, 30, 56, .05); transition: border-color .2s, box-shadow .2s; }
.dg-rd .dg-ab-feature:hover { border-color: var(--dg-orange); box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(15, 30, 56, .1); }
.dg-ab-feature-ico { display: flex; align-items: center; justify-content: center; width: calc(102 * var(--u)); height: calc(46 * var(--u)); border-right: 1px solid #9d968e; color: var(--dg-orange); }
.dg-rd .dg-ab-feature-ico img { width: calc(42 * var(--u)); height: calc(42 * var(--u)); object-fit: contain; }
.dg-ab-feature-label { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); padding-left: calc(28 * var(--u)); font-family: "Montserrat", Arial, sans-serif; font-weight: 800; font-size: calc(20 * var(--u)); color: var(--dg-ink); }
.dg-rd .dg-ab-feature-label .dg-ico, .dg-rd .dg-ab-sol .dg-ico, .dg-rd .dg-ab-type-label .dg-ico, .dg-rd .dg-ab-more-links .dg-ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: var(--dg-orange); }

/* solutions */
.dg-ab-solutions { margin-top: calc(36 * var(--u)); padding: calc(26 * var(--u)) 0 calc(22 * var(--u)); background: #f3ece5; }
.dg-rd .dg-ab-solutions h2 { width: calc(974 * var(--u)); margin: 0 auto calc(22 * var(--u)); font-size: calc(35 * var(--u)); line-height: calc(42 * var(--u)); font-weight: 800; }
.dg-ab-sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(16 * var(--u)); width: calc(958 * var(--u)); margin: 0 auto; }
.dg-rd .dg-ab-sol { display: block; height: calc(182 * var(--u)); background: #fbf8f4; border-radius: calc(8 * var(--u)); overflow: hidden; text-decoration: none; box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(15, 30, 56, .08); transition: transform .2s; }
.dg-rd .dg-ab-sol:hover { transform: translateY(calc(-2 * var(--u))); }
.dg-rd .dg-ab-sol img { display: block; width: 100%; height: calc(142 * var(--u)); object-fit: cover; border-radius: calc(8 * var(--u)) calc(8 * var(--u)) 0 0; }
.dg-ab-sol span { display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(40 * var(--u)); padding-left: calc(17 * var(--u)); font-family: "Montserrat", Arial, sans-serif; font-weight: 800; font-size: calc(15.5 * var(--u)); color: var(--dg-ink); }
.dg-rd .dg-ab-acc { text-align: center; margin-top: calc(18 * var(--u)); }
.dg-rd .dg-ab-acc a { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(14.5 * var(--u)); font-weight: 600; color: var(--dg-orange); text-decoration: none; }
.dg-rd .dg-ab-acc .dg-ico { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }

/* near you */
.dg-ab-near { position: relative; height: calc(280 * var(--u)); margin-top: calc(0 * var(--u)); background: var(--dg-navy); overflow: hidden; }
.dg-ab-near-media { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--dg-off) + calc(404 * var(--u))); background: var(--dg-orange); clip-path: polygon(calc(101 * var(--u)) 0, 100% 0, 100% 100%, 0 100%); }
.dg-rd .dg-ab-near-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; clip-path: polygon(calc(113 * var(--u)) 0, 100% 0, 100% 100%, calc(12 * var(--u)) 100%); }
.dg-ab-near-text { position: relative; z-index: 2; padding: calc(7 * var(--u)) 0 0 calc(var(--dg-off) + calc(47 * var(--u))); color: #fff; }
.dg-rd .dg-ab-near h2 { color: #fff; font-size: calc(35 * var(--u)); line-height: calc(34 * var(--u)); font-weight: 800; margin: 0; }
.dg-rd .dg-ab-near p { font-size: calc(14.8 * var(--u)); line-height: calc(17.5 * var(--u)); margin-top: calc(6 * var(--u)); }
.dg-rd .dg-ab-contacts { list-style: none; margin: calc(7 * var(--u)) 0 0 calc(6 * var(--u)); padding: 0; }
.dg-rd .dg-ab-contacts li { display: flex; align-items: center; margin: 0; font-size: calc(15 * var(--u)); line-height: calc(24.5 * var(--u)); }
.dg-rd .dg-ab-contacts a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.dg-rd .dg-ab-contacts .dg-ab-ci { width: calc(19 * var(--u)); height: calc(19 * var(--u)); object-fit: contain; margin-right: calc(13 * var(--u)); }
.dg-rd .dg-ab-near .dg-btn { width: calc(207 * var(--u)); height: calc(32 * var(--u)); margin: calc(6 * var(--u)) 0 0 calc(8 * var(--u)); font-size: calc(15 * var(--u)); }

/* window types */
.dg-ab-types { width: calc(958 * var(--u)); margin: calc(34 * var(--u)) auto 0; }
.dg-rd .dg-ab-types h2 { font-size: calc(30 * var(--u)); line-height: calc(36 * var(--u)); font-weight: 800; margin: 0 0 calc(16 * var(--u)) calc(16 * var(--u)); }
.dg-ab-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: calc(84 * var(--u)) calc(91 * var(--u)); gap: calc(14 * var(--u)) calc(14 * var(--u)); }
.dg-rd .dg-ab-type { display: grid; grid-template-columns: calc(168 * var(--u)) 1fr; align-items: center; background: #fbf8f4; border: 1px solid var(--dg-line); border-radius: calc(8 * var(--u)); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.dg-rd .dg-ab-type:hover { border-color: var(--dg-orange); box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(15, 30, 56, .1); }
.dg-ab-type-img { display: flex; justify-content: center; align-items: center; height: 100%; padding-left: calc(8 * var(--u)); }
.dg-rd .dg-ab-type-img .dg-win { display: block; width: auto; height: calc(66 * var(--u)); filter: drop-shadow(0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, .18)); }
.dg-rd .dg-ab-type:nth-child(n+4) .dg-ab-type-img .dg-win { height: calc(74 * var(--u)); }
.dg-ab-type-label { font-weight: 700; font-size: calc(13.6 * var(--u)); line-height: calc(16.5 * var(--u)); letter-spacing: -.01em; color: var(--dg-ink); }
.dg-ab-type-label .dg-ico { margin-left: calc(6 * var(--u)); vertical-align: calc(-2 * var(--u)); }
.dg-ab-more { display: flex; align-items: center; height: calc(57 * var(--u)); margin: calc(18 * var(--u)) 0 calc(28 * var(--u)); padding-left: calc(22 * var(--u)); }
.dg-rd .dg-ab-more .dg-btn { width: calc(224 * var(--u)); height: calc(32 * var(--u)); font-size: calc(15 * var(--u)); }
.dg-ab-more-sep { width: calc(1 * var(--u)); height: calc(32 * var(--u)); background: #9d968e; margin: 0 calc(50 * var(--u)) 0 calc(59 * var(--u)); }
.dg-ab-more-links { display: flex; align-items: center; }
.dg-rd .dg-ab-more-links a { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; color: var(--dg-ink); text-decoration: none; white-space: nowrap; }
.dg-rd .dg-ab-more-links a + a { margin-left: calc(18 * var(--u)); padding-left: calc(18 * var(--u)); border-left: 1px solid #9d968e; }
.dg-rd .dg-ab-more-links a:hover { color: var(--dg-orange); }
.dg-about + .dg-footer, .dg-about ~ .dg-footer { margin-top: 0; }

@media (max-width: 799px) {
	.dg-rd .dg-menu > li.current-menu-item > a::after { display: none; }
	.dg-about { --dg-off: 0px; }
	.dg-ab-hero { height: auto; display: flex; flex-direction: column-reverse; }
	.dg-ab-hero-media { position: relative; left: auto; height: 220px; clip-path: none; }
	.dg-rd .dg-ab-hero-media img { clip-path: none; object-position: 70% 50%; }
	.dg-ab-hero-text { padding: 22px 16px 24px; }
	.dg-rd .dg-ab-crumbs { font-size: 13px; }
	.dg-rd .dg-about h1 { font-size: 38px; line-height: 42px; }
	.dg-rd .dg-ab-lead { font-size: 22px; line-height: 27px; }
	.dg-rd .dg-ab-since { font-size: 17px; }
	.dg-ab-intro { display: block; width: auto; margin: 0 16px; padding-top: 26px; }
	.dg-ab-intro-left { padding: 0; }
	.dg-rd .dg-ab-intro h2 { font-size: 30px; line-height: 34px; white-space: normal; }
	.dg-ab-vsep { display: none; }
	.dg-ab-intro-right { padding: 18px 0 0; }
	.dg-rd .dg-ab-intro-right p { font-size: 16px; line-height: 24px; }
	.dg-ab-features { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
	.dg-ab-feature-ico { width: 70px; }
	.dg-ab-feature-label { font-size: 18px; padding-left: 16px; }
	.dg-ab-solutions { margin-top: 26px; padding: 22px 0; }
	.dg-rd .dg-ab-solutions h2 { width: auto; margin: 0 16px 14px; font-size: 26px; line-height: 31px; }
	.dg-ab-sol-grid { width: auto; margin: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dg-rd .dg-ab-sol { height: auto; }
	.dg-rd .dg-ab-sol img { height: 110px; }
	.dg-ab-sol span { height: auto; min-height: 44px; padding: 8px 10px; font-size: 15px; line-height: 18px; }
	.dg-rd .dg-ab-acc a { font-size: 15px; }
	.dg-ab-near { height: auto; display: flex; flex-direction: column-reverse; }
	.dg-ab-near-media { position: relative; left: auto; height: 200px; clip-path: none; }
	.dg-rd .dg-ab-near-media img { clip-path: none; }
	.dg-ab-near-text { padding: 26px 16px 26px; }
	.dg-rd .dg-ab-near h2 { font-size: 30px; line-height: 34px; }
	.dg-rd .dg-ab-near p { font-size: 16px; line-height: 23px; }
	.dg-rd .dg-ab-near p br { display: none; }
	.dg-rd .dg-ab-contacts li { font-size: 16px; line-height: 30px; }
	.dg-rd .dg-ab-near .dg-btn { width: 100%; height: 46px; margin: 14px 0 0; }
	.dg-ab-types { width: auto; margin: 24px 16px 0; }
	.dg-rd .dg-ab-types h2 { font-size: 25px; line-height: 30px; margin: 0 0 12px; }
	.dg-ab-type-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
	.dg-rd .dg-ab-type { grid-template-columns: 140px 1fr; min-height: 92px; }
	.dg-ab-type-label { font-size: 15px; line-height: 19px; }
	.dg-ab-more { flex-direction: column; align-items: stretch; height: auto; padding: 0; margin: 18px 0 28px; gap: 14px; }
	.dg-rd .dg-ab-more .dg-btn { width: 100%; height: 46px; }
	.dg-ab-more-sep { display: none; }
	.dg-ab-more-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
	.dg-rd .dg-ab-more-links a { font-size: 15px; white-space: normal; }
	.dg-rd .dg-ab-more-links a + a { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* ===== inner pages ===== */
.dg-inner .dg-ab-hero { height: auto; min-height: calc(262 * var(--u)); }
.dg-inner .dg-ab-hero-text { padding-bottom: calc(26 * var(--u)); max-width: calc(var(--dg-off) + calc(440 * var(--u))); }
.dg-rd .dg-inner h1.dg-h1-s { font-size: calc(34 * var(--u)); line-height: calc(38 * var(--u)); }
.dg-rd .dg-inner h1.dg-h1-xs { font-size: calc(26 * var(--u)); line-height: calc(31 * var(--u)); }
.dg-rd .dg-ab-crumbs a:hover { color: var(--dg-orange); }
.dg-rd .dg-ab-crumbs { flex-wrap: wrap; }

.dg-rd .dg-content.main-page-wrapper { padding: calc(40 * var(--u)) 0 calc(20 * var(--u)); background: transparent; }
.dg-rd .dg-content .container { width: calc(968 * var(--u)); max-width: none; padding: 0; margin: 0 auto; }
.dg-rd .dg-content .row { margin: 0; }
.dg-rd .dg-content .site-content { padding: 0; }
.dg-rd .entry-content { font-size: 16px; line-height: 1.7; color: var(--dg-text); }
.dg-rd .entry-content p { margin: 0 0 14px; }
.dg-rd .entry-content ul, .dg-rd .entry-content ol { margin: 0 0 16px; padding-left: 22px; }
.dg-rd .entry-content li { margin: 0 0 6px; }
.dg-rd .entry-content li::marker { color: var(--dg-orange); }
.dg-rd .entry-content h1, .dg-rd .entry-content h2, .dg-rd .entry-content h3, .dg-rd .entry-content h4,
.dg-rd .entry-content .vc_custom_heading, .dg-rd .entry-content .woodmart-title-container, .dg-rd .entry-content .title {
	font-family: "Montserrat", Arial, sans-serif !important; color: var(--dg-ink) !important; font-weight: 800 !important; letter-spacing: -.01em; text-transform: none !important; line-height: 1.25 !important;
}
.dg-rd .entry-content h2, .dg-rd .entry-content h2.vc_custom_heading { font-size: 26px !important; margin: 30px 0 14px; }
.dg-rd .entry-content h3, .dg-rd .entry-content h3.vc_custom_heading { font-size: 21px !important; margin: 26px 0 10px; }
.dg-rd .entry-content h4, .dg-rd .entry-content h4.vc_custom_heading, .dg-rd .entry-content h5 { font-size: 18px !important; margin: 22px 0 8px; }
.dg-rd .entry-content strong, .dg-rd .entry-content b { color: var(--dg-ink); }
.dg-rd .entry-content a { color: var(--dg-orange-2); }
.dg-rd .entry-content img { border-radius: 8px; }
.dg-rd .entry-content .vc_single_image-wrapper img, .dg-rd .entry-content p > img, .dg-rd .entry-content .wp-caption img { box-shadow: 0 4px 14px rgba(15, 30, 56, .1); }
.dg-rd .entry-content .vc_separator .vc_sep_line { border-color: var(--dg-line) !important; }
.dg-rd .entry-content .vc_separator { margin: 26px 0 !important; }
.dg-rd .entry-content .vc_row { margin-bottom: 10px; }

/* tables */
.dg-rd .entry-content table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(15, 30, 56, .08); font-size: 15px; }
.dg-rd .entry-content table td, .dg-rd .entry-content table th { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--dg-line); background: transparent !important; color: var(--dg-text) !important; text-align: left; vertical-align: middle; }
.dg-rd .entry-content table tr:first-child td, .dg-rd .entry-content table th { background: var(--dg-navy) !important; color: #fff !important; font-weight: 700; }
.dg-rd .entry-content table tr:first-child td *, .dg-rd .entry-content table th * { color: #fff !important; }
.dg-rd .entry-content table tr:nth-child(even) td { background: #faf6f1 !important; }
.dg-rd .entry-content table tr:last-child td { border-bottom: 0; }
.dg-rd .entry-content table img { box-shadow: none; border-radius: 4px; }

/* WordPress galleries */
.dg-rd .entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 14px 0 24px; }
.dg-rd .entry-content .gallery br { display: none; }
.dg-rd .entry-content .gallery .gallery-item { width: auto !important; max-width: none; margin: 0 !important; padding: 0; float: none; text-align: center; }
.dg-rd .entry-content .gallery .gallery-icon a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(15, 30, 56, .1); }
.dg-rd .entry-content .gallery img { display: block; width: 100%; height: 150px; object-fit: cover; border: 0 !important; border-radius: 0; }
.dg-rd .entry-content .gallery .gallery-caption { font-size: 14px; font-weight: 600; color: var(--dg-ink); margin-top: 6px; }

/* contact form */
.dg-rd .wpcf7 input[type="text"], .dg-rd .wpcf7 input[type="email"], .dg-rd .wpcf7 input[type="tel"], .dg-rd .wpcf7 textarea {
	width: 100%; padding: 11px 14px; border: 1px solid #d8cec3; border-radius: 8px; background: #fff; font-size: 15px; color: var(--dg-text); box-shadow: none;
}
.dg-rd .wpcf7 input:focus, .dg-rd .wpcf7 textarea:focus { border-color: var(--dg-orange); outline: 2px solid rgba(240, 106, 26, .2); }
.dg-rd .wpcf7 input[type="submit"] { background: var(--dg-orange); color: #fff; border: 0; border-radius: 6px; padding: 12px 28px; font-family: "Open Sans", Arial, sans-serif; font-weight: 700; font-size: 15px; text-transform: none; cursor: pointer; }
.dg-rd .wpcf7 input[type="submit"]:hover { background: var(--dg-orange-2); }
.dg-rd .wpcf7 label { font-weight: 600; color: var(--dg-ink); font-size: 14px; }
.dg-rd .entry-content .wpb_gmaps_widget, .dg-rd .entry-content iframe { border-radius: 10px; overflow: hidden; }

/* bottom block on inner pages */
.dg-inner-bottom { border-top: 1px solid var(--dg-line); margin-top: calc(20 * var(--u)); }

@media (max-width: 799px) {
	.dg-inner .dg-ab-hero-text { max-width: none; }
	.dg-rd .dg-inner h1.dg-h1-s { font-size: 28px; line-height: 33px; }
	.dg-rd .dg-inner h1.dg-h1-xs { font-size: 22px; line-height: 28px; }
	.dg-rd .dg-content.main-page-wrapper { padding: 26px 0 10px; }
	.dg-rd .dg-content .container { width: auto; margin: 0 16px; }
	.dg-rd .entry-content table { display: block; overflow-x: auto; font-size: 14px; }
	.dg-rd .entry-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dg-rd .entry-content .gallery img { height: 120px; }
	.dg-rd .entry-content h2, .dg-rd .entry-content h2.vc_custom_heading { font-size: 23px !important; }
}

/* inner hero: more room for long titles */
.dg-inner .dg-ab-hero-media { left: calc(var(--dg-off) + calc(486 * var(--u))); }
.dg-inner .dg-ab-hero-text { max-width: calc(var(--dg-off) + calc(470 * var(--u))); padding-right: calc(10 * var(--u)); }
.dg-rd .dg-inner .dg-ab-since { font-size: calc(16 * var(--u)); }
/* old inline colours and borders in the content */
.dg-rd .entry-content .vc_custom_heading *, .dg-rd .entry-content h2 *, .dg-rd .entry-content h3 * { color: inherit !important; }
.dg-rd .entry-content table, .dg-rd .entry-content table td, .dg-rd .entry-content table th { border-color: var(--dg-line) !important; border-style: solid !important; border-width: 0 0 1px 0 !important; }
.dg-rd .entry-content table { border-width: 0 !important; }
@media (max-width: 799px) {
	.dg-inner .dg-ab-hero-media { left: auto; }
	.dg-inner .dg-ab-hero-text { max-width: none; }
	.dg-rd .dg-inner .dg-ab-since { font-size: 16px; }
}
.dg-rd .entry-content table, .dg-rd .entry-content table tbody, .dg-rd .entry-content table tr { background: #fff !important; }

/* old promo banners and the services picture: centred on their own line */
.dg-rd .entry-content img[src*="/2022/05/banner.png"], .dg-rd .entry-content img[src*="/baner_3"], .dg-rd .entry-content img[src*="/bot-maz"] {
	display: block; float: none !important; margin: 0 auto 26px !important; max-width: 100%; height: auto;
}
.dg-rd .entry-content img[src*="/bot-maz"] { margin-top: 6px !important; }

/* sample price grid (replaces the TABLICA.jpg picture) */
.dg-pt-wrap { overflow-x: auto; margin: 10px 0 18px; }
.dg-rd .entry-content table.dg-pt { min-width: 820px; font-size: 14px; }
.dg-rd .entry-content .dg-pt th, .dg-rd .entry-content .dg-pt td { text-align: center; vertical-align: middle; border: 1px solid var(--dg-line) !important; padding: 10px 8px; }
.dg-rd .entry-content .dg-pt thead th { background: var(--dg-navy) !important; color: #fff !important; font-family: "Montserrat", Arial, sans-serif; font-weight: 700; }
.dg-rd .entry-content .dg-pt thead th.dg-pt-col { color: #ffb27a !important; }
.dg-rd .entry-content .dg-pt thead .dg-pt-sub th { background: #24406b !important; font-size: 13px; font-weight: 600; }
.dg-rd .entry-content .dg-pt .dg-pt-corner { font-size: 17px; }
.dg-rd .entry-content .dg-pt .dg-pt-corner small { font-weight: 500; opacity: .85; }
.dg-rd .entry-content .dg-pt tbody tr:first-child td { background: transparent !important; color: var(--dg-text) !important; font-weight: 400; }
.dg-rd .entry-content .dg-pt .dg-pt-model { background: #fff !important; color: var(--dg-ink) !important; font-family: "Montserrat", Arial, sans-serif; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dg-rd .entry-content .dg-pt .dg-pt-model span { display: block; font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.dg-rd .entry-content .dg-pt .dg-pt-desc { text-align: left; font-weight: 600; color: var(--dg-ink) !important; min-width: 220px; }
.dg-rd .entry-content .dg-pt .dg-pt-q { color: var(--dg-orange-2) !important; font-weight: 600; font-size: 13px; }
.dg-rd .entry-content .dg-pt .dg-pt-band td { background: var(--dg-box) !important; color: var(--dg-ink) !important; font-family: "Montserrat", Arial, sans-serif; font-weight: 700; font-size: 16px; text-align: left; }
.dg-rd .dg-pt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 6px 0 26px; }
.dg-rd .dg-pt-cta .dg-btn { height: 44px; padding: 0 22px; font-size: 15px; color: #fff; }
.dg-rd .entry-content .dg-pt-phone { color: var(--dg-ink); font-weight: 700; text-decoration: none; }
.dg-rd .entry-content table.dg-pt tbody tr th, .dg-rd .entry-content table.dg-pt tbody tr th * { color: var(--dg-ink) !important; background: #fff !important; }
.dg-rd .entry-content table.dg-pt tbody tr td.dg-pt-q { color: var(--dg-orange-2) !important; background: #fff !important; }
.dg-rd .entry-content table.dg-pt tbody tr td.dg-pt-desc { color: var(--dg-ink) !important; background: #fff !important; }
.dg-rd .entry-content table.dg-pt tbody tr.dg-pt-band td { background: var(--dg-box) !important; color: var(--dg-ink) !important; }
.dg-rd .entry-content table.dg-pt th { text-transform: none !important; letter-spacing: 0; }
.dg-rd .entry-content table.dg-pt tbody tr td { font-weight: 600 !important; }
