:root {
	color-scheme: light;
	--radius-scale: 0.9;
	--first-fold-inset: clamp(10px, 1.1vw, 14px);
	--story-modal-frame-side: clamp(0.6rem, 1.2vw, 1rem);
	--story-modal-nav-clearance: clamp(4.4rem, 10vh, 5.2rem);
	--story-modal-bottom-gap: 0px;
	--story-card-width: 190px;
	--story-card-height: 340px;
	--partner-card-width: 214px;
	--page-rail-max: 1280px;
	--site-content-max-width: 1220px;
	--section-shell-max: var(--site-content-max-width);
	--section-shell-radius: 23px;
	--section-shell-border: #e2e8f0;
	--section-shell-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
	--section-shell-pad: clamp(1.4rem, 2.2vw, 2.6rem);
	--carousel-shadow-pad: 12px;
	--card-hover-scale: 1.012;
	--carousel-hover-pad-top: 8px;
	--carousel-hover-pad-inline: 10px;
	--stories-hover-pad-top: 12px;
	--stories-shadow-pad: 14px;
	--z-calc-base: 1;
	--z-calc-track: 12;
	--z-calc-subsection-hover: 120;
	--z-calc-option-hover: 130;
	--z-calc-tooltip-trigger: 140;
	--z-calc-tooltip-popover: 150;
	--z-calc-spotlight-overlay: 700;
	--z-calc-spotlight-focus: 710;
	--z-calc-spotlight-tip: 720;
	--z-calc-validation-dialog: 740;
	/* Below floating actions (85) so FAB stays clickable; below spotlight (700+). */
	--z-calc-summary-dock: 72;
}

* {
	box-sizing: border-box;
}

body {
	background: linear-gradient(180deg, #fbf8f3 0%, #ffffff 40%, #f8fafc 100%);
}

.first-fold {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
}

.first-fold-shell {
	background: #f8fafc;
	border: 1px solid var(--section-shell-border);
	border-radius: var(--section-shell-radius);
	padding: var(--section-shell-pad);
	box-shadow: var(--section-shell-shadow);
	max-width: var(--section-shell-max);
	margin-inline: auto;
}

.page-rail {
	max-width: var(--page-rail-max);
	margin-inline: auto;
	padding-inline: 1rem;
}

.section-band {
	padding-block: 0.7rem;
}

.section-shell {
	max-width: var(--section-shell-max);
	margin-inline: auto;
	border: 1px solid var(--section-shell-border);
	border-radius: var(--section-shell-radius);
	box-shadow: var(--section-shell-shadow);
	padding: var(--section-shell-pad);
	position: relative;
	overflow: hidden;
}

.section-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.7rem;
	max-width: 47rem;
	margin-inline: auto;
}

.section-heading-wide {
	max-width: 58rem;
}

.section-kicker {
	color: #2458c7;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.section-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2.15rem, 3.2vw, 3.35rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-align: center;
	margin-inline: auto;
}

.section-title-sm {
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

.section-lead {
	font-size: clamp(1.05rem, 1.75vw, 1.65rem);
	line-height: 1.35;
	font-weight: 300;
	max-width: 46rem;
	text-align: center;
	margin-inline: auto;
}

.section-lead-sm {
	font-size: inherit;
	line-height: inherit;
	max-width: inherit;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.58rem 1.2rem;
	border: 1px solid transparent;
	border-radius: 11px;
	background: #2f6ae5;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
	box-shadow: 0 10px 20px rgba(47, 106, 229, 0.28);
}

.btn-primary:hover {
	background: #2458c7;
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(36, 88, 199, 0.3);
}

.btn-primary:focus-visible {
	outline: 2px solid rgba(47, 106, 229, 0.5);
	outline-offset: 2px;
}

.btn-primary-nav {
	min-height: 2.8rem;
	padding-inline: 1.75rem;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 600;
}

/* Future Feature Nav Teaser: text-only nav item with corner badge + click hint tooltip. */
.site-nav-disabled {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-height: 2.25rem;
	padding: 0.2rem 0;
	border: 0;
	background: transparent;
	color: #94a3b8;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1;
	cursor: help;
	user-select: none;
	white-space: nowrap;
	opacity: 0.96;
	outline: none;
}

.site-nav-label {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-right: 0.28rem;
}

.site-nav-disabled-mobile {
	width: fit-content;
	max-width: calc(100% - 1.5rem);
	justify-content: flex-start;
	min-height: 2.95rem;
	padding: 0.82rem 0.75rem;
	border-radius: 0.75rem;
}

.site-nav-badge {
	display: inline-flex;
	flex: 0 0 16px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: calc(-0.56rem - 3px);
	right: calc(-0.24rem - 2px);
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	padding: 0;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 1px solid rgba(245, 158, 11, 0.28);
	background: #facc15;
	color: #111827;
	box-shadow: 0 5px 12px rgba(245, 158, 11, 0.2);
	font-size: 7px;
	font-weight: 800;
	line-height: 16px;
	overflow: hidden;
	pointer-events: none;
	box-sizing: border-box;
}

.site-nav-badge i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 7px;
	line-height: 1;
	text-align: center;
}

