/* Identity Wraps Case Studies: matches the site's Elementor kit
   Figtree headings, Montserrat buttons, #F01E52 accent, #161616 dark, 1500px container */

.iwcs-page .site-content { display: block; padding: 0; }
.iwcs-page .site.grid-container { max-width: 100%; }

.iwcs {
	--pink: #F01E52;
	--pink-dark: #c8123f;
	--pink-tint: #FCE6ED;
	--dark: #161616;
	--text: #54595F;
	--line: #e6e6e6;
	width: 100%;
	font-family: "Figtree", sans-serif;
	color: var(--text);
	font-size: 17px;
	line-height: 1.6;
	background: #fff;
}
.iwcs *, .iwcs *::before, .iwcs *::after { box-sizing: border-box; }
.iwcs a { color: var(--pink); text-decoration: none; }
.iwcs p { margin: 0 0 1em; }
.iwcs img { max-width: 100%; height: auto; display: block; }

.iwcs-wrap { width: 100%; max-width: 1540px; margin: 0 auto; padding: 0 20px; }
.iwcs-section { padding: 90px 0; }

.iwcs .iwcs-kicker {
	display: block;
	font-family: "Figtree", sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--pink);
	margin: 0 0 12px;
}
.iwcs .iwcs-h2 {
	font-family: "Figtree", sans-serif;
	font-size: 35px;
	line-height: 1.2;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--dark);
	margin: 0 0 20px;
}
.iwcs-pink { color: var(--pink); }
.iwcs-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.iwcs-head .iwcs-h2 { margin: 0; }

/* Buttons: same as site (Montserrat 700, 14px, uppercase, 4px radius) */
.iwcs-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.iwcs .iwcs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	padding: 17px 32px;
	border-radius: 4px;
	background: var(--pink);
	color: #fff;
	border: 1px solid var(--pink);
	transition: background .2s, border-color .2s, color .2s;
	white-space: nowrap;
}
.iwcs .iwcs-btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; }
.iwcs .iwcs-btn--ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.iwcs .iwcs-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--dark); }

/* Hero */
.iwcs-hero {
	position: relative;
	background: radial-gradient(120% 140% at 0% 0%, #6b0c2a 0%, #3a0717 32%, #161616 70%);
	color: #fff;
	padding: 170px 0 90px;
	overflow: hidden;
}
.iwcs-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: 80px;
	align-items: center;
}
.iwcs-crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.iwcs-crumbs a { color: rgba(255,255,255,.85); }
.iwcs-crumbs a:hover { color: #fff; }
.iwcs-crumbs span { margin: 0 8px; }
.iwcs .iwcs-hero__title {
	font-family: "Figtree", sans-serif;
	font-size: clamp(40px, 3.4vw, 64px);
	text-wrap: balance;
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}
.iwcs-hero__title span { display: block; }
.iwcs-rule { display: block; width: 90px; height: 2px; background: var(--pink); margin: 30px 0 26px; }
.iwcs .iwcs-hero__intro { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 560px; margin: 0 0 34px; }
.iwcs-hero__media { margin: 0; position: relative; }
.iwcs-hero__media::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 2px solid var(--pink);
	border-radius: 15px;
	opacity: .55;
}
.iwcs-hero__media img {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: 600px;
	object-fit: cover;
	object-position: center 62%;
	border-radius: 15px;
	box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.iwcs-hero--short { padding: 170px 0 80px; }
.iwcs-hero--short .iwcs-hero__copy { max-width: 1500px; }
.iwcs-hero--short .iwcs-hero__intro { margin-bottom: 0; }

/* Spec strip (mirrors the PPF feature row) */
.iwcs-specs { border-bottom: 1px solid var(--line); }
.iwcs-specs__list {
	list-style: none;
	margin: 0;
	padding: 40px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.iwcs-specs__list li {
	text-align: center;
	padding: 0 18px;
	border-left: 1px solid var(--line);
	margin: 0;
}
.iwcs-specs__list li:first-child { border-left: 0; }
.iwcs-ico { width: 46px; height: 46px; color: var(--pink); margin: 0 auto 14px; display: block; }
.iwcs-specs__label {
	display: block;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--dark);
	line-height: 1.25;
	margin-bottom: 4px;
}
.iwcs-specs__value { display: block; font-size: 15px; line-height: 1.4; color: var(--text); }

/* Process steps (mirrors "Our PPF installation process") */
.iwcs-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--iwcs-steps, 4), minmax(0, 1fr));
	gap: 30px;
	counter-reset: none;
}
.iwcs-step { position: relative; text-align: center; margin: 0; }
.iwcs-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 32px;
	left: calc(50% + 46px);
	right: calc(-50% + 16px);
	height: 2px;
	background: linear-gradient(90deg, var(--line) 0 44%, #d4d4d4 44% 56%, var(--line) 56% 100%);
}
.iwcs-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border: 2px solid var(--pink);
	border-radius: 50%;
	font-size: 28px;
	font-weight: 500;
	color: var(--dark);
	background: #fff;
	margin-bottom: 18px;
}
.iwcs .iwcs-step__title {
	font-family: "Figtree", sans-serif;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--dark);
	margin: 0 0 8px;
}
.iwcs .iwcs-step__title a { color: var(--dark); }
.iwcs .iwcs-step__title a:hover { color: var(--pink); }
.iwcs .iwcs-step__text { font-size: 15px; line-height: 1.5; margin: 0 auto; max-width: 280px; }

