/* ==========================================================================
   Emirates Lube — Premium Redesign
   Custom CSS, no frameworks.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,600;1,700&display=swap');

:root{
  --navy: #0D1030;
  --navy-2: #171B4D;
  --navy-3: #23285f;
  --wine: #711021;
  --wine-2: #931A2E;
  --wine-3: #B5223A;
  --gold: #C9A227;
  --gold-2: #ECD284;
  --gold-3: #8a6b16;
  --cream: #F6EFDC;
  --cream-2: #EFE4C3;
  --ivory: #FCFAF4;
  --ink: #1B1A1F;
  --gray: #6B6B76;
  --gray-light: #9A97A3;
  --line: #E8E1CB;
  --white: #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(13,16,48,.06);
  --shadow-md: 0 12px 30px rgba(13,16,48,.10);
  --shadow-lg: 0 24px 60px rgba(13,16,48,.16);
  --shadow-gold: 0 10px 30px rgba(201,162,39,.35);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --container: 1240px;
  --header-h: 132px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--ink);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
svg{ width:1em; height:1em; display:inline-block; vertical-align:-0.14em; flex-shrink:0; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.accent{ font-family:'Playfair Display', serif; font-style:italic; font-weight:600; color:var(--gold); }

::selection{ background:var(--gold-2); color:var(--navy); }

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--wine-2);
}
.eyebrow::before{ content:''; width:26px; height:2px; background:linear-gradient(90deg,var(--gold),var(--wine-2)); border-radius:2px; }
.eyebrow.on-dark{ color:var(--gold-2); }

.section{ padding:96px 0; position:relative; }
.section-tight{ padding:64px 0; }
.section-title{ font-size:clamp(28px,4vw,44px); font-weight:800; line-height:1.15; letter-spacing:-.02em; color:var(--navy); margin-top:14px; }
.section-lead{ font-size:17px; line-height:1.75; color:var(--gray); max-width:680px; margin-top:18px; }
.lead-right{ margin-left:auto; text-align:right; }
.bg-cream{ background:var(--cream); }
.bg-navy{ background:var(--navy); color:#fff; }
.bg-navy .section-title{ color:#fff; }
.bg-navy .section-lead{ color:#c7c9dd; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 30px; border-radius:100px; font-weight:700; font-size:14.5px;
  letter-spacing:.02em; border:1px solid transparent; transition:all .35s cubic-bezier(.2,.8,.2,1);
  white-space:nowrap;
}
.btn-primary{ background:linear-gradient(135deg,var(--wine-3),var(--wine)); color:#fff; box-shadow:0 14px 30px rgba(113,16,33,.35); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 20px 40px rgba(113,16,33,.45); }
.btn-gold{ background:linear-gradient(135deg,var(--gold-2),var(--gold)); color:var(--navy); box-shadow:var(--shadow-gold); }
.btn-gold:hover{ transform:translateY(-3px); box-shadow:0 20px 40px rgba(201,162,39,.45); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.5); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.12); border-color:#fff; transform:translateY(-3px); }
.btn-outline-dark{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline-dark:hover{ background:var(--navy); color:#fff; transform:translateY(-3px); }
.btn-sm{ padding:11px 20px; font-size:13px; }
.btn-block{ width:100%; }
/* labels shrink to fit rather than overflowing their button */
.btn{ min-width:0; max-width:100%; }
.btn-block, .product-card .actions .btn{ white-space:normal; text-align:center; }
.btn[disabled]{ opacity:.45; pointer-events:none; }

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--navy); color:#dfe1f2; font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; height:42px; }
.topbar-left, .topbar-right{ display:flex; align-items:center; gap:22px; }
.topbar a{ display:inline-flex; align-items:center; gap:6px; color:#dfe1f2; opacity:.9; transition:opacity .2s, color .2s; }
.topbar a:hover{ opacity:1; color:var(--gold-2); }
.topbar svg{ width:14px; height:14px; flex:none; }

/* ---------- Header / Nav ---------- */
.site-header{ position:sticky; top:0; z-index:200; background:#fff; box-shadow:0 1px 0 var(--line); transition:box-shadow .3s; }
.site-header.scrolled{ box-shadow:var(--shadow-md); }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:16px; }
.brand{ display:flex; align-items:center; gap:14px; flex:none; }
/* no height here — it would outrank the .brand-logo--* classes below (0-1-1 vs 0-1-0) */
.brand img{ width:auto; }
.brand-divider{ width:1px; height:44px; background:var(--line); flex:none; }
/* three brand marks in the header */
.brand-logo{ flex:none; }
.brand-logo--one{ height:44px; }
.brand-logo--e1{ height:52px; }
.brand-logo--badge{ height:58px; }
@media (max-width:1240px){
  .brand-logo--one{ height:36px; }
  .brand-logo--e1{ height:42px; }
  .brand-logo--badge{ height:48px; }
}
/* keep all three marks on small screens — scale them down instead of dropping one */
@media (max-width:620px){
  .brand{ gap:10px; }
  .brand-divider{ height:33px; }
  .brand-logo--one{ height:33px; }
  .brand-logo--e1{ height:38px; }
  .brand-logo--badge{ height:43px; }
}
@media (max-width:400px){
  .brand{ gap:8px; }
  .brand-divider{ height:28px; }
  .brand-logo--one{ height:28px; }
  .brand-logo--e1{ height:32px; }
  .brand-logo--badge{ height:37px; }
}
@media (max-width:340px){
  .brand-divider{ display:none; }
  .brand-logo--one{ height:26px; }
  .brand-logo--e1{ height:29px; }
  .brand-logo--badge{ height:33px; }
}

.main-nav{ display:flex; align-items:center; gap:4px; flex:1; justify-content:center; }
.main-nav > li{ position:relative; flex-shrink:0; }
.main-nav > li > a{
  display:flex; align-items:center; gap:6px; padding:14px 11px; font-weight:700; font-size:13.5px;
  color:var(--navy); border-radius:8px; transition:color .25s; white-space:nowrap;
}
.main-nav > li > a::after{ content:''; position:absolute; left:16px; right:16px; bottom:8px; height:2px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.main-nav > li:hover > a, .main-nav > li > a.is-active{ color:var(--wine-2); }
.main-nav > li:hover > a::after, .main-nav > li > a.is-active::after{ transform:scaleX(1); }
.main-nav .chev{ width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin-top:-3px; transition:transform .25s; opacity:.6; }
.main-nav > li:hover .chev{ transform:rotate(225deg); margin-top:3px; }


/* Mega menu */
.mega{
  position:absolute; top:100%; left:50%; transform:translate(-50%,10px);
  background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow-lg);
  padding:26px; display:grid; grid-template-columns:repeat(3,220px); gap:10px 28px;
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .25s, transform .25s;
  border:1px solid var(--line);
}
.main-nav > li:hover .mega{ opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,4px); }
.mega.mega-narrow{ grid-template-columns:repeat(2,240px); }
.mega-col-title{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--wine-2); margin-bottom:10px; display:block; }
.mega a.mega-link{ display:block; padding:7px 0; font-size:13.5px; font-weight:600; color:var(--ink); border-bottom:1px dashed transparent; transition:color .2s, padding-left .2s; }
.mega a.mega-link:hover{ color:var(--wine-2); padding-left:5px; }

