/* =========================================================
   NexusDP – public website styles
   Colours come from Admin → Settings (CSS variables).
   ========================================================= */
:root {
  --primary: #7a1f2b;
  --accent: #c9a45c;
  --dark: #1b1416;
  --ink: #2a2326;
  --muted: #6f6669;
  --line: #e9e2da;
  --cream: #faf7f2;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(27, 20, 22, .08);
  --shadow-lg: 0 24px 60px rgba(27, 20, 22, .16);
  --ff-head: "Playfair Display", Georgia, serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff-body); font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--dark); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; margin: 0 auto 2.5rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.empty { color: var(--muted); text-align: center; padding: 3rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent:hover { background: #fff; color: var(--dark); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--dark); }
.btn--sm { padding: .55em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1em 2em; font-size: 1rem; }
.btn--block { width: 100%; margin-top: .6rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .5em; color: var(--primary); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

.eyebrow {
  display: inline-block; font-family: var(--ff-body); font-size: .8rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.eyebrow--light { color: var(--accent); }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, white); padding: .25em .7em; border-radius: 999px; margin-bottom: .5rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.75); font-size: .85rem; position: relative; z-index: 60; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--accent); }
.topbar__contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar__contact i { color: var(--accent); margin-right: 4px; }
.topbar__social { display: flex; gap: 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; }
.site-header.is-solid { background: #fff; box-shadow: 0 1px 0 var(--line); }
.page-home .site-header.is-transparent { position: absolute; left: 0; right: 0; background: transparent; }
.page-home .topbar + .site-header.is-transparent { top: 40px; }
.site-header.is-transparent.is-scrolled { position: fixed !important; top: 0 !important; background: #fff !important; box-shadow: var(--shadow); animation: slideDown .4s var(--ease); }
.site-header.is-solid.is-scrolled { box-shadow: var(--shadow); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--dark); flex-shrink: 0; }
.brand:hover { color: var(--dark); }
.brand__logo { height: 52px; width: auto; }
.brand__logo--light { display: none; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent);
}
.brand__text { font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; line-height: 1.05; display: flex; flex-direction: column; }
.brand__text small { font-family: var(--ff-body); font-weight: 600; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.is-transparent:not(.is-scrolled) .brand, .is-transparent:not(.is-scrolled) .brand__text small { color: #fff; }
.is-transparent:not(.is-scrolled) .brand__logo--dark { display: none; }
.is-transparent:not(.is-scrolled) .brand__logo--light { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: .2rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: .35em; padding: .6em .75em; font-weight: 700; font-size: .92rem; white-space: nowrap;
  color: var(--dark); border-radius: 8px; position: relative;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: .85em; right: .85em; bottom: .25em; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.is-transparent:not(.is-scrolled) .main-nav > ul > li > a { color: #fff; }
.caret { font-size: .65em; opacity: .7; }
.submenu-toggle { display: none; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-radius: 12px; padding: .6rem;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease); border-top: 3px solid var(--accent);
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: .55em .9em; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.dropdown a:hover { background: var(--cream); color: var(--primary); padding-left: 1.2em; }
.nav-order-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  color: var(--dark); font-size: 1rem; display: grid; place-items: center; transition: background .2s;
}
.icon-btn:hover { background: var(--cream); }
.is-transparent:not(.is-scrolled) .icon-btn { color: #fff; }
.is-transparent:not(.is-scrolled) .icon-btn:hover { background: rgba(255,255,255,.12); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); padding: 1rem 0; display: none; }
.search-panel.open { display: block; animation: fadeIn .25s; }
.search-panel form { display: flex; align-items: center; gap: 1rem; }
.search-panel i { color: var(--muted); }
.search-panel input { flex: 1; border: 0; font-size: 1.15rem; padding: .6rem 0; outline: none; font-family: inherit; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 45%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--primary) 85%, transparent), transparent 55%),
    linear-gradient(135deg, var(--dark), var(--primary));
}
.hero__pattern::after {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px;
}
.hero__overlay { background: linear-gradient(90deg, rgba(15,10,12,.82) 0%, rgba(15,10,12,.45) 60%, rgba(15,10,12,.25) 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 100px; }
.hero h1 { color: #fff; margin-bottom: .4em; animation: rise 1s var(--ease) both .1s; }
.hero__copy .eyebrow { animation: rise 1s var(--ease) both; }
.hero__text { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 2rem; animation: rise 1s var(--ease) both .25s; }
.hero__copy .btn { animation: rise 1s var(--ease) both .4s; }
.hero__stat {
  justify-self: end; text-align: center; padding: 2.5rem 2.8rem; border-radius: 24px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px);
  animation: rise 1.1s var(--ease) both .5s;
}
.hero__num { display: block; font-family: var(--ff-head); font-size: clamp(4.5rem, 10vw, 8rem); line-height: 1; color: var(--accent); font-weight: 700; }
.hero__num::after { content: "+"; font-size: .5em; vertical-align: top; margin-left: 4px; }
.hero__num-label { display: block; margin-top: .8rem; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 700; }
.hero__scroll { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt, .section--serve, .section--brands { background: var(--cream); }
.sec-head { margin-bottom: 3rem; }
.sec-head h2 { margin-bottom: 0; }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-left: 10px; }
.sec-head--light h2 { color: #fff; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: 0; }
.sec-cta { text-align: center; margin-top: 3rem; }
.block-title { font-size: 1.6rem; margin: 3rem 0 1.5rem; }

/* media fallback (when no image uploaded) */
.media-fallback {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem; color: var(--primary);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    linear-gradient(135deg, var(--cream), color-mix(in srgb, var(--accent) 18%, white));
}
.media-fallback span { font-family: var(--ff-head); font-size: 3rem; font-weight: 700; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-card__media { aspect-ratio: 4/3; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.07); }
.cat-card .media-fallback i { transition: transform .5s var(--ease); }
.cat-card:hover .media-fallback i { transform: scale(1.15) rotate(-6deg); }
.cat-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.cat-card__body h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.cat-card__body p { color: var(--muted); font-size: .9rem; margin: 0; }
.cat-card__arrow {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--primary); box-shadow: var(--shadow);
  opacity: 0; transform: scale(.6); transition: all .3s var(--ease);
}
.cat-card:hover .cat-card__arrow { opacity: 1; transform: none; }

/* ---------- We serve ---------- */
.serve-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.serve-item { text-align: center; padding: 2rem 1rem; background: #fff; border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s; }
.serve-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.serve-item__icon {
  width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 2rem; color: var(--primary); background: var(--cream); border: 2px dashed color-mix(in srgb, var(--accent) 60%, transparent);
  transition: background .3s, color .3s;
}
.serve-item__icon img { width: 48px; height: 48px; object-fit: contain; }
.serve-item:hover .serve-item__icon { background: var(--primary); color: #fff; }
.serve-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.serve-item p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- Features (proud of) ---------- */
.section--features { position: relative; background: var(--dark); color: rgba(255,255,255,.8); overflow: hidden; }
.section--features::before {
  content: ""; position: absolute; inset: 0; background-image: var(--bg, none); background-size: cover; background-position: center; opacity: .18;
}
.section--features::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 70%, transparent), transparent 70%);
}
.section--features .container { position: relative; z-index: 1; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  padding: 2.2rem 1.6rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  background: rgba(255,255,255,.03); transition: background .3s, transform .35s var(--ease), border-color .3s;
}
.feature:hover { background: rgba(255,255,255,.07); transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.feature__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: var(--dark); background: var(--accent); margin-bottom: 1.4rem; }
.feature__icon img { width: 36px; height: 36px; object-fit: contain; }
.feature h3 { color: #fff; font-size: 1.25rem; }
.feature p { font-size: .93rem; margin: 0; }

/* ---------- Highlight tiles ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hl-tile {
  position: relative; min-height: 260px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end;
  color: #fff; background: linear-gradient(160deg, var(--primary), var(--dark));
}
.hl-tile:nth-child(2n) { background: linear-gradient(160deg, var(--dark), var(--primary)); }
.hl-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hl-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.05) 70%); }
.hl-tile:hover img { transform: scale(1.08); }
.hl-tile__body { position: relative; z-index: 1; padding: 1.6rem; transition: transform .35s var(--ease); }
.hl-tile:hover { color: #fff; }
.hl-tile:hover .hl-tile__body { transform: translateY(-6px); }
.hl-tile i { font-size: 1.6rem; color: var(--accent); margin-bottom: .8rem; }
.hl-tile h3 { color: #fff; font-size: 1.5rem; margin-bottom: .2rem; }
.hl-tile p { margin: 0; font-size: .9rem; opacity: .85; }

/* ---------- Owners ---------- */
.owners { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.owners .sec-head { margin-bottom: 1.5rem; }
.owners__copy .btn { margin-top: 1rem; }
.owners__img { border-radius: var(--radius); }
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.logo-wall__item {
  aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 1rem;
  background: #fff; transition: box-shadow .3s, transform .3s var(--ease); text-align: center; color: var(--dark);
}
.logo-wall__item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.logo-wall__item img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-wall__item:hover img { filter: none; opacity: 1; }
.logo-wall__item span { font-family: var(--ff-head); font-weight: 600; font-size: .98rem; line-height: 1.25; }

/* ---------- Brands ---------- */
.brand-swiper { padding-bottom: 3rem !important; }
.brand-card {
  height: 130px; background: #fff; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem; border: 1px solid var(--line); text-align: center; transition: box-shadow .3s;
}
.brand-card:hover { box-shadow: var(--shadow); }
.brand-card img { max-height: 80px; width: auto; object-fit: contain; }
.brand-card__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: var(--dark); }
.brand-card small { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--ink); transition: box-shadow .3s, transform .3s var(--ease); }
.brand-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--ink); }
.brand-tile__logo { height: 110px; display: grid; place-items: center; background: var(--cream); border-radius: 10px; margin-bottom: 1rem; }
.brand-tile__logo img { max-height: 80px; width: auto; }
.brand-tile__logo span { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.brand-tile h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.brand-tile small { color: var(--muted); }
.brand-tile p { font-size: .9rem; color: var(--muted); margin: .6rem 0 0; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .35s, transform .35s var(--ease); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; display: block; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; margin-bottom: .5rem; }
.news-card time i { color: var(--accent); margin-right: 4px; }
.news-card h3 { font-size: 1.2rem; }
.news-card h3 a { color: var(--dark); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { color: var(--muted); font-size: .93rem; flex: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--primary); color: #fff; padding: clamp(56px, 7vw, 90px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--bg, none); background-size: cover; background-position: center; opacity: .2; }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -120px; bottom: -220px; border: 60px solid rgba(255,255,255,.06); }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta__text { color: rgba(255,255,255,.85); max-width: 640px; }
.cta__text p:last-child { margin: 0; }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; padding: 110px 0 80px; color: #fff; background-color: var(--dark); background-size: cover; background-position: center;
  background-image: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 45%), linear-gradient(135deg, var(--dark), var(--primary));
}
.page-banner.has-image { background-blend-mode: normal; }
.page-banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,10,12,.8), rgba(15,10,12,.35)); }
.page-banner:not(.has-image) .page-banner__overlay { background: none; }
.page-banner__inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Layout helpers ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.5rem; }
.sidebar__box { background: var(--cream); border-radius: var(--radius); padding: 1.6rem; }
.sidebar__box h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.sidebar__box--cta { background: var(--dark); color: rgba(255,255,255,.8); }
.sidebar__box--cta h4 { color: #fff; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.side-links a i { color: var(--accent); width: 18px; text-align: center; }
.side-links a:hover { color: var(--primary); padding-left: 4px; }
.rounded-img { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; }

.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 10px; height: auto; margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--cream); border-radius: 0 10px 10px 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose--center { text-align: center; max-width: 780px; margin: 0 auto; }

