* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	font-family: "Cairo", sans-serif;
	background: #f6f5f1;
	color: #202020;
	line-height: 1.8
}

.wrap {
	width: min(1160px, calc(100% - 32px));
	margin: auto
}

.topbar {
	height: 72px;
	background: #fff;
	border-bottom: 1px solid #e9e7e2;
	position: sticky;
	top: 0;
	z-index: 50
}

.topbar-in {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.logo {
	font-size: 29px;
	font-weight: 800;
	color: #191919;
	text-decoration: none
}

.logo span {
	color: #d71920
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	gap: 27px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.main-nav a {
	padding: 25px 0 20px;
	border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav .active {
	color: var(--blue);
	border-bottom-color: var(--orange);
}


.hero {
	position: relative;
	min-height: 560px;
	color: #fff;
	overflow: hidden
}

.hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .86),
		rgba(0, 0, 0, .48), rgba(0, 0, 0, .08)), url("assets/hero.svg") center/cover
		no-repeat
}

.hero-in {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px
}

.hero-copy {
	max-width: 650px
}

.pill {
	display: inline-block;
	padding: 6px 13px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	font-size: 13px;
	background: rgba(255, 255, 255, .08)
}

h1 {
	font-size: clamp(42px, 6vw, 70px);
	line-height: 1.2;
	margin: 16px 0
}

h1 b {
	color: #f04b50
}

.hero p {
	font-size: 18px;
	color: #eee;
	max-width: 600px
}

.btn {
	display: inline-block;
	background: #d71920;
	color: #fff;
	padding: 12px 25px;
	border-radius: 9px;
	text-decoration: none;
	font-weight: 800;
	margin-top: 12px
}

.hero-stat {
	width: 230px;
	padding: 25px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(0, 0, 0, .3);
	backdrop-filter: blur(8px);
	border-radius: 18px
}

.hero-stat span, .hero-stat small {
	display: block;
	color: #ddd
}

.hero-stat strong {
	display: block;
	font-size: 42px;
	margin: 5px 0
}

.intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	padding: 80px 0
}

.intro h2, .section-title h2 {
	font-size: 38px;
	line-height: 1.35;
	margin: 4px 0
}

.intro p {
	color: #666;
	margin: 0
}

.eyebrow {
	color: #d71920;
	font-size: 22px;
	font-weight: 800
}

.calc-section {
	background: #191919;
	color: #fff;
	padding: 85px 0
}

.section-title {
	margin-bottom: 35px
}

.section-title p {
	color: #aaa
}

.calculator {
	display: grid;
	grid-template-columns: 1.3fr .7fr;
	gap: 18px
}

.controls {
	background: #252525;
	border-radius: 18px;
	padding: 26px;
	display: grid;
	justify-content: center;
	align-items: center; 
	grid-template-columns: repeat(4, 1fr);
	gap: 18px
}

.controls label {
	font-size: 13px;
	color: #ddd;
	font-weight: 700
}

.input-row {
	display: flex;
	margin-top: 7px
}

.input-row input, .controls select {
	width: 100%;
	height: 50px;
	border: 1px solid #444;
	background: #161616;
	color: #fff;
	border-radius: 8px;
	padding: 0 13px;
	font: inherit
}

.input-row span {
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: #333;
	border-radius: 8px;
	margin-right: 5px
}

.calc-note {
	grid-column: 1/-1;
	color: #999;
	font-size: 12px
}

.result {
	background: #d71920;
	border-radius: 18px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center
}

.result span {
	font-size: 14px
}

.result strong {
	font-size: 37px;
	line-height: 1.3;
	margin: 8px 0
}

.result .range {
	font-size: 16px;
	font-weight: 700
}

.result small {
	color: #ffdfe0
}

.breakdown-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-top: 18px
}

.breakdown-item {
	background: #252525;
	border-radius: 14px;
	padding: 17px
}

.breakdown-item span {
	display: block;
	color: #aaa;
	font-size: 12px
}

.breakdown-item b {
	font-size: 16px
}

.content-section {
	padding: 90px 0;
	background: #fff
}

.two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center
}

