:root {
	--navy: #0b1f3a;
	--navy-2: #122b4d;
	--teal: #0d9488;
	--teal-dark: #0f766e;
	--teal-soft: #e6f7f5;
	--wa: #16a34a;
	--wa-dark: #15803d;
	--urgent: #dc2626;
	--urgent-bg: #fef2f2;
	--bg: #f8fafc;
	--surface: #ffffff;
	--text: #1e293b;
	--muted: #475569;
	--border: #e2e8f0;
	--radius: 16px;
	--shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.06), 0 1px 2px rgba(11, 31, 58, 0.04);
	--shadow-md: 0 10px 30px -5px rgba(11, 31, 58, 0.08), 0 4px 10px -2px rgba(11, 31, 58, 0.04);
	--shadow-lg: 0 20px 45px -10px rgba(11, 31, 58, 0.16);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
	margin: 0;
	overflow-x: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(13, 148, 136, 0.15);
}
h1, h2, h3, h4 {
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	color: var(--navy);
	line-height: 1.2;
	margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Emergency Bar */
.topbar {
	background: var(--navy);
	color: #e2e8f0;
	font-size: 13px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
}
.topbar-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}
.pulse-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	animation: pulse 1.8s infinite;
	flex-shrink: 0;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
	70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.topbar-links {
	display: flex;
	align-items: center;
	gap: 16px;
	font-weight: 600;
}
.topbar-links a:hover { color: #ffffff; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: 74px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.brand img { height: 46px; width: auto; }
.nav-list {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--navy);
	transition: color 0.15s ease;
}
.nav-list a:hover, .nav-list a.active { color: var(--teal); }
.header-cta {
	display: flex;
	align-items: center;
	gap: 10px;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14.5px;
	padding: 12px 20px;
	border-radius: 10px;
	border: 0;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa {
	background: var(--wa);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(22, 163, 74, 0.25);
}
.btn-wa:hover { background: var(--wa-dark); }
.btn-call {
	background: var(--navy);
	color: #ffffff;
}
.btn-call:hover { background: var(--navy-2); }
.btn-outline {
	background: #ffffff;
	color: var(--navy);
	border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 8px;
	cursor: pointer;
	color: var(--navy);
}

/* Hero & Page Hero */
.hero {
	background-color: #07162b;
	background-image:
		linear-gradient(105deg, rgba(7, 22, 43, 0.93) 0%, rgba(11, 31, 58, 0.82) 50%, rgba(11, 31, 58, 0.58) 100%),
		url('../images/hero-urgencias.webp');
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #ffffff;
	padding: 64px 0 76px;
	position: relative;
	overflow: hidden;
}
.page-hero {
	background: radial-gradient(circle at 85% 20%, rgba(13, 148, 136, 0.18), transparent 45%),
	            linear-gradient(135deg, #07162b 0%, #0b1f3a 60%, #0f2c4f 100%);
	color: #ffffff;
	padding: 52px 0 56px;
}
.page-hero h1 {
	color: #ffffff;
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
	font-weight: 800;
	margin-bottom: 12px;
}
.page-hero p {
	color: #cbd5e1;
	font-size: 16.5px;
	max-width: 680px;
	margin: 0;
}
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 14px;
}
.breadcrumb a:hover { color: #ffffff; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 38px;
	align-items: center;
}
.hero-grid > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > * {
	min-width: 0;
}
.section { overflow-x: hidden; }
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(220, 38, 38, 0.16);
	border: 1px solid rgba(248, 113, 113, 0.45);
	color: #fecaca;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.hero h1 {
	color: #ffffff;
	font-size: clamp(2rem, 3.6vw, 3.1rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}
.hero h1 span, .page-hero h1 span { color: #5eead4; }
.hero-lead {
	font-size: 17px;
	color: #cbd5e1;
	max-width: 600px;
	margin: 0 0 24px;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}
.hero-actions .btn { padding: 15px 24px; font-size: 15.5px; }
.hero-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item strong {
	display: block;
	font-size: 18px;
	color: #ffffff;
	font-family: 'Plus Jakarta Sans', sans-serif;
}
.trust-item span { font-size: 13px; color: #94a3b8; }

/* Triage Card */
.triage-card {
	background: #ffffff;
	color: var(--text);
	border-radius: 20px;
	padding: 26px;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255,255,255,0.12);
}
.triage-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}
.triage-avatar {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--teal-soft);
}
.triage-head h2 { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.triage-head p { margin: 0; font-size: 13px; color: var(--muted); }
.triage-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--navy);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	display: block;
}
.triage-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 16px;
}
.triage-btn {
	text-align: left;
	background: var(--bg);
	border: 1.5px solid var(--border);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--navy);
	cursor: pointer;
	transition: all 0.15s ease;
}
.triage-btn:hover, .triage-btn.active {
	background: var(--teal-soft);
	border-color: var(--teal);
	color: var(--teal-dark);
}
.triage-submit { width: 100%; padding: 14px 20px; font-size: 15px; }
.triage-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Sections & Grids */
.section { padding: 64px 0; }
.section-alt { background: #ffffff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.eyebrow {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--teal-dark);
	background: var(--teal-soft);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.icon-box {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--urgent-bg);
	color: var(--urgent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.icon-box.teal { background: var(--teal-soft); color: var(--teal-dark); }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.service-card { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.service-link { font-size: 13.5px; font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { text-decoration: underline; }
.photo-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}
.photo-card-body { padding: 20px 22px 22px; }
.photo-card-body h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.photo-card-body p { margin: 0; font-size: 14.5px; color: var(--muted); }
.clinic-photo {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	margin-top: 22px;
}
.clinic-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* Split & Lists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); }
.check-list svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.video-facade {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--navy);
	box-shadow: var(--shadow-lg);
	cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease; }
.video-facade:hover img { opacity: 1; }
.play-btn {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--navy);
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Zones & Map */
.zone-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.zone-pill {
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--navy);
	font-size: 13.5px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
}
.map-wrap {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-md);
	aspect-ratio: 16 / 10;
	background: #e2e8f0;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Testimonials & FAQ */
.stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.quote { font-size: 14.5px; color: var(--text); margin: 0 0 14px; font-style: italic; }
.author { font-size: 14px; font-weight: 700; color: var(--navy); }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 18px 22px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
}
.faq-a { padding: 0 22px 18px; color: var(--muted); font-size: 15px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 22px; font-weight: 400; color: var(--teal); transition: transform 0.2s ease; }

/* Forms */
.form-grid { display: grid; gap: 16px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	color: var(--text);
	background: #ffffff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
	outline: none;
	border-color: var(--teal);
}

/* CTA Banner */
.cta-banner {
	background: linear-gradient(135deg, var(--navy) 0%, #0f3a4a 100%);
	color: #ffffff;
	border-radius: 24px;
	padding: 46px 36px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #ffffff; font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 8px; }
.cta-banner p { margin: 0; color: #cbd5e1; max-width: 560px; }

/* Footer */
.site-footer { background: #071426; color: #cbd5e1; padding: 56px 0 92px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h3 { color: #ffffff; font-size: 15.5px; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a:hover { color: #5eead4; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: #94a3b8;
}

/* Floating WhatsApp Button */
.wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 210;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--wa);
	color: #ffffff;
	padding: 13px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 12px 28px rgba(22, 163, 74, 0.38);
	transition: transform 0.18s ease, background-color 0.18s ease;
}
.wa-float:hover {
	background: var(--wa-dark);
	transform: translateY(-2px);
}

/* Mobile Sticky Bar */
.mobile-sticky {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	background: #ffffff;
	border-top: 1px solid var(--border);
	padding: 10px 14px;
	gap: 10px;
	box-shadow: 0 -6px 20px rgba(11, 31, 58, 0.12);
}
.mobile-sticky .btn { flex: 1; padding: 12px 10px; font-size: 14px; }

@media (max-width: 980px) {
	.hero-grid, .split, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nav-list, .header-cta .btn-call { display: none; }
	.menu-toggle { display: inline-flex; }
	.nav-list.open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 74px;
		left: 0;
		right: 0;
		background: #ffffff;
		padding: 18px 20px;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-md);
		align-items: flex-start;
		gap: 14px;
	}
}
@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.topbar { font-size: 11.5px; padding: 6px 0; }
	.topbar-inner { justify-content: center; text-align: center; }
	.topbar-links { display: none; }
	.header-inner { height: 62px; gap: 8px; }
	.brand { min-width: 0; flex: 1 1 auto; }
	.brand img { height: 34px; width: auto; max-width: 145px; object-fit: contain; }
	.header-cta { gap: 8px; flex-shrink: 0; }
	.header-cta .btn-wa { padding: 8px 11px; font-size: 12px; min-height: 38px; }
	.menu-toggle { min-width: 40px; min-height: 40px; align-items: center; justify-content: center; flex-shrink: 0; }
	.nav-list.open { top: 62px; padding: 12px 16px; gap: 4px; }
	.nav-list.open li { width: 100%; border-bottom: 1px solid var(--border); }
	.nav-list.open li:last-child { border-bottom: 0; }
	.nav-list.open a { display: flex; align-items: center; min-height: 46px; width: 100%; font-size: 15.5px; }

	.hero { padding: 24px 0 34px; }
	.page-hero { padding: 30px 0 34px; }
	.hero-grid { gap: 22px; }
	.hero-badge { font-size: 11px; line-height: 1.3; padding: 5px 11px; margin-bottom: 12px; white-space: normal; }
	.hero h1 { font-size: clamp(1.48rem, 6.4vw, 1.85rem); line-height: 1.22; margin-bottom: 12px; overflow-wrap: break-word; }
	.hero-lead { font-size: 14.5px; margin-bottom: 18px; }
	.hero-actions { flex-direction: column; gap: 10px; margin-bottom: 18px; }
	.hero-actions .btn { width: 100%; min-height: 48px; padding: 12px 16px; font-size: 14.5px; white-space: normal; text-align: center; }
	.hero-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 14px; }
	.trust-item strong { font-size: 13px; }
	.trust-item span { font-size: 11px; line-height: 1.3; display: block; }

	.triage-card { padding: 18px; border-radius: 16px; }
	.triage-options { grid-template-columns: 1fr 1fr; gap: 8px; }
	.triage-btn { min-height: 48px; font-size: 13px; padding: 9px 10px; line-height: 1.25; }
	.triage-submit { min-height: 48px; font-size: 14.5px; }

	.section { padding: 40px 0; }
	.section-head { margin-bottom: 24px; }
	.section-head h2 { font-size: 1.48rem; }
	.section-head p { font-size: 14.5px; }

	.grid-4 { grid-template-columns: 1fr; gap: 12px; }
	.card { padding: 18px; }
	.grid-3 { grid-template-columns: 1fr; gap: 14px; }

	/* Horizontal swipe carousel for photo cards and testimonials on mobile */
	.mobile-swipe {
		display: flex !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 14px;
		padding-bottom: 8px;
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		scrollbar-width: none;
	}
	.mobile-swipe::-webkit-scrollbar { display: none; }
	.mobile-swipe > * {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}

	.faq-q { padding: 15px 16px; font-size: 15px; min-height: 52px; }
	.faq-a { padding: 0 16px 15px; font-size: 14px; }
	.form-group input, .form-group select, .form-group textarea { font-size: 16px; }

	.cta-banner { padding: 26px 18px; border-radius: 18px; }
	.cta-banner .btn { width: 100%; min-height: 48px; }
	.site-footer { padding: 40px 0 96px; }

	.wa-float { display: none; }
	.mobile-sticky {
		display: flex;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	}
	.mobile-sticky .btn { min-height: 46px; font-size: 14.5px; }
}
