/*
Theme Name: GCI Corporate
Theme URI: https://www.groupecanal.ca
Author: Groupe CANAL International Inc.
Author URI: https://www.groupecanal.ca
Description: Corporate export website for EVOO, fish and seafood, edible oils, pulses and grains, and caviar. Includes quotation management, email notifications, WhatsApp and optional Vtiger synchronization.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 8.1
Text Domain: gci-corporate
*/

:root {
  --gci-ink: #0a1813;
  --gci-green: #0b3d2d;
  --gci-green-2: #116247;
  --gci-gold: #c99a3b;
  --gci-gold-soft: #e6cb8a;
  --gci-cream: #f7f3e8;
  --gci-white: #fff;
  --gci-muted: #5d6d65;
  --gci-line: rgba(201, 154, 59, .28);
  --gci-shadow: 0 24px 70px rgba(4, 23, 16, .14);
  --gci-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gci-ink);
  background: #fbfaf6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
body.gci-modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.gci-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.gci-narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.gci-section { padding: 92px 0; }
.gci-section--cream { background: var(--gci-cream); }
.gci-section--dark { color: var(--gci-white); background: var(--gci-ink); }
.gci-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gci-gold);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.gci-eyebrow::before { width: 34px; height: 1px; content: ""; background: currentColor; }
h1, h2, h3 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 7vw, 6.6rem); font-weight: 500; letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4vw, 4.1rem); font-weight: 500; letter-spacing: -.035em; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 20px; }
.gci-lead { max-width: 750px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.gci-muted { color: var(--gci-muted); }
.gci-center { text-align: center; }

.gci-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid var(--gci-gold);
  border-radius: 999px;
  color: var(--gci-ink);
  background: var(--gci-gold);
  font-size: .87rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gci-button:hover, .gci-button:focus-visible { color: #fff; background: var(--gci-green-2); border-color: var(--gci-green-2); transform: translateY(-2px); }
.gci-button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }
.gci-button--ghost:hover { color: var(--gci-ink); background: #fff; border-color: #fff; }
.gci-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.gci-topbar { padding: 8px 0; color: rgba(255,255,255,.82); background: #06110d; font-size: .78rem; }
.gci-topbar__inner { display: flex; justify-content: space-between; gap: 20px; }
.gci-topbar a:hover { color: var(--gci-gold-soft); }
.gci-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(255,255,255,.09); color: #fff; background: rgba(10,24,19,.94); backdrop-filter: blur(16px); }
.gci-header__inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 26px; }
.gci-brand { display: inline-flex; align-items: center; gap: 12px; }
.gci-brand__mark { display: grid; width: 48px; aspect-ratio: 1; place-items: center; border: 1px solid var(--gci-gold); border-radius: 50%; color: var(--gci-gold-soft); font-family: Georgia, serif; font-size: 1.25rem; }
.gci-brand__name { display: grid; font-size: .86rem; font-weight: 800; letter-spacing: .13em; line-height: 1.25; text-transform: uppercase; }
.gci-brand__name small { color: var(--gci-gold-soft); font-size: .58rem; font-weight: 600; letter-spacing: .2em; }
.custom-logo { width: auto; max-height: 60px; }
.gci-nav { display: flex; align-items: center; gap: 4px; }
.gci-nav a { padding: 11px 10px; border-radius: 8px; color: rgba(255,255,255,.84); font-size: .81rem; font-weight: 700; }
.gci-nav a:hover, .gci-nav .current-menu-item > a { color: var(--gci-gold-soft); background: rgba(255,255,255,.06); }
.gci-nav > li { margin: 0; list-style: none; }
.gci-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: transparent; }

.gci-hero {
  position: relative;
  display: grid;
  min-height: 700px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(201,154,59,.32), transparent 30%),
    linear-gradient(115deg, rgba(4,20,14,.98) 0%, rgba(7,55,38,.96) 58%, rgba(14,79,54,.88) 100%);
}
.gci-hero::after { position: absolute; right: -8vw; bottom: -34vw; width: 70vw; height: 70vw; border: 1px solid rgba(230,203,138,.16); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(230,203,138,.035), 0 0 0 140px rgba(230,203,138,.025); }
.gci-hero__inner { position: relative; z-index: 1; padding: 110px 0; }
.gci-hero h1 { max-width: 940px; }
.gci-hero h1 em { color: var(--gci-gold-soft); font-style: normal; }
.gci-hero__stats { display: grid; max-width: 820px; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: rgba(255,255,255,.13); }
.gci-stat { padding: 24px; background: rgba(7,31,23,.72); }
.gci-stat strong { display: block; color: var(--gci-gold-soft); font-family: Georgia, serif; font-size: 1.7rem; }
.gci-stat span { color: rgba(255,255,255,.66); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }

.gci-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; }
.gci-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0; margin: 26px 0 0; list-style: none; }
.gci-checks li { position: relative; padding: 16px 16px 16px 44px; border: 1px solid var(--gci-line); border-radius: 12px; background: rgba(255,255,255,.72); font-weight: 700; }
.gci-checks li::before { position: absolute; left: 17px; color: var(--gci-green-2); content: "✓"; font-weight: 900; }

