/* Design Tokens */
:root {
	--bg: #f4f8ff;
	--surface: #ffffff;
	--surface-soft: #f7f9ff;
	--text: #0f1f3d;
	--text-soft: #4f5f82;
	--text-muted: #66779c;
	--accent: #2f63ff;
	--accent-strong: #1f4ce0;
	--accent-glow: #70a1ff;
	--line: #dce4ff;
	--line-strong: #becdf9;
	--shadow-sm: 0 10px 24px rgba(20, 45, 120, 0.08);
	--shadow-md: 0 16px 34px rgba(20, 45, 120, 0.14);
	--radius: 18px;
	--radius-sm: 12px;
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2rem;
	--space-5: 3rem;
	--space-6: 4rem;
	--section-space: clamp(4rem, 6vw, 6rem);
	--container: 1160px;
	--font-display: "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Reset */
* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(circle at 10% 15%, rgba(47, 99, 255, 0.1), transparent 30%),
		radial-gradient(circle at 90% 5%, rgba(71, 139, 255, 0.14), transparent 35%),
		var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.72;
	text-rendering: optimizeLegibility;
}

main > section {
	content-visibility: auto;
	contain-intrinsic-size: 1px 900px;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(47, 99, 255, 0.35);
	outline-offset: 3px;
}

img {
	max-width: 100%;
	display: block;
}

section[id] {
	scroll-margin-top: 5.5rem;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -3rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	background: #0f2a6b;
	color: #ffffff;
	font-weight: 700;
	z-index: 60;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 1rem;
}

/* Layout */
.container {
	width: min(var(--container), calc(100% - 2.2rem));
	margin: 0 auto;
}

.topbar {
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(14px);
	box-shadow: 0 5px 18px rgba(20, 45, 120, 0.05);
}

.topbar-content {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: 0.01em;
}

.brand-logo {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 9px;
	object-fit: cover;
	border: 1px solid rgba(18, 49, 119, 0.2);
	box-shadow: 0 8px 20px rgba(29, 73, 200, 0.2);
	background: #ffffff;
}

.brand-mark {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 9px;
	display: grid;
	place-items: center;
	color: #fff;
	background: linear-gradient(150deg, #15307e 0%, var(--accent) 55%, #60a0ff 100%);
	box-shadow: 0 8px 20px rgba(29, 73, 200, 0.35);
	font-size: 0.76rem;
	font-weight: 700;
}

.topbar-tagline {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.92rem;
	font-weight: 600;
}

.lang-toggle {
	border: 1px solid var(--line-strong);
	background: #fff;
	color: #16357f;
	padding: 0.52rem 0.92rem;
	border-radius: 999px;
	font-weight: 700;
	font-family: var(--font-body);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
	transform: translateY(-1px);
	border-color: #95b2ff;
	box-shadow: 0 8px 20px rgba(55, 98, 219, 0.15);
}

.main-nav {
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid var(--line);
	z-index: 35;
}

.main-nav.is-scrolled {
	box-shadow: 0 10px 22px rgba(20, 45, 120, 0.1);
}

.nav-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	min-height: 64px;
}

.nav-brand {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1rem;
	color: #102d70;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.nav-logo {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 7px;
	object-fit: cover;
	border: 1px solid rgba(16, 45, 112, 0.2);
	background: #ffffff;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 11px;
	background: #fff;
	margin-left: auto;
	cursor: pointer;
}

.menu-line {
	display: block;
	width: 18px;
	height: 2px;
	background: #17387f;
	margin: 4px auto;
}

.menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.6rem;
	margin-left: auto;
}

