/* Euro Portes temporary site, styled after the original Wix site: white and light grey, navy headings, yellow accents. */
:root {
	--navy: #1e2d3b;
	--text: #3b3a3a;
	--muted: #6b6b6b;
	--line: #e2e2e2;
	--soft: #f7f7f7;
	--grey: #ececec;
	--yellow: #edcd1f;
	--yellow-hover: #f3da4f;
	--black: #111;
	--content: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--gap: clamp(20px, 2.4vw, 32px);
	--section: clamp(60px, 7vw, 100px);
	--font-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; letter-spacing: .04em; }
h3 { font-size: 21px; }
p { margin: 0; }
figure { margin: 0; }
.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Centred uppercase titles with the yellow bar, as on Wix */
.bar-title { text-align: center; }
.bar-title::after { content: ""; display: block; width: 130px; height: 6px; background: var(--yellow); margin: 16px auto 0; }
.bar-title.left { text-align: left; }
.bar-title.left::after { margin-left: 0; }

.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--font-head); letter-spacing: .02em; padding: 14px 22px; text-decoration: none; border: 1.5px solid transparent; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn .ico { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-gold { background: var(--yellow); color: var(--navy); }
.btn-gold:hover { background: var(--yellow-hover); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-line:hover .ico { transform: none; }

/* Header: white, logo on a black block */
header.site { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); min-height: 76px; }
.logo { flex: none; margin-right: auto; background: var(--black); align-self: stretch; display: flex; align-items: center; padding: 0 18px 0 var(--gutter); margin-left: calc(-1 * var(--gutter)); }
.logo svg { height: 42px; width: 223px; display: block; }
nav.main { display: flex; gap: clamp(14px, 1.8vw, 28px); }
nav.main a { white-space: nowrap; text-decoration: none; font: 500 13px var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--navy); border-color: var(--yellow); }
.phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 15px var(--font-head); white-space: nowrap; color: var(--navy); padding: 10px 4px; }
.phone .ico { width: 18px; height: 18px; color: var(--navy); }
.phone:hover { color: #000; }
.cta { padding: 12px 18px; font-size: 14px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font-head); letter-spacing: .08em; text-decoration: none; color: var(--muted); border: 1px solid var(--line); padding: 10px 11px; transition: border-color .2s, color .2s; }
.lang .ico { width: 16px; height: 16px; }
.lang:hover { border-color: var(--navy); color: var(--navy); }
.menu-btn { display: none; background: none; color: var(--navy); border: 1px solid var(--line); font: 600 14px var(--font-head); padding: 10px 14px; cursor: pointer; }

