/*
Theme Name:   Dillmann's Custom Concrete
Theme URI:    https://www.dillmannscustomconcrete.com/
Description:  One-page child theme of Twenty Seventeen for Dillmann's Custom Concrete, LLC. Page content is a normal WordPress Page edited in the block editor; header and footer have no navigation menu.
Author:       Hope Pictures
Template:     twentyseventeen
Version:      1.1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  dillmanns-concrete
*/

/* ---------- Tokens ---------- */
:root {
	--dcc-orange: #f89500;
	--dcc-orange-dark: #d97f00;
	--dcc-charcoal: #3b3c3c;
	--dcc-black: #222222;
	--dcc-ink: #333333;
	--dcc-text: #444444;
	--dcc-muted: #6b6b6b;
	--dcc-light: #f4f4f4;
	--dcc-white: #ffffff;
	--dcc-font: "Titillium Web", "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	--dcc-wrap: 1140px;
}

/* ---------- Base (overrides Twenty Seventeen) ---------- */
body.dcc-onepage,
body.dcc-onepage button,
body.dcc-onepage input,
body.dcc-onepage select,
body.dcc-onepage textarea {
	font-family: var(--dcc-font);
	color: var(--dcc-text);
	font-size: 17px;
	line-height: 1.65;
}
body.dcc-onepage { background: var(--dcc-white); margin: 0; }
body.dcc-onepage h1,
body.dcc-onepage h2,
body.dcc-onepage h3,
body.dcc-onepage h4 {
	font-family: var(--dcc-font);
	color: var(--dcc-ink);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.2;
	margin: 0 0 .5em;
	padding: 0;
}
body.dcc-onepage a { color: var(--dcc-orange-dark); text-decoration: none; box-shadow: none; }
body.dcc-onepage a:hover,
body.dcc-onepage a:focus { color: var(--dcc-orange); box-shadow: none; }
body.dcc-onepage img { max-width: 100%; height: auto; }
.dcc-wrap { max-width: var(--dcc-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.dcc-screen-reader { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- Buttons ---------- */
.dcc-btn {
	display: inline-block;
	font-family: var(--dcc-font);
	font-weight: 600;
	font-size: 18px;
	line-height: 1;
	padding: 16px 30px;
	border-radius: 3px;
	border: 2px solid var(--dcc-orange);
	background: var(--dcc-orange);
	color: var(--dcc-white) !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.dcc-btn:hover, .dcc-btn:focus { background: var(--dcc-orange-dark); border-color: var(--dcc-orange-dark); }
.dcc-btn--ghost { background: transparent; border-color: var(--dcc-white); }
.dcc-btn--ghost:hover, .dcc-btn--ghost:focus { background: var(--dcc-white); border-color: var(--dcc-white); color: var(--dcc-black) !important; }

/* ---------- Top bar (logo + contact + Facebook; no navigation) ---------- */
.dcc-topbar { background: var(--dcc-white); border-bottom: 4px solid var(--dcc-orange); position: relative; z-index: 5; }
.dcc-topbar .dcc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.dcc-brand { display: flex; align-items: center; gap: 14px; }
.dcc-brand .custom-logo-link img,
.dcc-brand img { max-height: 70px; width: auto; display: block; }
.dcc-wordmark { font-weight: 700; font-size: 24px; line-height: 1.05; color: var(--dcc-black) !important; text-transform: uppercase; letter-spacing: .02em; }
.dcc-wordmark span { display: block; color: var(--dcc-orange); font-size: 14px; letter-spacing: .18em; font-weight: 600; margin-top: 4px; }
.dcc-topinfo { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.dcc-topitem { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.dcc-topitem svg { width: 22px; height: 22px; fill: var(--dcc-orange); flex: none; }
.dcc-topitem small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dcc-muted); }
.dcc-topitem strong, .dcc-topitem a { font-weight: 600; font-size: 17px; color: var(--dcc-black) !important; }
.dcc-fb { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--dcc-charcoal); transition: background .2s; }
.dcc-fb svg { width: 20px; height: 20px; fill: var(--dcc-white); }
.dcc-fb:hover, .dcc-fb:focus { background: var(--dcc-orange); }

/* ---------- Page content (block editor) ---------- */
.dcc-content { display: block; }
.dcc-content > * { margin-top: 0; margin-bottom: 0; }
/* Full-width bands: content kept to the site width with side padding. */
.dcc-content .dcc-hero,
.dcc-content .dcc-band,
.dcc-content .dcc-section {
	--dcc-gutter: max(24px, calc((100% - var(--dcc-wrap)) / 2 + 24px));
	padding-left: var(--dcc-gutter);
	padding-right: var(--dcc-gutter);
	margin: 0;
	max-width: none;
	box-sizing: border-box;
}
.dcc-content .wp-block-group__inner-container { max-width: none; }
.dcc-content p { margin: 0 0 1em; }
.dcc-content .wp-block-columns { gap: 32px; margin: 0; }
.dcc-content .wp-block-column > :last-child { margin-bottom: 0; }

/* ---------- Hero (Cover block) ---------- */
.dcc-content .dcc-hero {
	position: relative;
	min-height: 78vh;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding-top: 120px;
	padding-bottom: 72px;
	color: var(--dcc-white);
	background-color: var(--dcc-black);
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0 2px, transparent 3px),
		radial-gradient(circle at 70% 60%, rgba(255,255,255,.05) 0 1px, transparent 2px),
		linear-gradient(135deg, #4a4b4b 0%, #2c2d2d 55%, #1c1c1c 100%);
	background-size: 37px 37px, 23px 23px, cover;
	overflow: hidden;
}
.dcc-content .dcc-hero .wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; margin: 0; max-width: none; }
.dcc-content .dcc-hero .wp-block-cover__background { position: absolute; inset: 0; z-index: 1; }
.dcc-content .dcc-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: 820px; margin: 0; color: var(--dcc-white); }
body.dcc-onepage .dcc-hero h1 { color: var(--dcc-white); font-size: clamp(34px, 5.4vw, 60px); margin-bottom: 14px; }
.dcc-content .dcc-slogan { display: inline-block; background: var(--dcc-orange); color: var(--dcc-white); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: 15px; line-height: 1.3; padding: 7px 14px; margin-bottom: 20px; }
.dcc-content .dcc-lead { font-size: clamp(18px, 2vw, 22px); max-width: 36em; margin-bottom: 30px; color: rgba(255,255,255,.92); }

/* Buttons (Button blocks with class dcc-btn-primary / dcc-btn-ghost) */
.dcc-content .wp-block-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 0; }
.dcc-content .wp-block-button { margin: 0; }
.dcc-content .wp-block-button__link {
	display: inline-block; font-family: var(--dcc-font); font-weight: 600; font-size: 18px; line-height: 1;
	padding: 16px 30px; border-radius: 3px; border: 2px solid var(--dcc-orange);
	background: var(--dcc-orange); color: var(--dcc-white) !important;
	text-transform: uppercase; letter-spacing: .04em; text-decoration: none; box-shadow: none;
	transition: background .2s, border-color .2s, color .2s;
}
.dcc-content .wp-block-button__link:hover,
.dcc-content .wp-block-button__link:focus { background: var(--dcc-orange-dark); border-color: var(--dcc-orange-dark); }
.dcc-content .dcc-btn-ghost .wp-block-button__link { background: transparent; border-color: var(--dcc-white); }
.dcc-content .dcc-btn-ghost .wp-block-button__link:hover,
.dcc-content .dcc-btn-ghost .wp-block-button__link:focus { background: var(--dcc-white); border-color: var(--dcc-white); color: var(--dcc-black) !important; }

