@font-face {
	font-family: Montserrat;
	src: url('typography/montserrat.woff2') format('woff2');
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--navy: #16243d;
	--purple: #2e3192;
	--muted: #696e77;
	--cyan: #29a9e0;
	--pale: #f2f5f9;
	--line: #e6ebf3;
	--white: #fff;
	--sticky-header-height: 0px;
	font-family: Montserrat, Arial, sans-serif;
	color: var(--navy);
	font-size: 16px;
	line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip-path: none;
	width: auto;
	height: auto;
	z-index: 20;
	padding: 10px 16px;
	background: var(--white);
}

.wrap { width: min(1200px, 100%); margin-inline: auto; }
.accent { color: var(--purple); }
.with-background { background-image: var(--section-bg); background-size: cover; }
.plain-content { padding: 56px 20px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 15px 29px;
	background: var(--purple);
	color: var(--white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	transition: background .22s, border-color .22s, color .22s;
}
.btn:hover { background: var(--navy); }
.btn:disabled { cursor: wait; opacity: .65; }
.btn-outline { border-color: #d8e2ef; color: var(--purple); background: var(--white); }
.btn-outline:hover { border-color: var(--purple); background: var(--white); }
.btn-whatsapp { background: var(--cyan); padding: 13px 21px; font-size: 14px; }
.btn-contact { padding: 14px 39px; font-size: 17px; }

.site-header { position: relative; z-index: 2; background: var(--white); }
.header-inner { width: 87%; margin-inline: auto; padding-block: 1vw; display: grid; grid-template-columns: 15% minmax(0, 1fr) 17.33%; align-items: center; }
.header-content { display: contents; }
.header-menu-toggle { display: none; }
.brand { display: block; width: 84%; margin-top: -4px; }
.brand img { display: block; }
.header-menu {
	margin-inline: 20px;
	background: var(--pale);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 10px 10px 14px;
	border-radius: 2px;
	min-height: 56px;
}
.header-menu .menu { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.header-menu .menu a { display: block; color: var(--muted); padding: 2px 14px; font-size: 14px; font-weight: 500; line-height: 20px; }
.header-menu .menu a:hover, .header-menu .menu a[aria-current="page"] { color: var(--purple); }
.header-quote { flex: 0 0 20%; padding: 10px; border: 0; border-radius: 0; white-space: nowrap; }
.header-phones { color: var(--purple); font-size: 14px; line-height: 1.2; font-weight: 700; display: flex; align-items: center; gap: 12px; padding-right: 28px; margin-top: 4px; overflow-wrap: normal; }
.header-phones img { flex: none; }
.header-phones a:hover { text-decoration: underline; }

.home-hero > .wrap { min-height: 600px; display: flex; align-items: center; }
.hero-copy { width: 70.588%; transform: translateY(-7px); }
.hero-arrow { display: flex; align-items: center; height: 36px; transform: translateY(-4px); }
.home-hero h1 { font-size: 60px; font-weight: 700; line-height: 1; color: var(--purple); margin-block: 20px; }
.home-hero p { color: var(--muted); min-height: 38px; margin-bottom: 20px; font-size: 16px; }
.contact-links { display: grid; grid-template-columns: var(--contact-column) minmax(0, 1fr); align-items: center; }
.home-hero .contact-links { --contact-column: 23.982%; }
.about .contact-links { --contact-column: 33.963%; }
.contact-links .btn { justify-self: start; width: max-content; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.whatsapp-link:hover { color: var(--purple); }

.about-grid { min-height: 650px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.about-image { padding-right: 50px; }
.about-image img { display: block; width: 100%; }
.about-copy { padding: 10px; }
.section-eyebrow { display: flex; align-items: center; font-size: 13px; line-height: 1; font-weight: 600; text-transform: uppercase; }
.section-eyebrow img { flex-shrink: 0; margin-inline: 10px; }
.about h2, .services h2, .reviews h2 { font-size: 30px; font-weight: 600; line-height: 1; }
.about h2, .services h2 { margin-top: 20px; margin-bottom: 20px; }
.about p, .services p { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 26px; }
.about .about-intro { color: var(--purple); margin-bottom: 34px; }
.benefits { padding: 0; list-style: none; display: grid; gap: 0; font-size: 15px; font-weight: 500; line-height: 1.45; }
.benefits li { display: flex; align-items: center; gap: 8px; }
.benefits img { flex: none; }
.about .benefits { margin-bottom: 20px; line-height: 1.5; }
.about-copy .contact-links { margin-top: 34px; }

.products { box-shadow: 0 0 32px -28px rgba(0, 0, 0, .5); }
.products-wrap { width: min(1200px, 100%); margin: auto; padding: 76px 24px 84px; }
.products-intro { max-width: 640px; margin-bottom: 44px; }
.eyebrow-pill {
	display: table;
	padding: 9px 16px;
	border-radius: 100px;
	background: var(--pale);
	color: var(--purple);
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.products-intro h2 { margin-bottom: 16px; font-size: 40px; line-height: 1.2; font-weight: 700; text-wrap: pretty; }
.products-intro p:not(.eyebrow-pill) { color: var(--muted); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 26px; }
.product {
	display: flex;
	flex-direction: column;
	padding: 38px;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 4px solid var(--purple);
	border-radius: 8px;
	transition: transform .3s, box-shadow .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 36, 61, .1); }
.product-vida { border-top-color: var(--cyan); }
.product-icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--pale); color: var(--purple); border-radius: 6px; margin-bottom: 24px; }
.product-rc .product-icon { color: var(--cyan); }
.product h3 { font-size: 24px; line-height: 1.3; font-weight: 600; margin-bottom: 12px; }
.product p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 24px; }
.product .benefits { gap: 11px; margin-bottom: 30px; font-size: 14px; line-height: 1.4; }
.product .benefits li { gap: 11px; }
.product .btn { align-self: flex-start; margin-top: auto; padding: 16px 31px; }

.services > .wrap { display: flex; align-items: center; min-height: 700px; }
.services-copy { width: 45.021%; padding-bottom: 5.4px; }
.services-copy[data-in-view] { animation: services-enter 1.25s ease both; }
@keyframes services-enter { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.services p { margin-bottom: 39px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 5px; list-style: none; }
.service-grid li { display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 30px 10px; border-radius: 4px; background: var(--navy); color: var(--white); text-align: center; }
.service-grid li:has(img:not([aria-hidden])) { gap: 5px; padding-top: 22px; }
.service-grid img[aria-hidden] { width: 45px; height: 45px; object-fit: contain; }
.service-grid li img:not([aria-hidden]) { width: 83%; height: 56px; object-fit: cover; }
.service-grid li:nth-child(6) img:not([aria-hidden]) { height: 58px; }
.service-grid li:nth-child(4), .service-grid li:nth-child(5) { min-width: 115px; }
.service-grid li:nth-child(6) { min-width: 108px; }
.service-grid h3 { font-size: 14px; line-height: 1; font-weight: 600; }

.insurers { overflow: hidden; background: var(--pale); border-block: 1px solid #e0e6ec; }
.insurers .slider-aseguradoras { min-height: 150px; width: max-content; margin-left: 50px; }
.insurers .slider-aseguradoras .slide { width: 120px; }
.insurers .slider-aseguradoras img { display: block; height: 80px; width: auto; max-width: none; }

.reviews { background: var(--pale); padding-block: 40px; }
.reviews-inner { padding: 40px; }
.reviews h2 { margin-block: 10px 30px; }
.reviews .co-valoracion-item { min-width: 0; overflow-wrap: anywhere; }
.reviews .co-valoraciones-footer { gap: .45em; }
.co-social-proof-container { max-width: calc(100vw - 130px); }

.audit { display: grid; align-items: center; min-height: 750px; padding: 10px; }
.audit-inner { width: min(630px, 100%); margin: auto; text-align: center; }
.audit .section-eyebrow { display: block; }
.audit h2 { margin: 20px auto; font-size: 35px; line-height: 1; font-weight: 600; }
.audit h2 .accent:last-child { display: block; }
.audit-contact { margin: 40px auto 0; display: grid; gap: 20px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.socials { display: flex; gap: 4px; justify-content: center; color: var(--purple); }
.socials a { display: grid; place-items: center; width: 32px; height: 32px; background: var(--pale); border-radius: 3px; }
.socials a:hover { color: var(--white); background: var(--purple); }
.audit-contact a:hover { color: var(--purple); text-decoration: underline; }
.audit-contact a[href^="mailto:"] { overflow-wrap: anywhere; }

.site-footer { color: var(--white); background: var(--navy); }
.footer-inner { min-height: 60px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; font-size: 14px; font-weight: 400; }
.footer-inner p { padding: 10px; }
.footer-inner p:last-child { text-align: right; }

@media (max-width: 1024px) {
	:root { --sticky-header-height: 64px; scroll-padding-top: calc(var(--sticky-header-height) + 8px); }
	.site-header { position: sticky; top: 0; }
	.site-header:has(.header-menu-toggle[aria-expanded="true"]) { z-index: 1000000; }
	.header-inner { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 16px; }
	.brand { grid-column: 2; justify-self: center; width: calc(13.3333vw - 8px); margin: 0; }
	.header-menu-toggle {
		grid-column: 3;
		justify-self: end;
		display: grid;
		grid-template-rows: 14px auto;
		place-content: center;
		justify-items: center;
		gap: 4px;
		width: 44px;
		height: 44px;
		padding: 2px;
		border: 1px solid currentColor;
		border-radius: 4px;
		background: var(--white);
		color: var(--purple);
		font-size: 10px;
		font-weight: 600;
		line-height: 1;
	}
	.header-menu-toggle[aria-expanded="true"] { color: var(--white); background: var(--purple); border-color: var(--purple); }
	.header-menu-icon { position: relative; align-self: center; width: 20px; height: 2px; background: currentColor; }
	.header-menu-icon::before, .header-menu-icon::after { content: ''; position: absolute; inset: 0; background: currentColor; }
	.header-menu-icon::before { transform: translateY(-6px); }
	.header-menu-icon::after { transform: translateY(6px); }
	.header-menu-toggle[aria-expanded="true"] .header-menu-icon { background: transparent; }
	.header-menu-toggle[aria-expanded="true"] .header-menu-icon::before { transform: rotate(45deg); }
	.header-menu-toggle[aria-expanded="true"] .header-menu-icon::after { transform: rotate(-45deg); }
	.header-content { display: grid; grid-column: 1 / -1; gap: 12px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
	.header-menu-toggle:not([hidden]) + .header-content { position: absolute; inset: 100% 16px auto; max-height: calc(100vh - var(--sticky-header-height) - 12px); max-height: calc(100dvh - var(--sticky-header-height) - 12px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 12px 32px #16243d26; }
	.header-menu-toggle[aria-expanded="false"]:not([hidden]) + .header-content { display: none; }
	.header-menu { display: grid; gap: 8px; margin: 0; padding: 8px; }
	.header-menu .menu { display: grid; }
	.header-menu .menu a, .header-quote { display: flex; align-items: center; min-height: 44px; }
	.header-phones { margin: 0; padding: 0 8px; }
	.site-header:has(.header-menu-toggle[hidden]) { position: relative; }
	.home-hero > .wrap, .services > .wrap { padding-inline: 16px; }
	.contact-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
	.services-copy { width: max(375px, 45.021%); }
	.about-image img { width: 35%; margin-inline: auto; }
}
@media (max-width: 767px) {
	:root { --sticky-header-height: clamp(64px, calc(13.68px + 18.95vw), 93px); }
	.with-background { background-image: var(--section-bg-compact, var(--section-bg)); }
	.brand { width: min(230px, calc(60vw - 20px)); }
	.home-hero { background-position: -282px top; text-align: center; }
	.hero-copy { width: 100%; }
	.hero-arrow { justify-content: center; }
	.home-hero h1 { font-size: 30px; }
	.home-hero p { min-height: 62px; }
	.contact-links { flex-direction: column; gap: 10px; }
	.contact-links .whatsapp-link { width: 100%; justify-content: center; }
	.about { padding-block: 50px 50.8px; }
	.about-grid { display: block; text-align: center; }
	.about-image { padding-right: 50px; }
	.about-image img { width: 90%; }
	.about-copy .section-eyebrow, .services .section-eyebrow { justify-content: center; }
	.about h2, .services h2 { font-size: 25px; }
	.about .benefits li { justify-content: center; }
	.products { padding-block: 50px; }
	.services { padding-block: 50px; }
	.services-copy { width: 100%; text-align: center; }
	.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-grid li:nth-child(3n + 1) { grid-column: 1 / -1; }
	.insurers .slider-aseguradoras { margin-left: 60px; }
	.reviews-inner { padding-inline: 50px; }
	.reviews h2 { font-size: 25px; }
	.audit h2 { font-size: 25px; }
	.footer-inner { grid-template-columns: 1fr; }
	.footer-inner p, .footer-inner p:last-child { text-align: center; }
	.socials { gap: 5px; }
}
@media (max-width: 1024px) and (max-height: 480px) and (orientation: landscape) {
	:root { --sticky-header-height: 64px; scroll-padding-top: 8px; }
	.site-header { position: relative; }
	.brand { width: min(140px, calc(60vw - 20px)); }
}
@media (max-width: 700px) {
	.products-wrap { padding: 52px 18px 58px; }
	.products-intro { margin-bottom: 30px; }
	.products-intro h2 { font-size: 32px; }
	.products-intro p:not(.eyebrow-pill) { font-size: 16px; }
	.products-grid { grid-template-columns: 1fr; gap: 20px; }
	.product { padding: 28px 24px; }
	.product h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.insurers .slider-aseguradoras-container { overflow-x: auto; }
	.insurers .slider-aseguradoras { margin-left: 0 !important; }
}

