/* SC Joinery — cleaner layout on top of the existing template */

:root {
	--sc-ink: #1c1917;
	--sc-ink-soft: #44403c;
	--sc-muted: #78716c;
	--sc-paper: #f6f3ee;
	--sc-white: #ffffff;
	--sc-line: #e7e1d8;
	--sc-oak: #9a3412;
	--sc-oak-deep: #7c2d12;
	--sc-oak-soft: #fff7ed;
	--sc-shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", "Segoe UI", sans-serif;
	color: var(--sc-ink-soft);
	background: var(--sc-white);
}

h1, h2, h3, h4, h5, h6,
.sec-title h2,
.page-title h1 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 560;
	letter-spacing: -0.03em;
	color: var(--sc-ink);
}

p {
	line-height: 1.7;
}

.preloader {
	display: none !important;
}

.auto-container {
	max-width: 1160px;
}

/* Header */

.main-header {
	position: sticky;
	top: 0;
	left: auto;
	right: auto;
	z-index: 1000;
	background: #ff6501;
	border-bottom: 0;
	backdrop-filter: none;
}

.main-header .sticky-header,
.main-header .nav-btn,
.search-popup,
.xs-sidebar-group {
	display: none !important;
}

.main-header .header-top,
.main-header .header-lower {
	background: #ff6501;
}

.main-header .header-top .top-left .text,
.main-header .header-top .top-right .text,
.main-header .header-top .top-right .text a,
.main-header .header-top .top-right .social-box li a {
	color: #f5f0ea;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.main-header .header-top .top-left .text,
.main-header .header-top .top-right {
	padding: 8px 0;
}

.main-header .header-lower {
	background: #ff6501;
}

.page-wrapper {
	overflow: visible;
}

.main-header .header-lower .auto-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.main-header .header-lower .logo-box,
.main-header .pull-left.logo-box {
	float: none;
	padding: 10px 0;
}

.main-header .header-lower .nav-outer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	float: none;
	width: auto;
}

.main-header .main-menu {
	float: none;
	flex: 1;
	text-align: right;
}

.main-header .outer-box {
	position: static;
	float: none;
	margin: 0;
	padding: 0;
}

.main-header .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img {
	height: 62px;
	width: auto;
	max-width: 210px;
	object-fit: contain;
	background: transparent;
	border-radius: 0;
}

.main-header .main-menu .navigation > li {
	border: 0;
	margin: 0 4px;
}

.main-header .main-menu .navigation > li > a {
	padding: 26px 12px;
	font-family: "Manrope", sans-serif;
	font-size: 15px;
	font-weight: 650;
	color: #fff;
}

.main-header .main-menu .navigation > li > a:hover,
.main-header .main-menu .navigation > li > a.headerSelected {
	color: #fff;
}

.main-header .main-menu .navigation > li > ul {
	border: 1px solid var(--sc-line);
	border-radius: 14px;
	padding: 8px;
	background: #fff;
	box-shadow: var(--sc-shadow);
	margin-top: 0;
}

.main-header .main-menu .navigation > li > ul > li {
	border-bottom-color: transparent;
}

.main-header .main-menu .navigation > li > ul > li > a {
	color: var(--sc-ink);
	font-family: "Manrope", sans-serif;
	border-radius: 8px;
	font-weight: 650;
}

.main-header .main-menu .navigation > li > ul > li > a:hover {
	color: var(--sc-oak);
	background: var(--sc-paper);
}

.sc-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 0 0 12px;
}

.sc-header-phone,
.sc-header-quote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.sc-header-phone {
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.sc-header-quote {
	color: #ff6501;
	background: #fff;
	border-color: #fff;
}

.sc-header-quote:hover {
	color: #fff;
	background: #1c1917;
	border-color: #1c1917;
}

.sc-btn {
	color: #fff;
	background: var(--sc-oak);
	border: 1px solid var(--sc-oak);
	transition: background 0.2s ease, transform 0.2s ease;
}

.sc-btn:hover {
	color: #fff;
	background: var(--sc-oak-deep);
	text-decoration: none;
}

.mobile-menu .menu-box,
.xs-sidebar-widget .sidebar-widget-container {
	background: var(--sc-ink) !important;
}

.mobile-menu .navigation li a,
.mobile-menu .close-btn {
	color: #fff !important;
}

/* Hero */

.sc-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: flex-end;
	background-color: #292524;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.sc-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(28, 25, 23, 0.82) 0%, rgba(28, 25, 23, 0.45) 52%, rgba(28, 25, 23, 0.15) 100%),
		linear-gradient(180deg, rgba(28, 25, 23, 0.15), rgba(28, 25, 23, 0.35));
}

