/* ISM Argentina — sitio institucional
   Paleta tomada del sitio y del logotipo: navy #003f74, cian #00bcf1. */

:root {
	--navy: #003f74;
	--navy-deep: #021526;
	--navy-mid: #0a3358;
	--cyan: #00bcf1;
	--cyan-deep: #007eaa;
	--ink: #1b2a36;
	--muted: #5a6b78;
	--paper: #f4f7fa;
	--line: rgba(0, 63, 116, 0.14);
	--white: #ffffff;
	--shadow: 0 18px 40px rgba(2, 21, 38, 0.08);
	--header: 76px;
	--radius: 18px;
	--max: 1160px;
	--font: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--white);
	font-size: 1.05rem;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--cyan-deep); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.15rem, 4.4vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.skip {
	position: absolute;
	left: 12px;
	top: -40px;
	background: var(--navy);
	color: #fff;
	padding: 8px 12px;
	z-index: 1000;
}
.skip:focus { top: 12px; color: #fff; }

.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--cyan-deep);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.74rem;
	margin-bottom: 0.75rem;
}
.kicker::before { content: ""; width: 1.5rem; height: 2px; background: var(--cyan); }
.kicker.light { color: var(--cyan); }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 48px;
	padding: 0.7rem 1.2rem;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.98rem;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-cyan { background: var(--cyan); color: #042033; }
.btn-cyan:hover { background: #33caf4; color: #042033; }
.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0.45rem 0.95rem; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	height: var(--header);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.header-inner {
	height: 100%;
	width: min(var(--max), calc(100% - 32px));
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 46px; }
.site-nav { display: flex; align-items: center; gap: 0.35rem; }
.site-nav ul {
	display: flex;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.45rem 0.6rem;
	border-radius: 8px;
}
.site-nav a[aria-current="page"] { color: var(--navy); background: rgba(0, 188, 241, 0.12); }
.site-nav a:hover { color: var(--navy); }
.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 12px;
	padding: 0;
	cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--navy);
	position: relative;
	margin: 0 auto;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Hero */
.hero {
	position: relative;
	min-height: calc(100vh - var(--header));
	min-height: calc(100dvh - var(--header));
	display: grid;
	align-items: end;
	color: #fff;
	overflow: hidden;
	background: var(--navy-deep);
}
.hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(2, 21, 38, 0.25), rgba(2, 21, 38, 0.88)),
		linear-gradient(90deg, rgba(2, 21, 38, 0.88) 0%, rgba(0, 63, 116, 0.45) 70%, rgba(2, 21, 38, 0.2) 100%);
}
.hero-grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(0, 188, 241, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 188, 241, 0.09) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(90deg, #000 20%, transparent 85%);
	pointer-events: none;
}
.hero-content {
	position: relative;
	z-index: 2;
	padding: 4.5rem 0 7.5rem;
	width: min(var(--max), calc(100% - 32px));
	margin-inline: auto;
}
.hero h1 { max-width: 14ch; }
.hero p { max-width: 38rem; color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; }
.metrics {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	list-style: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	overflow: hidden;
	width: min(var(--max), calc(100% - 32px));
	margin: -4.2rem auto 2.5rem;
}
.metrics li {
	list-style: none;
	background: rgba(2, 21, 38, 0.82);
	color: #fff;
	padding: 1.15rem 1.2rem;
}
.metrics strong { display: block; font-size: 1.25rem; letter-spacing: -0.03em; }
.metrics span { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }

.section { padding: 4.5rem 0; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; }
.paper { background: var(--paper); }
.dark-band {
	background:
		radial-gradient(800px 240px at 10% 0%, rgba(0, 188, 241, 0.18), transparent 60%),
		var(--navy-deep);
	color: #fff;
}
.dark-band .lead, .dark-band p { color: rgba(255, 255, 255, 0.82); }

.split {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.5rem;
	align-items: center;
}
.frame {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.grid-3, .grid-2, .grid-4 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card, .sol-card, .value, .quote, .info-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #e7eef4; }
.card-body { padding: 1.15rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card-body p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.tag {
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cyan-deep);
}
.card .btn { align-self: flex-start; margin-top: 0.4rem; }
.featured {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1rem;
	margin-bottom: 1rem;
}
.featured .card { min-height: 100%; }
.featured .card-media { aspect-ratio: 16/9; }

.sol-card { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; text-decoration: none; color: inherit; min-height: 100%; }
.sol-card:hover { border-color: var(--cyan); color: inherit; }
.sol-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }
.sol-card span { color: var(--muted); font-size: 0.95rem; }
.index { font-variant-numeric: tabular-nums; color: var(--cyan-deep); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; }

.value { padding: 1.15rem 1rem; text-align: center; }
.value h3 { margin: 0.35rem 0 0; font-size: 1.05rem; }
.value svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.7; }

.logo-wall {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.75rem;
}
.logo-wall figure {
	margin: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 0.75rem;
	display: grid;
	place-items: center;
	min-height: 110px;
}
.logo-wall img { max-height: 72px; width: auto; margin: 0 auto; object-fit: contain; }

.quote { padding: 1.3rem 1.25rem 1.15rem; }
.quote p { font-size: 1.02rem; }
.quote footer { color: var(--muted); font-size: 0.92rem; }
.quote strong { color: var(--navy); display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.pills li, .pill {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	padding: 0.4rem 0.8rem;
	font-size: 0.88rem;
	color: var(--navy);
	font-weight: 600;
}
.dark-band .pills li { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }

.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.specs strong { display: block; color: var(--navy); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 1rem; }
.gallery a { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.share { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.25rem; }
.share span { font-size: 0.85rem; color: var(--muted); font-weight: 700; }

.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.page-hero { padding: 2.6rem 0 1rem; }
.page-hero h1 { max-width: 18ch; }

details.faq { border-bottom: 1px solid var(--line); padding: 0.35rem 0; }
details.faq summary {
	cursor: pointer;
	font-weight: 700;
	padding: 0.75rem 0;
	list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--cyan-deep); font-weight: 500; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.25rem; align-items: start; }
.info-card { padding: 1.25rem; }
.info-card h2, .info-card h3 { font-size: 1.15rem; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }
label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
input, textarea, select {
	width: 100%;
	font: inherit;
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	margin-bottom: 0.85rem;
}
input:focus, textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; }
.hp { position: absolute; left: -9999px; }

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); padding: 2.5rem 0 6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.site-footer h2 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.legal { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }

.wa {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 50;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #128c7e;
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: 0 10px 24px rgba(2, 21, 38, 0.28);
	text-decoration: none;
}
.wa:hover { color: #fff; background: #0e7569; }
.wa svg { width: 30px; height: 30px; fill: #fff; }

.note { font-size: 0.92rem; color: var(--muted); }

.value p { color: var(--muted); font-size: 0.95rem; margin: 0.35rem 0 0; }
.pills { font-weight: 600; }

@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-nav {
		position: fixed;
		inset: var(--header) 0 0 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		padding: 1rem 1.1rem 2rem;
		transform: translateX(100%);
		transition: transform 0.25s ease;
		overflow: auto;
	}
	.site-nav.is-open { transform: none; }
	.site-nav ul { flex-direction: column; }
	.site-nav a { font-size: 1.15rem; padding: 0.75rem 0.4rem; }
	.site-nav .btn { margin-top: 0.6rem; }
	.split, .featured, .contact-grid, .footer-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.grid-2, .logo-wall, .metrics, .gallery { grid-template-columns: 1fr 1fr; }
	.hero-content { padding-top: 3rem; }
	.metrics { margin-top: -2rem; }
}

@media (max-width: 640px) {
	.metrics, .logo-wall, .gallery, .grid-2 { grid-template-columns: 1fr; }
	.hero { min-height: auto; }
	.hero-content { padding: 2.4rem 0 4.5rem; }
	.section { padding: 3rem 0; }
	.actions .btn, .contact-grid .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.card { transition: none; }
	.site-nav { transition: none; }
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