.site-nav-disabled-mobile .site-nav-badge {
	top: calc(-0.26rem - 3px);
	right: calc(-0.2rem - 2px);
}

.site-nav-disabled:focus-visible {
	color: #64748b;
}

.site-nav-disabled::after {
	content: attr(aria-label);
	position: absolute;
	top: calc(100% + 0.5rem);
	right: -0.4rem;
	left: auto;
	z-index: 35;
	width: min(18rem, 52vw);
	padding: 0.48rem 0.55rem;
	border-radius: 11px;
	border: 1px solid #dbe3ee;
	background: rgba(255, 255, 255, 0.99);
	color: #334155;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35;
	white-space: normal;
	opacity: 0;
	transform: translateY(-4px);
	transition:
		opacity 0.18s ease,
		transform 0.18s ease;
	pointer-events: none;
}

.site-nav-disabled::before {
	content: none;
	opacity: 0;
	pointer-events: none;
}

.site-nav-disabled.is-tooltip-open::after,
.site-nav-disabled.is-tooltip-open::before {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767.98px) {
	.site-nav-disabled-mobile::after {
		top: 50%;
		left: calc(100% + 0.42rem);
		right: auto;
		width: min(15.5rem, calc(100vw - 9rem));
	}

	.site-nav-disabled-mobile::before {
		content: none;
	}
}

.btn-primary-wide {
	min-height: 3rem;
	padding-inline: 1.45rem;
	border-radius: 0.74rem;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.section-shell-soft {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 78%);
}

.section-shell-services {
	padding: var(--section-shell-pad);
}

.services-cta {
	margin-top: 40px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.72rem;
	flex-wrap: wrap;
}

.services-cta-main {
	min-height: 2.85rem;
	padding-inline: 1.15rem;
	border-radius: 0.74rem;
	font-size: 0.9rem;
	letter-spacing: 0.01em;
	text-transform: none;
	text-align: center;
}

.services-cta-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.85rem;
	padding: 0.58rem 1.05rem;
	border-radius: 0.74rem;
	border: 1px solid #1da851;
	background: #25d366;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
	box-shadow: 0 10px 20px rgba(29, 168, 81, 0.26);
}

.services-cta-whatsapp i {
	font-size: 1.03rem;
}

.services-cta-whatsapp:hover {
	border-color: #188a43;
	background: #1da851;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(24, 138, 67, 0.3);
}

.services-cta-whatsapp:focus-visible {
	outline: 2px solid rgba(29, 168, 81, 0.45);
	outline-offset: 2px;
}

/* Calculator base styles moved to /assets/css/site/calculator.css */

.feature-card {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: clamp(1.5rem, 2vw, 2.2rem);
	box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.feature-card:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
	box-shadow: 0 6px 12px rgba(15, 23, 42, 0.07);
	border-color: #cbd5e1;
}

.feature-card-soon {
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.feature-card-soon::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: rgba(255, 255, 255, 0.5);
	pointer-events: none;
	z-index: 1;
}

.feature-card-soon > * {
	position: relative;
	z-index: 0;
}

.feature-card-soon .feature-chip {
	z-index: 2;
}

.feature-card-soon:hover {
	transform: none;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
	border-color: #e2e8f0;
}

.feature-card-soon .feature-icon {
	color: #64748b;
	border-color: #e2e8f0;
}

.feature-card-soon:hover .feature-icon {
	transform: none;
	border-color: #e2e8f0;
}

.feature-icon-brand {
	width: 7.1rem;
	height: 3rem;
	border-radius: 10px;
	padding: 0.35rem;
	background: #ffffff;
	border-color: #dbe3ee;
}