.two h2 {
	font-size: 38px;
	line-height: 1.35;
	margin: 5px 0 15px
}

.two p {
	color: #666
}

.photo-card {
	min-height: 500px;
	border-radius: 22px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .13)
}

.ceramic-photo {
	background-image: url("assets/ceramic.svg")
}

.electric-photo {
	background-image: url("assets/electric.svg")
}

.mini-table, .wire-table {
	margin-top: 25px;
	border: 1px solid #e8e6e2;
	border-radius: 14px;
	overflow: hidden
}

.mini-table div, .wire-table>div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 14px 17px;
	border-bottom: 1px solid #eee
}

.mini-table div:last-child, .wire-table>div:last-child {
	border-bottom: 0
}

.mini-table span {
	color: #d71920;
	font-weight: 800
}

.tip {
	padding: 15px;
	background: #f5f3ee;
	border-radius: 10px;
	font-size: 14px
}

.dark {
	background: #191919;
	color: #fff
}

.dark p {
	color: #bdbdbd
}

.dark .wire-table {
	border-color: #3b3b3b
}

.dark .wire-table>div {
	border-color: #3b3b3b
}

.dark .wire-table>div:first-child {
	background: #292929
}

.dark .wire-table span:last-child, .dark .wire-table b:last-child {
	color: #ff6c70
}

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

.cards article {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 8px 35px rgba(0, 0, 0, .06)
}

.cards .icon {
	color: #d71920;
	font-weight: 900
}

.cards h3 {
	font-size: 21px;
	margin: 8px 0
}

.cards p {
	color: #777;
	font-size: 14px
}

.final-call {
	padding: 85px 0;
	background: #e9e5dc
}

.final-call h2 {
	font-size: 40px;
	margin: 5px 0
}

.final-call p {
	color: #666
}

.sources {
	padding: 45px 0;
	background: #222;
	color: #fff
}

.sources p {
	max-width: 850px;
	color: #aaa
}

.source-small {
	font-size: 12px;
	color: #777 !important
}

footer {
	padding: 30px 0;
	background: #111;
	color: #777
}

footer p {
	margin: 0;
	font-size: 13px
}

@media ( max-width :850px) {
		.main-nav {
		gap: 12px;
		font-size: 11px;
	}
	.hero-in {
		align-items: flex-end;
		padding-bottom: 55px
	}
	.hero-stat {
		display: none
	}
	.intro, .two, .calculator {
		grid-template-columns: 1fr;
		gap: 30px
	}
	.controls {
		grid-template-columns: 1fr
	}
	.breakdown-grid {
		grid-template-columns: repeat(2, 1fr)
	}
	.cards {
		grid-template-columns: 1fr 1fr
	}
	.photo-card {
		min-height: 360px
	}
	.section-title h2, .intro h2, .two h2 {
		font-size: 31px
	}
}

@media ( max-width :550px) {
	
		.main-nav {
		order: 3;
		width: 100%;
		overflow-x: auto;
		justify-content: flex-start;
	}
	.main-nav a {
		padding: 8px 0;
	}
	
	
	.wrap {
		width: calc(100% - 24px)
	}
	.hero, .hero-in {
		min-height: 500px
	}
	.hero p {
		font-size: 16px
	}
	.hero h1 {
		font-size: 43px
	}
	.intro, .content-section, .calc-section {
		padding: 4px 0
	}
	.breakdown-grid, .cards {
		grid-template-columns: 1fr
	}
	.result strong {
		font-size: 30px
	}
	.mini-table div, .wire-table>div {
		font-size: 13px
	}
	.input_area {
		font-size: 16px;
	}
}

.container {
	width: min(1180px, calc(100% - 56px));
	margin: auto;
}

/* Header */
.site-header {
	height: 74px;
	background: #fff;
	border-bottom: 1px solid #e7ebef;
	position: sticky;
	top: 0;
	z-index: 20;
}

.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 26px;
}

.brand img {
	width: 115px;
	height: 45px;
	object-fit: cover;
	object-position: center;
	mix-blend-mode: multiply;
	margin-left: 40px;
}