/*
Theme Name: GABÁN
Theme URI: https://www.pqgaban.com
Author: Productos Químicos GABÁN
Description: Custom theme for Productos Químicos GABÁN — preserves the static-site visual design backed by WordPress CMS.
Version: 1.0.0
License: Proprietary
Text Domain: gaban
*/

/* ============================================
   GABÁN — Productos Químicos
   Brand redesign — matches company PSD mockups.
   Type: Jost (self-hosted, Avenir Next substitute).
   ============================================ */

/* ---------- Jost (self-hosted woff2, latin) ---------- */
@font-face { font-family:'Jost'; font-style:normal; font-weight:200; font-display:swap; src:url('../fonts/jost-200.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/jost-300.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/jost-400.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/jost-500.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/jost-600.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/jost-700.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/jost-800.woff2') format('woff2'); }

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F4FAEE;   /* pale green tint */
  --bg-alt: #F9F9F9;         /* paper grey */
  --bg-card: #FFFFFF;

  --text-primary: #2E2E2E;
  --text-secondary: #676767;
  --text-muted: #9A9A9A;

  /* GABÁN brand palette (sampled from PSDs) */
  --green: #7BB342;          /* primary leaf green (wordmark fill) */
  --green-bar: #8EB761;      /* utility bar / muted sage */
  --green-lime: #A8D45E;     /* swoosh / lime accent */
  --green-pale: #CDE6AB;     /* blob / soft fills */
  --green-deep: #5A9230;     /* text on light / hover */
  --green-tint: #E8F3D8;
  --orange: #ED8B3A;         /* script "efectiva" accent */
  --gold: #FCB333;           /* punch headline words */
  --blue: #26C4F4;
  --blue-deep: #05509F;
  --ink: #444444;
  --ink-soft: #676767;

  --accent: #7BB342;         /* legacy alias → brand green */
  --accent-light: #E8F3D8;
  --accent-dark: #5A9230;

  --border: #E6E8EA;
  --border-light: #F1F2F3;
  --footer-bg: #E7ECF0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-soft: 0 16px 50px rgba(123,179,66,0.12);

  --font-display: 'Jost', sans-serif;
  --font-body: 'Jost', sans-serif;

  --utility-height: 38px;
  --nav-height: 78px;
  --container-max: 1320px;
  --container-padding: clamp(1.25rem, 4vw, 3rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --duration-fast: 0.4s;
  --duration-medium: 0.75s;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

::selection {
  background: var(--accent);
  color: white;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader-stork-img {
  width: 120px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.8);
}

.preloader-text {
  display: flex;
  gap: 0.15em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.preloader-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

/* ---------- Components moved to assets/css/brand.css (brand redesign 2026-06-04) ---------- */
