/* Goodway Core — V4 "Fresh modular". Tokens match the Elementor global variables (gw-*). */
:root {
	--gw-navy: #16243B;
	--gw-glass: #DCEBEF;
	--gw-glass-line: #B5CFD8;
	--gw-page: #F5F9FA;
	--gw-gold: #B98A2F;
	--gw-slate: #4A5B70;
	--gw-r-photo: 36px;
	--gw-r-tile: 26px;
	--gw-r-inner: 16px;
	--gw-r-chip: 10px;
	--gw-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--gw-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--gw-page); color: var(--gw-navy); font-family: var(--gw-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.gw-lock { overflow: hidden; }
.gw-wrap { width: min(1360px, 100% - 40px); margin-inline: auto; }
:where(.gw-head, .gw-foot, .gw-calc, .gw-form, .gw-modal) :focus-visible { outline: 3px solid var(--gw-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Buttons (plugin markup; Elementor uses the gw-btn-* global classes) ---------- */
.gw-btn, :is(.gw-calc, .gw-form-wrap, .gw-modal) a.gw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box;
	min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--gw-navy);
	background: var(--gw-navy); color: #fff; font: 600 1rem/1 var(--gw-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.gw-btn:hover, :is(.gw-calc, .gw-form-wrap, .gw-modal) a.gw-btn:hover { background: #22375A; border-color: #22375A; color: #fff; }
.gw-btn:disabled { opacity: .6; cursor: wait; }
.gw-btn--sm { min-height: 42px; padding: 0 18px; font-size: .94rem; }
.gw-btn--line, :is(.gw-calc, .gw-form-wrap, .gw-modal) a.gw-btn--line { background: transparent; color: var(--gw-navy); }
.gw-btn--line:hover, :is(.gw-calc, .gw-form-wrap, .gw-modal) a.gw-btn--line:hover { background: var(--gw-navy); color: #fff; }
.gw-btn--white { background: #fff; color: var(--gw-navy); border-color: #fff; }
.gw-btn--white:hover { background: var(--gw-glass); border-color: var(--gw-glass); color: var(--gw-navy); }
.gw-btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.gw-btn--ghost-white:hover { background: #fff; color: var(--gw-navy); border-color: #fff; }
.gw-btn--wa, :is(.gw-calc, .gw-form-wrap, .gw-modal) a.gw-btn--wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.gw-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header ---------- */
.gw-head { position: sticky; top: 0; z-index: 9000; background: rgba(245, 249, 250, .94); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.admin-bar .gw-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .gw-head { top: 0; } }
.gw-head.is-scrolled { box-shadow: 0 1px 0 var(--gw-glass-line); }
.gw-head__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.gw-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gw-navy); margin-right: auto; }
.gw-brand img { height: 38px; width: auto; mix-blend-mode: multiply; }
.gw-brand span { font: 600 1.18rem/1.05 var(--gw-display); letter-spacing: -0.01em; color: var(--gw-navy); }
.gw-brand small { display: block; font: 500 .82rem/1.2 var(--gw-body); color: var(--gw-slate); }
.gw-brand--light span { color: #fff; }
.gw-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gw-nav__list a { display: block; text-decoration: none; color: var(--gw-navy); font-weight: 500; font-size: .98rem; padding: 9px 13px; border-radius: var(--gw-r-chip); }
.gw-nav__list a:hover, .gw-nav__list .current-menu-item:not(.menu-item-type-custom) > a { background: var(--gw-glass); color: var(--gw-navy); }
.gw-nav .gw-nav__cta { display: none; }
.gw-head .gw-menu-btn { display: none; cursor: pointer; font: 600 .95rem var(--gw-body); color: var(--gw-navy); background: transparent; padding: 10px 16px; border: 2px solid var(--gw-navy); border-radius: 999px; }
.gw-head .gw-menu-btn:hover, .gw-head .gw-menu-btn:focus { background: var(--gw-glass); color: var(--gw-navy); }
@media (max-width: 1100px) {
	.gw-head .gw-menu-btn { display: inline-flex; }
	.gw-nav { position: fixed; inset: 76px 0 0 0; background: var(--gw-page); padding: 16px 20px 28px; display: none; overflow: auto; }
	.admin-bar .gw-nav { top: 122px; }
	.gw-nav.is-open { display: block; }
	.gw-nav__list { flex-direction: column; gap: 6px; }
	.gw-nav__list a { font: 600 1.6rem/1.2 var(--gw-display); padding: 14px 16px; background: #fff; border-radius: var(--gw-r-inner); }
	.gw-nav .gw-nav__cta { display: flex; width: 100%; margin-top: 16px; }
}
@media (max-width: 600px) { .gw-head__cta { display: none; } .gw-brand img { height: 32px; } }

/* ---------- Footer ---------- */
.gw-foot { margin-top: clamp(64px, 8vw, 112px); padding-bottom: 20px; }
.gw-foot__tile {
	background: var(--gw-navy); color: #fff; border-radius: var(--gw-r-photo); padding: clamp(28px, 4vw, 56px);
	display: grid; gap: 36px clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
}
.gw-foot__brand { font: 600 1.7rem/1.1 var(--gw-display); letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.gw-foot__tile p { color: #C9D6E2; margin: 0; }
.gw-foot__tile .gw-actions { margin-top: 24px; }
.gw-foot__tile h3 { font: 600 1rem/1.3 var(--gw-body); color: #fff; margin: 0 0 10px; }
.gw-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.gw-foot__list a { color: #C9D6E2; text-decoration: none; }
.gw-foot__list a:hover { color: #fff; text-decoration: underline; }
.gw-foot address { font-style: normal; color: #C9D6E2; display: grid; gap: 7px; overflow-wrap: anywhere; }
.gw-foot address a { color: #fff; text-decoration: none; font-weight: 600; }
.gw-social { display: flex; gap: 10px; margin-top: 20px; }
.gw-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; transition: background-color .15s, color .15s; }
.gw-social a:hover { background: #fff; border-color: #fff; color: var(--gw-navy); }
.gw-social svg { width: 20px; height: 20px; }
.gw-legal { padding: 16px 84px 0 6px; font-size: .88rem; color: var(--gw-slate); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.gw-legal p { margin: 0; }
.gw-legal nav { display: flex; gap: 20px; }
.gw-legal a { color: var(--gw-navy); font-weight: 500; text-decoration: none; }
.gw-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .gw-foot__tile { grid-template-columns: 1fr 1fr; } .gw-foot__tile > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .gw-foot__tile { grid-template-columns: 1fr; } }

/* ---------- Price calculator ---------- */
.gw-calc {
	display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch;
	background: var(--gw-glass); border-radius: var(--gw-r-photo); padding: clamp(22px, 3.4vw, 52px); color: var(--gw-navy); scroll-margin-top: 100px;
}
.gw-calc__form { display: flex; flex-direction: column; min-width: 0; }
.gw-calc__chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gw-calc__chips li { font-size: .88rem; font-weight: 500; color: var(--gw-slate); padding: 6px 12px; border-radius: var(--gw-r-chip); border: 1.5px solid var(--gw-glass-line); }
.gw-calc__chips li[aria-current] { background: var(--gw-navy); border-color: var(--gw-navy); color: #fff; font-weight: 600; }
.gw-calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gw-calc legend { padding: 0; font: 600 clamp(1.4rem, 2vw, 1.75rem)/1.15 var(--gw-display); letter-spacing: -0.015em; margin-bottom: 18px; color: var(--gw-navy); }
.gw-calc [hidden] { display: none !important; }
.gw-calc__hint { margin: -6px 0 18px; color: var(--gw-slate); font-size: .95rem; }
.gw-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gw-opt { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; background: #fff; border: 2px solid transparent; border-radius: var(--gw-r-inner); padding: 16px 18px; cursor: pointer; }
.gw-opt:not(:has(svg)) { grid-template-columns: 1fr; }
.gw-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gw-opt b { font-weight: 600; font-size: 1.04rem; }
.gw-opt span { grid-column: 1; font-size: .9rem; color: var(--gw-slate); line-height: 1.35; }
.gw-opt svg { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; color: var(--gw-glass-line); }
.gw-opt:hover { border-color: var(--gw-glass-line); }
.gw-opt:has(input:checked) { border-color: var(--gw-navy); }
.gw-opt:has(input:checked) svg { color: var(--gw-navy); }
.gw-opt:has(input:focus-visible) { outline: 3px solid var(--gw-gold); outline-offset: 3px; }
.gw-opt:has(input[type="checkbox"]) { padding-left: 50px; }
.gw-opt:has(input[type="checkbox"])::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 2px solid var(--gw-glass-line); background: #fff; }
.gw-opt:has(input[type="checkbox"]:checked)::before { background: var(--gw-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--gw-navy); }
.gw-calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gw-cf { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.gw-cf--full { grid-column: 1 / -1; }
.gw-cf input { min-height: 52px; padding: 0 14px; border-radius: var(--gw-r-inner); border: 2px solid transparent; background: #fff; font: 400 1rem var(--gw-body); color: var(--gw-navy); }
.gw-cf input:focus { outline: none; border-color: var(--gw-navy); }
.gw-err { font-style: normal; font-weight: 500; font-size: .88rem; color: #B42318; }
.gw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gw-calc__foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.gw-calc__note { font-size: .92rem; color: var(--gw-slate); margin: 0; }
.gw-calc__lead { color: var(--gw-slate); margin: 0 0 4px; }
.gw-calc__result h3 { font: 600 clamp(1.6rem, 2.4vw, 2rem)/1.1 var(--gw-display); letter-spacing: -0.015em; margin: 0 0 14px; color: var(--gw-navy); }
.gw-calc__price { background: #fff; border-radius: var(--gw-r-inner); padding: 18px 20px; margin-bottom: 16px; }
.gw-calc__price b { display: block; font: 600 clamp(2rem, 3.4vw, 2.6rem)/1 var(--gw-display); letter-spacing: -0.02em; margin-bottom: 8px; }
.gw-calc__price span { color: var(--gw-slate); font-size: .95rem; }
.gw-calc__again { background: none; border: 0; padding: 0; margin-top: 14px; font: 500 .95rem var(--gw-body); color: var(--gw-slate); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.gw-calc__again:hover, .gw-calc__again:focus { background: none; color: var(--gw-navy); }
.gw-calc__drawing { background: #fff; border-radius: var(--gw-r-tile); padding: 20px 20px 16px; display: grid; gap: 8px; align-items: end; }
.gw-calc__svg { width: 100%; height: auto; max-height: 440px; }
.gw-calc__say { font-size: .92rem; color: var(--gw-slate); margin: 0; }
.gw-car { transition: transform .95s cubic-bezier(.45, .05, .2, 1); }
.gw-bld .b { fill: none; stroke: var(--gw-navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gw-bld .t { fill: none; stroke: var(--gw-navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gw-bld .w { fill: #fff; }
.gw-bld .s { fill: var(--gw-glass); stroke: var(--gw-navy); stroke-width: 1.4; }
.gw-bld .g { stroke: var(--gw-glass-line); stroke-width: 1.4; stroke-dasharray: 3 5; }
.gw-bld .l { font: 500 13px var(--gw-body); fill: var(--gw-slate); }
.gw-bld .l.top { font-weight: 700; fill: var(--gw-navy); }
@media (max-width: 1100px) { .gw-calc { grid-template-columns: 1fr; } .gw-calc__drawing { order: -1; } .gw-calc__svg { max-height: 260px; } }
@media (max-width: 640px) { .gw-opts, .gw-calc__fields { grid-template-columns: 1fr; } }

/* ---------- Site-visit steps: the thin building and its lift (built in Elementor, enhanced here) ---------- */
.gw-visit { position: relative !important; padding-left: 86px !important; margin-top: 56px !important; }
.gw-visit__bld { position: absolute; left: 0; top: -48px; width: 64px; overflow: visible; }
.gw-visit__bld .b { fill: #fff; stroke: var(--gw-navy); stroke-width: 2; stroke-linejoin: round; }
.gw-visit__bld .t { fill: none; stroke: var(--gw-navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gw-visit__bld .s { fill: var(--gw-glass); stroke: var(--gw-navy); stroke-width: 1.4; }
.gw-visit__bld .g { stroke: var(--gw-navy); stroke-width: 2; stroke-linecap: round; }
.gw-visit__car { position: absolute; left: 38px; top: 0; width: 18px; height: 30px; background: var(--gw-gold); border-radius: 3px; will-change: transform; z-index: 1; }
.gw-visit__car::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; margin-left: -.75px; background: var(--gw-navy); }
.gw-visit .gw-visit-n { transition: background-color .2s, color .2s, box-shadow .2s; }
.gw-visit .gw-visit-step.is-on .gw-visit-n { box-shadow: 0 0 0 3px var(--gw-page), 0 0 0 6px var(--gw-gold) !important; }
.gw-visit .gw-visit-step.is-here .gw-visit-n { background-color: var(--gw-navy) !important; color: #fff !important; }
@media (max-width: 640px) { .gw-visit { padding-left: 72px !important; } }

/* ---------- Enquiry forms and popup ---------- */
.gw-form { color: var(--gw-navy); }
.gw-form__title { margin: 0 0 18px; font: 600 1.75rem/1.15 var(--gw-display); letter-spacing: -0.015em; }
.gw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gw-field { display: flex; flex-direction: column; gap: 7px; font-size: .95rem; font-weight: 600; }
.gw-field--full { grid-column: 1 / -1; }
.gw-field[hidden] { display: none; }
.gw-field input, .gw-field select, .gw-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--gw-glass-line); border-radius: var(--gw-r-inner); background: var(--gw-page); font: 400 1rem var(--gw-body); color: var(--gw-navy); }
.gw-field textarea { min-height: 100px; }
.gw-field input:focus, .gw-field select:focus, .gw-field textarea:focus { outline: none; border-color: var(--gw-navy); }
.gw-error { margin: 12px 0 0; color: #B42318; font-size: .95rem; }
.gw-form .gw-btn--block { width: 100%; margin-top: 18px; }
.gw-form__alt { margin: 14px 0 0; font-size: .95rem; color: var(--gw-slate); }
.gw-form__alt a { color: var(--gw-navy); font-weight: 600; }
.gw-thanks h3 { margin: 0 0 8px; font: 600 1.75rem/1.15 var(--gw-display); }
.gw-thanks p { color: var(--gw-slate); margin: 0 0 18px; }
.gw-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 16px; }
.gw-modal[hidden] { display: none; }
.gw-modal__backdrop { position: absolute; inset: 0; background: rgba(22, 36, 59, .55); }
.gw-modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--gw-r-tile); padding: clamp(22px, 4vw, 36px); }
.gw-modal .gw-modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gw-glass); color: var(--gw-navy); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
@media (max-width: 560px) { .gw-fields { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp / Call ---------- */
.gw-float { position: fixed; right: 18px; bottom: 18px; z-index: 9990; display: flex; flex-direction: column; gap: 10px; }
.gw-float__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .15s; }
.gw-float__btn:hover { transform: translateY(-2px); color: #fff; }
.gw-float__btn svg { width: 26px; height: 26px; }
.gw-float__btn--wa { background: #1FA855; }
.gw-float__btn--call { background: var(--gw-navy); }
@media (min-width: 1101px) { .gw-float__btn--call { display: none; } }

/* ---------- WhatsApp buttons: icon only on phones (add the "gw-btn-wa-icon" class to any Elementor button) ---------- */
@media (max-width: 767px) {
	a.gw-btn-wa-icon {
		display: inline-flex !important; align-items: center; justify-content: center;
		width: 54px !important; min-width: 54px; height: 54px; padding: 0 !important; flex: none;
		font-size: 0 !important; line-height: 0 !important; overflow: hidden;
		border: 0 !important; border-color: transparent !important; background-color: transparent !important; box-shadow: none !important;
	}
	a.gw-btn-wa-icon::before {
		content: ""; width: 30px; height: 30px; background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.8 14.2c-.2.7-1.4 1.3-2 1.4-.5.1-1.2.1-1.9-.1-.4-.1-1-.3-1.7-.6-3-1.3-4.9-4.3-5.1-4.5-.1-.2-1.2-1.6-1.2-3.1s.8-2.2 1-2.5c.3-.3.6-.4.8-.4h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.3 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 .9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.8 14.2c-.2.7-1.4 1.3-2 1.4-.5.1-1.2.1-1.9-.1-.4-.1-1-.3-1.7-.6-3-1.3-4.9-4.3-5.1-4.5-.1-.2-1.2-1.6-1.2-3.1s.8-2.2 1-2.5c.3-.3.6-.4.8-.4h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.3 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 .9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

/* ---------- Helpers inside Elementor ---------- */
.gw-anchor { display: block; position: relative; top: -90px; visibility: hidden; }
.gw-photo-cover img, img.gw-cover { width: 100%; height: 100%; object-fit: cover; }
.gw-rise { animation: gw-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gw-rise { from { transform: translateY(22px); } to { transform: none; } }
