/* Open Sans, hosted on our own server (no connection to Google). Licence: SIL Open Font License. */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/open-sans-latin-ext-800.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/open-sans-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* =========================================================
   Relix Trading: site styles
   Tokens follow the Relix brand spec.
   ========================================================= */

:root {
  --navy: #000F3B;
  --blue: #125AA3;
  --blue-light: #4C9BE0;
  --gold: #DEC868;
  --gold-deep: #C0A83F;
  --sand: #DFDBC9;
  --white: #FFFFFF;
  --text: #444444;
  --text-strong: #333333;
  --text-on-navy: rgba(255, 255, 255, 0.78);
  --line-on-navy: rgba(255, 255, 255, 0.14);
  --input-border: #B9B49C;
  --error: #EF4444;

  --g-pc:  linear-gradient(135deg, #125AA3 0%, #000F3B 100%);
  --g-cos: linear-gradient(135deg, #DEC868 0%, #125AA3 100%);
  --g-hc:  linear-gradient(135deg, #000F3B 0%, #125AA3 100%);
  --g-sc:  linear-gradient(135deg, #125AA3 0%, #DEC868 100%);
  --g-bg:  linear-gradient(135deg, #000F3B 0%, #DEC868 100%);

  --font: "Open Sans", system-ui, sans-serif;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-lift: 0 18px 36px rgba(0, 15, 59, 0.25);

  --side: 96px;
  --section: 112px;
  --max: 1248px;
}

@media (max-width: 1100px) { :root { --side: 48px; --section: 96px; } }
@media (max-width: 720px)  { :root { --side: 20px; --section: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; color: var(--navy); }
p { margin: 0; }
button { font: inherit; }

.wrap { max-width: calc(var(--max) + var(--side) * 2); margin: 0 auto; padding: 0 var(--side); }
.section { padding: var(--section) 0; }

h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow-gold { color: var(--gold); }
/* small line under a big heading (e.g. "Our range" → "Five categories. One supplier.") */
.sub-eyebrow {
  margin-top: 14px; font-size: 14px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); line-height: 1.5; max-width: 60ch;
}
.how .sub-eyebrow { color: var(--gold); }
.about-body h2 { margin-bottom: 0 !important; }
.about-body .sub-eyebrow { margin-bottom: 28px; }
.who .who-grid { margin-top: 40px; }
.eyebrow-deep { color: var(--gold-deep); }
.section-lead { font-size: 19px; color: var(--text-strong); max-width: 40ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px;
  border-radius: var(--r-sm);
  font-size: 16px; font-weight: 800; line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .cat:focus-visible, .lang-btn:focus-visible, .lang-menu button:focus-visible, .modal-close:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e8d47c; box-shadow: 0 10px 24px rgba(222, 200, 104, .25); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #0f4f90; }
.btn-sm { padding: 12px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover .arrow, .cat:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 15, 59, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-on-navy);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav > a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px;
  opacity: .85; transition: opacity .2s;
}
.nav > a:not(.btn):hover { opacity: 1; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; color: var(--white); cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
  padding: 8px 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  transition: border-color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--white); }
.lang-btn svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn .chev { width: 14px; height: 14px; stroke-width: 2; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  list-style: none; margin: 0; padding: 6px; min-width: 180px;
  background: var(--white); border-radius: var(--r-sm);
  box-shadow: 0 18px 36px rgba(0, 15, 59, .3);
}
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  padding: 9px 12px; font-size: 15px; font-weight: 600; color: var(--text-strong);
}
.lang-menu button:hover { background: var(--sand); }
.lang-menu button[aria-current="true"] { color: var(--blue); font-weight: 800; }
.lang-menu button[aria-current="true"] span:first-child::after { content: " ✓"; }

/* Flags (drawn as small inline SVGs so they show on every device, including Windows) */
.flag {
  flex: none; display: inline-block; width: 22px; height: 15px; border-radius: 3px;
  background: center / cover no-repeat; box-shadow: 0 0 0 1px rgba(0, 15, 59, .12);
}
.lang-btn .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.flag-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.flag-nl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3'%3E%3Cpath fill='%23AE1C28' d='M0 0h3v1H0z'/%3E%3Cpath fill='%23fff' d='M0 1h3v1H0z'/%3E%3Cpath fill='%2321468B' d='M0 2h3v1H0z'/%3E%3C/svg%3E"); }
.flag-de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3'%3E%3Cpath fill='%23000' d='M0 0h3v1H0z'/%3E%3Cpath fill='%23DD0000' d='M0 1h3v1H0z'/%3E%3Cpath fill='%23FFCE00' d='M0 2h3v1H0z'/%3E%3C/svg%3E"); }
.flag-fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3'%3E%3Cpath fill='%23002395' d='M0 0h1v3H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v3H1z'/%3E%3Cpath fill='%23ED2939' d='M2 0h1v3H2z'/%3E%3C/svg%3E"); }
.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath fill='%23AA151B' d='M0 0h4v4H0z'/%3E%3Cpath fill='%23F1BF00' d='M0 1h4v2H0z'/%3E%3C/svg%3E"); }
.flag-it { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3'%3E%3Cpath fill='%23009246' d='M0 0h1v3H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v3H1z'/%3E%3Cpath fill='%23CE2B37' d='M2 0h1v3H2z'/%3E%3C/svg%3E"); }
.flag-pl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Cpath fill='%23fff' d='M0 0h2v1H0z'/%3E%3Cpath fill='%23DC143C' d='M0 1h2v1H0z'/%3E%3C/svg%3E"); }
.flag-ro { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3'%3E%3Cpath fill='%23002B7F' d='M0 0h1v3H0z'/%3E%3Cpath fill='%23FCD116' d='M1 0h1v3H1z'/%3E%3Cpath fill='%23CE1126' d='M2 0h1v3H2z'/%3E%3C/svg%3E"); }
.flag-lt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3'%3E%3Cpath fill='%23FDB913' d='M0 0h3v1H0z'/%3E%3Cpath fill='%23006A44' d='M0 1h3v1H0z'/%3E%3Cpath fill='%23C1272D' d='M0 2h3v1H0z'/%3E%3C/svg%3E"); }
.flag-aw { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Cpath fill='%23418FDE' d='M0 0h27v18H0z'/%3E%3Cpath fill='%23F9D616' d='M0 12h27v1H0zm0 2h27v1H0z'/%3E%3Cpath fill='%23EF3340' stroke='%23fff' stroke-width='.4' d='M5 1.5l.9 2.6 2.6.9-2.6.9L5 8.5l-.9-2.6L1.5 5l2.6-.9z'/%3E%3C/svg%3E"); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: none; border: 1px solid rgba(255, 255, 255, .25); cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white);
  transition: transform .25s ease, top .25s ease;
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--side) 24px;
    background: var(--navy);
    border-bottom: 1px solid var(--line-on-navy);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-on-navy); font-size: 17px; opacity: 1; }
  .lang { align-self: flex-start; margin: 20px 0; }
  .lang-btn { font-size: 14px; padding: 10px 14px; }
  .lang-menu { left: 0; right: auto; display: grid; grid-template-columns: 1fr 1fr; min-width: 300px; }
  .lang-menu[hidden] { display: none; }
  .nav .btn { padding: 16px; }
}

/* ---------- Hero ---------- */
/* Hero photo: assets/img/hero.webp. Only a light navy wash on the left keeps the text readable. */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(0, 15, 59, .78) 0%, rgba(0, 15, 59, .5) 32%, rgba(0, 15, 59, 0) 62%),
    linear-gradient(0deg, rgba(0, 15, 59, .35) 0%, transparent 25%),
    url("../img/hero.webp") 60% 65% / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 120px 0;
}
.hero > .wrap { width: 100%; }
.hero-grid { position: relative; }
.hero-copy { max-width: 760px; text-shadow: 0 2px 18px rgba(0, 15, 59, .45); }
.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 21px; line-height: 1.6; color: rgba(255, 255, 255, .92); margin-top: 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; text-shadow: none; }
.hero .btn-ghost { background: rgba(0, 15, 59, .25); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

@media (max-width: 980px) {
  .hero { min-height: 560px; padding: 80px 0; }
  .hero { background:
      linear-gradient(180deg, rgba(0, 15, 59, .55) 0%, rgba(0, 15, 59, .35) 45%, rgba(0, 15, 59, .6) 100%),
      url("../img/hero.webp") 55% 60% / cover no-repeat,
      var(--navy); }
  .hero .lead { font-size: 18px; }
}
/* phones get the lighter 1000 px photo */
@media (max-width: 720px) {
  .hero { background-image:
      linear-gradient(180deg, rgba(0, 15, 59, .55) 0%, rgba(0, 15, 59, .35) 45%, rgba(0, 15, 59, .6) 100%),
      url("../img/hero-mobile.webp"); }
}
@media (max-width: 480px) {
  .actions .btn { width: 100%; }
}

/* ---------- Three pillars ---------- */
.pillars { padding: 80px 0 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { padding: 8px 40px 8px 32px; border-left: 1px solid #E2DFD3; }
.pillar-num { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--gold-deep); margin-bottom: 14px; }
.pillar h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.01em; color: var(--blue); margin-bottom: 12px; }
.pillar p { font-size: 16px; color: var(--text); max-width: 34ch; }
@media (max-width: 860px) {
  .pillars { padding-top: 56px; }
  .pillar-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillar { padding: 0 0 0 20px; }
}
.pillars + .who { padding-top: 96px; }
@media (max-width: 720px) { .pillars + .who { padding-top: 64px; } }

/* ---------- Who we supply ---------- */
.who-grid {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.who-grid { gap: 0 24px; margin-top: 24px; }
.who-grid li { display: flex; align-items: center; gap: 16px; border-top: 1px solid #E2DFD3; padding: 24px 0; }
.who-grid li:nth-child(-n+4) { border-top: 2px solid var(--navy); }
.who-grid svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.who-grid h3 { font-size: 18px; line-height: 1.3; }
@media (max-width: 980px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid li:nth-child(-n+4) { border-top: 1px solid #E2DFD3; }
  .who-grid li:nth-child(-n+2) { border-top: 2px solid var(--navy); }
}
@media (max-width: 480px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-grid li:nth-child(2) { border-top: 1px solid #E2DFD3; }
  .who-grid li { padding: 18px 0; }
}

/* ---------- Categories ---------- */
.cats { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 260px; padding: 28px;
  border: 0; border-radius: var(--r-lg);
  color: var(--white); text-align: left; text-decoration: none;
  cursor: pointer; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat::after { /* keeps text crisp on lighter gradient ends */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 15, 59, .35));
  pointer-events: none;
}
.cat > * { position: relative; z-index: 1; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
/* Product illustration: large, top-right, so the card isn't empty; text sits bottom-left */
.cat { justify-content: flex-end; min-height: 300px; }
.cat > svg {
  align-self: flex-end; flex: none; margin: -6px -6px auto 0;   /* stays in the layout: long titles push the card taller instead of overlapping */
  width: 116px; height: 116px;
  fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round;
  transition: transform .3s ease;
}
.cat:hover > svg { transform: scale(1.06) rotate(-2deg); }
.cat > svg .dot { fill: var(--gold); stroke: none; }
.cat-source > svg { align-self: flex-start; width: 40px; height: 40px; stroke-width: 1.5; margin: 0 0 auto; }
.cat-source { justify-content: flex-start; }
.cat-source:hover > svg { transform: none; }
@media (max-width: 980px) { .cat { min-height: 300px; } .cat > svg { width: 104px; height: 104px; } }
@media (max-width: 560px) {
  .cat { min-height: 0; }
  .cat:not(.cat-source) { min-height: 240px; }
  .cat > svg { width: 84px; height: 84px; margin: -4px -4px auto 0; }
  .cat-source > svg { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .cat > svg { transition: none; } }

/* Product cards: icon centred, title centred above the line, description + "View brands" in the bottom row */
.cat:not(.cat-source) { align-items: center; text-align: center; }
.cat:not(.cat-source) > svg { align-self: center; margin: auto; }
.cat:not(.cat-source) .cat-name { margin-top: 16px; }
.cat:not(.cat-source) .cat-foot { justify-content: space-between; gap: 12px; text-align: left; }
.cat:not(.cat-source) .cat-foot .cat-tag { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.35; min-width: 0; }
.cat:not(.cat-source) .cat-link { flex: none; }
.cat-pc  { background: var(--g-pc); }
.cat-cos { background: var(--g-cos); }
.cat-hc  { background: var(--g-hc); }
.cat-sc  { background: var(--g-sc); }
.cat-bg  { background: var(--g-bg); }
.cat-source { background: linear-gradient(135deg, #125AA3 0%, #4C9BE0 100%); }
.cat-name { font-size: 24px; font-weight: 800; line-height: 1.15; margin-top: 20px; }
.cat-tag { font-size: 15px; opacity: .85; margin-top: 6px; }
.cat-foot {
  display: flex; justify-content: flex-end; align-items: center; width: 100%;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px; font-weight: 700;
}
.cat-link { display: inline-flex; align-items: center; gap: 6px; }
.cat-link .arrow { width: 16px; height: 16px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat { min-height: 0; border-radius: var(--r-md); padding: 24px; }
  .cat-name { margin-top: 28px; }
}

/* ---------- Logo marquee ---------- */
.marquee {
  background: var(--white); overflow: hidden;
  border-bottom: 1px solid #ECEAE0;
  padding: 40px 0;
  display: grid; gap: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 96px; width: max-content; animation: scroll var(--marquee-time, 60s) linear infinite; }
.marquee-track.rev { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { width: auto; height: 48px; max-width: none; object-fit: contain; flex: none; } /* real size is set per logo by main.js */
@media (max-width: 720px) {
  .marquee { gap: 28px; padding: 32px 0; }
  .marquee-track { gap: 56px; }
  .marquee img { height: 40px; max-width: 110px; }
}
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- Assortment advice ---------- */
.mix-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.mix .section-lead { margin-top: 20px; }
.mix-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.mix-list li { position: relative; padding-left: 24px; }
.mix-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }
.mix-list h3 { font-size: 20px; color: var(--blue); margin-bottom: 6px; }
.mix-list p { font-size: 16px; }
@media (max-width: 860px) { .mix-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .mix-list { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- How we work ---------- */
.how { background: var(--navy); color: var(--white); }
.how h2 { color: var(--white); max-width: 24ch; }
.how-lead { color: var(--text-on-navy); font-size: 19px; max-width: 56ch; margin-top: 20px; }
.how-list { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line-on-navy); }
.how-list li {
  display: grid; grid-template-columns: 80px 5fr 7fr; gap: 24px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line-on-navy);
}
.how-num { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .06em; }
.how-list h3 { color: var(--white); font-size: 26px; line-height: 1.2; }
.how-list p { color: var(--text-on-navy); }
@media (max-width: 860px) {
  .how-list li { grid-template-columns: 48px 1fr; gap: 8px 16px; }
  .how-list p { grid-column: 2; }
  .how-list h3 { font-size: 21px; }
}

/* ---------- About ---------- */
.about { background: var(--sand); margin-top: 80px; }
@media (max-width: 860px) { .about { margin-top: 56px; } }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.about-body h2 { margin-bottom: 28px; }
.about-body p:not(.eyebrow):not(.sub-eyebrow):not(.sign) { font-size: 18px; color: var(--text-strong); }
.about-body p:not(.eyebrow):not(.sub-eyebrow):not(.sign) + p:not(.sign) { margin-top: 18px; }
.about-body .sign {
  margin-top: 32px; font-size: 26px; font-weight: 800; color: var(--blue);
  letter-spacing: -0.01em; padding-left: 20px; border-left: 4px solid var(--gold);
}
.about-body .btn { margin-top: 36px; }
.grow-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  padding: 56px 40px; border-radius: var(--r-lg); text-align: center;
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(18, 90, 163, .55), transparent 70%),
    var(--navy);
}
.grow-art { width: min(520px, 100%); height: auto; }
.grow-card p { color: var(--white); font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; max-width: 14ch; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-body p:not(.eyebrow):not(.sub-eyebrow):not(.sign) { font-size: 17px; }
  .grow-card { padding: 48px 24px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact .section-lead { margin-top: 20px; }
.addr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(0, 15, 59, .15);
}
.addr { min-width: 0; }
.addr .eyebrow { margin-bottom: 6px; font-size: 12px; }
.addr p:not(.eyebrow) { color: var(--text-strong); font-size: 15px; line-height: 1.55; }
.maplink { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--blue); text-decoration: none; font-size: 14px; }
@media (max-width: 360px) { .addr-grid { grid-template-columns: 1fr; } }
.maplink:hover { text-decoration: underline; }

/* Contact form: navy brand panel */
.form {
  --f-line: rgba(255, 255, 255, .22);
  --f-fill: rgba(255, 255, 255, .06);
  --f-err: #FF8A8A;
  position: relative;
  /* brand gradient (gold → blue → navy), darkened where the text sits */
  background:
    linear-gradient(180deg, rgba(0, 15, 59, .35) 0%, rgba(0, 15, 59, .55) 30%, rgba(0, 15, 59, .75) 100%),
    linear-gradient(135deg, #DEC868 0%, #125AA3 45%, #000F3B 100%);
  color: var(--white);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 15, 59, .25);
}
.roles { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.roles legend { font-weight: 800; color: var(--white); font-size: 20px; margin-bottom: 14px; padding: 0; }
.roles label { cursor: pointer; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles span {
  display: inline-block; padding: 12px 22px; border-radius: var(--r-sm);
  border: 1.5px solid var(--f-line); font-weight: 700; font-size: 15px; color: var(--white);
  transition: all .15s ease;
}
.roles span:hover { border-color: rgba(255, 255, 255, .5); }
.roles input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.roles input:focus-visible + span { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.form-req { font-size: 13px; color: var(--text-on-navy); margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-on-navy); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; position: relative; }
.field > span { display: block; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .9); margin-bottom: 6px; }
.form .field > span::after, .form-req::before { content: "*"; color: var(--gold); margin-left: 3px; }
.form-req::before { margin: 0 4px 0 0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--white);
  padding: 14px 16px; border: 1.5px solid var(--f-line); border-radius: var(--r-sm);
  background: var(--f-fill); transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(222, 200, 104, .2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .42); }
.field.invalid input, .field.invalid textarea, .field.invalid .phone { border-color: var(--f-err); }
.field .count { display: block; text-align: right; font-size: 12px; color: var(--text-on-navy); margin-top: 6px; font-variant-numeric: tabular-nums; }
.field .count.done { color: var(--gold); }
.field.invalid .count { color: var(--f-err); }
.form input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 40px #0b1f52 inset; caret-color: var(--white); }

/* phone with calling-code picker */
.phone {
  position: relative; display: flex; align-items: stretch;
  border: 1.5px solid var(--f-line); border-radius: var(--r-sm); background: var(--f-fill);
  transition: border-color .15s, box-shadow .15s;
}
.phone:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222, 200, 104, .2); }
.phone input[type="tel"] { border: 0; background: transparent; box-shadow: none !important; min-width: 0; flex: 1; }
.cc-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 12px 0 14px; background: none; border: 0; border-right: 1px solid var(--f-line);
  color: var(--white); font-size: 16px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums;
}
.cc-btn img { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.cc-btn .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .2s; }
.cc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.cc-btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: -3px; border-radius: var(--r-sm); }
.cc-menu {
  position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); width: min(340px, 100%);
  background: var(--white); color: var(--text-strong); border-radius: var(--r-sm);
  box-shadow: 0 20px 40px rgba(0, 15, 59, .35); padding: 8px;
}
.cc-search {
  width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; margin-bottom: 6px;
  border: 1.5px solid var(--input-border); border-radius: 8px; color: var(--text-strong);
}
.field .cc-search { color: var(--text-strong); background: var(--white); border: 1.5px solid var(--input-border); padding: 10px 12px; font-size: 15px; }
.field .cc-search::placeholder { color: #9A9688; }
.field .cc-search:focus { outline: none; border-color: var(--blue); box-shadow: none; background: var(--white); }
.cc-menu ul { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.cc-menu li {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  cursor: pointer; font-size: 15px;
}
.cc-menu li img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(0, 15, 59, .12); }
.cc-menu li .cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-menu li .cc-dial { color: #77736A; font-variant-numeric: tabular-nums; }
.cc-menu li:hover, .cc-menu li.active { background: var(--sand); }
.cc-menu li[aria-selected="true"] { font-weight: 700; color: var(--blue); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-block { margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 700; font-size: 15px; min-height: 1em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: var(--f-err); }
.form-note { font-size: 13px; color: var(--text-on-navy); margin-top: 4px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .form { padding: 24px 20px; } .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-on-navy); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-grid img { height: 40px; width: auto; }
.footer-grid a { display: block; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-on-navy); font-size: 13px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- WhatsApp bubble ---------- */
.wa {
  position: fixed; z-index: 40;
  right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 0;
  height: 60px; min-width: 60px; padding: 0 16px; border-radius: 30px;
  background: #25D366; color: #FFFFFF; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 15, 59, .3);
  transition: transform .2s ease, box-shadow .2s ease, gap .25s ease;
}
.wa svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wa-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-weight: 700; font-size: 15px; transition: max-width .3s ease;
}
.wa:hover, .wa:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 15, 59, .35); gap: 10px; }
.wa:hover .wa-label, .wa:focus-visible .wa-label { max-width: 260px; }
.wa:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
@media (max-width: 720px) {
  .wa { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); height: 56px; min-width: 56px; padding: 0 14px; }
  .wa:hover .wa-label { max-width: 0; }
  .wa:hover { gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa, .wa-label { transition: none; } }

/* ---------- Legal pages (terms.html, privacy-policy.html) ---------- */
.legal { padding: 80px 0 112px; background: var(--white); }
.legal-wrap { max-width: calc(760px + var(--side) * 2); }
.legal h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.legal-body { margin-top: 40px; counter-reset: none; }
.legal-body h2 {
  font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy);
  margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid #E8E5DA;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li, .legal-body address { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal-body p + p { margin-top: 12px; }
.legal-body ol, .legal-body ul { margin: 0; padding-left: 24px; display: grid; gap: 10px; }
.legal-body ol li::marker { color: var(--blue); font-weight: 800; }
.legal-body ul li::marker { color: var(--gold-deep); }
.legal-body strong { color: var(--navy); }
.legal-body a { color: var(--blue); font-weight: 600; }
.legal-body address { font-style: normal; margin-top: 12px; padding-left: 16px; border-left: 3px solid var(--gold); }
.site-footer .footer-bottom a { text-decoration: none; }
.site-footer .footer-bottom a:hover { color: var(--white); }
@media (max-width: 720px) { .legal { padding: 48px 0 72px; } }

/* ---------- Brand modal ---------- */
.modal {
  width: min(1040px, calc(100vw - 32px)); max-height: min(88vh, 960px);
  padding: 40px; border: 0; border-radius: var(--r-lg); overflow-x: hidden;
  color: var(--text); background: var(--white);
  box-shadow: 0 40px 80px rgba(0, 15, 59, .35);
}
.modal::backdrop { background: rgba(0, 15, 59, .6); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.modal h3 { font-size: 30px; letter-spacing: -0.01em; }
.modal-head p { font-size: 16px; max-width: 52ch; }
.modal-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #E2DFD3; background: var(--white); cursor: pointer; display: grid; place-items: center;
}
.modal-close:hover { background: var(--sand); }
.modal-close svg { width: 16px; height: 16px; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }
.range { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.range li { padding: 7px 14px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: 14px; font-weight: 700; }
/* Fixed-size logo tiles: every logo is scaled to fit, whatever the size of the uploaded file */
.logo-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo-grid li {
  min-width: 0; height: 104px; padding: 16px 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #E8E5DA; border-radius: var(--r-sm); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.logo-grid li:hover { border-color: #D6D2C2; box-shadow: 0 6px 16px rgba(0, 15, 59, .08); }
.logo-grid img { display: block; width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.logo-empty { grid-column: 1 / -1; height: auto !important; padding: 32px !important; text-align: center; color: var(--text-strong); background: #FAF9F4 !important; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.modal-cta { display: inline-block; margin-top: 24px; font-weight: 800; color: var(--blue); text-decoration: none; }
.modal-cta:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .modal { padding: 24px 20px; }
  .modal h3 { font-size: 24px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .logo-grid li { height: 80px; padding: 10px; }
  .logo-grid img { max-height: 48px; }
}
@media (max-width: 400px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