/* ---------- Orange band ---------- */
.dcc-content .dcc-band { background: var(--dcc-orange); color: var(--dcc-white); padding-top: 34px; padding-bottom: 34px; text-align: center; }
.dcc-content .dcc-band p { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.dcc-content .dcc-band strong { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; text-transform: none; letter-spacing: 0; }

/* ---------- Sections ---------- */
.dcc-content .dcc-section { padding-top: 88px; padding-bottom: 88px; background: var(--dcc-white); }
.dcc-content .dcc-section--light { background: var(--dcc-light); }
.dcc-content .dcc-section--dark { background: var(--dcc-charcoal); color: rgba(255,255,255,.88); }
body.dcc-onepage .dcc-section--dark h2,
body.dcc-onepage .dcc-section--dark h3 { color: var(--dcc-white); }
.dcc-content .dcc-eyebrow { color: var(--dcc-orange); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 10px; }
body.dcc-onepage .dcc-section h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 22px; }
body.dcc-onepage .dcc-section h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--dcc-orange); margin-top: 22px; }
.dcc-content .dcc-intro { max-width: 720px; margin-bottom: 48px; }

/* Services grid (two 3-column Columns blocks) */
.dcc-content .dcc-services { margin-bottom: 24px; gap: 24px; }
.dcc-content .dcc-services:last-child { margin-bottom: 0; }
.dcc-content .dcc-service { background: var(--dcc-white); border-top: 4px solid var(--dcc-orange); padding: 30px 28px; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.dcc-content .dcc-service::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: 14px; background: no-repeat center / contain; }
body.dcc-onepage .dcc-service h3 { font-size: 22px; margin-bottom: 8px; }
.dcc-content .dcc-service p { margin: 0; font-size: 16px; }

