/* Hero Section */
	.hero {
		position: relative;
		width: 100%;
		min-height: 500px;
		overflow: hidden;
		display: flex;
		align-items: center;
	}

	/* ======================
	   Stats (Cifras) Section
	   ====================== */
	.stats {
		background: #ffffff;
	}

	.stats-container {
		max-width: 1368px;
		margin: 0 auto;
		padding: 120px 1rem 16px;
	}

	.stats-title {
		text-align: center;
		color: var(--color-primary);
		font-family: var(--font-heading);
		font-weight: 800;
		font-size: 1.5rem;
		line-height: 1.25;
		margin: 0 0 48px;
	}

	.stats-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		justify-items: center;
	}

	.stat {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		color: var(--color-primary);
		padding: 0 12px;
        width: 100%;
	}

	.stat-icon {
		width: 64px;
		height: 64px;
		color: var(--color-yellow);
		display: block;
		margin: 0 auto;
	}

	.stat-value {
		font-family: var(--font-heading);
		font-weight: 800;
		font-size: 1.5rem;
		line-height: 1.2;
		color: var(--color-primary);
		margin-top: 16px;
	}

	.stat-label {
		font-family: var(--font-body);
		font-size: 0.95rem;
		line-height: 1.4;
		color: var(--color-primary);
		margin-top: 4px;
	}

	/* Tablet */
	@media (min-width: 768px) {
		.stats-title { font-size: 2rem; }
		.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}

	/* Desktop */
	@media (min-width: 1024px) {
		.stats-title { font-size: 2.25rem; }
		.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
		.stat { 
			padding: 0 24px;
			border-right: 1px solid var(--color-yellow);
		}
		.stat:last-child { border-right: none; }
		.stat-value { font-size: 2rem; }
		.stat-label { font-size: 1rem; }
	}

	/* ======================
	   Services Section
	   ====================== */
	.services {
		background: #ffffff;
		padding: 120px 0;
	}

	.services-container {
		max-width: 1136px;
		margin: 0 auto;
		padding: 0 1rem;
	}

	.services-header {
		text-align: center;
		margin-bottom: 48px;
	}

	.services-title {
		font-family: var(--font-heading);
		font-weight: 800;
		font-size: 1.75rem;
		line-height: 1.25;
		color: var(--color-primary);
		margin: 0 0 32px;
		max-width: 672px;
		margin-left: auto;
		margin-right: auto;
	}

	.services-description {
		font-family: var(--font-body);
		font-size: 1rem;
		line-height: 1.6;
		color: var(--color-primary);
		max-width: 1128px;
		margin: 0 auto;
	}

	.services-grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 24px;
	}

	.service-card {
		position: relative;
		height: 380px;
		border-radius: 16px;
		overflow: hidden;
		cursor: pointer;
		transition: transform 0.3s ease;
		width: 100%;
		max-width: 400px;
	}

	/* If a card is an anchor, make sure it behaves like a block card */
	.services-grid a.service-card {
		display: block;
		text-decoration: none;
		color: inherit;
	}

	.service-card:hover {
		transform: translateY(-8px);
	}

	.service-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.service-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, rgba(0, 27, 112, 0) 0%, rgba(0, 27, 112, 0.85) 79.81%);
		z-index: 1;
	}

	.service-name {
		position: absolute;
		bottom: 16px;
		left: 16px;
		right: 16px;
		z-index: 2;
		font-family: var(--font-heading);
		font-weight: 700;
		font-size: 1.125rem;
		line-height: 1.4;
		color: #ffffff;
		margin: 0;
	}

	/* Tablet */
	@media (min-width: 768px) {
		.services-title { font-size: 2.25rem; }
		.services-description { font-size: 1.0625rem; }
		.service-card {
			width: calc(50% - 12px);
			max-width: none;
		}
		.service-name { font-size: 1.25rem; }
	}

	/* Desktop */
	@media (min-width: 1024px) {
		.services-title { font-size: 2.5rem; }
		.service-card {
			width: calc(25% - 18px);
			max-width: none;
		}
	}

	/* Large Desktop */
	@media (min-width: 1280px) {
		.services-container { padding: 0 2rem; }
	}

	/* ======================
	   About Us Section
	   ====================== */
	.about {
		background: linear-gradient(135deg, #FFCF02 0%, rgba(255, 215, 61, 0.70) 40%, rgba(242, 182, 0, 0.95) 100%), url('https://lloredacamacho.com/wp-content/uploads/2025/10/fondo-about-us.jpg');
		background-size: cover;
		background-position: center right;
		background-repeat: no-repeat;
		padding: 80px 0;
		position: relative;
		overflow: hidden;
	}

	/* halo de luz a la derecha */
	.about::after {
		content: '';
		position: absolute;
		inset: 0;
		pointer-events: none;
		background: radial-gradient(60% 60% at 82% 35%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.08) 40%, rgba(255,255,255,0) 70%);
		z-index: 0;
	}

	.about-container {
		max-width: 1136px;
		margin: 0 auto;
		padding: 0 1rem;
		display: flex;
		flex-direction: column;
		gap: 3rem;
		align-items: center;
		position: relative;
		z-index: 1;
	}

	.about-image {
		position: relative;
		width: 100%;
		max-width: 420px;
	}

	.about-guard-image {
		width: 100%;
		height: auto;
		display: block;
		border-radius: 0;
	}

	.about-badge {
		position: absolute;
		top: -12px;
		left: 50%;
		background: #ffffff;
		border: 2px solid var(--color-primary);
		border-radius: 12px;
		padding: 10px 16px;
		text-align: center;
		box-shadow: none;
	}

	.badge-number {
		font-family: var(--font-heading);
		font-weight: 800;
		font-size: 1.75rem;
		line-height: 1;
		color: var(--color-primary);
		margin-bottom: 2px;
	}

	.badge-text {
		font-family: var(--font-body);
		font-size: 0.8125rem;
		font-weight: 700;
		color: var(--color-primary);
		line-height: 1.2;
	}

	.about-content {
		width: 100%;
		max-width: 560px;
	}

	.about-title {
		font-family: var(--font-heading);
		font-weight: 800;
		font-size: 1.875rem;
		line-height: 1.25;
		color: var(--color-primary);
		margin: 0 0 1.25rem 0;
	}

	.about-description {
		font-family: var(--font-body);
		font-size: 1rem;
		line-height: 1.7;
		color: var(--color-primary);
		margin: 0 0 2rem 0;
	}

	.about-description strong {
		font-weight: 700;
	}

	.btn-about {
		background: var(--color-primary);
		color: #ffffff;
		border: none;
		border-radius: 9999px;
		padding: 0.875rem 1.75rem;
		font-family: var(--font-body);
		font-size: 1rem;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.3s ease;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 280px;
	}

	.btn-about:hover {
		background: #001B70;
		transform: translateY(-2px);
		box-shadow: 0 8px 20px rgba(0, 27, 112, 0.3);
	}

	/* Tablet */
	@media (min-width: 768px) {
		.about {
			padding: 100px 0;
		}

		.about-container {
			flex-direction: row;
			gap: 4rem;
			align-items: center;
		}

		.about-image {
			flex: 0 0 44%;
			max-width: 520px;
		}

		.about-content {
			flex: 1;
			max-width: none;
		}

		.about-title { font-size: 2.25rem; }

		.about-description { font-size: 1.0625rem; }

		/* reposición del badge hacia la mano en tablet */
		.about-badge {
			top: 0%;
			left: 70%;
			transform: translateX(-50%);
			padding: 12px 20px;
		}
	}

	/* Desktop */
	@media (min-width: 1024px) {
		.about {
			padding: 120px 0 0;
		}

		.about-container {
			gap: 5rem;
		}

		.about-image {
			max-width: 620px;
		}

		.about-title { font-size: 2.5rem; margin-bottom: 2rem; }

		.about-description {
			font-size: 1.125rem;
			margin-bottom: 2.5rem;
		}

		.badge-number { font-size: 2rem; }

		.badge-text { font-size: 0.875rem; }

		/* ajuste fino de posición del badge en desktop */
		.about-badge {
			top: 0%;
			left: 70%;
			transform: translateX(-50%);
		}
	}

	/* Background azul gradiente (izquierda) */
	.hero-bg-blue {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, #0626A9 0%, #001B70 100%);
		z-index: 1;
	}

	/* SVG con borde curvo del área azul (Figma 985x783) */
	.hero-bg-gradient {
		position: absolute;
		top: 0;
		left: 0;
		width: 60%; /* Limita el ancho para no cubrir la imagen del guardia */
		height: 100%;
		z-index: 2;
	}

	/* SVG forma amarilla exacta (252x692 sobre 1728x783) */
	.hero-yellow-shape {
		position: absolute;
		top: 0%; /* 91.23 / 783 */
		left: -1%;
		width: 30%; /* 252 / 1728 */
		height: 100%; /* 692 / 783 */
		z-index: 4; /* sobre la imagen */
		display: none;
	}

	/* Contenedor de imagen */
	.hero-image-container {
		position: absolute;
		top: 0;
		left: 59%; /* 789 / 1728 */
		width: 42.34%; /* 939 / 1728 */
		height: 100%;
		z-index: 3;
		display: none;
	}

	.hero-image-home {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	/* Contenido de texto */
	.hero-content {
		position: relative;
		z-index: 5; /* por encima de todo */
		max-width: 1400px;
		margin: 0 auto;
		padding: 3rem 1.5rem;
		width: 100%;
	}

	.hero-title-home {
		font-family: var(--font-heading);
		font-size: 1.75rem;
		font-weight: 700;
		line-height: 1.2;
		color: var(--color-white);
		margin: 0 0 1.5rem 0;
		max-width: 500px;
	}

	.hero-description-home {
		font-family: var(--font-body);
		font-size: 0.9375rem;
		line-height: 1.6;
		color: var(--color-white);
		margin: 0 0 2rem 0;
		max-width: 500px;
	}

	.hero-buttons {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		max-width: 500px;
	}

	.btn-primary {
		background: var(--color-yellow);
		color: #000000;
		border: none;
		border-radius: 3rem;
		padding: 1rem 2rem;
		font-family: var(--font-body);
		font-size: 1rem;
		font-weight: 700;
		cursor: pointer;
		transition: all 0.3s ease;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
	}

	.btn-primary:hover {
		background: var(--color-orange);
		transform: translateY(-2px);
		box-shadow: 0 8px 20px rgba(255, 204, 0, 0.4);
	}

	.btn-secondary {
		background: transparent;
		color: var(--color-yellow);
		border: 1px solid var(--color-yellow);
		border-radius: 3rem;
		padding: 1rem 2rem;
		font-family: var(--font-body);
		font-size: 1rem;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.3s ease;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.625rem;
		white-space: nowrap;
	}

	.btn-secondary:hover {
		background: var(--color-yellow);
		color: var(--color-primary);
	}

	.whatsapp-icon {
		width: 1.25rem;
		height: 1.25rem;
		flex-shrink: 0;
	}

	/* Tablet - 768px+ */
	@media (min-width: 768px) {
		.hero {
			min-height: 600px;
		}

		/* Ajustes exactos desde tablet */
		.hero-bg-gradient { width: 56.94%; /* 984.24 / 1728 */ }
		.hero-yellow-shape { display: block; }

		.hero-image-container {
			display: block;
		}

		.hero-content {
			padding: 4rem 3rem;
		}

		.hero-title-home {
			font-size: 2.5rem;
			max-width: 600px;
		}

		.hero-description-home {
			font-size: 1.0625rem;
			margin-bottom: 2.5rem;
			max-width: 600px;
		}

		.hero-buttons {
			flex-direction: row;
			gap: 1rem;
			max-width: none;
		}

		.btn-primary,
		.btn-secondary {
			width: auto;
			min-width: 220px;
		}
	}

	/* Desktop - 1024px+ */
	@media (min-width: 1024px) {
		.hero {
			min-height: 700px;
		}

		.hero-content {
			padding: 5rem 4rem;
		}

		.hero-title-home {
			font-size: 3rem;
			margin-bottom: 2rem;
			max-width: 620px;
		}

		.hero-description-home {
			font-size: 1.125rem;
			margin-bottom: 3rem;
			max-width: 650px;
		}

		.btn-primary {
			min-width: 280px;
			padding: 1.125rem 2.5rem;
		}

		.btn-secondary {
			min-width: 250px;
			padding: 1.125rem 2.5rem;
		}
	}

	/* Large Desktop - 1280px+ */
	@media (min-width: 1280px) {
		.hero {
			min-height: 750px;
		}

		.hero-content {
			padding: 6rem 8rem;
		}
	}

	/* ======================
	   Blog Section
	   ====================== */
	.blog {
		background: #ffffff;
		padding: 120px 0;
	}

	.blog-container {
		max-width: 1136px;
		margin: 0 auto;
		padding: 0 1rem;
	}

	.blog-title {
		text-align: center;
		color: var(--color-primary);
		font-family: var(--font-heading);
		font-weight: 800;
		font-size: 1.75rem;
		line-height: 1.25;
		margin: 0 0 48px;
		max-width: 672px;
		margin-left: auto;
		margin-right: auto;
	}

	.blog-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.blog-card {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.blog-image-wrap {
		position: relative;
		height: 240px;
		border-radius: 16px;
		overflow: hidden;
	}

	.blog-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		display: block;
	}

	.blog-image-overlay {
		position: absolute;
		top: 0; left: 0; right: 0; bottom: 0;
		background: linear-gradient(180deg, rgba(0, 27, 112, 0) 0%, rgba(0, 27, 112, 0.45) 79.81%);
		pointer-events: none;
	}

	.blog-content { padding: 0 8px; }

	.blog-card-title {
		font-family: var(--font-heading);
		font-weight: 700;
		font-size: 1.0625rem;
		line-height: 1.35;
		color: var(--color-primary);
	}

	.blog-card-title a {
		color: var(--color-primary);
		text-decoration: none;
	}

	.blog-excerpt {
		font-family: var(--font-body);
		font-size: 0.95rem;
		line-height: 1.5;
		color: var(--color-primary);
		margin-top: 8px;
	}

	.blog-link {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-top: 16px;
		color: var(--color-orange);
		text-decoration: none;
		font-weight: 600;
		border-bottom: 1px solid var(--color-orange);
		padding-bottom: 6px;
		transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	.blog-link:hover { color: #FFBE32; border-color: #FFBE32; transform: translateY(-1px); }

	.arrow-icon { width: 24px; height: 24px; }

	.blog-cta-home {
		margin-top: 32px;
		display: flex;
		justify-content: center;
	}

	.btn-blog {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--color-primary);
		color: var(--color-white);
		text-decoration: none;
		border: none;
		border-radius: 80px;
		padding: 1rem 2rem;
		min-width: 217px;
		min-height: 57px;
		font-family: var(--font-body);
		font-size: 1rem;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.3s ease;
	}

	.btn-blog:hover { background: #00145A; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 27, 112, 0.25); }

	/* Tablet */
	@media (min-width: 768px) {
		.blog-title { font-size: 2.25rem; }
		.blog-grid { grid-template-columns: repeat(2, 1fr); }
		.blog-image-wrap { height: 300px; }
	}

	/* Desktop */
	@media (min-width: 1024px) {
		.blog-title { font-size: 2.5rem; }
		.blog-grid { grid-template-columns: repeat(3, 1fr); }
		.blog-image-wrap { height: 340px; }
	}