/* Brasil Flores — Base CSS
   Variables, reset, tipografía, utilidades */

/* ===========================
   FONTS (self-hosted WOFF2, variable)
   =========================== */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/playfair-display.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/playfair-display.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfair-display.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/playfair-display-italic.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/playfair-display-italic.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plus-jakarta-sans.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plus-jakarta-sans.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans.woff2') format('woff2'); }

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
	/* Palette — Botanic greens */
	--bf-green-950: #071b11;
	--bf-green-900: #0d3320;
	--bf-green-800: #143e2b;
	--bf-green-700: #1b4d37;
	--bf-green-600: #236146;
	--bf-green-500: #2e7d5a;
	--bf-green-400: #439e76;
	--bf-green-300: #439e76;
	--bf-green-200: #a3cfbb;
	--bf-green-100: #d7ece2;
	--bf-green-50:  #f0f7f4;

	--bf-neon:    #5cde97;
	--bf-orange:  #FF8800;

	/* Palette — Warm / accent */
	--bf-cream:   #faf8f5;
	--bf-gold:    #c5a059;
	--bf-gold-dark: #b38d43;

	/* Neutral */
	--bf-black:   #0b1f16;
	--bf-gray-900: #182019;
	--bf-gray-800: #2c322e;
	--bf-gray-700: #414843;
	--bf-gray-600: #6e7b70;
	--bf-gray-500: #8A8A8A;
	--bf-gray-400: #AAAAAA;
	--bf-gray-300: #C0C0C0;
	--bf-gray-200: #E7E7E7;
	--bf-gray-100: #F0F0F0;
	--bf-white:   #FFFFFF;

	/* Semantic */
	--bf-surface: #f6fbf5;
	--bf-bg:       var(--bf-surface);
	--bf-card:     var(--bf-white);
	--bf-border:   #e3e8e3;
	--bf-text:     #182019;
	--bf-text-muted: var(--bf-gray-600);
	--bf-primary:  var(--bf-green-700);
	--bf-accent:   var(--bf-gold);
	--bf-dark:     var(--bf-green-950);

	/* Typography */
	--bf-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--bf-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--bf-font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--bf-text-xs:  0.8125rem;
	--bf-text-sm:  0.875rem;
	--bf-text-base: 1rem;
	--bf-text-lg:  1.125rem;
	--bf-text-xl:  1.25rem;
	--bf-text-2xl: 1.5rem;
	--bf-text-3xl: 1.875rem;
	--bf-text-4xl: 2.25rem;
	--bf-text-5xl: 3rem;

	--bf-leading-tight: 1.15;
	--bf-leading-normal: 1.5;
	--bf-leading-relaxed: 1.65;

	--bf-weight-normal: 400;
	--bf-weight-medium: 500;
	--bf-weight-semibold: 600;
	--bf-weight-bold: 700;

	/* Spacing */
	--bf-space-1: 0.25rem;
	--bf-space-2: 0.5rem;
	--bf-space-3: 0.75rem;
	--bf-space-4: 1rem;
	--bf-space-5: 1.25rem;
	--bf-space-6: 1.5rem;
	--bf-space-8: 2rem;
	--bf-space-10: 2.5rem;
	--bf-space-12: 3rem;
	--bf-space-16: 4rem;
	--bf-space-20: 5rem;
	--bf-space-24: 6rem;

	/* Border Radius */
	--bf-radius-sm: 8px;
	--bf-radius-md: 12px;
	--bf-radius-lg: 16px;
	--bf-radius-xl: 20px;
	--bf-radius-2xl: 24px;
	--bf-radius-full: 9999px;

	/* Shadows */
	--bf-shadow-sm: 0 1px 3px rgba(13, 51, 32, 0.06);
	--bf-shadow-md: 0 6px 16px rgba(13, 51, 32, 0.08);
	--bf-shadow-lg: 0 12px 28px rgba(13, 51, 32, 0.12);
	--bf-shadow-xl: 0 16px 40px rgba(13, 51, 32, 0.16);

	/* Transitions */
	--bf-transition-fast: 150ms ease;
	--bf-transition-base: 250ms ease;
	--bf-transition-slow: 350ms ease;

	/* Container */
	--bf-container: 1280px;
	--bf-gutter: 1rem;

	/* Header */
	--bf-header-height: 0px;
}

/* ===========================
   RESET / NORMALIZE
   =========================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: var(--bf-font-body);
	font-size: var(--bf-text-base);
	font-weight: var(--bf-weight-normal);
	line-height: var(--bf-leading-normal);
	color: var(--bf-text);
	background-color: var(--bf-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

input,
select,
textarea {
	font: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bf-font-heading);
	font-weight: var(--bf-weight-semibold);
	line-height: var(--bf-leading-tight);
	color: var(--bf-black);
}

/* Mobile-first editorial scale */
h1 { font-size: clamp(2.375rem, 1.7rem + 3.2vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.7rem); }
h4 { font-size: var(--bf-text-xl); }
h5 { font-size: var(--bf-text-lg); }
h6 { font-size: var(--bf-text-base); }

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

/* Screen reader only */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Focus visible */
:focus-visible {
	outline: 2px solid var(--bf-green-600);
	outline-offset: 2px;
	border-radius: var(--bf-radius-sm);
}

/* ===========================
   TYPOGRAPHY UTILITIES
   =========================== */
.bf-heading-font {
	font-family: var(--bf-font-heading);
}

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