.hamburger{ display:none; flex-direction:column; gap:5px; background:none; border:0; padding:8px; }
.hamburger span{ width:26px; height:2.5px; background:var(--navy); border-radius:2px; transition:.3s; }

/* ---------- Mobile nav ---------- */
.mobile-panel{
  position:fixed; inset:0 0 0 auto; width:min(88vw,380px); background:var(--navy); color:#fff; z-index:400;
  transform:translateX(100%); transition:transform .4s cubic-bezier(.2,.8,.2,1); overflow-y:auto; padding:26px 22px 60px;
}
.mobile-panel.open{ transform:translateX(0); }
.mobile-overlay{ position:fixed; inset:0; background:rgba(10,10,25,.55); z-index:390; opacity:0; visibility:hidden; transition:opacity .3s; backdrop-filter:blur(2px); }
.mobile-overlay.open{ opacity:1; visibility:visible; }
.mobile-panel .close-btn{ background:rgba(255,255,255,.08); border:0; color:#fff; width:38px; height:38px; border-radius:50%; font-size:18px; }
.mobile-panel details{ border-bottom:1px solid rgba(255,255,255,.12); padding:6px 0; }
.mobile-panel summary{ list-style:none; display:flex; justify-content:space-between; align-items:center; padding:12px 2px; font-weight:700; cursor:pointer; }
.mobile-panel summary::-webkit-details-marker{ display:none; }
.mobile-panel summary::after{ content:'+'; font-size:20px; color:var(--gold-2); }
.mobile-panel details[open] summary::after{ content:'−'; }
.mobile-panel .sub-list{ padding:0 0 12px 10px; display:flex; flex-direction:column; gap:9px; }
.mobile-panel .sub-list a{ font-size:13.5px; color:#c8caea; }
.mobile-panel a.top-link{ display:block; padding:12px 2px; font-weight:700; border-bottom:1px solid rgba(255,255,255,.12); }
.mobile-panel .mp-contact{ margin-top:24px; display:flex; flex-direction:column; gap:10px; font-size:13.5px; color:#c8caea; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:92vh; display:flex; align-items:center; color:#fff; overflow:hidden;
  background:var(--navy);
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; opacity:.55; transform:scale(1.08); animation:heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom{ from{ transform:scale(1.08);} to{ transform:scale(1);} }
.hero::before{
  content:''; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(147,26,46,.4), transparent 60%),
    linear-gradient(180deg, rgba(13,16,48,.4) 0%, rgba(13,16,48,.68) 65%, rgba(13,16,48,.9) 100%);
}
.hero-content{ position:relative; z-index:2; padding:80px 24px 60px; width:100%; }
.hero-badge svg{ width:18px; height:18px; }
.cat-card .arrow svg{ width:16px; height:16px; }
.icon-box{ display:flex; align-items:center; justify-content:center; border-radius:14px; flex:none; }
.icon-box svg{ width:46%; height:46%; }
.icon-box-sm{ width:34px; height:34px; background:rgba(255,255,255,.08); }
.icon-box-lg{ width:60px; height:60px; background:linear-gradient(135deg,var(--wine-3),var(--wine)); color:#fff; }
.hero-badge{
  display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.18);
  padding:8px 18px; border-radius:100px; font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-2);
  backdrop-filter:blur(6px);
}
.hero-title{ font-size:clamp(36px,5.6vw,68px); font-weight:800; line-height:1.06; letter-spacing:-.02em; margin:22px 0 20px; max-width:820px; }
.hero-title em{ font-family:'Playfair Display',serif; font-style:italic; color:var(--gold-2); font-weight:600; }
.hero-sub{ font-size:18px; line-height:1.75; color:#d6d8ec; max-width:600px; }
.hero-actions{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:0; margin-top:64px; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,.15); padding-top:32px; }
.hero-stat{ padding-right:48px; margin-right:48px; border-right:1px solid rgba(255,255,255,.15); }
.hero-stat:last-child{ border-right:0; }
.hero-stat .num{ font-size:clamp(28px,3vw,40px); font-weight:800; color:#fff; display:flex; align-items:baseline; gap:2px; }
.hero-stat .num span.suffix{ color:var(--gold-2); font-size:22px; }
.hero-stat .lbl{ font-size:13px; color:#b7bad6; margin-top:4px; font-weight:600; }
/* Wide screens: stats move beside the copy as a card instead of a full-width
   strip under the buttons — keeps them "above the fold" next to the text. */
@media (min-width:961px){
  .hero-content{ display:flex; align-items:center; gap:64px; }
  .hero-main{ flex:1 1 auto; min-width:0; }
  .hero-stats{
    flex:none; display:grid; grid-template-columns:1fr 1fr; gap:0; width:360px;
    margin-top:0; border-top:0; padding-top:0;
    background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.16);
    border-radius:22px; padding:8px; backdrop-filter:blur(10px);
  }
  .hero-stat{ padding:28px 26px; margin-right:0; border-right:0; }
  .hero-stat:nth-child(1){ border-right:1px solid rgba(255,255,255,.16); border-bottom:1px solid rgba(255,255,255,.16); }
  .hero-stat:nth-child(2){ border-bottom:1px solid rgba(255,255,255,.16); }
  .hero-stat:nth-child(3){ border-right:1px solid rgba(255,255,255,.16); }
  .hero-stat .num{ font-size:32px; }
  .hero-stat .num span.suffix{ font-size:22px; }
  .hero-stat .lbl{ font-size:12.5px; }
}
/* Page (inner) header/banner */
.page-hero{
  position:relative; padding:190px 0 74px; color:#fff; overflow:hidden; background:var(--navy);
}
.page-hero .hero-media img{ animation:none; opacity:.35; }
.page-hero::before{ content:''; position:absolute; inset:0; background:linear-gradient(120deg, rgba(113,16,33,.75), rgba(13,16,48,.92)); z-index:1; }
.page-hero .container{ position:relative; z-index:2; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color:#cfd1ec; font-weight:600; margin-bottom:16px; flex-wrap:wrap; }
.breadcrumb a:hover{ color:var(--gold-2); }
.breadcrumb .sep{ opacity:.5; }
.page-hero h1{ font-size:clamp(30px,4.2vw,50px); font-weight:800; letter-spacing:-.02em; max-width:760px; }
.page-hero .tag{ display:inline-block; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); padding:6px 14px; border-radius:100px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-2); margin-bottom:18px; }
.page-hero p.lead{ margin-top:14px; color:#d6d8ec; max-width:640px; line-height:1.7; }

/* ---------- Grids & Cards ---------- */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-6{ grid-template-columns:repeat(6,1fr); }

.card{
  background:#fff; border-radius:var(--radius-md); border:1px solid var(--line); overflow:hidden;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }

/* Category card (home + products index) */
.cat-card{ position:relative; padding:38px 28px; border-radius:var(--radius-lg); overflow:hidden; color:#fff; min-height:270px; display:flex; flex-direction:column; justify-content:flex-end; background:var(--navy); }
.cat-card::before{ content:''; position:absolute; inset:0; background:linear-gradient(160deg, rgba(113,16,33,.92), rgba(13,16,48,.94)); transition:transform .5s; }
.cat-card::after{ content:''; position:absolute; inset:0; opacity:0; background:linear-gradient(160deg, var(--gold-3), var(--wine)); transition:opacity .4s; }
.cat-card:hover::after{ opacity:1; }
.cat-card .icon{ width:56px; height:56px; margin-bottom:22px; position:relative; z-index:2; }
.cat-card .icon svg{ width:100%; height:100%; }
.cat-card h3{ position:relative; z-index:2; font-size:22px; font-weight:800; }
.cat-card .count{ position:relative; z-index:2; font-size:13px; color:var(--gold-2); font-weight:700; margin-top:6px; }
.cat-card .arrow{ position:relative; z-index:2; margin-top:18px; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.14); display:flex; align-items:center; justify-content:center; transition:transform .35s, background .35s; }
.cat-card:hover .arrow{ transform:rotate(45deg); background:var(--gold); }
.cat-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }

/* Product card */
.product-card{ display:flex; flex-direction:column; }
.product-card .thumb{ position:relative; aspect-ratio:4/3; background:linear-gradient(150deg,var(--cream),var(--cream-2)); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product-card .thumb img{ height:78%; width:auto; filter:drop-shadow(0 18px 22px rgba(0,0,0,.18)); transition:transform .5s; }
.product-card:hover .thumb img{ transform:scale(1.07) translateY(-4px); }
/* Icon placeholder used when a product has no bottle photo.
   Needs an explicit svg size — the global `svg{width:1em}` rule would shrink it to text size. */
.ph-icon{ display:flex; align-items:center; justify-content:center; width:100%; aspect-ratio:1; color:var(--wine-2); opacity:.85; }
.ph-icon svg{ width:100%; height:100%; stroke-width:1.1; }
.product-card .thumb .ph-icon{ width:52%; height:52%; aspect-ratio:auto; }
.product-hero-media{ display:flex; align-items:center; justify-content:center; min-height:230px; }
.product-hero-media .ph-icon{ max-width:210px; }
.product-card .body{ padding:20px 20px 22px; display:flex; flex-direction:column; gap:9px; flex:1; }
.product-card .kicker{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--wine-2); }
.product-card h3{ font-size:16px; font-weight:800; line-height:1.32; color:var(--navy); }
/* clamp to 2 lines so every card title occupies the same height and the grid stays even */
.product-card h3{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.64em; }
.product-card p{
  font-size:13px; color:var(--gray); line-height:1.6; flex:1;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
/* primary action fills the row; the datasheet download is a compact square so the
   two can never fight for width and crop each other */
.product-card .actions{ display:flex; gap:9px; margin-top:4px; align-items:stretch; }
.product-card .actions .btn{ flex:1 1 auto; min-width:0; padding:11px 12px; font-size:12.5px; }
.pds-btn{
  flex:none; width:42px; border-radius:100px; border:1.5px solid var(--line);
  background:var(--cream); color:var(--wine-2);
  display:flex; align-items:center; justify-content:center; transition:all .3s cubic-bezier(.2,.8,.2,1);
}
.pds-btn svg{ width:17px; height:17px; }
.pds-btn:hover{ background:var(--wine-2); border-color:var(--wine-2); color:#fff; transform:translateY(-2px); }

/* Category-hub product grid — sizes itself to the column it sits in, so cards never
   get squeezed narrower than they can render. */
.product-grid{
  display:grid; gap:24px;
  grid-template-columns:repeat(auto-fill,minmax(248px,1fr));
}

/* Document / PDS / MSDS / Certificate card */
.doc-card{ display:flex; align-items:center; gap:18px; padding:22px; background:#fff; }
.doc-card .doc-icon{ flex:none; width:54px; height:54px; border-radius:14px; background:linear-gradient(135deg,var(--wine-3),var(--wine)); display:flex; align-items:center; justify-content:center; color:#fff; }
.doc-card .doc-icon svg{ width:26px; height:26px; }
.doc-card{ flex-wrap:wrap; }
.doc-card .doc-body{ flex:1 1 190px; min-width:0; }
.doc-card h4{ font-size:15px; font-weight:800; color:var(--navy); line-height:1.4; }
.doc-card .meta{ font-size:12px; color:var(--gray-light); margin-top:4px; font-weight:600; }
.doc-card .doc-actions{ flex:none; display:flex; gap:8px; }
.doc-card.is-soon{ opacity:.6; }
.doc-card.is-soon .doc-icon{ background:linear-gradient(135deg,#c9c9d6,#9c9cab); }
.soon-chip{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; background:var(--cream-2); color:var(--gold-3); padding:5px 10px; border-radius:100px; }

.icon-btn{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--cream); color:var(--wine-2); transition:.25s; border:1px solid var(--line); }
.icon-btn:hover{ background:var(--wine-2); color:#fff; transform:translateY(-2px); }
.icon-btn svg{ width:17px; height:17px; }

/* Service card */
.service-card{ padding:36px 30px; }
.service-card .num{ font-family:'Playfair Display',serif; font-style:italic; font-size:44px; color:var(--gold); font-weight:700; opacity:.8; }
.service-card h3{ font-size:20px; font-weight:800; color:var(--navy); margin-top:6px; }
.service-card p{ margin-top:12px; color:var(--gray); font-size:14.5px; line-height:1.75; }
.service-card a.more{ margin-top:18px; display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:13.5px; color:var(--wine-2); }
.service-card a.more svg{ width:14px; height:14px; transition:transform .25s; }
.service-card a.more:hover svg{ transform:translateX(4px); }

/* Stat block */
.stats-strip{ display:flex; flex-wrap:wrap; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.stat-box{ flex:1 1 200px; text-align:center; padding:40px 20px; border-right:1px solid var(--line); }
.stat-box:last-child{ border-right:0; }
.stat-box .icon-box-lg{ margin:0 auto 18px; }
.stat-box .num{ font-size:clamp(30px,3.4vw,44px); font-weight:800; color:var(--wine-2); display:flex; align-items:baseline; justify-content:center; gap:2px; }
.stat-box .num span.suffix{ color:var(--gold-3); font-size:.55em; }
.stat-box .lbl{ font-size:13px; color:var(--gray); font-weight:700; margin-top:6px; text-transform:uppercase; letter-spacing:.05em; }
@media (max-width:760px){
  .stat-box{ flex:1 1 50%; border-bottom:1px solid var(--line); }
  .stat-box:nth-last-child(-n+2){ border-bottom:0; }
  .stat-box:nth-child(odd){ border-right:1px solid var(--line); }
  .stat-box:nth-child(even){ border-right:0; }
}

/* Responsive split layouts (product detail, category hub, service, contact) */
.split{ display:grid; }
.split-product{ grid-template-columns:1.1fr 1.6fr; gap:56px; align-items:start; }
/* fixed-width sidebar so the product grid keeps a predictable, roomy column */
.split-hub{ grid-template-columns:minmax(0,1fr) 270px; gap:36px; align-items:start; }
.split-service{ grid-template-columns:2fr 1fr; gap:50px; align-items:start; }
.split-contact{ grid-template-columns:1fr 1fr; gap:44px; align-items:stretch; }
@media (max-width:1000px){
  .split-product, .split-hub, .split-service, .split-contact{ grid-template-columns:1fr; gap:36px; }
}

/* About visual composition (home) */
.about-visual{ position:relative; padding:0 0 46px 46px; }
.about-visual__scene{
  width:100%; aspect-ratio:4/5; object-fit:cover;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
}
.about-visual__product{
  position:absolute; left:0; bottom:0; width:64%;
  background:linear-gradient(150deg,var(--cream),var(--cream-2));
  border-radius:var(--radius-md); padding:20px 18px;
  box-shadow:var(--shadow-lg); border:1px solid var(--line);
}
.about-visual__product img{ width:100%; filter:drop-shadow(0 14px 18px rgba(0,0,0,.22)); }
.about-visual__badge{
  position:absolute; top:26px; right:-14px;
  background:linear-gradient(135deg,var(--gold-2),var(--gold));
  color:var(--navy); border-radius:var(--radius-md);
  padding:16px 20px; box-shadow:var(--shadow-gold);
  display:flex; flex-direction:column; gap:2px; text-align:center;
}
.about-visual__badge-num{ font-size:30px; font-weight:800; line-height:1; }
.about-visual__badge-num em{ font-style:normal; font-size:18px; vertical-align:super; }
.about-visual__badge-lbl{ font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; line-height:1.3; }
@media (max-width:760px){
  .about-visual{ padding:0 0 40px 30px; }
  .about-visual__badge{ right:0; }
}

/* Timeline / commitment list */
.check-list{ display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.check-list li{ display:flex; gap:14px; align-items:flex-start; font-size:15px; color:var(--ink); line-height:1.6; }
.check-list .tick{ flex:none; width:26px; height:26px; border-radius:50%; background:var(--cream-2); color:var(--wine-2); display:flex; align-items:center; justify-content:center; margin-top:2px; }
.check-list .tick svg{ width:13px; height:13px; }

/* CTA band */
.cta-band{ position:relative; border-radius:var(--radius-lg); overflow:hidden; padding:64px 56px; color:#fff; background:linear-gradient(120deg,var(--wine),var(--navy)); display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.cta-band::before{ content:''; position:absolute; inset:0; background:radial-gradient(50% 80% at 90% 10%, rgba(201,162,39,.35), transparent 60%); }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h3{ font-size:clamp(22px,2.6vw,32px); font-weight:800; max-width:520px; }
.cta-band p{ color:#d6d8ec; margin-top:10px; max-width:480px; }
.cta-band .actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* Office / contact cards */
.office-card{ padding:30px 26px; }
.office-card__logo{ height:40px; width:auto; max-width:100%; object-fit:contain; object-position:left center; margin-bottom:14px; display:block; }
.office-card .flag{ font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--wine-2); }
.office-card h4{ font-size:18px; font-weight:800; color:var(--navy); margin-top:10px; }
.office-card address{ font-style:normal; color:var(--gray); font-size:14px; margin-top:10px; line-height:1.7; }
.office-card .line-row{ display:flex; gap:10px; align-items:center; margin-top:10px; font-size:14px; font-weight:700; color:var(--navy); }
.office-card .line-row svg{ width:15px; height:15px; color:var(--wine-2); flex:none; }

/* Form */
.form-card{ background:#fff; border-radius:var(--radius-lg); padding:44px; box-shadow:var(--shadow-lg); }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:12.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--navy); margin-bottom:8px; }
.field input, .field textarea{
  width:100%; padding:14px 16px; border-radius:10px; border:1.5px solid var(--line); font-family:inherit; font-size:14.5px; background:var(--ivory); transition:border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--wine-2); box-shadow:0 0 0 4px rgba(147,26,46,.1); }
.field textarea{ resize:vertical; min-height:130px; }

/* Map */
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--line); }
.map-frame iframe{ width:100%; height:100%; min-height:320px; border:0; display:block; }
/* the standalone Find Us band gets a taller map than the contact page's side-by-side
   one, which instead stretches to match the form height */
#find-us .map-frame iframe{ min-height:430px; }
@media (max-width:760px){
  #find-us .map-frame iframe{ min-height:340px; }
}
.map-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:26px; flex-wrap:wrap; }
.map-addr{ display:flex; align-items:center; gap:9px; margin-top:12px; font-size:15px; font-weight:600; color:var(--gray); }
.map-addr svg{ width:17px; height:17px; color:var(--wine-2); flex:none; }

/* Hero video */
.hero-video{
  width:100%; height:100%; object-fit:cover; opacity:.75;
  transform:scale(1.04); animation:heroZoom 20s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion:reduce){
  .hero-video{ animation:none; }
  .hero-media img{ animation:none; }
}

/* Breadcrumb sidebar / related list */
.side-panel{ background:var(--cream); border-radius:var(--radius-lg); padding:28px; }
.side-panel h4{ font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--wine-2); margin-bottom:16px; }
.side-panel ul{ display:flex; flex-direction:column; gap:4px; }
/* scoped to the list — an unscoped `.side-panel a` also hits the panel's .btn and
   overrides its colour, padding and alignment (it outranks .btn-primary) */
.side-panel ul a{ display:flex; justify-content:space-between; align-items:center; padding:11px 4px; font-size:13.5px; font-weight:700; color:var(--ink); border-bottom:1px solid var(--line); }
.side-panel ul a:hover{ color:var(--wine-2); padding-left:6px; }
.side-panel ul a svg{ width:12px; height:12px; opacity:.5; }

/* Reveal animation */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-d1{ transition-delay:.08s; } .reveal-d2{ transition-delay:.16s; } .reveal-d3{ transition-delay:.24s; }
.reveal-d4{ transition-delay:.32s; } .reveal-d5{ transition-delay:.4s; } .reveal-d6{ transition-delay:.48s; }

/* Marquee (countries / logos strip) */
.marquee{ overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee-track{ display:flex; gap:56px; width:max-content; animation:marquee 26s linear infinite; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
.marquee-item{ font-weight:800; font-size:15px; color:var(--gray); white-space:nowrap; letter-spacing:.04em; opacity:.7; }

/* Back to top */
.to-top{ position:fixed; right:26px; bottom:26px; width:50px; height:50px; border-radius:50%; background:var(--wine-2); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); opacity:0; visibility:hidden; transform:translateY(10px); transition:.3s; z-index:150; border:0; }
.to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ background:var(--gold); color:var(--navy); }
.to-top svg{ width:18px; height:18px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy); color:#c8caea; }
/* keep .container's horizontal padding — a `padding:76px 0` shorthand here would zero it
   out and let footer content run to the screen edge */
.footer-top{ padding:76px 24px 46px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer-brand img{ height:46px; margin-bottom:18px; }
/* three brand marks in the footer, on a light plate so the dark wordmarks read */
/* width:max-content, not fit-content/inline-flex auto-sizing — inside this grid column,
   Chromium under-computes the shrink-to-fit width of a flex row whose children's
   widths derive from height (aspect-ratio images), clipping the last logo */
.footer-logos{ display:flex; align-items:center; gap:16px; flex-wrap:nowrap; background:rgba(255,255,255,.94); border-radius:14px; padding:14px 18px; margin-bottom:20px; width:max-content; transition:transform .25s, box-shadow .25s; }
.footer-logos:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.18); }
.footer-logos img{ height:44px; margin:0; width:auto; }
.footer-logos img.is-badge{ height:54px; }
/* keep all three on one row on small screens rather than wrapping awkwardly */
@media (max-width:620px){
  .footer-logos{ gap:11px; padding:12px 14px; flex-wrap:nowrap; }
  .footer-logos img{ height:32px; }
  .footer-logos img.is-badge{ height:40px; }
}
@media (max-width:400px){
  .footer-logos{ gap:9px; padding:10px 12px; }
  .footer-logos img{ height:27px; }
  .footer-logos img.is-badge{ height:33px; }
}
.footer-contact--brand{ margin-top:20px; }
.footer-contact--brand a{ color:#c8caea; }
.footer-contact--brand a:hover{ color:var(--gold-2); }
.footer-brand p{ font-size:14px; line-height:1.75; color:#a9acce; max-width:320px; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:.25s; }
.footer-social a:hover{ background:var(--gold); color:var(--navy); transform:translateY(-3px); }
.footer-social svg{ width:16px; height:16px; }
/* Social chips: solid white with a black glyph, flipping to the site's gold gradient
   on hover — the same gold treatment used by .btn-gold and the category-card arrows. */
.footer-social a.soc{
  color:var(--ink);
  background:#fff;
  border:0;
}
.footer-social a.soc svg{ width:18px; height:18px; }
.footer-social a.soc:hover{
  background:linear-gradient(135deg,var(--gold-2),var(--gold));
  color:var(--navy);
  border-color:transparent;
  transform:translateY(-3px);
  box-shadow:var(--shadow-gold);
}
.footer h5{ font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:#fff; margin-bottom:20px; }
.footer-links{ display:flex; flex-direction:column; gap:12px; }
.footer-links a{ font-size:14px; color:#a9acce; transition:.2s; }
.footer-links a:hover{ color:var(--gold-2); padding-left:4px; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:#a9acce; margin-bottom:14px; line-height:1.6; }
.footer-contact svg{ width:15px; height:15px; flex:none; margin-top:3px; color:var(--gold-2); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:22px 24px; font-size:12.5px; color:#8d90b3; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-bottom a:hover{ color:var(--gold-2); }

/* ---------- Responsive ---------- */
/* Nav switches to the mobile hamburger a little earlier than the rest of the
   1080px breakpoint below — 8 main-nav items no longer fit the header between
   ~1080-1160px, so give it its own, slightly wider cutoff. */
@media (max-width:1160px){
  .main-nav{ display:none; }
  .hamburger{ display:flex; }
}
@media (max-width:1080px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .topbar-left{ display:none; }
}
@media (max-width:760px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .section{ padding:64px 0; }
  .cta-band{ padding:40px 26px; flex-direction:column; align-items:flex-start; }
  .form-card{ padding:26px; }
  .doc-card{ flex-wrap:wrap; }
  .hero-stats{ flex-direction:column; gap:18px; }
  .hero-stat{ padding-right:0; margin-right:0; border-right:0; border-bottom:1px solid rgba(255,255,255,.15); padding-bottom:18px; }
  .hero-stat:last-child{ border-bottom:0; padding-bottom:0; }
  .lead-right{ margin-left:0; text-align:left; }
  .page-hero{ padding:170px 0 56px; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .footer-bottom{ flex-direction:column; align-items:center; text-align:center; }
}

/* Spec accordion (Corsica product list) */
.spec-list{ display:flex; flex-direction:column; gap:12px; max-width:860px; margin:0 auto; }
.spec-item{ border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); overflow:hidden; transition:box-shadow .2s; }
.spec-item[open]{ box-shadow:var(--shadow-sm); }
.spec-item summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 22px; }
.spec-item summary::-webkit-details-marker{ display:none; }
.spec-item summary .spec-name{ font-weight:800; font-size:15.5px; color:var(--ink); }
.spec-item summary .spec-right{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.spec-item summary .spec-grades{ display:none; }
.spec-item summary .spec-toggle{ width:28px; height:28px; border-radius:50%; background:var(--cream); color:var(--wine-2); display:flex; align-items:center; justify-content:center; font-size:18px; line-height:1; flex-shrink:0; transition:transform .2s; }
.spec-item[open] summary .spec-toggle{ transform:rotate(45deg); }
.spec-item .spec-body{ padding:0 22px 22px; border-top:1px solid var(--line); }
.spec-item .spec-body p{ margin-top:16px; color:var(--gray); font-size:14.5px; line-height:1.75; }
.spec-item .spec-body .spec-grades-full{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.spec-item .spec-grades-full span{ background:var(--cream); color:var(--wine-2); font-size:12px; font-weight:700; padding:5px 12px; border-radius:100px; }
@media (min-width:641px){
  .spec-item summary .spec-grades{ display:flex; flex-wrap:wrap; gap:6px; }
  .spec-item summary .spec-grades span{ background:var(--cream); color:var(--wine-2); font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:100px; }
  .spec-item .spec-body .spec-grades-full{ display:none; }
}

/* Location chips (Corsica supply locations) */
.location-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.location-chip{ display:flex; align-items:center; gap:10px; background:var(--white); border:1px solid var(--line); border-radius:100px; padding:10px 20px 10px 12px; transition:transform .2s, box-shadow .2s; }
.location-chip:hover{ transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.location-chip__icon{ width:34px; height:34px; border-radius:50%; background:var(--cream); color:var(--wine-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.location-chip__icon svg{ width:17px; height:17px; }
.location-chip span{ font-weight:700; font-size:14.5px; color:var(--ink); white-space:nowrap; }
