/* 369 Design — colors and type from the original site (Figtree, light uppercase headings) */
:root {
	--red: #D92919;
	--navy: #1F385F;
	--ink: #121B24;
	--text: #6B6668;
	--muted: #B3ACA6;
	--line: #EAE6E7;
	--cream: #F6F2E9;
	--white: #fff;
	--wrap: 1320px;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--h1: clamp(40px, 4.6vw, 66px);
	--h2: clamp(30px, 3.4vw, 46px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.75 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { font-weight: 300; color: var(--ink); text-transform: uppercase; line-height: 1.15; margin: 0 0 .55em; letter-spacing: .01em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
p { margin: 0 0 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 1000px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.icon { flex: none; }

/* Buttons and labels */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.label { display: inline-block; background: var(--navy); color: #fff; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; margin-bottom: 22px; }
.label-red { background: var(--red); }

/* Top bar + headers */
.topbar { background: var(--red); color: #fff; font-size: 12.5px; font-weight: 500; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar-area { display: inline-flex; align-items: center; gap: 8px; }
.topbar-area:hover { color: #fff; opacity: .85; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social-top a:hover { color: #fff; opacity: .8; }
.site-header { position: relative; z-index: 20; }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header-solid { background: #fff; border-bottom: 1px solid var(--line); }
.header-solid .header-in { min-height: 132px; }
.header-overlay { position: absolute; top: 0; left: 0; right: 0; color: #fff; }
.header-overlay .header-in { padding-top: 34px; row-gap: 18px; }
.logo { justify-self: center; }
.logo img { width: 125px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 30px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.header-meta { list-style: none; margin: 0; padding: 0; font: 600 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; display: grid; gap: 12px; align-self: start; }
.header-meta a, .header-meta span { display: inline-flex; align-items: center; gap: 9px; }
.header-meta a:hover { color: #fff; opacity: .8; }
.nav-below { grid-column: 1 / -1; justify-self: center; }
.menu, .menu-mobile { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; gap: 38px; font: 500 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.header-solid .menu { color: var(--ink); }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 14px 0; }
.menu > li.current > a { color: var(--muted); }
.header-overlay .menu > li.current > a { color: var(--red); }
.menu .icon-chevron { width: 12px; height: 12px; }
.menu .sub { list-style: none; margin: 0; padding: 14px 0; position: absolute; left: -22px; top: 100%; min-width: 280px; background: #fff; box-shadow: 0 14px 40px rgba(18, 27, 36, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: block; padding: 9px 22px; }
.menu-toggle, .menu-close { display: none; background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.menu-toggle .icon, .menu-close .icon { width: 28px; height: 28px; }
.mobile-nav { position: fixed; inset: 0; z-index: 50; background: #fff; padding: 80px 28px 40px; overflow: auto; }
.mobile-nav[hidden] { display: none; }
.menu-close { display: block; position: absolute; top: 18px; right: 18px; color: var(--ink); }
.menu-mobile { font-size: 20px; color: var(--ink); margin-bottom: 28px; }
.menu-mobile > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.menu-mobile .icon-chevron { display: none; }
.menu-mobile .sub { list-style: none; padding: 6px 0 6px 16px; margin: 0; font-size: 16px; }
.menu-mobile .sub a { display: block; padding: 8px 0; color: var(--text); }

/* Heroes */
.hero-photo { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; text-align: center; background: var(--ink) var(--hero) center / cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: rgba(18, 27, 36, .55); }
.hero-in { position: relative; padding-top: 170px; padding-bottom: 80px; width: 100%; }
.hero-photo h1 { color: #fff; max-width: 900px; margin: 0 auto .45em; }
.hero-sub { font-size: 17px; max-width: 760px; margin: 0 auto; }
.hero-sub p { margin: 0; }
.hero-short { min-height: 480px; }
.hero-short h1 { font-size: clamp(38px, 4vw, 54px); }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero-split-media { margin: 0; overflow: hidden; }
.hero-split-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-split-media-white img { object-fit: contain; object-position: right center; background: #fff; }
.hero-split-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px clamp(28px, 5vw, 80px); }
.hero-split-panel h1 { font-size: clamp(34px, 3.4vw, 46px); }
.hero-split-panel p { max-width: 560px; }
.hero-split-dark { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); }
.hero-split-dark .hero-split-panel { background: var(--ink) url("../img/bg-dark.webp") center / cover; color: #fff; }
.hero-split-dark h1 { color: #fff; }
.call-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); margin-top: 10px; }
.call-icon { width: 38px; height: 38px; border-radius: 50%; background: #F3D6BE; color: var(--red); display: grid; place-items: center; }

/* Sections */
.section { padding: clamp(70px, 8vw, 120px) 0; }
.marble { background: var(--cream) url("../img/bg-marble.webp") center / cover; }
.section.marble { background-color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; max-width: 580px; }
.split-text h2 { max-width: 640px; }
.split-text p { max-width: 640px; }
.checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.checks .icon { color: var(--red); width: 18px; height: 18px; }
.prose p { margin-bottom: 1.4em; }
.prose-center-h2 h2 { text-align: center; max-width: 900px; margin: 0 auto .9em; }

/* Services */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section h2.center { margin-bottom: 50px; }
.service-card a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; background: var(--ink); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 27, 36, .55), rgba(18, 27, 36, .05) 40%, rgba(18, 27, 36, .45)); }
.service-card a:hover img { transform: scale(1.05); }
.service-card-title { position: absolute; z-index: 1; top: 26px; left: 26px; right: 26px; font-size: 21px; line-height: 1.3; }
.service-card-btn { position: absolute; z-index: 1; left: 26px; bottom: 26px; border: 1px solid #fff; padding: 11px 20px; font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; transition: .2s; }
.service-card a:hover .service-card-btn { background: #fff; color: var(--ink); }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.contact-grid h2 { font-size: clamp(28px, 2.8vw, 38px); }
.contact-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.mini-h { font: 600 12px/1 var(--font); letter-spacing: .14em; color: var(--ink); margin-bottom: 12px; }
.ask { align-self: center; }
.form { display: grid; gap: 18px; margin-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--ink); }
.form input, .form textarea { width: 100%; font: inherit; color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 13px 15px; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: 14px 16px; border-left: 3px solid; }
.form-notice-ok { border-color: #2e7d32; background: #eef7ee; color: #1f5a23; }
.form-notice-err { border-color: var(--red); background: #fdeeec; color: #8a1d12; }

/* Footer */
.site-footer { background: var(--cream) url("../img/bg-marble.webp") center / cover; padding: 56px 0 40px; text-align: center; }
.footer-menu { list-style: none; margin: 0 0 50px; padding: 0; display: flex; justify-content: center; gap: 46px; font: 500 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.footer-h { font-size: 22px; font-weight: 400; text-transform: none; margin-bottom: 16px; }
.footer-col p { margin-bottom: 16px; }
.footer-logo img { width: 170px; }
.social-footer { justify-content: center; }
.social-footer a { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.social-footer a:hover { background: var(--ink); color: #fff; }
.social-footer .icon { width: 15px; height: 15px; }
.copyright { margin: 50px 0 0; font-size: 13px; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 42px; height: 42px; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: #fff; background: var(--red); }

/* Tablet / phone */
@media (max-width: 1100px) {
	.nav-desktop, .header-phone, .header-meta, .header-actions .btn { display: none; }
	.menu-toggle { display: block; }
	.header-in { grid-template-columns: auto 1fr; }
	.logo { justify-self: start; }
	.logo img { width: 92px; }
	.header-solid .header-in { min-height: 92px; }
	.header-overlay .header-in { padding-top: 22px; }
	.header-solid .menu-toggle { color: var(--ink); }
	.split, .contact-grid { grid-template-columns: 1fr; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 15px; }
	.wrap { padding: 0 20px; }
	.hero-photo { min-height: 560px; }
	.hero-in { padding-top: 130px; }
	.hero-sub { font-size: 15.5px; }
	.hero-split, .hero-split-dark { grid-template-columns: 1fr; min-height: 0; }
	.hero-split-media { max-height: 360px; }
	.hero-split-panel { padding: 50px 20px; }
	.hero-split-dark .hero-split-media { order: 2; }
	.service-grid { grid-template-columns: 1fr; }
	.service-card a { aspect-ratio: 4 / 3; }
	.form-row, .contact-facts { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr; gap: 28px; }
	.footer-logo { order: -1; justify-self: center; }
	.footer-menu { flex-wrap: wrap; gap: 18px 28px; }
	.topbar { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