/* Residential & commercial */
.dcc-content .dcc-split { gap: 56px; }
body.dcc-onepage .dcc-split h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
body.dcc-onepage .dcc-split h3::before { content: ""; width: 12px; height: 12px; background: var(--dcc-orange); flex: none; }
.dcc-content .dcc-years { display: flow-root; margin: 48px 0 0; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.15); font-size: 20px; color: var(--dcc-white); font-weight: 600; }
.dcc-content .dcc-years strong { display: inline-block; vertical-align: middle; margin: 0 22px 0 0; font-size: 72px; line-height: 1; color: var(--dcc-orange); font-weight: 700; }

/* Service area */
.dcc-content .dcc-area { gap: 48px; align-items: center; }
.dcc-content .dcc-area > .wp-block-column:first-child { flex: 0 0 40%; }
.dcc-content .dcc-towns { list-style: none; margin: 18px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.dcc-content .dcc-towns li { padding: 4px 0 4px 20px; position: relative; break-inside: avoid; margin: 0; }
.dcc-content .dcc-towns li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; background: var(--dcc-orange); }
.dcc-mapframe { border: 4px solid var(--dcc-white); box-shadow: 0 2px 18px rgba(0,0,0,.12); background: #ddd; }
.dcc-mapframe iframe { display: block; width: 100%; height: 420px; border: 0; margin: 0; }

/* Contact */
.dcc-content .dcc-contact { gap: 56px; }
.dcc-content .dcc-contact > .wp-block-column:first-child { flex: 0 0 40%; }
.dcc-content .dcc-detail { position: relative; padding-left: 36px; margin: 0 0 20px; }
.dcc-content .dcc-detail:first-of-type { margin-top: 26px; }
.dcc-content .dcc-detail::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; background: no-repeat center / contain; }
.dcc-content .dcc-detail span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dcc-muted); }
.dcc-content .dcc-detail a,
.dcc-content .dcc-detail strong { color: var(--dcc-ink) !important; font-weight: 600; word-break: break-word; }