.sc-hero .auto-container,
.sc-hero__content {
	position: relative;
	z-index: 1;
}

.sc-hero__content {
	max-width: 720px;
	padding: 88px 0 76px;
}

.sc-eyebrow,
.sec-title .title {
	display: inline-block;
	margin: 0 0 14px;
	color: #fdba74;
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sc-hero h1 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 62px;
	line-height: 1.02;
}

.sc-hero__lead {
	max-width: 560px;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
}

.sc-hero__actions,
.sc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border-radius: 999px;
	font-weight: 750;
	text-decoration: none;
}

.sc-btn--ghost {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
}

.sc-btn--ghost:hover {
	color: var(--sc-ink);
	background: #fff;
}

.sc-btn--dark {
	color: #fff;
	background: var(--sc-ink);
	border-color: var(--sc-ink);
}

.sc-btn--dark:hover {
	background: #000;
	color: #fff;
}

/* Trust strip */

.sc-trust {
	background: var(--sc-white);
	border-bottom: 1px solid var(--sc-line);
}

.sc-trust ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-trust li {
	padding: 22px 18px;
	border-right: 1px solid var(--sc-line);
}

.sc-trust li:last-child {
	border-right: 0;
}

.sc-trust strong,
.sc-trust span {
	display: block;
}

.sc-trust strong {
	color: var(--sc-ink);
	font-size: 16px;
}

.sc-trust span {
	color: var(--sc-muted);
	font-size: 13px;
}

/* Shared sections */

.sc-section {
	padding: 84px 0;
}

.sc-section--paper {
	background: var(--sc-paper);
}

.sc-section h2,
.about-section h2,
.sec-title h2,
.sec-title-three h2 {
	margin: 0 0 16px;
	font-size: 42px;
	line-height: 1.12;
}

.sc-lead {
	max-width: 680px;
	margin: 0 0 28px;
	color: var(--sc-ink-soft);
	font-size: 17px;
}

.about-section {
	padding: 84px 0 36px;
	background: #fff;
}

.about-section .image-column .inner-column {
	margin-right: 0;
}

.about-section .image-column .image:before,
.accordion-section .image:before {
	display: none;
}

.about-section .image-column .image img,
.accordion-section .image img {
	width: 100%;
	height: 420px;
	border-radius: 18px;
	object-fit: cover;
}

.about-section .text strong {
	color: var(--sc-ink);
}

/* Service cards */

.sc-card-grid,
.work-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.sc-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sc-line);
	border-radius: 18px;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(28, 25, 23, 0.03);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sc-card:hover {
	color: inherit;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: var(--sc-shadow);
}

.sc-card img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	background: #ece7e0;
}

.sc-card__body {
	padding: 20px 20px 22px;
}

.sc-card h3 {
	margin: 0 0 8px;
	font-family: "Manrope", sans-serif;
	font-size: 20px;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.sc-card p {
	margin: 0;
	color: var(--sc-muted);
	font-size: 15px;
}

.sc-card__more {
	display: inline-block;
	margin-top: 14px;
	color: var(--sc-oak);
	font-size: 14px;
	font-weight: 750;
}

/* Steps */

.sc-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-steps li {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--sc-line);
	border-radius: 18px;
}

.sc-steps em {
	display: block;
	margin-bottom: 12px;
	color: var(--sc-oak);
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	font-style: normal;
}

.sc-steps strong {
	display: block;
	margin-bottom: 6px;
	color: var(--sc-ink);
	font-size: 17px;
}

.sc-steps span {
	color: var(--sc-muted);
	font-size: 14px;
	line-height: 1.55;
}

/* Gallery */