.feature-icon-brand img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.feature-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.45rem;
	margin-bottom: 0.75rem;
	padding: 0.16rem 0.62rem;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #64748b;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1;
}

.feature-chip-soon {
	border-color: #2458c7;
	background: #2f6ae5;
	color: #ffffff;
	box-shadow: 0 8px 16px rgba(36, 88, 199, 0.24);
}

.feature-icon {
	width: 3.9rem;
	height: 3.9rem;
	border-radius: 13px;
	border: 1px solid #e2e8f0;
	background: linear-gradient(140deg, #ffffff 0%, #f5efe4 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ba7346;
	margin-bottom: 1.3rem;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease;
}

.feature-card:hover .feature-icon {
	transform: translateY(-1px) scale(1.03);
	border-color: #dec09b;
}

.section-shell-partners {
	padding: var(--section-shell-pad);
}

.section-shell-steps {
	padding: var(--section-shell-pad);
}

.step-card {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #dbe3ee;
	border-radius: 16px;
	padding: 1.25rem 1.35rem 1.4rem;
	box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.step-card:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
	box-shadow: 0 6px 12px rgba(15, 23, 42, 0.07);
}

.step-badge {
	width: 2.45rem;
	height: 2.45rem;
	border-radius: 10px;
	border: 1px solid #dec09b;
	background: linear-gradient(160deg, #f5efe4 0%, #ffffff 100%);
	color: #9c5f3e;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-bottom: 0.85rem;
}

.step-badge-final {
	border-color: rgba(76, 141, 245, 0.5);
	color: #2458c7;
	background: linear-gradient(160deg, #eaf2ff 0%, #ffffff 100%);
}

.section-shell-dark {
	background: linear-gradient(140deg, #0f1d46 0%, #16295a 58%, #1f305f 100%);
	border-color: rgba(148, 163, 184, 0.35);
	color: #ffffff;
	padding: var(--section-shell-pad);
}

.section-shell-dark::before,
.section-shell-dark::after {
	content: '';
	position: absolute;
	border-radius: 999px;
	filter: blur(58px);
	pointer-events: none;
}

.section-shell-dark::before {
	width: 300px;
	height: 300px;
	top: -130px;
	right: -130px;
	background: rgba(47, 106, 229, 0.32);
}

.section-shell-dark::after {
	width: 260px;
	height: 260px;
	left: -90px;
	bottom: -130px;
	background: rgba(198, 138, 83, 0.2);
}

.review-card {
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(203, 213, 225, 0.18);
	border-radius: 16px;
	padding: 1.6rem;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

.review-card:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
	border-color: rgba(203, 213, 225, 0.3);
	background: rgba(255, 255, 255, 0.1);
}

/* Contact and footer base styles moved to /assets/css/site/contact-footer.css */

.fold-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 4.25fr) minmax(240px, 1.15fr);
	gap: var(--first-fold-inset);
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 10px;
	background: #1f2937;
	color: white;
	padding: 10px 16px;
	border-radius: 999px;
	z-index: 100;
}

.skip-link:focus {
	left: 16px;
}

/* Hero base styles moved to /assets/css/site/hero-and-brand.css */

.repair-option,
.extra-option {
	position: relative;
	user-select: none;
}

.repair-option input,
.extra-option input {
	pointer-events: auto;
}

.repair-option.is-selected {
	background: #ffffff !important;
	border-color: #2458c7 !important;
	box-shadow: 0 10px 20px rgba(36, 88, 199, 0.14);
}

.extra-option.is-selected {
	border-color: rgba(31, 74, 166, 0.42) !important;
	background: linear-gradient(
		180deg,
		rgba(237, 244, 255, 1) 0%,
		rgba(255, 255, 255, 1) 100%
	) !important;
	box-shadow: 0 10px 22px rgba(31, 74, 166, 0.12) !important;
}

/* Hero metrics and brand styles moved to /assets/css/site/hero-and-brand.css */

.section-slice {
	scroll-margin-top: 96px;
}

#successModal.pointer-events-none,
#successModal.pointer-events-none * {
	pointer-events: none !important;
}

#successModal {
	z-index: 80;
}

#locationModal.pointer-events-none,
#locationModal.pointer-events-none * {
	pointer-events: none !important;
}

#locationModal {
	z-index: 95;
	padding: 1rem;
	transition: opacity 0.32s ease;
}

#storyModal.pointer-events-none,
#storyModal.pointer-events-none * {
	pointer-events: none !important;
}