/* Contact form ([dcc_contact_form]) */
.dcc-form { background: var(--dcc-white); padding: 34px; border-top: 4px solid var(--dcc-orange); box-shadow: 0 2px 18px rgba(0,0,0,.08); position: relative; }
.dcc-form .dcc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dcc-form label { display: block; font-weight: 600; font-size: 14px; color: var(--dcc-ink); margin-bottom: 6px; }
.dcc-form .dcc-field { margin-bottom: 16px; }
body.dcc-onepage .dcc-form input[type="text"],
body.dcc-onepage .dcc-form input[type="email"],
body.dcc-onepage .dcc-form input[type="tel"],
body.dcc-onepage .dcc-form select,
body.dcc-onepage .dcc-form textarea {
	width: 100%; box-sizing: border-box; border: 1px solid #cfcfcf; border-radius: 3px; padding: 12px 14px;
	background: #fafafa; color: var(--dcc-ink); font-size: 16px; box-shadow: none;
}
body.dcc-onepage .dcc-form textarea { min-height: 140px; resize: vertical; }
body.dcc-onepage .dcc-form input:focus,
body.dcc-onepage .dcc-form select:focus,
body.dcc-onepage .dcc-form textarea:focus { outline: 2px solid var(--dcc-orange); outline-offset: 0; border-color: var(--dcc-orange); background: #fff; }
.dcc-form .dcc-btn { width: 100%; }
.dcc-hp { position: absolute; left: -9999px; }
.dcc-notice { padding: 14px 18px; margin-bottom: 18px; border-left: 4px solid; font-weight: 600; }
.dcc-notice--ok { background: #fff4e0; border-color: var(--dcc-orange); color: var(--dcc-ink); }
.dcc-notice--err { background: #fdeaea; border-color: #c0392b; color: #7a1d14; }

/* Icons */
.dcc-content .dcc-ico-foundation::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233b3c3c' stroke-width='1.6'%3E%3Cpath d='M6 40h36M10 40V22h28v18M10 30h28M18 22v18M30 22v18M14 22l10-10 10 10'/%3E%3C/svg%3E"); }
.dcc-content .dcc-ico-stamped::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233b3c3c' stroke-width='1.6'%3E%3Crect x='6' y='6' width='36' height='36'/%3E%3Cpath d='M6 18h12v12H6M18 6v12h12V6M30 18h12v12H30M18 30v12h12V30M18 18h12v12H18'/%3E%3C/svg%3E"); }
.dcc-content .dcc-ico-floor::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233b3c3c' stroke-width='1.6'%3E%3Cpath d='M4 34l20-10 20 10-20 10z'/%3E%3Cpath d='M14 29c4 2 8 1 10-1s7-3 10-1M10 33c5 2 10 2 14 0'/%3E%3Cpath d='M30 6c3 4 5 7 5 10a5 5 0 0 1-10 0c0-3 2-6 5-10z'/%3E%3C/svg%3E"); }
.dcc-content .dcc-ico-wall::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233b3c3c' stroke-width='1.6'%3E%3Crect x='6' y='8' width='36' height='32'/%3E%3Cpath d='M6 16h36M6 24h36M6 32h36M18 8v8M30 8v8M12 16v8M24 16v8M36 16v8M18 24v8M30 24v8M12 32v8M24 32v8M36 32v8'/%3E%3C/svg%3E"); }
.dcc-content .dcc-ico-footing::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233b3c3c' stroke-width='1.6'%3E%3Cpath d='M18 6v22M30 6v22M10 28h28v8H10zM4 42h40'/%3E%3Cpath d='M8 42l4-6M40 42l-4-6'/%3E%3C/svg%3E"); }
.dcc-content .dcc-ico-addition::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233b3c3c' stroke-width='1.6'%3E%3Cpath d='M4 22L18 10l14 12M8 19v21h20V19'/%3E%3Cpath d='M28 40h16V26H28M36 14v8M32 18h8'/%3E%3C/svg%3E"); }
.dcc-content .dcc-detail--phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f89500'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.dcc-content .dcc-detail--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f89500'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.dcc-content .dcc-detail--pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f89500'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }

/* ---------- Footer ---------- */
.dcc-footer { background: var(--dcc-black); color: rgba(255,255,255,.75); padding: 56px 0 0; font-size: 16px; }
.dcc-footer .dcc-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
body.dcc-onepage .dcc-footer h4 { color: var(--dcc-white); font-size: 18px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.dcc-footer a { color: rgba(255,255,255,.9) !important; }
.dcc-footer a:hover { color: var(--dcc-orange) !important; }
.dcc-footer .dcc-wordmark { color: var(--dcc-white) !important; }
.dcc-footer ul { list-style: none; margin: 0; padding: 0; }
.dcc-footer li { margin-bottom: 6px; }
.dcc-footer .dcc-fb { background: var(--dcc-orange); }
.dcc-footer .dcc-fb:hover { background: var(--dcc-white); }
.dcc-footer .dcc-fb:hover svg { fill: var(--dcc-black); }
.dcc-fbrow { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.dcc-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14px; color: rgba(255,255,255,.55); }
.dcc-bottom .dcc-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.dcc-content .dcc-services { flex-wrap: wrap !important; }
	.dcc-content .dcc-services > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0; }
	.dcc-content .dcc-split,
	.dcc-content .dcc-area,
	.dcc-content .dcc-contact { flex-wrap: wrap !important; gap: 36px; }
	.dcc-content .dcc-split > .wp-block-column,
	.dcc-content .dcc-area > .wp-block-column,
	.dcc-content .dcc-contact > .wp-block-column { flex: 0 0 100% !important; }
	.dcc-footer .dcc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.dcc-wrap { padding: 0 16px; }
	.dcc-content .dcc-hero,
	.dcc-content .dcc-band,
	.dcc-content .dcc-section { --dcc-gutter: 16px; }
	.dcc-topbar .dcc-wrap { justify-content: center; }
	.dcc-topinfo { justify-content: center; gap: 16px; }
	.dcc-topitem--loc { display: none; }
	.dcc-content .dcc-hero { min-height: 70vh; padding-top: 80px; padding-bottom: 48px; }
	.dcc-content .dcc-band .wp-block-columns { flex-direction: column; gap: 14px; }
	.dcc-content .dcc-section { padding-top: 60px; padding-bottom: 60px; }
	.dcc-content .dcc-services { gap: 24px; }
	.dcc-content .dcc-services > .wp-block-column { flex-basis: 100% !important; }
	.dcc-form { padding: 24px 18px; }
	.dcc-form .dcc-row { grid-template-columns: 1fr; gap: 0; }
	.dcc-content .dcc-towns { columns: 1; }
	.dcc-mapframe iframe { height: 320px; }
	.dcc-content .dcc-years strong { font-size: 56px; }
	.dcc-footer .dcc-grid { grid-template-columns: 1fr; }
}
