/* UFH Supply — Global Styles (radius-0, utility-first, no Tailwind) */
:root {
  --color-brand: #e47b02;      /* orange */
  --color-brand-dark: #c86500;
  --color-brand-light: #f5a62e;
  --color-green: #27ae60;
  --color-green-dark: #1e8a49;
  --color-bg: #ffffff;
  --color-surface: #f8f8f8;
  --color-border: #e0e0e0;
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-link: #e47b02;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --spacing: 1rem;
  --header-h: 64px;
  --eco-bar-h: 40px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-link); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--color-brand-dark); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; border-radius: 0; }

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

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--spacing); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-text);
  color: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--spacing);
  flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.logo:hover { color: var(--color-brand-light); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }

.main-nav ul { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.main-nav a { color: #fff; font-weight: 500; font-size: 0.875rem; padding: 0.25rem 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-brand); transition: width 0.2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a:hover { color: var(--color-brand-light); text-decoration: none; }

.cta-trade { background: var(--color-brand); color: #fff !important; padding: 0.375rem 1rem !important; border-radius: 0; font-weight: 600; }
.cta-trade:hover { background: var(--color-brand-dark); color: #fff !important; text-decoration: none; }
.cta-trade::after { display: none; }

.header-contact { display: flex; gap: 1rem; align-items: center; font-size: 0.875rem; }
.header-contact a { color: #fff; white-space: nowrap; }
.header-contact a:hover { color: var(--color-brand-light); text-decoration: none; }
.header-contact .phone span, .header-contact .email span { display: none; }
@media (min-width: 768px) { .header-contact .phone span, .header-contact .email span { display: inline; } }

/* Ecosystem Bar */
.ecosystem-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
}
.ecosystem-bar .container { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.eco-label { color: var(--color-text-muted); font-weight: 500; }
.eco-link { color: var(--color-brand); font-weight: 600; padding: 0.25rem 0.5rem; border: 1px solid var(--color-brand); border-radius: 0; }
.eco-link:hover { background: var(--color-brand); color: #fff; text-decoration: none; }

/* Main Content */
main { flex: 1; padding: 2rem 0; }

.page-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; color: var(--color-text); margin-bottom: 0.5rem; }
.page-header .lead { font-size: 1.125rem; color: var(--color-text-muted); max-width: 70ch; }

/* Cards */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid.cols-4, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; } }

.card { background: var(--color-surface); border: 1px solid var(--color-border); padding: 1.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--color-brand); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.card h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.5rem; }
.card .meta { font-size: 0.8125rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.card .btn { display: inline-block; margin-top: 0.75rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; font-weight: 600; font-size: 0.875rem; border-radius: 0; border: 2px solid transparent; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.btn-primary { background: var(--color-brand); color: #fff; border-color: var(--color-brand); }
.btn-primary:hover { background: var(--color-brand-dark); border-color: var(--color-brand-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn-secondary:hover { background: var(--color-brand); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-brand); color: var(--color-brand); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-text-muted); border-color: transparent; }
.btn-ghost:hover { color: var(--color-brand); text-decoration: underline; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 500; margin-bottom: 0.375rem; font-size: 0.875rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--color-border); background: #fff; color: var(--color-text); font-family: inherit; font-size: 1rem; border-radius: 0; transition: border-color 0.15s, box-shadow 0.15s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; gap: 1rem; }
.form-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr; } }

/* Tables */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { background: var(--color-surface); font-weight: 600; color: var(--color-text); white-space: nowrap; }
tr:hover td { background: var(--color-surface); }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.8125rem; color: var(--color-text-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-brand); }
.breadcrumb .sep { color: var(--color-border); }

/* Lead Capture Banner */
.lead-banner { background: var(--color-text); color: #fff; padding: 2rem; margin: 2rem 0; }
.lead-banner h2 { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.5rem; }
.lead-banner .btn { margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--color-text); color: #fff; padding: 3rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr repeat(3, 1fr); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.5rem; }
.footer-brand p { color: #ccc; font-size: 0.875rem; margin-bottom: 1rem; }
.footer-brand address { font-style: normal; color: #999; font-size: 0.8125rem; line-height: 1.7; }
.footer-nav h4 { font-weight: 600; margin-bottom: 0.75rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: #ccc; font-size: 0.875rem; }
.footer-nav a:hover { color: var(--color-brand-light); text-decoration: none; }
.footer-bottom { border-top: 1px solid #333; margin-top: 2rem; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8125rem; color: #888; }
.legal-links a { color: #888; margin-left: 1rem; }
.legal-links a:hover { color: var(--color-brand-light); }

/* Schema / Structured Data Helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }