/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Mobile view - show only essentials */
@media (max-width: 767px) {
	/* Header adjustments */
	.header {
		justify-content: space-between;
		padding: calc(var(--spacing-sm) * 1.5) var(--spacing-sm);
		gap: var(--spacing-sm);
	}

	.header-nav,
	.header-button {
		display: none;
	}

	#menu-icon {
		display: block;
	}

	.mobile-nav {
		display: flex;
	}

	/* Trust adjustments */
	.trust {
		min-height: 100vh;
		padding: var(--spacing-lg) var(--spacing-sm);
		background-attachment: scroll;
	}

	.trust-branding {
		margin-bottom: var(--spacing-md);
	}

	.header-logo {
		height: 32px;
	}

	.why-choose-us {
		padding: var(--spacing-lg) var(--spacing-sm);
		margin: var(--spacing-lg) 0;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}

	.trust-cta,
	.hero-cta {
		flex-direction: column;
		gap: var(--spacing-sm);
	}

	.cta-button {
		width: 100%;
		justify-content: center;
		padding: var(--spacing-sm) var(--spacing-lg);
	}

	/* What Sets Us Apart adjustments */
	.sets-apart {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.sets-apart-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.apart-card {
		padding: var(--spacing-lg) var(--spacing-md);
	}

	.apart-icon-wrapper {
		width: var(--icon-lg);
		height: var(--icon-lg);
	}

	.apart-icon {
		width: var(--icon-sm);
		height: var(--icon-sm);
	}

	/* Core Services adjustments */
	.core-services {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.services-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}

	.service-image {
		height: calc(var(--section-height-sm) * 0.5);
	}

	.service-icon-wrapper {
		width: calc(var(--icon-lg) * 1.07);
		height: calc(var(--icon-lg) * 1.07);
	}

	.service-icon-wrapper svg {
		width: 55%;
		height: 55%;
	}

	.service-icon {
		width: calc(var(--icon-xs) * 1.17);
		height: calc(var(--icon-xs) * 1.17);
	}

	.service-content {
		padding: var(--spacing-md);
	}

	/* Industry Carousel adjustments */
	.industry-services {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.carousel-wrapper {
		padding: 0 var(--spacing-md);
	}

	.slide-content {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.slide-image-wrapper {
		height: calc(var(--section-height-sm) * 0.625);
	}

	.slide-text {
		padding: var(--spacing-lg);
	}

	.slide-heading {
		font-size: 1.5rem;
	}

	.industry-features li {
		font-size: 0.9rem;
	}

	.carousel-btn {
		width: var(--icon-md);
		height: var(--icon-md);
	}

	.carousel-btn svg {
		width: var(--icon-xs);
		height: var(--icon-xs);
	}

	.carousel-btn-prev {
		left: var(--spacing-xs);
	}

	.carousel-btn-next {
		right: var(--spacing-xs);
	}

	.carousel-indicators {
		margin-top: var(--spacing-md);
	}

	/* About Us adjustments */
	.about-us {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}

	.about-text-block,
	.about-highlights,
	.about-image-primary,
	.about-image-secondary,
	.about-quote-block,
	.about-stats,
	.about-image-tertiary {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.about-text-block {
		padding: var(--spacing-lg);
	}

	.about-highlights {
		flex-direction: column;
		padding: var(--spacing-md) 0;
	}

	.about-highlight-item {
		min-width: 100%;
	}

	.about-img-1,
	.about-img-2,
	.about-img-3 {
		min-height: calc(var(--section-height-sm) * 0.55);
	}

	.about-quote-block {
		padding: var(--spacing-lg);
	}

	.about-stats {
		flex-direction: column;
		padding: var(--spacing-lg);
		gap: var(--spacing-lg);
	}

	/* Hero adjustments */
	.hero {
		min-height: calc(var(--section-height-sm) * 1);
		padding: var(--spacing-xl) var(--spacing-sm);
		background-attachment: scroll;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
		margin-bottom: var(--spacing-lg);
	}

	.hero-cta-button {
		width: 100%;
		justify-content: center;
		padding: var(--spacing-md) var(--spacing-lg);
		font-size: 1.1rem;
	}

	/* Contact Form adjustments */
	.contact-form-section {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.contact-form-wrapper {
		padding: var(--spacing-sm);
		border-radius: calc(var(--border-radius) * 2);
	}

	.contact-form-iframe {
		min-height: 850px;
	}

	/* Mobile footer styles */
	.footer-top {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.footer-col {
		border-bottom: var(--border-width) solid var(--overlay-white-10);
	}

	.footer-header {
		cursor: pointer;
		padding: var(--spacing-sm) 0;
		user-select: none;
	}

	.footer-chevron {
		display: block;
	}

	.footer-content {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
	}

	.footer-col.footer-open .footer-content {
		max-height: var(--section-height-md);
		opacity: 1;
		margin-bottom: var(--spacing-sm);
	}

	.footer-col.footer-open .footer-chevron {
		transform: rotate(180deg);
	}
}

/* Desktop view - hide menu icon and mobile nav */
@media (min-width: 768px) {
	#menu-icon {
		display: none;
	}

	.mobile-nav {
		display: none;
	}
}
