/*
Theme Name: JMSB Corporate
Text Domain: jmsb-corporate
Description: Bilingual professional corporate theme for JMSB Consultancy
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* Responsive refinements: desktop layout remains unchanged. */
@media (max-width: 767px) {
	html { -webkit-text-size-adjust: 100%; }
	body { overflow-x: hidden; }
	header > div {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		padding-top: 1rem !important;
		padding-bottom: 1rem !important;
		gap: .75rem !important;
		flex-wrap: wrap;
	}
	header nav {
		width: 100%;
		gap: .35rem .9rem !important;
		justify-content: flex-start !important;
	}
	header nav a, header nav strong {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	header nav span { display: none; }
	main h1 {
		font-size: clamp(2.25rem, 11vw, 3rem) !important;
		line-height: 1.08 !important;
		overflow-wrap: anywhere;
	}
	main h2 { line-height: 1.2; }
	main section {
		padding-left: 0;
		padding-right: 0;
	}
	main input, main textarea, main select {
		font-size: 16px !important;
		max-width: 100%;
	}
	main button, main input[type="submit"] {
		min-height: 48px;
	}
	footer > div {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		flex-direction: column;
		align-items: flex-start;
	}
	footer .text-right { text-align: left !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	header > div {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
		gap: 1.5rem !important;
	}
	header nav { gap: 1rem !important; }
	header nav a, header nav strong {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	main input, main textarea, main select { font-size: 16px !important; }
}
