/*
Theme Name:   UniPosh Ah Child
Theme URI:    https://uniposh-ah.com
Description:  Child theme for UniPosh Ah, built on Beaver Builder Theme. Light design system: white/grey background, official brand navy and gold, IBM Plex Sans typography, zero border-radius throughout.
Author:       Ranks On Fire LLC
Template:     bb-theme
Version:      1.0.5
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Official brand colors confirmed via UniPosh Ah Pantone breakdown.
   Do not change these hex values without checking with the client first.
   ========================================================================== */

:root {
  /* Brand, confirmed */
  --up-navy: #1F3A5F;
  --up-navy-dark: #16283F;
  --up-gold: #D8B07A;
  --up-grey: #F2F2F2;

  /* Neutrals, recommended (not officially specified, needed for functional UI) */
  --up-white: #FFFFFF;
  --up-text: #1A1A1A;
  --up-text-muted: rgba(26, 26, 26, 0.65);
  --up-divider: rgba(26, 26, 26, 0.14);

  /* Hero background wash, used site-wide on every hero section */
  --up-hero-tint: rgba(199, 172, 112, 0.05);

  /* Typography */
  --up-font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale, matches the approved prototype */
  --up-space-2: 8px;
  --up-space-3: 12px;
  --up-space-4: 16px;
  --up-space-6: 24px;
  --up-space-8: 40px;

  /* Radius: locked at zero everywhere. This is a deliberate brand decision, hard edges throughout. */
  --up-radius: 0;
}

/* ==========================================================================
   2. BASE ELEMENTS
   ========================================================================== */

body,
.fl-builder-content {
  font-family: var(--up-font);
  color: var(--up-text);
  background-color: var(--up-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.fl-heading {
  font-family: var(--up-font);
  font-weight: 700;
  color: var(--up-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.08; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
h3 { font-size: 19px; font-weight: 600; }

p, .fl-rich-text, body {
  font-weight: 400;
  line-height: 1.6;
  font-size: 18px;
}

a {
  color: var(--up-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--up-navy-dark);
}

/* Eyebrow / kicker label pattern used throughout the prototype */
.up-kicker {
  font-family: var(--up-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--up-gold);
  margin-bottom: var(--up-space-2);
}

/* ==========================================================================
   3. ZERO BORDER RADIUS, GLOBAL
   ========================================================================== */

*,
*::before,
*::after {
  border-radius: 0 !important;
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.fl-button,
.up-btn,
.up-btn-primary,
.up-btn-secondary {
  font-family: var(--up-font);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 0;
  border: 1.5px solid transparent;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  display: inline-block;
  text-decoration: none;
}

.fl-button,
.up-btn-primary {
  background-color: var(--up-navy);
  color: var(--up-white) !important;
  border-color: var(--up-navy);
}
.fl-button:hover,
.up-btn-primary:hover {
  background-color: var(--up-navy-dark);
  color: var(--up-white) !important;
  opacity: 1;
}

.up-btn-secondary {
  background-color: transparent;
  color: var(--up-navy) !important;
  border-color: var(--up-navy);
}
.up-btn-secondary:hover {
  background-color: var(--up-navy);
  color: var(--up-white) !important;
}

/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */

.fl-page-header,
#masthead {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--up-divider);
}

.fl-page-nav a,
.fl-nav-wrap a {
  font-family: var(--up-font);
  font-weight: 500;
  font-size: 14px;
  color: var(--up-text);
  opacity: 0.85;
}
.fl-page-nav a:hover,
.fl-nav-wrap a:hover {
  opacity: 1;
  color: var(--up-navy);
}

.up-nav-brand {
  font-family: var(--up-font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--up-text);
}

/* ==========================================================================
   6. CARDS / PRODUCT TILES
   ========================================================================== */

.up-card {
  background-color: var(--up-white);
  border: 1.5px solid var(--up-divider);
  border-radius: 0;
  overflow: hidden;
}

.up-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.up-card h3 {
  margin: var(--up-space-3) 0 4px;
  font-size: 16px;
}

.up-card p {
  margin: 0;
  font-size: 13px;
  color: var(--up-text-muted);
}

/* ==========================================================================
   7. SECTION BACKGROUNDS
   ========================================================================== */

.up-band-soft {
  background-color: var(--up-grey);
}

.up-band-accent {
  background-color: var(--up-navy);
  color: var(--up-white);
}
.up-band-accent h2,
.up-band-accent p {
  color: var(--up-white);
}

.up-hero-section,
.up-page-hero {
  background-color: var(--up-hero-tint);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.fl-page-footer,
#colophon {
  background-color: var(--up-grey);
  border-top: 1px solid var(--up-divider);
}

.fl-page-footer h6,
.up-footer h6 {
  font-family: var(--up-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--up-text-muted);
}

/* ==========================================================================
   9. FORM FIELDS (RFQ, Contact, Newsletter)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.fl-input {
  font-family: var(--up-font);
  border: 1.5px solid var(--up-divider);
  border-radius: 0;
  padding: 13px 16px;
  background-color: var(--up-white);
  color: var(--up-text);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--up-navy);
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  h1 { font-size: clamp(32px, 9vw, 46px); }
  .fl-page-nav { display: none; }
}

/* ==========================================================================
   11. LAYOUT SAFETY NETS
   ========================================================================== */

html, body {
  overflow-x: hidden;
}

.fl-content-full.container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}