#storyModal {
	z-index: 90;
	padding: var(--story-modal-frame-side);
	padding-top: calc(
		var(--story-modal-nav-clearance) + var(--story-modal-frame-side)
	);
	align-items: flex-start;
}

body.modal-open {
	overflow: hidden;
}

.stories-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.stories-strip {
	padding: 0;
	margin-top: var(--first-fold-inset);
	background: transparent;
	border: 0;
	box-shadow: none;
}

.stories-carousel {
	position: relative;
}

.stories-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 8;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: rgba(255, 255, 255, 0.92);
	color: #1e293b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.stories-nav:hover {
	background: #ffffff;
	border-color: #94a3b8;
}

.stories-nav:disabled {
	opacity: 0;
	pointer-events: none;
}

.stories-nav-prev {
	left: -0.7rem;
}

.stories-nav-next {
	right: -0.7rem;
}

.stories-grid-compact .story-card {
	min-height: var(--story-card-height);
}

.stories-grid-compact {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--carousel-hover-pad-inline);
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: var(--stories-hover-pad-top) 0 var(--stories-shadow-pad);
	justify-content: flex-start;
}

.stories-grid-compact::-webkit-scrollbar {
	display: none;
}

.stories-grid-compact .story-card {
	flex: 0 0 var(--story-card-width);
	width: var(--story-card-width);
	height: var(--story-card-height);
	scroll-snap-align: start;
}

.stories-placeholder {
	width: 100%;
	flex: 0 0 100%;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	padding: 24px;
	text-align: center;
	color: #64748b;
}

.story-card {
	position: relative;
	width: var(--story-card-width);
	height: var(--story-card-height);
	min-height: var(--story-card-height);
	border-radius: 13px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.24);
	background: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.35);
	cursor: pointer;
	transition:
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		filter 0.2s ease;
}

.story-card:hover {
	box-shadow: 0 4px 8px rgba(15, 23, 42, 0.3);
	border-color: rgba(148, 163, 184, 0.48);
	filter: brightness(1.045);
}

.story-card:focus-visible {
	outline: 2px solid #2f6ae5;
	outline-offset: 2px;
}

.story-card-image {
	width: 100%;
	height: var(--story-card-height);
	min-height: var(--story-card-height);
	object-fit: cover;
	object-position: center;
	display: block;
	transition: opacity 0.25s ease;
}

.story-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.04) 12%,
		rgba(15, 23, 42, 0.56) 100%
	);
	pointer-events: none;
}

.story-card-placeholder {
	background: linear-gradient(160deg, #e2e8f0, #cbd5e1);
	border: 1px dashed #94a3b8;
	box-shadow: none;
}

.story-card-placeholder::after {
	display: none;
}

.story-placeholder-content {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px;
}

.story-placeholder-title {
	font-weight: 700;
	color: #1e293b;
	font-size: 1rem;
}

.story-placeholder-text {
	margin-top: 6px;
	color: #475569;
	font-size: 0.8rem;
}

.story-content {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: 11px 10px 20px;
	display: flex;
	flex-direction: column;
	gap: 0;
	justify-content: flex-end;
	min-height: 48%;
	color: #fff;
	text-align: left;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.04) 0%,
		rgba(15, 23, 42, 0.48) 58%,
		rgba(15, 23, 42, 0.72) 100%
	);
}

.story-title {
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	min-height: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.story-meta-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	min-height: 0;
	align-content: start;
	margin-top: 15px;
}

.story-meta-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.68rem;
	line-height: 1;
	color: #e2e8f0;
	background: rgba(15, 23, 42, 0.5);
	border: 1px solid rgba(148, 163, 184, 0.3);
	border-radius: 7px;
	padding: 4px 6px;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.story-desc {
	margin: 1px 0 0;
	font-size: 0.68rem;
	color: transparent;
	background-image: linear-gradient(
		180deg,
		rgba(248, 250, 252, 0.98) 0%,
		rgba(226, 232, 240, 0.9) 60%,
		rgba(226, 232, 240, 0.74) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.story-progress-track {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	height: 3px;
	z-index: 3;
	display: flex;
	gap: 4px;
}

.story-progress-segment {
	flex: 1 1 0;
	height: 100%;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.32);
	overflow: hidden;
}

.story-progress-fill {
	display: block;
	width: 0%;
	height: 100%;
	border-radius: inherit;
	background: #ffffff;
}

.story-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.72);
	backdrop-filter: blur(4px);
}