/* about */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
.stat-card { background: var(--dark); color: #fff; border-radius: 20px; padding: 2.4rem; text-align: center; position: sticky; top: calc(var(--header-h) + 20px); }
.stat-card__num { font-family: var(--ff-head); font-size: 5.5rem; color: var(--accent); line-height: 1; display: block; }
.stat-card__label { letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; font-weight: 700; }
.stat-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 1.6rem 0; }
.stat-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; text-align: left; }
.stat-card strong { color: var(--accent); font-size: 1.3rem; margin-right: .5rem; font-family: var(--ff-head); }

/* divisions */
.div-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.div-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); transition: box-shadow .35s, transform .35s var(--ease); }
.div-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); color: var(--ink); }
.div-card__media { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.div-card__media > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.div-card:hover .div-card__media > img:first-child { transform: scale(1.06); }
.div-card__logo { position: absolute; left: 1rem; bottom: 1rem; max-height: 56px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.div-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.div-card__body p { color: var(--muted); font-size: .93rem; }
.division-info { text-align: center; }
.division-info__logo { max-height: 90px; margin: 0 auto 1rem; }
.division-info__icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 2rem; margin: 0 auto 1rem; }
.division-info .footer__contact { text-align: left; margin: 1rem 0; }
.division-info .footer__contact li { color: var(--ink); }

/* category */
.cat-intro { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.cat-intro:not(:has(img)) { grid-template-columns: 1fr; }
.cat-intro img { border-radius: var(--radius); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .3s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-card__media { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.product-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.product-card p { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }
.product-card dl { margin: 0; display: grid; gap: .25rem; font-size: .85rem; }
.product-card dl div { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: .25rem; }
.product-card dt { color: var(--muted); }
.product-card dd { margin: 0; font-weight: 700; }

/* gallery */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.album-card { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; }
.album-card > img, .album-card > .media-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 60%); }
.album-card:hover > img, .album-card:hover > .media-fallback { transform: scale(1.06); }
.album-card__body { position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 1; }
.album-card__body h3 { color: #fff; margin: 0; }
.album-card__body span { font-size: .85rem; opacity: .85; }
.album-card:hover { color: #fff; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry__item { display: block; margin-bottom: 16px; border-radius: 12px; overflow: hidden; break-inside: avoid; }
.masonry__item img { width: 100%; transition: transform .5s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; position: relative; }
.team-card__photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: .1rem; }
.team-card__pos { color: var(--primary); font-weight: 700; font-size: .88rem; }
.team-card p { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.team-card__in { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }

/* careers */
.job-list { display: grid; gap: 14px; }
.job-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; transition: box-shadow .3s, border-color .3s; }
.job-row:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.job-row h3 { margin-bottom: .3rem; }
.job-row__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.job-row__meta i { color: var(--accent); margin-right: 4px; }
.job-row__meta--lg { margin-bottom: 1.6rem; font-size: .95rem; }
.empty-box { text-align: center; padding: 3rem 2rem; background: var(--cream); border-radius: var(--radius); }
.empty-box i { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; }

/* forms */
.form { display: grid; gap: 1rem; }
.form--grid { grid-template-columns: 1fr 1fr; }
.form .span-2 { grid-column: span 2; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 700; color: var(--dark); }
.form input, .form textarea, .form select, .search-inline input {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 500;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .search-inline input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow); }
.sidebar .form-box { box-shadow: none; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; font-size: .93rem; }
.alert--success { background: #e8f6ee; color: #1d6b41; }
.alert--error { background: #fdecec; color: #a42828; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact-cards li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--cream); }
.contact-cards i { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-cards div { display: flex; flex-direction: column; }
.contact-cards strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-cards a, .contact-cards span { color: var(--dark); font-weight: 600; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.3); }

/* search */
.search-inline { display: flex; gap: .6rem; margin-bottom: 1.5rem; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.search-results a { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 600; margin-left: .6rem; }
.search-results p { margin: .4rem 0 0; color: var(--muted); font-size: .93rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* article */
.share { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share span { font-weight: 700; margin-right: .4rem; }
.share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--dark); }
.share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.recent-list a { display: flex; gap: .9rem; align-items: center; color: var(--ink); }
.recent-list__thumb { width: 70px; height: 56px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.recent-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-list__thumb .media-fallback { font-size: 1.2rem; }
.recent-list strong { display: block; font-size: .92rem; line-height: 1.35; }
.recent-list small { color: var(--muted); }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--dark); font-weight: 700; }
.pagination a.active, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 404 */
.notfound__code { font-family: var(--ff-head); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--primary); opacity: .15; display: block; }
.notfound h1 { margin-top: -.5em; }
.notfound__actions { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); font-size: .95rem; }
.footer__newsletter { border-bottom: 1px solid rgba(255,255,255,.08); }
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.newsletter h3 { color: #fff; font-size: 1.7rem; margin-bottom: .3rem; }
.newsletter p { margin: 0; }
.newsletter__form { display: flex; gap: .6rem; flex-wrap: wrap; position: relative; }
.newsletter__form input[type=email] { flex: 1; min-width: 220px; padding: .95rem 1.3rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.newsletter__form input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.newsletter__form input[type=email]:focus { outline: none; border-color: var(--accent); }
.newsletter__msg { flex-basis: 100%; margin: .3rem 0 0 1rem !important; font-size: .88rem; min-height: 1.2em; }
.newsletter__msg.ok { color: #8fd6a9; }
.newsletter__msg.err { color: #f2a0a0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer__col h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--accent); }
.brand--footer { margin-bottom: 1.2rem; color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer img { height: 56px; width: auto; }
.footer__links, .footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer__links a { color: rgba(255,255,255,.7); }
.footer__links a:hover { color: var(--accent); padding-left: 4px; }
.footer__contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer__contact i { color: var(--accent); margin-top: .35rem; width: 16px; text-align: center; }
.footer__contact a { color: rgba(255,255,255,.8); }
.footer__contact a:hover { color: var(--accent); }
.site-footer .division-info a { color: var(--primary); }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .25s; }
.social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.social--dark a { background: var(--cream); color: var(--primary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; font-size: .87rem; }
.footer__bottom p { margin: 0; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; z-index: 40;
  background: var(--primary); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1600px) {
  .site-header .brand__text small { display: none; }
}
@media (max-width: 1360px) {
  .main-nav > ul > li > a { padding: .6em .55em; font-size: .88rem; }
}
@media (max-width: 1220px) {
  .header__order { display: none; }
}
@media (max-width: 1140px) {
  .cat-grid, .feature-grid, .hl-grid, .brand-grid, .team-grid, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .div-grid, .album-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .with-sidebar, .about-intro { grid-template-columns: 1fr; }
  .sidebar, .stat-card { position: static; }

  /* mobile navigation */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 70;
    padding: 90px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-open .main-nav { transform: none; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; }
  .nav-open .site-header { z-index: 90; }
  .nav-toggle { position: relative; z-index: 80; }
  .nav-open .nav-toggle { color: var(--dark) !important; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { color: var(--dark) !important; padding: .9em 0; font-size: 1rem; }
  .main-nav > ul > li > a::after, .caret { display: none; }
  .submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: var(--cream); border-radius: 8px; color: var(--primary); cursor: pointer; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem .8rem; display: none; min-width: 0; }
  .has-dropdown.open > .dropdown { display: block; }
  .nav-order-mobile { display: flex; margin-top: 1.5rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stat { justify-self: start; padding: 1.6rem 2rem; }
  .owners, .contact, .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .brand__logo { height: 42px; }
  .topbar__contact a:nth-child(2) { display: none; }
  .brand__text small { display: none; }
  .cat-grid, .feature-grid, .hl-grid, .news-grid, .div-grid, .album-grid, .product-grid, .footer__grid, .sitemap-grid { grid-template-columns: 1fr; }
  .serve-grid, .brand-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .form--grid { grid-template-columns: 1fr; }
  .form .span-2 { grid-column: auto; }
  .cat-intro { grid-template-columns: 1fr; }
  .job-row { flex-direction: column; align-items: flex-start; }
  .hero__num { font-size: 4.5rem; }
  .hero__scroll { display: none; }
  .form-box { padding: 1.4rem; }
}