.menu-list a {
	display: inline-block;
	padding: 0.58rem 0.95rem;
	border-radius: 10px;
	color: #1f376f;
	font-weight: 700;
	font-family: var(--font-body);
	transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.menu-list a:hover,
.menu-list a.active {
	background: linear-gradient(135deg, #eef3ff 0%, #e8f0ff 100%);
	color: #123177;
	transform: translateY(-1px);
}

/* Sections */
.section {
	padding: var(--section-space) 0;
}

.section-contrast {
	background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.hero {
	position: relative;
	padding-top: clamp(4.8rem, 7vw, 6.3rem);
	overflow: hidden;
	color: #e8efff;
	background:
		radial-gradient(circle at 16% 20%, rgba(129, 177, 255, 0.26), transparent 35%),
		linear-gradient(135deg, #081b4d 0%, #112e78 45%, #1f4fc8 100%);
}

.hero::before {
	content: "";
	position: absolute;
	inset: auto -10% -45% auto;
	width: 55%;
	height: 80%;
	background: radial-gradient(circle, rgba(116, 166, 255, 0.42) 0%, rgba(116, 166, 255, 0) 66%);
	pointer-events: none;
}

.hero-grid,
.split-panel {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(1.5rem, 3vw, 2.4rem);
	align-items: center;
}

.page-hero {
	padding-top: clamp(3.2rem, 4vw, 4.2rem);
	padding-bottom: 1.4rem;
}

.section-header {
	margin-bottom: var(--space-4);
}

.section-header .lead {
	margin-bottom: 0;
}

.kicker {
	display: inline-block;
	padding: 0.32rem 0.82rem;
	border: 1px solid #d3deff;
	border-radius: 999px;
	color: #1b3f8e;
	background: #f2f6ff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.9rem;
}

.hero .kicker {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(194, 213, 255, 0.35);
	color: #ebf2ff;
}

h1,
h2,
h3 {
	margin-top: 0;
	font-family: var(--font-display);
	line-height: 1.2;
	color: var(--text);
}

h1 {
	font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

h2 {
	font-size: clamp(1.5rem, 1.2vw + 1rem, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	margin-bottom: 0.85rem;
}

h3 {
	font-size: clamp(1.08rem, 0.45vw + 1rem, 1.32rem);
	font-weight: 700;
	margin-bottom: 0.6rem;
}

p {
	margin-top: 0;
	margin-bottom: var(--space-2);
	color: var(--text-muted);
	font-size: 1rem;
}

.hero h1,
.hero p,
.hero h2,
.hero li,
.hero .lead {
	color: #edf3ff;
}

.lead {
	color: var(--text-soft);
	max-width: 66ch;
	font-size: clamp(1.02rem, 0.35vw + 0.96rem, 1.16rem);
}

.section-title {
	margin-bottom: var(--space-3);
}

/* Shared Cards */
.hero-card,
.card,
.metric,
.contact-form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: clamp(1.15rem, 1.3vw, 1.55rem);
}

.hero-card {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, rgba(228, 239, 255, 0.14) 100%);
	backdrop-filter: blur(8px);
	border-color: rgba(213, 227, 255, 0.32);
	box-shadow: 0 16px 34px rgba(3, 16, 54, 0.26);
}

.hero-card h2,
.hero-card p,
.hero-card li,
.hero-card h3 {
	color: #f2f6ff;
}

.hero-card ul,
.footer-links,
.footer-contact,
.contact-list {
	margin: 0;
	padding-left: 1.15rem;
}

.hero-card li,
.contact-list li,
.footer-links li,
.footer-contact li {
	margin-bottom: 0.45rem;
}

.hero-actions {
	margin-top: var(--space-3);
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	padding: 0.75rem 1.15rem;
	border: 1px solid transparent;
	font-weight: 700;
	font-family: var(--font-body);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, #2f63ff 0%, #1b46c4 100%);
	color: #fff;
	box-shadow: 0 12px 26px rgba(34, 81, 208, 0.34);
}

.btn-primary:hover {
	box-shadow: 0 16px 30px rgba(34, 81, 208, 0.4);
	background: linear-gradient(135deg, #336bff 0%, #1e4cd8 100%);
}

.btn-outline {
	border-color: #c8d7ff;
	background: #fff;
	color: #1941a3;
}

.btn-outline:hover {
	border-color: #9ab5ff;
	background: #f2f6ff;
}

.hero .btn-outline {
	border-color: rgba(207, 224, 255, 0.55);
	background: rgba(255, 255, 255, 0.12);
	color: #f0f5ff;
}

.hero .btn-outline:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(235, 243, 255, 0.8);
}

.card-grid {
	display: grid;
	gap: clamp(0.9rem, 1vw, 1.2rem);
}

.equal-cards {
	align-items: stretch;
}

.equal-cards .card {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.three-col {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card p,
.metric span {
	margin-bottom: 0;
}

.card-eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 0.22rem 0.62rem;
	border-radius: 999px;
	background: #eef3ff;
	border: 1px solid #d1ddff;
	color: #38579e;
	font-size: 0.74rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.product-cta {
	margin-top: auto;
	align-self: flex-start;
}

.product-meta {
	font-family: var(--font-display);
	font-size: 0.84rem;
	color: #38579e;
	margin-bottom: 0.45rem;
}

.product-status {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid #cbd8fb;
	background: #eef3ff;
	color: #24448f;
	font-size: 0.74rem;
	font-weight: 700;
	margin-bottom: 0.7rem;
}

.service-grid .card {
	padding-top: 1.25rem;
}

.service-icon {
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.3rem;
	background: linear-gradient(145deg, #edf3ff 0%, #dfeaff 100%);
	border: 1px solid #cddafb;
	color: #1844ad;
	box-shadow: 0 8px 16px rgba(28, 73, 188, 0.13);
	font-size: 1.2rem;
	font-weight: 800;
}

.service-icon::before {
	display: block;
	line-height: 1;
}

.icon-code::before {
	content: "</>";
	font-size: 0.78rem;
	letter-spacing: -0.05em;
}

.icon-advisory::before {
	content: "AI";
	font-size: 0.68rem;
	letter-spacing: 0.03em;
}

.icon-support::before {
	content: "24";
	font-size: 0.82rem;
}

.metric-grid {
	display: grid;
	gap: 0.9rem;
}

.trust-card,
.process-card,
.testimonial-card {
	justify-content: flex-start;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.9rem, 1vw, 1.2rem);
}

.placeholder-card {
	justify-content: flex-start;
}

.process-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #2f63ff 0%, #1b46c4 100%);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 0.84rem;
	font-weight: 800;
	margin-bottom: 0.7rem;
	box-shadow: 0 10px 22px rgba(34, 81, 208, 0.22);
}

.testimonial-grid {
	align-items: stretch;
}

.testimonial-quote {
	font-size: 1.04rem;
	line-height: 1.75;
	color: var(--text);
	margin-bottom: 1rem;
}

.testimonial-author {
	margin-top: auto;
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 700;
	color: #38579e;
}

.blog-preview-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.2rem;
}

.blog-preview-grid {
	align-items: stretch;
}

.blog-preview-card {
	justify-content: flex-start;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.blog-preview-meta {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 0.2rem 0.62rem;
	border-radius: 999px;
	background: #eef3ff;
	border: 1px solid #d1ddff;
	color: #38579e;
	font-size: 0.74rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.blog-preview-link {
	margin-top: auto;
	align-self: flex-start;
}

.cta-banner {
	display: grid;
	grid-template-columns: 1.3fr auto;
	gap: 1.5rem;
	align-items: center;
	padding: clamp(1.35rem, 2vw, 2rem);
	border-radius: calc(var(--radius) + 2px);
	background: linear-gradient(135deg, #081b4d 0%, #123580 55%, #2f63ff 100%);
	box-shadow: 0 18px 40px rgba(17, 46, 120, 0.22);
	border: 1px solid rgba(206, 223, 255, 0.18);
}

.cta-banner h2,
.cta-banner p {
	color: #eff4ff;
	margin-bottom: 0;
}

.cta-banner .btn-outline {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(226, 236, 255, 0.42);
	color: #eff4ff;
}

.cta-banner .btn-outline:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.65);
}

.metric {
	padding: 1.1rem;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.metric strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem);
	color: #1d49bc;
	margin-bottom: 0.2rem;
}

.contact-panel {
	align-items: start;
}

.contact-details-card {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: clamp(1.15rem, 1.3vw, 1.55rem);
}

.contact-methods {
	display: grid;
	gap: 0.8rem;
	margin: 1.25rem 0 1rem;
}

.contact-method {
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
	padding: 0.95rem 1rem;
	border: 1px solid #d8e2ff;
	border-radius: 14px;
	background: #fbfcff;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-method:hover {
	transform: translateY(-2px);
	border-color: #b6c8ff;
	box-shadow: 0 12px 24px rgba(28, 61, 151, 0.09);
}

.contact-method-label {
	font-size: 0.82rem;
	font-weight: 800;
	color: #274489;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.contact-method-value {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	word-break: break-word;
}

.contact-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	color: #1a3578;
	margin-bottom: 0.42rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid #ccdafd;
	background: #fbfcff;
	border-radius: 10px;
	padding: 0.78rem;
	margin-bottom: 1rem;
	font: inherit;
	color: var(--text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #89a8ff;
	box-shadow: 0 0 0 4px rgba(70, 115, 240, 0.14);
}

.form-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
}

.form-note {
	font-size: 0.9rem;
	color: var(--text-soft);
	margin: 0;
}

.form-success {
	margin-top: 1rem;
	padding: 1rem 1rem 0.95rem;
	border-radius: 14px;
	border: 1px solid #bfe5ce;
	background: linear-gradient(180deg, #effcf3 0%, #e6f8ed 100%);
	color: #205434;
}

.form-success strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--font-display);
	font-size: 1rem;
	color: #124525;
}

.form-success p {
	margin-bottom: 0;
	color: #205434;
}

.whatsapp-float {
	position: fixed;
	right: 1.1rem;
	bottom: 1.1rem;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #25d366 0%, #19b957 100%);
	color: #ffffff;
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 16px 28px rgba(18, 104, 49, 0.28);
	z-index: 45;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 32px rgba(18, 104, 49, 0.34);
}

.site-footer {
	background: linear-gradient(160deg, #06143a 0%, #0c2158 55%, #123075 100%);
	color: #d8e4ff;
	margin-top: var(--space-5);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: var(--space-3);
	padding: var(--space-6) 0;
}

.site-footer h3 {
	color: #f3f7ff;
	margin-bottom: 0.8rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
	color: #d8e4ff;
}

.footer-links,
.footer-contact {
	list-style: none;
	padding: 0;
}

.footer-bottom {
	border-top: 1px solid rgba(210, 226, 255, 0.24);
	text-align: center;
	padding: 1rem;
	font-size: 0.92rem;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