/* Story */
.iwcs-story { background: #f7f7f7; }
.iwcs-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 80px;
	align-items: center;
}
.iwcs-story__grid--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.iwcs-story__img { margin: 0; }
.iwcs-story__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 15px; }
.iwcs-prose p { font-size: 17px; line-height: 1.7; }
.iwcs-prose p:last-child { margin-bottom: 0; }
.iwcs-prose a { font-weight: 600; border-bottom: 1px solid rgba(240,30,82,.35); }
.iwcs-prose a:hover { border-bottom-color: var(--pink); }

/* Warranty band (mirrors the pink Lifespan & Warranty box) */
.iwcs-band { padding: 70px 0 0; }
.iwcs-warranty {
	display: flex;
	align-items: center;
	gap: 40px;
	background: var(--pink-tint);
	border-radius: 15px;
	padding: 34px 44px;
}
.iwcs-warranty__ico .iwcs-ico { width: 60px; height: 60px; margin: 0; }
.iwcs-warranty__main { flex: 1; }
.iwcs .iwcs-warranty__title {
	font-family: "Figtree", sans-serif;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--pink);
	margin: 0 0 6px;
}
.iwcs-warranty__main p { margin: 0; font-size: 17px; color: var(--dark); }

/* Gallery */
.iwcs-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.iwcs-gallery[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iwcs-gallery[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.iwcs-gallery__item { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 3 / 4; background: #eee; }
.iwcs-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.iwcs-gallery__item:hover img { transform: scale(1.05); }

/* Cards (archive, related, shortcode) */
.iwcs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.iwcs-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.iwcs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(0,0,0,.12); }
.iwcs-card a { display: block; color: inherit; text-decoration: none; }
.iwcs-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.iwcs-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.iwcs-card__body { padding: 24px 24px 26px; }
.iwcs-card .iwcs-kicker { font-size: 13px; margin-bottom: 8px; }
.iwcs .iwcs-card__title, .iwcs-card__title {
	font-family: "Figtree", sans-serif;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
	text-transform: uppercase;
	color: #161616;
	margin: 0 0 8px;
}
.iwcs-card__meta { font-size: 15px; color: #54595F; margin: 0 0 16px; }
.iwcs-card__link { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #F01E52; }
.iwcs-more { padding-top: 90px; }

/* Archive filter */
.iwcs-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 44px; }
.iwcs .iwcs-filter a {
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 11px 20px;
	border: 1px solid var(--line);
	border-radius: 4px;
	color: var(--dark);
}
.iwcs .iwcs-filter a:hover, .iwcs .iwcs-filter a.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }
.iwcs-pager { margin-top: 40px; text-align: center; }

/* CTA band (mirrors "Protect your investment") */
.iwcs-cta {
	position: relative;
	color: #fff;
	padding: 90px 0;
	background:
		linear-gradient(90deg, rgba(96,8,34,.96) 0%, rgba(40,8,18,.9) 45%, rgba(22,22,22,.75) 100%),
		var(--iwcs-cta-bg, none) center 60% / cover no-repeat,
		#161616;
}
.iwcs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.iwcs .iwcs-cta__title {
	font-family: "Figtree", sans-serif;
	font-size: 35px;
	line-height: 1.15;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 10px;
}
.iwcs-cta p { margin: 0; font-size: 17px; color: rgba(255,255,255,.88); max-width: 620px; }

/* FAQ */
.iwcs-faq { background: #f7f7f7; }
.iwcs-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.iwcs-faq__intro { position: sticky; top: 140px; }
.iwcs-faq__intro .iwcs-h2 { margin: 0; }
.iwcs-rule--dark { margin: 24px 0 22px; }
.iwcs .iwcs-faq__lead { font-size: 17px; line-height: 1.65; margin: 0 0 30px; max-width: 520px; }
.iwcs-faq__list { display: flex; flex-direction: column; gap: 12px; }
.iwcs-faq__item { background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.05); border-left: 3px solid transparent; transition: border-color .2s; }
.iwcs-faq__item[open] { border-left-color: var(--pink); }
.iwcs-faq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 26px;
	font-family: "Figtree", sans-serif;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--dark);
	line-height: 1.35;
}
.iwcs-faq__item summary::-webkit-details-marker { display: none; }
.iwcs-faq__item summary i { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--pink); position: relative; }
.iwcs-faq__item summary i::before, .iwcs-faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--pink); transform: translate(-50%, -50%); transition: transform .2s; }
.iwcs-faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.iwcs-faq__item[open] summary i { background: var(--pink); }
.iwcs-faq__item[open] summary i::before { background: #fff; }
.iwcs-faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); background: #fff; }
.iwcs-faq__item summary:hover { color: var(--pink); }
.iwcs-faq__answer { padding: 0 26px 22px; }
.iwcs .iwcs-faq__answer p { margin: 0; font-size: 16px; line-height: 1.65; }
@media (max-width: 1024px) {
	.iwcs-faq__grid { grid-template-columns: 1fr; gap: 40px; }
	.iwcs-faq__intro { position: static; }
}
@media (max-width: 767px) {
	.iwcs-faq__item summary { font-size: 15px; padding: 18px 18px; }
	.iwcs-faq__answer { padding: 0 18px 18px; }
}

