/* ==========================================
   Estilos Responsivos Microsoft 365
   ========================================== */

/* Tablets y dispositivos medianos */
@media (max-width: 992px) {
	.microsoft-header-section .section-title,
	.microsoft-aplicaciones-section .section-title,
	.microsoft-planes-section .section-title,
	.microsoft-consola-section .section-title,
	.microsoft-clientes-section .section-title,
	.microsoft-mercado-section .section-title {
		font-size: 2rem;
	}

	.microsoft-aplicaciones-section .section-title {
		margin-top: 20px;
		margin-bottom: 40px;
	}

	.caracteristica-title {
		font-size: 0.9rem;
		min-height: 70px;
	}

	.icon-container {
		width: 70px;
		height: 70px;
	}

	.icon-img {
		width: 120px;
		height: 200px;
	}

	.aplicacion-card {
		padding: 25px 15px;
	}

	.app-icon {
		width: 70px;
		height: 70px;
	}

	.aplicacion-nombre {
		font-size: 1.3rem;
	}

	.aplicaciones-carousel-wrapper {
		padding: 0 60px;
	}

	.carousel-btn {
		width: 45px;
		height: 45px;
	}

	.carousel-btn img {
		width: 45px;
		height: 45px;
	}

	.plan-image img {
		height: 200px;
	}

	.plan-titulo {
		font-size: 1.5rem;
	}

	.consola-item {
		font-size: 1.1rem;
	}

	.consola-item::before {
		width: 20px;
		height: 20px;
		margin-right: 12px;
	}

	.plan-row {
		flex-direction: row;
		gap: 15px;
	}

	.plan-label {
		width: 200px;
		height: 100px;
		font-size: 0.9rem;
		padding: 10px 15px;
	}

	.plan-content {
		padding: 15px 20px;
	}

	.plan-content .app-icon-item img {
		width: 50px;
		height: 50px;
	}

	.plan-content .app-icon-item span {
		font-size: 0.75rem;
	}

	.plan-content-text {
		font-size: 1rem;
	}
}

/* Dispositivos móviles */
@media (max-width: 768px) {
	.microsoft-header-section,
	.microsoft-aplicaciones-section,
	.microsoft-planes-section,
	.microsoft-consola-section,
	.microsoft-clientes-section,
	.microsoft-mercado-section {
		padding: 40px 0;
	}

	.microsoft-header-section .section-title,
	.microsoft-aplicaciones-section .section-title,
	.microsoft-planes-section .section-title,
	.microsoft-consola-section .section-title,
	.microsoft-clientes-section .section-title,
	.microsoft-mercado-section .section-title {
		font-size: 1.8rem;
		margin-bottom: 30px;
	}

	.microsoft-aplicaciones-section .section-title {
		margin-top: 15px;
		margin-bottom: 30px;
	}

	.header-text p {
		font-size: 1rem;
	}

	.caracteristicas-grid {
		margin-top: 30px;
	}

	.caracteristica-card {
		padding: 15px;
		margin-bottom: 15px;
	}

	.caracteristica-title {
		font-size: 0.85rem;
		min-height: 60px;
	}

	.icon-container {
		width: 60px;
		height: 60px;
	}

	.icon-img {
		width: 140px;
		height: 220px;
	}

	.aplicacion-card {
		padding: 20px 15px;
		margin-bottom: 20px;
	}

	.app-icon {
		width: 60px;
		height: 60px;
	}

	.aplicacion-nombre {
		font-size: 1.2rem;
	}

	.aplicacion-descripcion {
		font-size: 0.95rem;
	}

	.aplicaciones-carousel-wrapper {
		padding: 0 50px;
	}

	.carousel-btn {
		width: 40px;
		height: 40px;
	}

	.carousel-btn img {
		width: 40px;
		height: 40px;
	}

	.aplicaciones-cards-row > div {
		width: 300px;
	}

	.plan-tipo-card {
		margin-bottom: 30px;
	}

	.plan-image img {
		height: 180px;
	}

	.plan-titulo {
		font-size: 1.3rem;
	}

	.plan-subtitulo {
		font-size: 0.9rem;
	}

	.aplicaciones-365-card {
		padding: 20px;
		margin-bottom: 30px;
	}

	.aplicaciones-titulo {
		font-size: 1.2rem;
	}

	.plan-detalle-card {
		padding: 20px;
		margin-bottom: 20px;
	}

	.plan-nombre {
		font-size: 1.2rem;
	}

	.apps-icons-row img {
		width: 30px;
		height: 30px;
	}

	.consola-content {
		margin-bottom: 30px;
	}

	.consola-item {
		font-size: 1rem;
		padding: 7px 0;
	}

	.consola-item::before {
		width: 18px;
		height: 18px;
		margin-right: 10px;
	}

	.consola-item i {
		font-size: 1.3rem;
	}

	.cliente-logo-container {
		height: 100px;
		padding: 15px;
	}

	.cliente-logo {
		max-height: 60px;
	}

	.mercado-card {
		padding: 20px 10px;
		margin-bottom: 15px;
	}

	.mercado-icon {
		width: 70px;
		height: 70px;
	}

	.icon-mercado {
		width: 40px;
		height: 40px;
	}

	.mercado-nombre {
		font-size: 0.9rem;
		min-height: 45px;
	}

	.plan-row {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}

	.plan-label {
		width: 100%;
		height: auto;
		min-height: 80px;
		font-size: 0.95rem;
		padding: 15px;
	}

	.plan-content {
		padding: 15px;
		border-width: 3px;
	}

	.plan-content .app-icon-item img {
		width: 45px;
		height: 45px;
	}

	.plan-content .app-icon-item span {
		font-size: 0.7rem;
	}

	.plan-content-text {
		font-size: 0.95rem;
		margin-bottom: 10px;
	}

	.plan-content .apps-icons-row {
		gap: 10px;
	}
}

