:root {
	--accent: #2667ff;
	--secondary: #713cff;
	--cyan: #00b9e8;
	--highlight: #ff7b2e;
	--ink: #101828;
	--body: #536174;
	--muted: #6d7b90;
	--line: #e6ebf2;
	--surface: #fff;
	--soft: #f5f8ff;
	--page: #fff;
	--shadow: 0 18px 48px rgba(20, 45, 90, .08);
	--radius: 8px;
}

[data-theme="dark"] {
	--ink: #f3f6fd;
	--body: #b7c2d6;
	--muted: #94a3bc;
	--line: #25344c;
	--surface: #121b2b;
	--soft: #0d1523;
	--page: #090f1b;
	--shadow: 0 18px 50px rgba(0, 0, 0, .3);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--page);
	color: var(--body);
	font: 400 16px/1.65 Inter, Arial, sans-serif;
	letter-spacing: 0;
	transition: background .25s ease, color .25s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button,
input,
textarea,
select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
h1, h2, h3, strong {
	margin: 0;
	color: var(--ink);
	font-family: Manrope, Arial, sans-serif;
}
h1 { font-size: 4.7rem; line-height: 1.08; }
h2 { font-size: 3rem; line-height: 1.17; }
h3 { font-size: 1.12rem; line-height: 1.4; }
p { margin: 0; }

.container {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}
.section { padding: 76px 0; }
.eyebrow {
	margin-bottom: 15px;
	color: var(--accent);
	font: 700 .76rem/1 Manrope, Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: .12em;
}
.lead { font-size: 1.05rem; line-height: 1.82; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	height: 72px;
	background: rgba(255,255,255,.88);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid transparent;
}
[data-theme="dark"] .site-header { background: rgba(9,15,27,.88); border-color: var(--line); }
.nav-row {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
	font: 800 1.04rem Manrope, Arial, sans-serif;
}
.brand .custom-logo-link { display: flex; }
.brand .custom-logo { max-height: 46px; width: auto; }
.brand-mark {
	display: grid;
	place-items: center;
	width: 37px;
	height: 37px;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--accent), var(--secondary));
	color: #fff;
	font-size: .84rem;
}
.primary-nav {
	display: flex;
	align-items: center;
	gap: 29px;
	color: var(--ink);
	font-size: .93rem;
	font-weight: 500;
}
.primary-nav ul { display: flex; gap: 29px; margin: 0; padding: 0; list-style: none; }
.primary-nav a:hover { color: var(--accent); }
.mode-toggle {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink);
	background: var(--surface);
	font-size: 1.2rem;
}
.mode-toggle .sun,
[data-theme="dark"] .mode-toggle .moon { display: none; }
[data-theme="dark"] .mode-toggle .sun { display: inline; }
.nav-toggle { display: none; }

.hero {
	position: relative;
	overflow: hidden;
	padding: 70px 0 0;
	background: radial-gradient(circle at 16% 22%, rgba(38,103,255,.07), transparent 33%), radial-gradient(circle at 80% 18%, rgba(113,60,255,.08), transparent 31%), var(--page);
}
.hero-grid {
	display: grid;
	grid-template-columns: .97fr 1.03fr;
	align-items: center;
	gap: 28px;
	min-height: 530px;
}
.hero-copy h1 { max-width: 600px; }
.hero-subtitle {
	max-width: 540px;
	margin: 25px 0 36px;
	color: var(--body);
	font-size: 1.05rem;
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 0 25px;
	border: 1px solid var(--line);
	border-radius: 7px;
	font-weight: 600;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
	box-shadow: 0 12px 28px rgba(38,103,255,.22);
}
.btn-secondary { background: var(--surface); color: var(--ink); }
.hero-media {
	display: flex;
	justify-content: flex-end;
}
.hero-media img {
	width: min(580px, 100%);
	object-fit: contain;
	filter: drop-shadow(0 18px 38px rgba(33,57,104,.08));
}
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 50px;
	border-top: 1px solid var(--line);
}
.stat {
	padding: 30px 28px 33px;
	border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.2rem; line-height: 1.15; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }

.about-section { background: var(--soft); }
.two-column {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	align-items: start;
	gap: 72px;
}
.two-column .lead { padding-top: 38px; }
.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 26px;
	margin-bottom: 36px;
}
.section-heading > p { max-width: 360px; }