.story-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(1000px, calc(100vw - (var(--story-modal-frame-side) * 2)));
	max-height: calc(
		100vh - var(--story-modal-nav-clearance) - var(--story-modal-bottom-gap) -
			(var(--story-modal-frame-side) * 2)
	);
	overflow: hidden;
	border-radius: 22px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	box-shadow: 0 36px 64px rgba(2, 6, 23, 0.42);
}

.story-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: rgba(255, 255, 255, 0.95);
	color: #0f172a;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.story-modal-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
	height: min(
		720px,
		calc(
			100vh - var(--story-modal-nav-clearance) - var(--story-modal-bottom-gap) -
				(var(--story-modal-frame-side) * 2)
		)
	);
	min-height: 420px;
}

.story-modal-media {
	position: relative;
	background: #0f172a;
	overflow: hidden;
}

.story-modal-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.story-modal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	border: 1px solid rgba(203, 213, 225, 0.65);
	background: rgba(15, 23, 42, 0.72);
	color: #f8fafc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.story-modal-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.story-modal-nav-prev {
	left: 0.8rem;
}

.story-modal-nav-next {
	right: 0.8rem;
}

.story-modal-counter {
	position: absolute;
	left: 0.8rem;
	bottom: 0.8rem;
	z-index: 5;
	background: rgba(15, 23, 42, 0.72);
	color: #f1f5f9;
	border: 1px solid rgba(203, 213, 225, 0.35);
	border-radius: 999px;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0.4rem 0.62rem;
	letter-spacing: 0.04em;
}

.story-modal-info {
	padding: 1.5rem 1.35rem 1.35rem;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border-left: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
	min-height: 0;
	overflow: hidden;
}

.story-modal-title {
	margin: 0;
	font-family: 'Cormorant Garamond', serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.05;
	color: #0f172a;
	padding-right: 2rem;
}

.story-modal-description {
	margin: 0;
	color: #475569;
	line-height: 1.5;
	font-size: 0.96rem;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding-right: 0.15rem;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.story-modal-description p {
	margin: 0 0 1em;
}

.story-modal-description p:last-child {
	margin-bottom: 0;
}

.story-modal-description h2,
.story-modal-description h3 {
	margin: 0 0 0.7em;
	color: #0f172a;
	line-height: 1.16;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 700;
}

.story-modal-description h2 {
	font-size: 1.55rem;
}

.story-modal-description h3 {
	font-size: 1.22rem;
}

.story-modal-description blockquote {
	margin: 0 0 1em;
	padding: 0.7rem 0.95rem;
	border-left: 3px solid #2f6ae5;
	border-radius: 0 14px 14px 0;
	background: rgba(239, 246, 255, 0.88);
	color: #1e293b;
}

.story-modal-description ul,
.story-modal-description ol {
	margin: 0 0 1em;
	padding-left: 1.3rem;
}

.story-modal-description li + li {
	margin-top: 0.3rem;
}

.story-modal-description a {
	color: #2f6ae5;
	text-decoration: underline;
}

.story-modal-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	flex: 0 0 auto;
}

.story-modal-chip {
	font-size: 0.75rem;
	line-height: 1;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #ffffff;
	padding: 0.37rem 0.65rem;
}

.story-modal-thumbs {
	margin-top: 0.5rem;
	padding-top: 0.55rem;
	display: flex;
	grid-template-columns: none;
	gap: 0.5rem;
	border-top: 1px solid #e2e8f0;
	flex: 0 0 auto;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.story-modal-thumbs::-webkit-scrollbar {
	display: none;
}

.story-modal-thumb {
	flex: 0 0 72px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	overflow: hidden;
	background: #0f172a;
	padding: 0;
	cursor: pointer;
	opacity: 0.7;
	scroll-snap-align: start;
}

.story-modal-thumb.is-active {
	border-color: #2f6ae5;
	box-shadow: 0 0 0 1px rgba(47, 106, 229, 0.3);
	opacity: 1;
}

.story-modal-thumb img {
	width: 100%;
	height: 64px;
	object-fit: cover;
	display: block;
}

.content-carousel,
.partners-carousel {
	position: relative;
}

.partners-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--carousel-hover-pad-inline);
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: var(--carousel-hover-pad-top) 0 var(--carousel-shadow-pad);
}

.partners-track::-webkit-scrollbar {
	display: none;
}

.content-nav,
.partners-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 7;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: rgba(255, 255, 255, 0.92);
	color: #1e293b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