/* Móviles pequeños */
@media (max-width: 576px) {
	.microsoft-header-section .section-title,
	.microsoft-aplicaciones-section .section-title,
	.microsoft-planes-section .section-title,
	.microsoft-consola-section .section-title,
	.microsoft-clientes-section .section-title,
	.microsoft-mercado-section .section-title {
		font-size: 1.5rem;
		margin-bottom: 25px;
	}

	.microsoft-aplicaciones-section .section-title {
		margin-top: 10px;
		margin-bottom: 25px;
	}

	.section-title::after {
		width: 60px;
		height: 3px;
	}

	.header-text p {
		font-size: 0.95rem;
		text-align: left;
	}

	.caracteristica-card {
		padding: 12px;
	}

	.caracteristica-title {
		font-size: 0.8rem;
		min-height: 55px;
	}

	.icon-container {
		width: 50px;
		height: 50px;
		margin-bottom: 10px;
	}

	.icon-img {
		width: 160px;
		height: 240px;
	}

	.aplicacion-card {
		padding: 20px 10px;
	}

	.app-icon {
		width: 50px;
		height: 50px;
	}

	.aplicacion-nombre {
		font-size: 1.1rem;
	}

	.aplicacion-descripcion {
		font-size: 0.9rem;
	}

	.aplicaciones-carousel-wrapper {
		padding: 0 40px;
	}

	.carousel-btn {
		width: 35px;
		height: 35px;
	}

	.carousel-btn img {
		width: 35px;
		height: 35px;
	}

	.aplicaciones-cards-row > div {
		width: 250px;
	}

	.plan-image img {
		height: 150px;
	}

	.plan-titulo {
		font-size: 1.2rem;
	}

	.aplicaciones-titulo {
		font-size: 1.1rem;
	}

	.app-icon-item img {
		width: 35px;
		height: 35px;
	}

	.app-icon-item span {
		font-size: 0.75rem;
	}

	.plan-nombre {
		font-size: 1.1rem;
	}

	.apps-icons-row img {
		width: 28px;
		height: 28px;
	}

	.incluye-text,
	.descripcion-text {
		font-size: 0.85rem;
	}

	.consola-item {
		font-size: 0.95rem;
		padding: 6px 0;
		gap: 10px;
	}

	.consola-item::before {
		width: 16px;
		height: 16px;
		margin-right: 8px;
	}

	.consola-item i {
		font-size: 1.2rem;
	}

	.cliente-logo-container {
		height: 90px;
		padding: 10px;
	}

	.cliente-logo {
		max-height: 50px;
	}

	.mercado-card {
		padding: 15px 8px;
	}

	.mercado-icon {
		width: 60px;
		height: 60px;
		margin-bottom: 10px;
	}

	.icon-mercado {
		width: 35px;
		height: 35px;
	}

	.mercado-nombre {
		font-size: 0.85rem;
		min-height: 40px;
	}

	.plan-row {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 15px;
	}

	.plan-label {
		width: 100%;
		height: auto;
		min-height: 70px;
		font-size: 0.85rem;
		padding: 12px;
		line-height: 1.2;
	}

	.plan-content {
		padding: 12px;
		border-width: 2px;
		gap: 10px;
	}

	.plan-content .app-icon-item img {
		width: 40px;
		height: 40px;
	}

	.plan-content .app-icon-item span {
		font-size: 0.65rem;
	}

	.plan-content-text {
		font-size: 0.85rem;
		margin-bottom: 8px;
		line-height: 1.4;
	}

	.plan-content .apps-icons-row {
		gap: 8px;
		justify-content: center;
	}
}

/* Ajustes para orientación horizontal en móviles */
@media (max-width: 768px) and (orientation: landscape) {
	.microsoft-header-section,
	.microsoft-aplicaciones-section,
	.microsoft-planes-section,
	.microsoft-consola-section,
	.microsoft-clientes-section,
	.microsoft-mercado-section {
		padding: 30px 0;
	}

	.plan-image img {
		height: 150px;
	}

	.cliente-logo-container {
		height: 80px;
	}
}

/* Móviles extra pequeños (390px y menores) */
@media (max-width: 390px) {
	.icon-img {
		width: 170px;
		height: 260px;
	}

	.caracteristica-card {
		padding: 10px 8px;
	}

	.icon-container {
		width: 60px;
		height: 60px;
		margin-bottom: 15px;
	}
}