.filter-bar {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin-bottom: 35px;
}
.filter {
	min-height: 42px;
	padding: 0 20px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: var(--surface);
	color: var(--body);
	font-size: .92rem;
}
.filter.active {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.product-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	transition: transform .25s ease;
}
.product-card:hover { transform: translateY(-5px); }
.product-card[hidden] { display: none; }
.card-image {
	position: relative;
	aspect-ratio: 1.55;
	overflow: hidden;
	background: var(--soft);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.status {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 12px;
	border-radius: 20px;
	background: #e6fff5;
	color: #008a55;
	font-size: .72rem;
	font-weight: 700;
}
.status.beta { background: #fff1e9; color: #e45316; }
.status.coming-soon { background: #f0eeff; color: #6141d8; }
.card-body { padding: 22px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.tags span {
	padding: 4px 10px;
	border-radius: 5px;
	background: rgba(38,103,255,.08);
	color: var(--accent);
	font-size: .7rem;
	font-weight: 700;
}
.card-body > p { min-height: 50px; margin: 8px 0 15px; font-size: .91rem; }
.feature-list { margin: 0 0 19px; padding: 0; list-style: none; font-size: .88rem; }
.feature-list li {
	position: relative;
	padding: 5px 0 5px 23px;
}
.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
}
.card-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}
.text-btn {
	border: 0;
	padding: 0;
	background: none;
	color: var(--accent);
	font-size: .87rem;
	font-weight: 600;
}
.request { color: var(--secondary); text-align: right; }
.empty-products {
	grid-column: 1 / -1;
	padding: 58px 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	text-align: center;
}
.empty-products p { margin-top: 10px; }

.featured-section { background: var(--soft); }
.featured-grid {
	display: grid;
	grid-template-columns: 1fr .95fr;
	align-items: center;
	gap: 64px;
}
.featured-media {
	overflow: hidden;
	aspect-ratio: 1.28;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-grid h3 { margin: 29px 0 8px; font-size: .93rem; text-transform: uppercase; color: var(--muted); }
.benefits {
	display: grid;
	gap: 12px;
	margin: 24px 0 34px;
	padding: 0;
	list-style: none;
}
.benefits li { padding-left: 27px; color: var(--ink); font-weight: 500; position: relative; }
.benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--cyan);
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.category-item {
	min-height: 118px;
	padding: 24px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--surface);
	display: flex;
	flex-direction: column;
	gap: 17px;
}
.category-item:nth-child(4n) { border-right: 0; }
.category-item:nth-last-child(-n+3) { border-bottom: 0; }
.category-item span { color: var(--accent); font-size: .76rem; font-weight: 700; }

.services-section { background: var(--soft); }
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.service-card {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 82px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.service-icon {
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	border: 1px solid rgba(38,103,255,.16);
	border-radius: 7px;
	background: linear-gradient(140deg, rgba(38,103,255,.13), rgba(0,185,232,.08));
}
.service-card h3 { font-size: .98rem; }

.process-list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	padding: 0;
	margin: 0;
	counter-reset: stages;
	list-style: none;
}
.process-list li {
	position: relative;
	padding: 55px 17px 0 0;
	color: var(--ink);
	font-weight: 600;
}
.process-list li::before {
	counter-increment: stages;
	content: "0" counter(stages);
	position: absolute;
	top: 0;
	left: 0;
	width: 43px;
	height: 43px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
}
.process-list li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 53px;
	right: 12px;
	height: 1px;
	background: var(--line);
}

.testimonial-section { background: var(--soft); }
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.testimonial {
	margin: 0;
	padding: 27px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.testimonial blockquote {
	margin: 0 0 23px;
	color: var(--ink);
	font-size: 1rem;
}
.testimonial figcaption span { display: block; color: var(--muted); font-size: .88rem; }

.contact-section { background: var(--soft); }
.contact-grid {
	display: grid;
	grid-template-columns: .82fr 1fr;
	gap: 70px;
	align-items: start;
}
.contact-grid h2 { margin-bottom: 23px; }
.contact-email {
	display: inline-block;
	margin-top: 32px;
	color: var(--accent);
	font-weight: 600;
}
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 17px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.website-field {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: .86rem; font-weight: 500; }
.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 12px 14px;
	background: var(--surface);
	color: var(--ink);
	outline: 0;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--accent); }