/* Services navigation appears on mobile.
   Steps and reviews keep arrows visible on desktop too. */
.content-nav {
	display: none;
}

.content-carousel-services .content-nav,
.content-carousel-steps .content-nav,
.content-carousel-reviews .content-nav {
	display: inline-flex;
}

[data-services-carousel],
[data-steps-carousel],
[data-reviews-carousel] {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--carousel-hover-pad-inline);
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: var(--carousel-hover-pad-top) 0 var(--carousel-shadow-pad);
	flex-wrap: nowrap;
}

.partners-track > :first-child,
[data-services-carousel] > :first-child,
[data-steps-carousel] > :first-child,
[data-reviews-carousel] > :first-child {
	margin-left: var(--carousel-hover-pad-inline);
}

.partners-track > :last-child,
[data-services-carousel] > :last-child,
[data-steps-carousel] > :last-child,
[data-reviews-carousel] > :last-child {
	margin-right: var(--carousel-hover-pad-inline);
}

[data-services-carousel]::-webkit-scrollbar,
[data-reviews-carousel]::-webkit-scrollbar {
	display: none;
}

[data-services-carousel] > .feature-card,
[data-steps-carousel] > .step-card {
	flex: 0 0 calc((100% - 32px) / 3);
	min-width: 260px;
	scroll-snap-align: start;
}

[data-reviews-carousel] > .review-card {
	flex: 0 0 calc((100% - 32px) / 3);
	min-width: 285px;
	scroll-snap-align: start;
}

.content-nav:hover,
.partners-nav:hover {
	background: #ffffff;
	border-color: #94a3b8;
}

.content-nav:disabled,
.partners-nav:disabled {
	opacity: 0;
	pointer-events: none;
}

.content-nav-prev,
.partners-nav-prev {
	left: -0.65rem;
}

.content-nav-next,
.partners-nav-next {
	right: -0.65rem;
}

.partners-placeholder {
	width: 100%;
	flex: 0 0 100%;
	background: #f5efe4;
	border: 1px dashed #d2a474;
	border-radius: 14px;
	padding: 24px;
	text-align: center;
	color: #7d4a32;
}

.partner-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 13px;
	flex: 0 0 var(--partner-card-width);
	width: var(--partner-card-width);
	scroll-snap-align: start;
	min-height: 132px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.partner-card:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
	box-shadow: 0 5px 12px rgba(15, 23, 42, 0.07);
	border-color: #cbd5e1;
}

.partner-card img {
	width: 100%;
	height: 52px;
	object-fit: contain;
}

.partner-name {
	font-size: 0.85rem;
	color: #475569;
	text-align: center;
	font-weight: 600;
}

/* Floating action styles moved to /assets/css/site/floating-actions.css */

/* Allow card hover zoom even when reveal utility is applied. */
.feature-card.reveal,
.step-card.reveal,
.review-card.reveal {
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

.feature-card.reveal:hover,
.feature-card.reveal.is-visible:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
}

.step-card.reveal:hover,
.step-card.reveal.is-visible:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
}

.review-card.reveal:hover,
.review-card.reveal.is-visible:hover {
	transform: translateY(-2px) scale(var(--card-hover-scale));
}

/* Keep "coming soon" service cards visually inactive
   even when reveal utility forces opacity to 1. */