.work-gallery {
	margin: 8px 0 28px;
}

.work-gallery__head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: baseline;
	margin-bottom: 14px;
}

.work-gallery__head h3 {
	margin: 0;
	font-family: "Manrope", sans-serif;
	font-size: 18px;
	font-weight: 750;
	letter-spacing: 0;
}

.work-gallery__head p {
	margin: 0;
	color: var(--sc-muted);
	font-size: 14px;
}

.work-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 4 / 3;
	background: #ece7e0;
}

.work-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.work-gallery__item:hover img {
	transform: scale(1.045);
}

.work-gallery__zoom {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(28, 25, 23, 0.82);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sc-work-home .work-gallery__grid {
	grid-template-columns: repeat(3, 1fr);
}

/* Facebook */

.sc-social {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
	gap: 40px;
	align-items: start;
}

.sc-fb {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-height: 760px;
	overflow: auto;
	background: transparent;
	border: 0;
	min-height: 0;
}

.sc-fb iframe {
	width: 100%;
	max-width: 500px;
	height: 560px;
	border: 0;
	border-radius: 16px;
	background: #fff;
}

/* Areas */

.sc-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.sc-areas a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--sc-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.sc-areas a:hover {
	border-color: var(--sc-oak);
	color: var(--sc-oak);
	text-decoration: none;
}

.sc-related {
	margin: 28px 0 8px;
}

.sc-related p {
	margin: 0 0 10px;
	color: var(--sc-ink);
	font-weight: 750;
}

/* FAQ */

.accordion-section .image-column .inner-column {
	padding-right: 0;
}

.accordion-box .block {
	margin-bottom: 10px;
	border: 1px solid var(--sc-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.accordion-box .acc-btn {
	padding: 18px 54px 18px 20px;
	background: #fff;
	color: var(--sc-ink);
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 750;
}

.accordion-box .acc-content .content {
	padding: 0 20px 18px;
}

.accordion-box .acc-content .text {
	color: var(--sc-ink-soft);
}

/* Page heroes and inner pages */

.page-title {
	padding: 72px 0 56px;
	background-color: #292524 !important;
	background-size: cover;
	background-position: center;
}

.page-title:before {
	opacity: 0.55;
	background: #1c1917;
}

.page-title h1 {
	color: #fff;
	font-size: 52px;
}

.page-title .text {
	color: rgba(255, 255, 255, 0.82);
	font-family: "Manrope", sans-serif;
}

.page-title .breadcrumb-outer {
	position: static;
	margin-top: 18px;
	text-align: left;
}

.page-title .page-breadcrumb {
	padding: 0;
	background: transparent;
}

.page-title .page-breadcrumb li,
.page-title .page-breadcrumb li a {
	color: rgba(255, 255, 255, 0.82);
	border: 0;
	font-family: "Manrope", sans-serif;
	font-weight: 600;
}

.services-page-section,
.sidebar-page-container,
.contact-form-section {
	padding-top: 56px;
	padding-bottom: 72px;
}

.service-block {
	margin-bottom: 22px;
}

.service-block .inner-box {
	overflow: hidden;
	border: 1px solid var(--sc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: none;
}

.service-block .inner-box .image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.service-block .lessons {
	display: none;
}

.service-block .lower-content,
.service-block .lower-box {
	padding: 16px 16px 18px;
	background: #fff;
}

.service-block .lower-box h5,
.service-block .lower-box h5 a {
	color: var(--sc-ink);
	font-family: "Manrope", sans-serif;
	font-weight: 750;
}

.sidebar-widget,
.sidebar-widget-two,
.contact-map-section .map-box {
	padding: 22px;
	border: 1px solid var(--sc-line);
	border-radius: 18px;
	background: var(--sc-paper);
}

.sidebar .service-list li a {
	font-weight: 650;
}

.service-detail .lower-content,
.blog-detail .inner-box {
	font-size: 16px;
}

.service-detail .service-list li {
	margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
	border: 1px solid var(--sc-line) !important;
	border-radius: 12px !important;
	background: #fff !important;
	font-family: "Manrope", sans-serif;
}

.contact-form .theme-btn,
.theme-btn {
	border-radius: 999px;
	background: var(--sc-oak) !important;
	color: #fff !important;
	font-family: "Manrope", sans-serif;
}

.theme-btn:hover {
	background: var(--sc-oak-deep) !important;
}

/* Quote band and footer */

.sc-quote-band {
	background: var(--sc-ink);
	color: #fff;
}

.sc-quote-band .auto-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 36px;
	padding-bottom: 36px;
}

.sc-quote-band h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 34px;
}

.sc-quote-band p {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
}

.main-footer {
	background: #141210;
	color: rgba(255, 255, 255, 0.78);
}

.main-footer:before {
	display: none;
}

.main-footer .widgets-section {
	padding: 56px 0 20px;
}

.main-footer .footer-widget,
.main-footer h5,
.main-footer a,
.main-footer .logo-widget .text {
	color: rgba(255, 255, 255, 0.82);
	text-align: left;
}

.main-footer h5 {
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.main-footer a:hover {
	color: #fdba74;
}

.footer-bottom .copyright {
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.55);
	text-align: left;
}

.sc-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sc-float a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(28, 25, 23, 0.18);
}

.sc-float a:hover {
	color: #fff;
	text-decoration: none;
}

.sc-float__call {
	background: var(--sc-ink);
}

.sc-float__wa {
	background: #128c7e;
}

.sc-mobile-bar {
	display: none;
}

@media (max-width: 1023px) {
	.sc-hero {
		min-height: 520px;
	}

	.sc-hero h1,
	.page-title h1 {
		font-size: 44px;
	}

	.sc-trust ul,
	.sc-steps,
	.sc-card-grid,
	.work-gallery__grid,
	.sc-social {
		grid-template-columns: 1fr 1fr;
	}

	.sc-steps {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.main-header .header-top .top-left {
		display: none;
	}

	.main-header .header-top .top-right {
		float: none;
		text-align: center;
	}

	.main-header .header-top .top-right .text {
		float: none;
		display: inline-block;
		margin: 0;
		padding: 8px 0;
		border: 0;
	}

	.main-header .header-top .top-right .social-box {
		display: none;
	}

	.sc-header-phone {
		display: none;
	}

	.main-header .header-lower .nav-outer {
		gap: 8px;
	}

	.main-header .nav-outer .mobile-nav-toggler {
		order: 2;
		float: none;
		padding: 0;
		line-height: 42px;
	}

	.main-header .outer-box {
		order: 1;
		float: none;
		padding: 0;
	}

	.sc-header-actions {
		padding: 0;
	}

	.sc-header-quote {
		min-height: 38px;
		padding: 0 12px;
		font-size: 13px;
	}

	.main-header .nav-outer .mobile-nav-toggler {
		color: #fff;
		font-size: 26px;
		line-height: 42px;
	}

	.sc-hero {
		min-height: 0;
		align-items: center;
	}

	.sc-hero__content {
		padding: 56px 0 48px;
	}

	.sc-hero h1,
	.page-title h1,
	.sc-section h2,
	.sec-title h2 {
		font-size: 34px;
	}

	.sc-trust ul,
	.sc-steps,
	.sc-card-grid,
	.work-gallery__grid,
	.sc-work-home .work-gallery__grid,
	.sc-social,
	.sc-quote-band .auto-container {
		grid-template-columns: 1fr;
		display: grid;
	}

	.sc-trust li {
		border-right: 0;
		border-bottom: 1px solid var(--sc-line);
	}

	.work-gallery__head,
	.sc-quote-band .auto-container {
		display: block;
	}

	.sc-quote-band .sc-btn {
		margin-top: 16px;
	}

	.sc-float {
		display: none;
	}

	.sc-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		background: #fff;
		border-top: 1px solid var(--sc-line);
	}

	.sc-mobile-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 54px;
		color: var(--sc-ink);
		font-size: 13px;
		font-weight: 800;
		text-decoration: none;
	}

	.sc-mobile-bar a:nth-child(2) {
		color: #fff;
		background: var(--sc-oak);
	}

	body {
		padding-bottom: 54px;
	}

	.page-title {
		padding: 48px 0 36px;
	}
}