.submit { border: 0; margin-top: 5px; }
.notice { padding: 11px 14px; border-radius: 6px; font-size: .92rem; }
.notice.success { color: #08734a; background: #e5fff4; }
.notice.error { color: #ad2f27; background: #ffeded; }

.site-footer {
	padding: 42px 0 23px;
	border-top: 1px solid var(--line);
	background: var(--page);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 30px;
	align-items: start;
}
.footer-grid p { margin-top: 14px; font-size: .88rem; }
.footer-links,
.social-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; }
.footer-links { justify-content: center; }
.social-links { justify-content: end; }
.copyright {
	margin-top: 34px;
	padding-top: 19px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: .84rem;
}
.whatsapp {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 20;
	display: grid;
	place-items: center;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background: #19af61;
	color: #fff;
	font-weight: 700;
	box-shadow: 0 12px 30px rgba(16,139,76,.3);
}

.product-modal {
	position: fixed;
	z-index: 50;
	inset: 0;
	display: none;
	place-items: center;
	padding: 20px;
	background: rgba(4,11,25,.7);
}
.product-modal.is-open { display: grid; }
.modal-dialog {
	position: relative;
	width: min(1030px, 100%);
	max-height: min(90vh, 820px);
	overflow-y: auto;
	border-radius: var(--radius);
	background: var(--surface);
}
.modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
	z-index: 1;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--ink);
	font-size: 1.55rem;
	line-height: 1;
}
.modal-layout { display: grid; grid-template-columns: .95fr 1.05fr; }
.modal-gallery {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 26px;
	background: var(--soft);
}
.modal-gallery img {
	width: 100%;
	min-width: 100%;
	max-height: 560px;
	object-fit: contain;
}
.modal-copy { padding: 46px 36px 36px; }
.modal-description { margin: 15px 0 22px; }
.modal-description p { margin-bottom: 10px; }
.modal-copy h3 { margin: 24px 0 7px; font-size: .93rem; }
.modal-copy .tech { margin: 20px 0; }
.link-actions .btn { min-height: 44px; padding: 0 16px; font-size: .88rem; }
body.modal-lock { overflow: hidden; }

.standard-page,
.product-single { min-height: calc(100vh - 200px); }
.content-area { max-width: 820px; }
.content-area h1 { margin-bottom: 28px; }
.single-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.single-grid h1 { margin-bottom: 20px; }
.single-grid .btn { margin-top: 28px; }
.single-image { overflow: hidden; border-radius: var(--radius); }

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
	h1 { font-size: 3.4rem; }
	h2 { font-size: 2.45rem; }
	.hero-grid,
	.featured-grid,
	.contact-grid { grid-template-columns: 1fr; gap: 42px; }
	.hero { padding-top: 45px; }
	.hero-grid { min-height: 0; }
	.hero-media { justify-content: center; }
	.stats { margin-top: 42px; }
	.product-grid,
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.category-grid { grid-template-columns: repeat(2, 1fr); }
	.category-item:nth-child(2n) { border-right: 0; }
	.category-item:nth-child(4n) { border-right: 0; }
	.category-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	.category-item:last-child { border-bottom: 0; }
	.process-list { grid-template-columns: repeat(3, 1fr); row-gap: 37px; }
	.testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	h1 { font-size: 2.55rem; }
	h2 { font-size: 1.95rem; }
	.container { width: min(100% - 32px, 1200px); }
	.section { padding: 58px 0; }
	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 42px;
		height: 42px;
		border: 0;
		background: transparent;
	}
	.nav-toggle span { display: block; width: 23px; height: 2px; margin-left: auto; background: var(--ink); }
	.primary-nav {
		position: absolute;
		left: 16px;
		right: 16px;
		top: 64px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 22px;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--surface);
		box-shadow: var(--shadow);
	}
	.primary-nav.open { display: flex; }
	.primary-nav ul { flex-direction: column; gap: 18px; }
	.mode-toggle { align-self: flex-start; }
	.hero { padding-top: 37px; }
	.hero-subtitle { margin: 20px 0 29px; }
	.actions .btn { width: 100%; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 20px 15px; border-bottom: 1px solid var(--line); }
	.stat:nth-child(2n) { border-right: 0; }
	.stat strong { font-size: 1.8rem; }
	.two-column { grid-template-columns: 1fr; gap: 20px; }
	.two-column .lead { padding: 0; }
	.section-heading { display: block; }
	.section-heading > p { margin-top: 16px; }
	.product-grid,
	.service-grid,
	.testimonial-grid { grid-template-columns: 1fr; }
	.featured-grid { gap: 30px; }
	.category-item { padding: 17px 15px; min-height: 104px; }
	.process-list { grid-template-columns: 1fr; gap: 20px; }
	.process-list li { padding: 12px 0 12px 61px; min-height: 46px; }
	.process-list li:not(:last-child)::after { display: none; }
	.field-pair { grid-template-columns: 1fr; }
	.contact-form { padding: 20px; }
	.footer-grid { display: flex; flex-direction: column; }
	.footer-links,
	.social-links { justify-content: start; }
	.modal-layout { grid-template-columns: 1fr; }
	.modal-copy { padding: 28px 22px; }
	.modal-gallery { padding: 16px; max-height: 310px; }
	.single-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