.feature-card-soon.reveal,
.feature-card-soon.reveal.is-visible {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 768px) {
	:root {
		--story-modal-bottom-gap: 50px;
	}

	.first-fold > .max-w-7xl {
		padding-top: calc(5rem + max(0.65rem, env(safe-area-inset-top))) !important;
	}

	.section-band {
		padding-block: 0.5rem;
	}

	.calc-entry-actions,
	.calc-manager-actions {
		grid-template-columns: 1fr;
	}

	.calc-step-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.calc-step-actions-summary {
		width: 100%;
		margin-left: 0;
	}

	.calc-entry-option,
	.calc-next-btn,
	.calc-nav-btn {
		width: 100%;
	}

	.calc-entry-option {
		grid-template-columns: 3.6rem minmax(0, 1fr);
		min-height: 5.1rem;
		padding: 0.72rem 0.8rem;
		border-radius: 14px;
	}

	.calc-entry-option-title {
		font-size: 0.88rem;
	}

	.calc-entry-option-note {
		font-size: 0.72rem;
	}

	.calc-entry-visual {
		min-height: 3.9rem;
	}

	.calc-entry-badge {
		font-size: 0.6rem;
	}

	.calc-entry-badges {
		top: -0.28rem;
		right: 0.6rem;
		gap: 0.24rem;
	}

	.calc-question-head {
		align-items: center;
	}

	.calc-geometry-card {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 0.72rem;
	}

	.calc-geometry-stage {
		min-height: 12.5rem;
		padding: 0.85rem 0.75rem;
	}

	.calc-geometry-copy {
		order: 2;
		gap: 0.28rem;
		padding-inline: 0.1rem;
	}

	.calc-geometry-title,
	.calc-geometry-note {
		max-width: none;
	}

	.calc-geometry-text {
		font-size: 12px;
		stroke-width: 3px;
	}

	.calc-geometry-text-top {
		transform: none;
	}

	.calc-help-popover {
		right: 0;
		top: calc(100% + 0.35rem);
		width: min(18rem, 86vw);
	}

	.calc-popover-portal-help {
		width: min(18rem, 86vw);
	}

	.calc-question-block {
		min-height: 0;
	}

	.calc-dimensions-grid {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.calc-dimension-field {
		gap: 0.28rem;
	}

	.calc-dimension-field input {
		min-height: 2.65rem;
		padding-right: 2.4rem;
	}

	.calc-step1-top {
		grid-template-columns: 1fr;
	}

	.calc-step1-followup {
		grid-template-columns: 1fr;
	}

	.calc-metrics-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.calc-tariff-track {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0.55rem;
		overflow-x: auto;
		overflow-y: visible;
		scrollbar-width: thin;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.34rem;
	}

	.calc-tariff-track::-webkit-scrollbar {
		height: 6px;
	}

	.calc-tariff-track::-webkit-scrollbar-thumb {
		background: #dbcfae;
		border-radius: 999px;
	}

	.calc-tariff-card {
		flex: 0 0 min(12rem, calc(100vw - 7rem));
		min-width: min(12rem, calc(100vw - 7rem));
		max-width: min(12rem, calc(100vw - 7rem));
		min-height: 3.85rem;
		padding: 0.62rem 0.64rem;
	}

	.calc-tariff-head {
		gap: 0.35rem;
	}

	.calc-tariff-title {
		font-size: 0.84rem;
		line-height: 1.16;
	}

	.calc-tariff-note {
		font-size: 0.69rem;
	}

	.calc-photo-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.calc-step1-spotlight-tip {
		max-width: min(18rem, calc(100vw - 1.5rem));
		font-size: 0.8rem;
	}

	.calc-step1-spotlight-tip-btn {
		width: 100%;
		justify-content: center;
	}

	.calc-photo-preview-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.content-nav {
		display: inline-flex;
	}

	[data-services-carousel] {
		display: flex !important;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--carousel-hover-pad-inline);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: var(--carousel-hover-pad-top) 0 var(--carousel-shadow-pad);
	}

	[data-services-carousel]::-webkit-scrollbar {
		display: none;
	}

	[data-services-carousel] > .feature-card {
		flex: 0 0 min(84vw, 320px);
		scroll-snap-align: start;
	}

	.services-cta {
		margin-top: 0.95rem;
		justify-content: stretch;
		align-items: stretch;
		flex-direction: column;
		gap: 0.58rem;
	}

	.services-cta-main,
	.services-cta-whatsapp {
		width: 100%;
	}

	[data-steps-carousel],
	[data-reviews-carousel] {
		display: flex !important;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--carousel-hover-pad-inline);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: var(--carousel-hover-pad-top) 0 var(--carousel-shadow-pad);
	}

	[data-steps-carousel]::-webkit-scrollbar,
	[data-reviews-carousel]::-webkit-scrollbar {
		display: none;
	}

	[data-steps-carousel] > .step-card {
		flex: 0 0 min(84vw, 320px);
		scroll-snap-align: start;
	}

	[data-reviews-carousel] > .review-card {
		flex: 0 0 min(86vw, 340px);
		scroll-snap-align: start;
	}

	.section-shell {
		border-radius: 20px;
		padding: 1.2rem;
	}

	.section-title {
		font-size: clamp(1.8rem, 7.2vw, 2.2rem);
	}

	.section-title-sm {
		font-size: inherit;
	}

	.section-lead {
		font-size: 1rem;
		max-width: 100%;
	}

	.section-lead-sm {
		font-size: inherit;
		max-width: inherit;
	}

	.calculator-card {
		border-radius: 16px;
		padding: 1rem;
	}

	.feature-card,
	.step-card,
	.review-card {
		padding: 1.2rem;
	}

	.stories-strip {
		padding: 0;
		margin-top: var(--first-fold-inset);
		border-radius: 0;
	}

	.stories-nav {
		width: 2.1rem;
		height: 2.1rem;
	}

	.content-nav,
	.partners-nav {
		width: 2.1rem;
		height: 2.1rem;
	}

	.content-nav-prev,
	.partners-nav-prev {
		left: -0.35rem;
	}

	.content-nav-next,
	.partners-nav-next {
		right: -0.35rem;
	}

	.partner-card {
		flex-basis: min(70vw, 248px);
		width: min(70vw, 248px);
	}

	.stories-nav-prev {
		left: -0.35rem;
	}

	.stories-nav-next {
		right: -0.35rem;
	}

	.stories-grid-compact .story-card {
		flex: 0 0 var(--story-card-width);
	}

	.story-modal-dialog {
		width: calc(100vw - (var(--story-modal-frame-side) * 2));
		max-height: calc(
			100vh - var(--story-modal-nav-clearance) - var(--story-modal-bottom-gap) -
				(var(--story-modal-frame-side) * 2)
		);
		border-radius: 16px;
	}

	.story-modal-grid {
		display: flex;
		flex-direction: column;
		height: calc(
			100vh - var(--story-modal-nav-clearance) - var(--story-modal-bottom-gap) -
				(var(--story-modal-frame-side) * 2)
		);
		min-height: 0;
	}

	.story-modal-media {
		flex: 0 0 min(44vh, 360px);
		height: min(44vh, 360px);
	}

	.story-modal-info {
		border-left: 0;
		border-top: 1px solid #e2e8f0;
		padding: 1rem 0.9rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
		gap: 0;
		flex: 1 1 auto;
		max-height: none;
		overflow: hidden;
		min-height: 0;
	}

	.story-modal-title {
		font-size: 1.58rem;
		padding-right: 1.8rem;
		margin: 0 0 10px;
	}

	.story-modal-description {
		font-size: 0.9rem;
		margin: 10px 0 0;
		padding-top: 0;
	}

	.story-modal-chip-list {
		gap: 0.42rem;
		margin-bottom: 0;
	}

	.story-modal-thumbs {
		margin-top: 0.48rem;
		padding-top: 0.45rem;
		display: flex;
		grid-template-columns: none;
		gap: 0.42rem;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.story-modal-thumbs::-webkit-scrollbar {
		display: none;
	}

	.story-modal-thumb {
		flex: 0 0 52px;
		scroll-snap-align: start;
	}

	.story-modal-thumb img {
		height: 48px;
	}
}