.gci-product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 44px; }
.gci-product-card {
  position: relative;
  display: flex;
  min-height: 345px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--gci-radius);
  color: #fff;
  background: var(--card-bg, linear-gradient(145deg,#0e4b37,#061c14));
  box-shadow: var(--gci-shadow);
}
.gci-product-card:nth-child(1), .gci-product-card:nth-child(2) { grid-column: span 6; }
.gci-product-card:nth-child(n+3) { grid-column: span 4; }
.gci-product-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 15%, rgba(3,16,11,.92)); }
.gci-product-card::after { position: absolute; top: -90px; right: -70px; width: 250px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; }
.gci-product-card__content { position: relative; z-index: 1; }
.gci-product-card small { color: var(--gci-gold-soft); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gci-product-card h3 { margin: 10px 0 8px; font-size: clamp(1.65rem, 3vw, 2.45rem); }
.gci-product-card p { max-width: 500px; color: rgba(255,255,255,.71); font-size: .92rem; }
.gci-card-link { display: inline-flex; gap: 9px; align-items: center; color: var(--gci-gold-soft); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.gci-band { padding: 34px 0; color: #fff; background: var(--gci-green); }
.gci-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.gci-band h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.gci-band p { margin: 4px 0 0; color: rgba(255,255,255,.72); }

.gci-page-hero { padding: 112px 0 90px; color: #fff; background: linear-gradient(130deg, #061912, #0b553b); }
.gci-page-hero h1 { max-width: 900px; font-size: clamp(2.6rem, 6vw, 5.7rem); }
.gci-breadcrumb { margin-bottom: 26px; color: rgba(255,255,255,.58); font-size: .82rem; }
.gci-breadcrumb a { color: var(--gci-gold-soft); }
.gci-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.gci-feature { padding: 28px; border: 1px solid var(--gci-line); border-radius: 16px; background: #fff; }
.gci-feature__number { color: var(--gci-gold); font-family: Georgia, serif; font-size: 2rem; }
.gci-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--gci-line); border-radius: 18px; background: #fff; }
.gci-spec { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--gci-line); }
.gci-spec:nth-child(odd) { border-right: 1px solid var(--gci-line); }
.gci-spec span { color: var(--gci-muted); }
.gci-spec strong { text-align: right; }
.gci-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gci-list { padding-left: 20px; }
.gci-list li { margin-bottom: 10px; }

.gci-footer { padding: 70px 0 28px; color: rgba(255,255,255,.72); background: #050e0b; }
.gci-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.gci-footer h3, .gci-footer h4 { color: #fff; }
.gci-footer h4 { margin: 0 0 18px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.gci-footer ul { padding: 0; margin: 0; list-style: none; }
.gci-footer li { margin-bottom: 8px; }
.gci-footer a:hover { color: var(--gci-gold-soft); }
.gci-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 27px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

.gci-whatsapp { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: inline-flex; min-width: 60px; min-height: 60px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 999px; color: #fff; background: #20b75a; box-shadow: 0 16px 40px rgba(2,68,27,.28); font-size: .83rem; font-weight: 800; }
.gci-whatsapp span { margin-left: 9px; }

.gci-modal { position: fixed; z-index: 100; inset: 0; display: none; overflow-y: auto; padding: 30px 20px; background: rgba(3,12,9,.78); backdrop-filter: blur(8px); }
.gci-modal.is-open { display: grid; place-items: center; }
.gci-modal__dialog { position: relative; width: min(760px, 100%); padding: 38px; border-radius: 22px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.gci-modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--gci-cream); font-size: 1.4rem; }
.gci-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gci-field { display: grid; gap: 7px; }
.gci-field--full { grid-column: 1 / -1; }
.gci-field label { font-size: .8rem; font-weight: 800; }
.gci-field input, .gci-field select, .gci-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cad2ce; border-radius: 10px; color: var(--gci-ink); background: #fff; }
.gci-field input:focus, .gci-field select:focus, .gci-field textarea:focus { outline: 3px solid rgba(201,154,59,.2); border-color: var(--gci-gold); }
.gci-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }
.gci-form-status { min-height: 26px; margin: 15px 0 0; font-size: .9rem; font-weight: 700; }
.gci-form-status.is-success { color: #087539; }
.gci-form-status.is-error { color: #a22b2b; }

.gci-content { padding: 70px 0; }
.gci-content > * { max-width: 820px; }
.gci-content img { border-radius: 16px; }

@media (max-width: 980px) {
  .gci-menu-toggle { display: inline-grid; place-items: center; }
  .gci-nav { position: absolute; top: 100%; right: 20px; left: 20px; display: none; align-items: stretch; flex-direction: column; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #071a13; box-shadow: var(--gci-shadow); }
  .gci-nav.is-open { display: flex; }
  .gci-nav a { padding: 13px; }
  .gci-intro-grid, .gci-two-col { grid-template-columns: 1fr; gap: 35px; }
  .gci-product-card:nth-child(n) { grid-column: span 6; }
  .gci-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gci-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .gci-container, .gci-narrow { width: min(100% - 28px, 1180px); }
  .gci-section { padding: 66px 0; }
  .gci-topbar { display: none; }
  .gci-header__inner { min-height: 72px; }
  .gci-brand__name { font-size: .72rem; }
  .gci-hero { min-height: 620px; }
  .gci-hero__inner { padding: 82px 0; }
  .gci-hero__stats { grid-template-columns: 1fr; }
  .gci-product-grid { grid-template-columns: 1fr; }
  .gci-product-card:nth-child(n) { min-height: 300px; grid-column: auto; }
  .gci-feature-grid, .gci-checks, .gci-spec-grid, .gci-form-grid, .gci-footer__grid { grid-template-columns: 1fr; }
  .gci-spec:nth-child(odd) { border-right: 0; }
  .gci-band__inner, .gci-footer__bottom { align-items: flex-start; flex-direction: column; }
  .gci-modal__dialog { padding: 30px 20px; }
  .gci-whatsapp span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