/* Lightbox */
.iwcs-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(10,10,10,.94); display: flex; align-items: center; justify-content: center; padding: 40px; }
.iwcs-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.iwcs-lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; padding: 12px; }
.iwcs-lb .iwcs-lb__close { top: 16px; right: 20px; }
.iwcs-lb .iwcs-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.iwcs-lb .iwcs-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (max-width: 1024px) {
	.iwcs-section { padding: 70px 0; }
	.iwcs-hero { padding: 140px 0 70px; }
	.iwcs-hero__grid { gap: 50px; }
	.iwcs-specs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
	.iwcs-specs__list li:nth-child(4) { border-left: 0; }
	.iwcs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.iwcs-step::after { display: none; }
	.iwcs-story__grid { gap: 50px; }
	.iwcs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.iwcs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iwcs-warranty { flex-wrap: wrap; gap: 24px; }
	.iwcs-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 767px) {
	.iwcs { font-size: 16px; }
	.iwcs-section { padding: 56px 0; }
	.iwcs .iwcs-h2 { font-size: 28px; }
	.iwcs-head { margin-bottom: 34px; }
	.iwcs-hero { padding: 120px 0 56px; }
	.iwcs-hero__grid { grid-template-columns: 1fr; gap: 44px; }
	.iwcs .iwcs-hero__title { font-size: 40px; }
	.iwcs-rule { margin: 22px 0 20px; }
	.iwcs .iwcs-hero__intro { font-size: 16px; margin-bottom: 26px; }
	.iwcs-hero__media::before { inset: 14px -10px -14px 10px; }
	.iwcs-hero__media img { aspect-ratio: 4 / 3; }
	.iwcs-btns { width: 100%; }
	.iwcs .iwcs-btn { flex: 1 1 auto; }
	.iwcs-specs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 34px 0; }
	.iwcs-specs__list li { border-left: 0; padding: 0 8px; }
	.iwcs-ico { width: 38px; height: 38px; }
	.iwcs-specs__label { font-size: 14px; }
	.iwcs-specs__value { font-size: 14px; }
	.iwcs-steps { grid-template-columns: 1fr; }
	.iwcs-story__grid { grid-template-columns: 1fr; gap: 34px; }
	.iwcs-band { padding-top: 56px; }
	.iwcs-warranty { padding: 28px 24px; text-align: left; }
	.iwcs-warranty .iwcs-btn { width: 100%; }
	.iwcs-gallery { gap: 10px; }
	.iwcs-grid { grid-template-columns: 1fr; }
	.iwcs-cta { padding: 60px 0; }
	.iwcs .iwcs-cta__title { font-size: 28px; }
}