@media (max-width: 1200px) and (min-width: 769px) {
	[data-reviews-carousel] > .review-card {
		flex: 0 0 calc((100% - 16px) / 2);
	}
}

@media (min-width: 640px) {
	.page-rail {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.page-rail {
		padding-inline: 2rem;
	}
}

@media (max-width: 520px) {
	.stories-nav {
		width: 1.95rem;
		height: 1.95rem;
	}

	.content-nav,
	.partners-nav {
		width: 1.95rem;
		height: 1.95rem;
	}

	.partner-card {
		flex-basis: min(78vw, 236px);
		width: min(78vw, 236px);
	}
}

@media (max-width: 360px) {
	.calc-tariff-badge,
	.calc-tag-mini {
		min-height: 1.08rem;
		padding-inline: 0.32rem;
		font-size: 0.58rem;
		letter-spacing: 0.02em;
	}

	.calc-tag-mini-popular {
		font-size: 0.52rem;
		padding-inline: 0.28rem;
	}
}

@media (min-width: 1025px) {
	.calc-step .calc-choice:hover,
	.calc-step .calc-option-tile:hover,
	.calc-step .calc-tariff-card:hover,
	.calc-step .calc-choice:focus-within,
	.calc-step .calc-option-tile:focus-within,
	.calc-step .calc-tariff-card:focus-within {
		transform: translateY(-1px) !important;
		box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
	}

	.calc-step .calc-choice.is-selected,
	.calc-step .calc-option-tile.is-selected,
	.calc-step .calc-tariff-card.is-selected,
	.calc-step .extra-option.is-selected {
		box-shadow: 0 10px 22px rgba(31, 74, 166, 0.12) !important;
	}
}
