/* ==========================================================================
   Base — reset, design tokens (custom properties), self-hosted fonts.
   ========================================================================== */

/* Inter — variable font, single file covers 400–700 */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter/inter-var.woff2') format('woff2');
}

/* Poppins — static instances, one file per weight used */
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/poppins/poppins-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/poppins/poppins-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/poppins/poppins-800.woff2') format('woff2');
}

:root {
	/* Brand colors — pixel-sampled from assets/img/logo.png (mid-tone of each
	   icon square's gradient, avoiding the glyph linework). */
	--color-brand-blue: #146DAB;   /* Alimentación Empresarial */
	--color-brand-red: #DE3515;    /* Renta de Vehículos */
	--color-brand-gold: #F2A519;   /* Servicios de Aseo */
	--color-brand-green: #22992F;  /* Renta de Apartamentos */

	--color-primary: var(--color-brand-blue);
	--color-primary-dark: #14588f;

	--color-ink: #1F2430;
	--color-bg: #FFFFFF;
	--color-surface: #F7F8FA;
	--color-surface-dark: #14181F;
	--color-border: #E4E7EC;
	--color-muted: #5B6370;
	--color-on-dark: #F4F6F8;
	--color-focus: #0B4F8A;
	--color-placeholder-bg: #FFF6E5;
	--color-placeholder-border: #E9C46A;

	--font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

	--space-1: .25rem;
	--space-2: .5rem;
	--space-3: .75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 5rem;
	--space-10: 6rem;

	--container-max: 1200px;
	--radius-card: .75rem;
	--radius-control: .5rem;
	--shadow-card: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .08);

	color-scheme: light;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-ink);
	background: var(--color-bg);
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	line-height: 1.2;
	margin: 0 0 var(--space-4);
	font-weight: 700;
}

h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--space-4); }

a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
a:hover { color: var(--color-primary-dark); }

img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	margin: 0 0 var(--space-4);
	padding-left: 1.25em;
}

button, input, select, textarea {
	font-family: inherit;
	font-size: 1rem;
}

:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

.container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-4);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Explicit visual treatment for un-filled placeholder content (contact info,
   "coming soon" blocks) so it can never be mistaken for real, published data. */
.is-placeholder {
	background: var(--color-placeholder-bg);
	border: 1px dashed var(--color-placeholder-border);
	border-radius: var(--radius-control);
	padding: var(--space-2) var(--space-3);
	color: #7a5b0a;
	font-style: italic;
}