/* Hero: light grey room photo with centred text */
.hero { background: var(--grey) var(--hero) center 70% / cover no-repeat; position: relative; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.25)); }
.hero-copy { position: relative; padding-top: clamp(70px, 10vw, 140px); padding-bottom: clamp(90px, 14vw, 200px); display: grid; gap: 20px; justify-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font: 600 13px var(--font-head); text-transform: uppercase; letter-spacing: .1em; }
.kicker .ico { width: 17px; height: 17px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; max-width: 900px; }
.lede { color: var(--text); font-size: clamp(16px, 1.3vw, 19px); max-width: 680px; }
.hero .btn-line { background: rgba(255, 255, 255, .85); }
.hero .btn-line:hover { background: var(--navy); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* About */
.about { padding: var(--section) 0; background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-grid > div { display: grid; gap: 16px; }
.about h2 { margin-bottom: 10px; }
.about p { font-size: 17px; max-width: 540px; }

/* Products / services */
.services { padding: var(--section) 0; }
.services h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.service { background: var(--soft); display: grid; grid-template-rows: auto auto 1fr; text-align: center; }
.service .pic { aspect-ratio: 3 / 2; overflow: hidden; background: #fff; }
.service .pic img { width: 100%; height: 100%; object-fit: cover; }
.service .pic-steel-door img { object-fit: contain; padding: 10px; }
.service h3 { padding: 24px 26px 10px; }
.service p { padding: 0 26px 30px; font-size: 15px; }
.windows { margin-top: var(--gap); border: 2px solid var(--yellow); display: grid; grid-template-columns: minmax(0, 1fr) 1.15fr; align-items: center; }
.windows figure { align-self: stretch; }
.windows figure img { width: 100%; height: 100%; aspect-ratio: 9 / 8; object-fit: cover; object-position: 50% 35%; }
.windows-body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; justify-items: start; }
.windows h3 { font-size: clamp(24px, 2.6vw, 34px); }
.windows p { max-width: 520px; font-size: 17px; }
.windows .btn { margin-top: 8px; }

/* Yellow band, as on Wix */
.facts { background: var(--yellow); color: var(--navy); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.facts-grid > div { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 6px clamp(12px, 2vw, 32px); border-left: 1px solid rgba(30, 45, 59, .35); }
.facts-grid > div:first-child { border-left: 0; }
.facts-grid .ico { width: 34px; height: 34px; }
.facts-grid b { font: 600 20px var(--font-head); }
.facts-grid span { font-size: 15px; font-weight: 600; }

/* Doors */
.doors { padding: var(--section) 0; }
.head { display: grid; justify-items: center; gap: 22px; text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.head p { color: var(--muted); max-width: 560px; }
.door-grid { --cols: 5; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(32px, 3vw, 48px) var(--gap); }
.door-grid > li { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.door { display: grid; gap: 2px; align-content: start; justify-items: center; text-align: center; }
.door-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; margin-bottom: 14px; }
.door-open img { width: 100%; aspect-ratio: 46 / 100; object-fit: contain; background: #fff; padding: 0 12%; transition: transform .3s; }
.door-open:hover img { transform: scale(1.03); }
.door-hint { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 6px); background: var(--navy); color: #fff; font: 600 13px var(--font-head); padding: 7px 12px; white-space: nowrap; opacity: 0; transition: opacity .2s, transform .2s; }
.door-open:hover .door-hint, .door-open:focus-visible .door-hint { opacity: 1; transform: translate(-50%, 0); }
.door h3 { font-size: 17px; }
.price { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.door.is-out .door-open img { opacity: .5; }
.door.is-out .price { color: var(--muted); font-weight: 500; }
.ask { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--font-head); text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--yellow); padding-bottom: 1px; margin-top: 6px; }
.ask .ico { width: 15px; height: 15px; }
.ask:hover { border-color: var(--navy); }

/* Door detail dialog */
.door-dialog { border: 0; padding: 0; overflow: auto; width: min(900px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: #fff; color: var(--text); display: none; }
.door-dialog[open] { display: grid; grid-template-columns: minmax(0, 0.8fr) 1.2fr; }
.door-dialog::backdrop { background: rgba(30, 45, 59, .7); }
.dd-img { background: var(--soft); display: grid; place-items: center; padding: 32px; }
.dd-img img { max-height: 70vh; width: auto; }
.dd-body { padding: clamp(28px, 3vw, 44px); display: grid; gap: 14px; align-content: start; overflow: auto; }
.dd-body h3 { font-size: clamp(24px, 2.4vw, 30px); padding-right: 40px; }
.dd-body > p { font-size: 15px; }
.dd-body h4 { font-size: 16px; margin-top: 6px; }
.dd-prices { border-collapse: collapse; width: 100%; font-size: 15px; }
.dd-prices th { text-align: left; font: 600 12px var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 0 6px; border-bottom: 2px solid var(--yellow); }
.dd-prices td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dd-prices td:last-child, .dd-prices th:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.dd-note { font-size: 13px !important; color: var(--muted); margin-top: -6px; }
.dd-out { font-weight: 700; color: var(--navy); }
.dd-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.dd-incl li { display: flex; gap: 10px; align-items: center; }
.dd-incl .ico { width: 18px; height: 18px; color: var(--navy); }
.dd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dd-close-wrap { position: absolute; top: 12px; right: 12px; z-index: 1; }
.dd-close { width: 44px; height: 44px; border: 0; background: #fff; color: var(--navy); font: 400 32px/1 var(--font-body); cursor: pointer; }
.dd-close:hover { background: var(--soft); }

/* Contact */
.contact { background: var(--soft); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.form-col { display: grid; gap: 16px; }
.contact h2 { margin-bottom: 10px; }
.intro { font-size: 17px; max-width: 600px; margin-bottom: 8px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field.wide, .wide { grid-column: 1 / -1; }
label { font: 600 14px var(--font-head); color: var(--navy); }
label small { font: 400 13px var(--font-body); color: var(--muted); }
input, select, textarea { font: 16px var(--font-body); color: var(--text); background: #fff; border: 1px solid #c6c6c6; border-radius: 0; padding: 12px 14px; width: 100%; }
textarea { resize: vertical; min-height: 140px; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231e2d3b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
.has-err input, .has-err textarea { border-color: #b3261e; }
.err { color: #b3261e; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.note { color: var(--muted); font-size: 13px; flex: 1 1 260px; }
.notice { padding: 18px 20px; font-weight: 600; }
.notice.bad { background: #fbeceb; color: #8c1d18; border-left: 4px solid #b3261e; }
.notice.ok { background: #fff; border-left: 4px solid var(--yellow); display: flex; gap: 14px; align-items: flex-start; }
.notice.ok .ico { color: var(--navy); width: 26px; height: 26px; }
.notice.ok b { font: 600 19px var(--font-head); color: var(--navy); }
.notice.ok p { color: var(--muted); font-weight: 400; }

.info { background: #fff; border-top: 6px solid var(--yellow); padding: clamp(26px, 2.6vw, 36px); display: grid; gap: 24px; }
.info h3 { font-size: 22px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lines li { display: flex; gap: 14px; align-items: flex-start; }
.lines .ico { color: var(--navy); margin-top: 2px; }
.lines a { color: var(--navy); text-underline-offset: 3px; }
.lines a:hover { color: #000; }
.lines a.directions { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px; background: var(--yellow); color: var(--navy); font: 600 14px var(--font-head); text-decoration: none; transition: background .2s; }
.lines a.directions:hover { background: var(--yellow-hover); }
.lines a.directions .ico { width: 16px; height: 16px; margin: 0; }
.hours { border-top: 1px solid var(--line); padding-top: 20px; }
.hours-h { display: flex; align-items: center; gap: 10px; font: 600 15px var(--font-head); color: var(--navy); margin-bottom: 12px; flex-wrap: wrap; }
.status { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: var(--grey); color: var(--muted); }
.status.is-open { background: var(--yellow); color: var(--navy); }
.hours dl { margin: 0; display: grid; gap: 2px; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 3px 0; }
.hours dl dd { margin: 0; }
.hours dl .today { color: var(--navy); font-weight: 700; }
.jobs { border-top: 1px solid var(--line); padding-top: 20px; }
.jobs h4 { font-size: 16px; margin-bottom: 6px; }
.jobs p { font-size: 15px; }
.jobs a { color: var(--navy); }

/* Footer */
footer.site { background: var(--black); color: #bdbdbd; font-size: 14px; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: var(--gap); align-items: center; padding-top: 36px; padding-bottom: 36px; }
.foot-logo { width: 200px; height: 38px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.legal { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 20px; font-size: 13px; }

/* Privacy page */
.page { padding: clamp(48px, 6vw, 90px) 0 var(--section); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.page h1 { font-size: clamp(32px, 4vw, 46px); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 14px; }
.page h2 { font-size: 20px; text-transform: none; letter-spacing: 0; margin: 32px 0 8px; }
.updated { color: var(--muted); }

/* Cookie consent: banner (bottom left) and the choices dialog, as on wplhost */
.consent { position: fixed; z-index: 50; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); background: #fff; border-top: 5px solid var(--yellow); box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.consent[hidden] { display: none; }
.consent h2, .consent-dialog h2 { font-size: 18px; text-transform: none; letter-spacing: 0; }
.consent p { font-size: 14px; }
.consent a, .consent-dialog a { color: var(--navy); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.consent-actions .btn { padding: 10px 14px; font-size: 14px; flex: 1 1 120px; justify-content: center; }
.consent-actions .btn-text { flex: 0 0 auto; background: none; border-color: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.consent-dialog { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); background: #fff; color: var(--text); }
.consent-dialog::backdrop { background: rgba(30, 45, 59, .7); }
.consent-body { padding: 28px 28px 8px; display: grid; gap: 12px; }
.consent-body > p { font-size: 15px; }
.consent-rows { display: flex; flex-direction: column; margin-top: 4px; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.consent-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.consent-what strong { font-family: var(--font-head); color: var(--navy); }
.consent-what span, .consent-always, .consent-small { font-size: 14px; color: var(--muted); }
.consent-always { white-space: nowrap; }
.consent-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px 24px; }
.consent-foot .btn { padding: 11px 16px; font-size: 14px; }
.switch { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; font: 600 13px var(--font-head); color: var(--muted); flex: none; }
.switch-track { width: 40px; height: 22px; border-radius: 11px; background: #c6c6c6; position: relative; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { color: var(--navy); }
.switch[aria-checked="true"] .switch-track { background: var(--navy); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(18px); }

@media (max-width: 1100px) {
	nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
	nav.main.is-open { display: flex; }
	nav.main a { padding: 12px 0; font-size: 15px; }
	.menu-btn { display: block; }
}
@media (max-width: 900px) {
	.about-grid, .contact-grid { grid-template-columns: 1fr; }
	.facts-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.facts-grid > div:nth-child(3) { border-left: 0; }
	.service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.door-grid { --cols: 3; }
	.windows { grid-template-columns: 1fr; }
	.windows figure img { aspect-ratio: 4 / 3; }
	.foot { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.bar { min-height: 64px; gap: 10px; }
	.logo svg { height: 32px; width: 170px; }
	.logo { padding-right: 12px; }
	.cta { display: none; }
	.phone span { display: none; }
	.phone { padding: 10px; border: 1px solid var(--line); }
	.door-grid { --cols: 2; }
	.form { grid-template-columns: 1fr; }
	.door-dialog[open] { display: block; }
	.dd-img { padding: 20px; }
	.dd-img img { max-height: 38vh; }
	.dd-body { overflow: visible; }
	.dd-close-wrap { position: sticky; top: 0; height: 0; display: flex; justify-content: flex-end; padding-right: 8px; }
	.dd-close { margin-top: 8px; }
}
@media (max-width: 560px) {
	.consent { left: 8px; bottom: 8px; width: calc(100% - 16px); }
	.facts-grid { grid-template-columns: 1fr; }
	.facts-grid > div { border-left: 0; }
}
@media (max-width: 440px) {
	.logo svg { height: 28px; width: 149px; }
	.lang .ico { display: none; }
	.bar { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
