/*
Theme Name: JOMOALU
Theme URI: https://www.jomoalu.com
Author: [YOUR NAME / STUDIO]
Description: Custom theme for JOMOALU — architectural facade solutions. Six languages, products, projects, insights and a secure inquiry system.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: jomoalu
License: Proprietary
*/

@font-face { font-family: Inter; font-weight: 300; font-display: swap; src: url(assets/fonts/inter-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(assets/fonts/inter-latin-700-normal.woff2) format("woff2"); }

/* Jomoalu — site styles (dark/light themes via [data-theme] on <html>) */
/* ---------- Theme tokens: JOMOALU luxury palette (brief v1.0) ----------
   Midnight Black #171A1E · Metal Silver #B9B9B7 · Champagne Gold #C9AD7B · Warm White #F4F3EF */
  :root {
    --navy: #171A1E;          /* kept name: now Midnight Black */
    --blue: #C9AD7B;          /* kept name: now Champagne Gold (accent) */
    --blue-strong: #B39461;
    --on-accent: #171A1E;     /* text on gold */
    --radius: 6px;
    --max: 1320px;
  }
  [data-theme="dark"] {
    --bg: #171A1E;
    --bg-alt: #1D2025;
    --surface: #22262C;
    --surface-2: #2A2E35;
    --line: rgba(244,243,239,0.10);
    --text: #F4F3EF;
    --muted: #B9B9B7;
    --label: #C9AD7B;
    --btn-bg: #C9AD7B;
    --btn-text: #171A1E;
    --input-bg: #1D2025;
    --input-line: #3A3E45;
    --shadow: 0 22px 32px -14px rgba(0,0,0,0.7), 0 2px 0 rgba(0,0,0,0.2);
    --shadow-lg: 0 34px 48px -18px rgba(0,0,0,0.8);
    --hero-overlay: linear-gradient(180deg, rgba(17,19,22,0.45) 0%, rgba(17,19,22,0.65) 60%, #171A1E 100%);
  }
  [data-theme="light"] {
    --bg: #F4F3EF;
    --bg-alt: #ECEAE4;
    --surface: #FFFFFF;
    --surface-2: #E9E7E1;
    --line: #DDDAD2;
    --text: #171A1E;
    --muted: #55575C;
    --label: #7A6134;          /* darker gold so small text stays readable on warm white */
    --btn-bg: #171A1E;
    --btn-text: #F4F3EF;
    --input-bg: #FFFFFF;
    --input-line: #CFCCC4;
    --shadow: 0 20px 28px -14px rgba(23,26,30,0.22), 0 2px 0 rgba(23,26,30,0.05);
    --shadow-lg: 0 30px 44px -18px rgba(23,26,30,0.3);
    --hero-overlay: linear-gradient(180deg, rgba(17,19,22,0.30) 0%, rgba(17,19,22,0.55) 100%);
  }

  /* ---------- Base ---------- */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
    transition: background-color .3s, color .3s;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { margin: 0; line-height: 1.12; }
  p { margin: 0; }
  .container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
  .label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
  .h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 300; letter-spacing: -0.01em; }
  .h2 strong { font-weight: 700; }
  .section { padding: 120px 0; }
  .alt { background: var(--bg-alt); }
  .split { display: flex; flex-wrap: wrap; gap: 48px; }
  .split > .label { flex: 1 1 240px; padding-top: 10px; }
  .split > .split-body { flex: 3 1 560px; min-width: 0; }
  .muted { color: var(--muted); }
  .arrow { width: 16px; height: 16px; flex: none; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px;
    padding: 12px 24px; border-radius: 4px; font-weight: 600; font-size: 14px;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
    transition: transform .15s, background-color .2s, border-color .2s, color .2s;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--shadow); }
  .btn-primary:hover { background: var(--blue-strong); }
  .btn-outline { border-color: currentColor; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
  .btn-outline.on-dark { color: #FFFFFF; }
  .btn-outline.on-dark:hover { background: #FFFFFF; color: var(--navy); }

  /* ---------- Header ---------- */
  .utility { border-bottom: 1px solid var(--line); background: var(--bg); }
  .utility .container { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  .utility a { color: var(--muted); }
  .utility a:hover { color: var(--text); }
  header.site {
    position: sticky; top: 0; z-index: 50; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(0,0,0,.6);
  }
  header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
  .logo img { height: 44px; width: auto; }
  .logo .logo-light { display: none; }
  [data-theme="light"] .logo .logo-light { display: block; }
  [data-theme="light"] .logo .logo-dark { display: none; }
  .nav-wrap { display: flex; align-items: center; gap: 28px; }
  nav.main { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
  nav.main a { color: var(--muted); transition: color .2s; }
  nav.main a:hover { color: var(--text); }
  .icon-btn {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); color: var(--text); border: 1px solid var(--line); cursor: pointer;
  }
  .icon-btn svg { width: 20px; height: 20px; }
  .menu-btn { display: none; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; min-height: 680px; display: grid; place-items: center; text-align: center; color: #FFFFFF;
    background: #171A1E center 60% / cover no-repeat; overflow: hidden;
  }
  .hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
  .hero-inner { position: relative; padding: 120px 32px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .hero h1 { font-size: clamp(46px, 7.2vw, 108px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
  .hero h1 strong { font-weight: 700; }
  .hero .sub { font-size: 18px; color: rgba(255,255,255,.85); max-width: 620px; }

  /* ---------- Intro ---------- */
  .intro-text { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.38; font-weight: 400; }
  .intro-text em { font-style: normal; color: var(--label); font-weight: 600; }

  /* ---------- Cards (shadow bottom) ---------- */
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s;
  }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

  /* ---------- Products ---------- */
  .products-head { margin-bottom: 56px; }
  .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
  .product { display: flex; flex-direction: column; }
  .product img { width: 100%; height: 260px; object-fit: cover; }
  .product-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .product h3 { font-size: 21px; font-weight: 600; }
  .product p { font-size: 15px; flex: 1; }
  .more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
  .honeycomb {
    margin-top: 28px; padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    border-left: 4px solid var(--blue);
  }
  .honeycomb-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .honeycomb h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }

  /* ---------- Featured services ---------- */
  .services { background: linear-gradient(180deg, var(--navy) 0%, #111316 100%); color: #FFFFFF; }
  [data-theme="dark"] .services { background: linear-gradient(180deg, #1D2025 0%, #171A1E 100%); }
  .services-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 44px; }
  .services-head h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
  .rule { display: flex; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,.8); }
  .rule::before, .rule::after { content: ""; width: 120px; height: 1px; background: rgba(255,255,255,.6); }
  .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
  .tab {
    min-height: 44px; padding: 10px 22px; border-radius: 4px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
    background: #FFFFFF; color: var(--navy); border: 1px solid #FFFFFF; box-shadow: 0 12px 20px -12px rgba(0,0,0,.6);
    transition: background-color .2s, color .2s;
  }
  .tab:hover { background: #EFE7D6; }
  .tab[aria-selected="true"] { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
  .panel {
    max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--surface); color: var(--text); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  }
  .panel[hidden] { display: none; }
  .panel-img { min-height: 360px; background-size: cover; background-position: center; }
  .panel-body { padding: 48px; display: flex; flex-direction: column; gap: 18px; }
  .panel-body h3 { font-size: 30px; font-weight: 600; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .panel-body ol, .panel-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
  .panel-body li strong { color: var(--text); font-weight: 600; }
  .panel-body .btn { align-self: flex-start; margin-top: 6px; }

  /* Project references (logo wall) */
  .refs { max-width: 1080px; margin: 0 auto; background: #111316; border-radius: var(--radius); padding: 56px 32px; box-shadow: var(--shadow-lg); overflow: hidden; }
  [data-theme="light"] .refs { background: #FFFFFF; }
  .refs-head { text-align: center; margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
  .refs-head .label { color: #C9AD7B; }
  [data-theme="light"] .refs-head .label { color: #7A6134; }
  .refs-title { font-size: 28px; font-weight: 600; color: #FFFFFF; }
  [data-theme="light"] .refs-title { color: var(--navy); }
  .refs-head p { color: #B9B9B7; max-width: 560px; font-size: 15px; }
  [data-theme="light"] .refs-head p { color: #55575C; }
  .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .marquee + .marquee { margin-top: 22px; }
  .track { display: flex; gap: 22px; width: max-content; animation: scroll 38s linear infinite; }
  .marquee.reverse .track { animation-direction: reverse; }
  .logo-tile {
    width: 180px; height: 72px; border-radius: 6px; display: grid; place-items: center; flex: none;
    border: 1px dashed rgba(255,255,255,.22); color: #9A9A98; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  }
  [data-theme="light"] .logo-tile { border-color: #CFCCC4; color: #8A8A88; }
  @keyframes scroll { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

  /* ---------- Company ---------- */
  .company { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
  .company > * { flex: 1 1 440px; min-width: 0; }
  .company-text { display: flex; flex-direction: column; gap: 22px; }
  .company-text p { font-size: 17px; line-height: 1.75; }
  .company-img { position: relative; }
  .company-img img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); }
  .badge {
    position: absolute; left: 24px; bottom: 24px; background: var(--blue); color: #FFFFFF; border-radius: 6px;
    padding: 18px 22px; display: flex; align-items: baseline; gap: 10px; box-shadow: var(--shadow-lg);
  }
  .badge b { font-size: 44px; line-height: 1; font-weight: 700; }
  .badge span { font-size: 14px; font-weight: 600; line-height: 1.3; }

  /* ---------- Contact ---------- */
  .contact { display: flex; flex-wrap: wrap; gap: 64px; }
  .contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
  .contact-rows { border-top: 1px solid var(--line); }
  .contact-row { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .contact-row span:first-child { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .contact-row span:last-child { font-size: 17px; font-weight: 600; }
  form.enquiry { flex: 1 1 480px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
  .row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
  .field { display: flex; flex-direction: column; gap: 8px; }
  .field label { font-size: 14px; font-weight: 500; }
  .field input, .field textarea {
    font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--input-line);
    border-radius: 4px; padding: 13px; min-height: 48px;
  }
  .field textarea { resize: vertical; min-height: 130px; }
  .form-note { font-size: 14px; color: var(--label); min-height: 20px; }

  /* ---------- Footer ---------- */
  footer.site { background: #111316; color: #B9B9B7; padding: 56px 0 40px; }
  [data-theme="light"] footer.site { background: var(--navy); color: #B9B9B7; }
  .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
  .footer-top img { height: 38px; width: auto; }
  .footer-top nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
  .footer-top nav a { color: #FFFFFF; }
  .footer-top nav a:hover { color: #C9AD7B; }
  .copyright { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; font-size: 13px; }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .container { padding: 0 22px; }
    .section { padding: 84px 0; }
    .menu-btn { display: grid; }
    nav.main {
      display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
      background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    nav.main.open { display: flex; }
    nav.main a { padding: 16px 22px; border-top: 1px solid var(--line); }
    .nav-wrap .btn-primary { display: none; }
    .panel { grid-template-columns: 1fr; }
    .panel-img { min-height: 240px; }
    .panel-body { padding: 32px 26px; }
    .hero { min-height: 560px; }
    form.enquiry { padding: 28px 22px; }
  }

  /* ---------- Theme slide switch ---------- */
  .switch {
    position: relative; width: 68px; height: 36px; flex: none; padding: 0; cursor: pointer;
    border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2);
    display: flex; align-items: center; justify-content: space-between; padding: 0 9px;
    transition: background-color .3s, border-color .3s;
  }
  .switch svg { width: 15px; height: 15px; position: relative; z-index: 1; color: var(--muted); transition: color .3s; }
  .switch .knob {
    position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%;
    background: #FFFFFF; box-shadow: 0 4px 10px -2px rgba(0,0,0,.45);
    transition: transform .3s cubic-bezier(.4,.2,.2,1), background-color .3s;
  }
  .switch[aria-checked="true"] { background: #2A2E35; border-color: #3A3E45; }
  .switch[aria-checked="true"] .knob { transform: translateX(32px); background: var(--blue); }
  .switch[aria-checked="true"] .moon-i { color: #FFFFFF; }
  .switch[aria-checked="false"] .sun-i { color: #F2A900; }
  .switch-wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* ---------- Language switch ---------- */
  .lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
  .lang button {
    font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .04em; cursor: pointer;
    background: transparent; color: var(--muted); border: 0; padding: 5px 14px; min-height: 30px;
  }
  .lang button[aria-pressed="true"] { background: var(--blue); color: #FFFFFF; }
  .utility .container { align-items: center; }

  /* ---------- Contact channels ---------- */
  .channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
  .channel { padding: 22px; display: flex; align-items: center; gap: 16px; }
  .channel-logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #FFFFFF; box-shadow: 0 10px 18px -10px rgba(0,0,0,.5); }
  .channel-logo img { width: 32px; height: 32px; }
  .channel small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .channel b { display: block; font-size: 16px; font-weight: 600; word-break: break-word; }
  .channel .go { font-size: 13px; font-weight: 600; color: var(--label); }
  [lang="zh-CN"] body { font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
  [lang="zh-CN"] .label, [lang="zh-CN"] .more, [lang="zh-CN"] .btn-outline { letter-spacing: .06em; }

/* =====================================================================
   Multi-page additions
   ===================================================================== */

/* Header with more nav items: collapse earlier */
nav.main a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--blue); }
nav.main { gap: 26px; font-size: 14.5px; }
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  nav.main {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 16px 22px; border-top: 1px solid var(--line); }
  nav.main a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #FFFFFF; min-height: 380px; display: flex; align-items: flex-end;
  background-color: #1D2025; background-size: cover; background-position: center;
}
.page-hero.is-placeholder {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 22px),
    linear-gradient(120deg, #171A1E 0%, #1D2025 55%, #B39461 140%);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,22,0.25) 0%, rgba(17,19,22,0.75) 100%); }
.page-hero .container { position: relative; width: 100%; padding-top: 120px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; }
.page-hero h1 strong { font-weight: 700; }
.page-hero .sub { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 640px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.crumbs a:hover { color: #FFFFFF; }
.ph-chip {
  position: absolute; right: 24px; top: 24px; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,0.12); border: 1px dashed rgba(255,255,255,0.4); color: #FFFFFF; padding: 6px 12px; border-radius: 4px;
}

/* Image placeholder */
.ph {
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(201,173,123,0.07) 0 2px, transparent 2px 18px),
    var(--surface-2);
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.ph-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.ph-inner svg { width: 34px; height: 34px; opacity: .7; }
.ph-inner small { font-weight: 400; font-size: 12px; opacity: .8; letter-spacing: 0; }

/* Chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600; min-height: 42px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line); box-shadow: 0 10px 18px -14px rgba(0,0,0,.6);
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.tag {
  display: inline-flex; align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--label); background: rgba(201,173,123,0.12); padding: 4px 10px; border-radius: 4px;
}
.count { font-size: 14px; color: var(--muted); }

/* Generic grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }

/* Item card (products, cases, articles) */
.item { display: flex; flex-direction: column; }
.item .ph, .item > img { height: 230px; width: 100%; object-fit: cover; }
.item-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.item-body h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.item-body p { font-size: 15px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.meta svg { width: 15px; height: 15px; }
.meta span { display: inline-flex; gap: 6px; align-items: center; }

/* Featured (wide) card */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: 40px; }
.feature .ph, .feature > img { min-height: 380px; height: 100%; border-bottom: 0; }
.feature .item-body { padding: 44px; justify-content: center; gap: 16px; }
.feature h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-radius: 6px; overflow: hidden; color: #FFFFFF; box-shadow: var(--shadow-lg); }
.stat { padding: 36px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid rgba(255,255,255,0.18); }
.stat:last-child { border-right: 0; }
.stat b { font-size: 46px; font-weight: 300; line-height: 1; }
.stat span { font-size: 15px; color: #D9D8D4; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 20px; }
.gallery > * { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery .ph, .gallery img { width: 100%; height: 100%; object-fit: cover; border-bottom: 0; }

/* Value cards */
.value { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.value svg { width: 44px; height: 44px; color: var(--blue); }
.value h3 { font-size: 20px; font-weight: 600; }

/* Certificates */
.cert .ph { height: 300px; }
.cert .item-body { text-align: center; align-items: center; }

/* CTA band */
.cta { padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; color: #FFFFFF; border-radius: 6px; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; }
.cta h2 strong { font-weight: 700; }
.cta p { color: #D9D8D4; margin-top: 10px; }
.btn-white { background: #FFFFFF; color: var(--navy); box-shadow: var(--shadow); }
.btn-white:hover { background: #EFE7D6; }

/* Article list rows (news) */
.rows { display: flex; flex-direction: column; gap: 18px; }
.row-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.row-item .ph { height: 100%; min-height: 170px; border-bottom: 0; border-right: 1px solid var(--line); }
.row-item .item-body { padding: 26px 30px; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager button {
  font: inherit; font-size: 14px; font-weight: 600; min-width: 44px; height: 44px; border-radius: 4px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
}
.pager button[aria-current="page"] { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }

/* Sidebar layout */
.with-side { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.with-side > .main-col { flex: 999 1 560px; min-width: 0; }
.with-side > aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.side-box { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.side-box h3 { font-size: 18px; font-weight: 600; }
.side-box input { font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--input-line); border-radius: 4px; padding: 12px; min-height: 46px; }

/* Contact page */
.person { padding: 28px; display: flex; gap: 20px; align-items: center; }
.person .avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; overflow: hidden; }
.person .avatar .ph { width: 100%; height: 100%; border: 0; }
.map .ph { height: 380px; border-bottom: 0; }
.qr { display: flex; gap: 18px; align-items: center; padding: 22px; }
.qr .ph { width: 120px; height: 120px; flex: none; border-radius: 6px; border: 1px solid var(--line); }

/* Steps (concept design) */
.topic-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.topic { background: var(--surface); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.topic b { font-size: 40px; font-weight: 300; color: var(--label); line-height: 1; }
.topic h3 { font-size: 18px; font-weight: 600; }

@media (max-width: 900px) {
  .feature, .row-item { grid-template-columns: 1fr; }
  .feature .ph, .feature > img { min-height: 240px; }
  .row-item .ph { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature .item-body { padding: 28px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .cta { padding: 36px 26px; }
  .page-hero { min-height: 320px; }
}

/* Blue gradient band (stats, CTA, subscribe) */
.band { background-image: linear-gradient(90deg, #171A1E 0%, #B39461 100%); }
[data-theme="dark"] .band { background-image: linear-gradient(90deg, #2A2E35 0%, #C9AD7B 100%); }
/* Small placeholders show the icon only */
.avatar .ph-inner span, .avatar .ph-inner small, .qr .ph-inner small { display: none; }
.qr .ph-inner span { font-size: 11px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: none; }
.timeline li { padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; position: relative; border-top: 3px solid var(--blue); }
.timeline li b { font-size: 34px; font-weight: 300; line-height: 1; color: var(--label); }
.timeline li p { font-size: 14.5px; }
/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.steps .item .ph, .steps .item > img { height: 190px; }
.step-no { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--label); }

.logo-tile { width: auto; min-width: 180px; padding: 0 22px; text-transform: none; letter-spacing: 0; font-size: 14px; border-style: solid; text-align: center; }

/* Hero label and founding line */
.hero-label { font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #D8C39A; }
.hero-est { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); padding: 7px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 96px); }


/* =====================================================================
   Luxury restyle: text on gold, tabs, bands
   ===================================================================== */
.chip[aria-pressed="true"], .tab[aria-selected="true"], .pager button[aria-current="page"],
.lang button[aria-pressed="true"], .badge { color: var(--on-accent); }
.btn-primary:hover { background: #D8C39A; }
[data-theme="light"] .btn-primary:hover { background: #2A2E35; }
.btn-white { background: var(--blue); color: var(--on-accent); }
.btn-white:hover { background: #D8C39A; }
.band { background: linear-gradient(120deg, #2A2E35 0%, #171A1E 100%) !important; border: 1px solid rgba(201,173,123,.35); }
[data-theme="dark"] .band { background: linear-gradient(120deg, #2A2E35 0%, #171A1E 100%) !important; }
.band .stat b, .stats .stat b { color: #C9AD7B; }
.services { background: #111316 !important; }
.tab { background: transparent; color: #F4F3EF; border: 1px solid rgba(185,185,183,.45); box-shadow: none; }
.tab:hover { background: rgba(244,243,239,.06); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); }
.rule::before, .rule::after { background: rgba(201,173,123,.6); }
.services-head h2 { font-weight: 300; letter-spacing: .08em; }
.honeycomb { border-left-color: var(--blue); }
.switch[aria-checked="true"] .moon-i { color: var(--on-accent); }
.timeline li { border-top-color: var(--blue); }
.hero-est { border-color: rgba(201,173,123,.6); color: #D8C39A; }
.hero-label { color: #C9AD7B; }
.page-hero.is-placeholder { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 22px), linear-gradient(120deg, #2A2E35 0%, #171A1E 60%, #3A3E45 140%); }


/* =====================================================================
   WordPress additions
   ===================================================================== */
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
nav.main .current-menu-item > a, nav.main .current_page_item > a, nav.main .current-menu-ancestor > a { color: var(--text); box-shadow: inset 0 -2px 0 var(--blue); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
@media (max-width: 1100px) { nav.main ul { flex-direction: column; gap: 0; } }
.lang ul { list-style: none; margin: 0; padding: 0; display: flex; }
.lang a { display: block; font-size: 12px; font-weight: 600; padding: 5px 14px; color: var(--muted); }
.lang .current-lang a { background: var(--blue); color: var(--on-accent); }
.wp-content { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 820px; }
.wp-content h2 { font-size: 30px; font-weight: 400; color: var(--text); margin: 40px 0 14px; }
.wp-content h3 { font-size: 22px; color: var(--text); margin: 30px 0 10px; }
.wp-content p { margin: 0 0 18px; }
.wp-content img { border-radius: var(--radius); height: auto; }
.wp-content a { color: var(--label); text-decoration: underline; }
.detail-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.detail-grid > .main-col { flex: 999 1 560px; min-width: 0; }
.detail-grid > aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.detail-hero-img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.facts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt, .facts span:first-child { color: var(--muted); }
.field select { font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--input-line); border-radius: 4px; padding: 13px; min-height: 48px; }
.field input[type=file] { padding: 10px; }
.field small { color: var(--muted); font-size: 13px; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.notice-box { padding: 16px 20px; border-radius: 4px; border: 1px solid var(--blue); color: var(--text); background: rgba(201,173,123,.12); }
.notice-box.error { border-color: #E07A6A; background: rgba(224,122,106,.12); }
.is-hidden { display: none !important; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; padding: 0 12px; }
.pagination .page-numbers.current { background: var(--blue); color: var(--on-accent); border-color: var(--blue); }
.footer-top nav li { list-style: none; display: inline; }
.footer-top nav ul, .footer-top nav li { margin: 0; padding: 0; }
.footer-top nav { align-items: center; }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--blue); color: var(--on-accent); padding: 10px 16px; }
.item > a img, .item > a .ph, .row-item > a img, .row-item > a .ph { width: 100%; height: 230px; object-fit: cover; display: block; }
.row-item > a img, .row-item > a .ph { height: 100%; min-height: 170px; }
.feature > a img, .feature > a .ph { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.item-body h3 a:hover { color: var(--label); }

.side-box .more .icon, .meta .icon, .facts .icon { width: 16px; height: 16px; flex: none; }
.side-box .more { padding: 6px 0; }
.value .icon { width: 44px; height: 44px; color: var(--blue); }

/* =====================================================================
   LIGHT EDITION (client request, Nov 2026): white, airy, no dark sections.
   Dark-mode styles above are kept but the site always runs in light mode.
   ===================================================================== */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #F6F5F2;
  --surface: #FFFFFF;
  --surface-2: #F1EFEA;
  --line: #E6E3DC;
  --text: #171A1E;
  --muted: #5A5C61;
  --label: #7A6134;
  --btn-bg: #171A1E;
  --btn-text: #FFFFFF;
  --shadow: 0 18px 30px -16px rgba(23,26,30,0.18), 0 1px 0 rgba(23,26,30,0.04);
  --shadow-lg: 0 28px 44px -20px rgba(23,26,30,0.22);
}
[data-theme="light"] header.site { background: rgba(255,255,255,.96); box-shadow: 0 10px 24px -20px rgba(23,26,30,.35); }
[data-theme="light"] .utility { background: #FFFFFF; }

/* Featured services: light background, dark text */
[data-theme="light"] .services { background: #F6F5F2 !important; color: var(--text); }
[data-theme="light"] .services-head h2 { color: var(--text); }
[data-theme="light"] .rule { color: var(--muted); }
[data-theme="light"] .rule::before, [data-theme="light"] .rule::after { background: rgba(122,97,52,.45); }
[data-theme="light"] .tab { color: var(--text); border-color: #D8D4CB; background: #FFFFFF; }
[data-theme="light"] .tab:hover { background: #FBF8F2; }
[data-theme="light"] .tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-accent); }
[data-theme="light"] .refs { background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow); }
[data-theme="light"] .refs-title { color: var(--text); }

/* Stats, call-to-action and subscribe bands: light gold tint instead of charcoal */
[data-theme="light"] .band { background: linear-gradient(120deg, #FBF7EF 0%, #F3EBDD 100%) !important; border: 1px solid #E8DCC5; color: var(--text); box-shadow: var(--shadow); }
[data-theme="light"] .band .stat b, [data-theme="light"] .stats .stat b { color: #7A6134; }
[data-theme="light"] .stat { border-right-color: #E8DCC5; }
[data-theme="light"] .stat span, [data-theme="light"] .cta p { color: var(--muted); }
[data-theme="light"] .cta { color: var(--text); }
[data-theme="light"] .btn-white { background: #171A1E; color: #FFFFFF; }
[data-theme="light"] .btn-white:hover { background: #2A2E35; }
@media (max-width: 900px) { [data-theme="light"] .stat { border-bottom-color: #E8DCC5; } }

/* Footer: light */
[data-theme="light"] footer.site { background: #F6F5F2; color: var(--muted); border-top: 1px solid var(--line); }
[data-theme="light"] .footer-top nav a { color: var(--text); }
[data-theme="light"] .footer-top nav a:hover { color: var(--label); }
[data-theme="light"] .copyright { border-top-color: var(--line); }

/* Placeholder banners: soft warm grey */
[data-theme="light"] .page-hero.is-placeholder { background-image: repeating-linear-gradient(135deg, rgba(23,26,30,0.04) 0 2px, transparent 2px 22px), linear-gradient(120deg, #EDEAE3 0%, #F6F5F2 100%); color: var(--text); }
[data-theme="light"] .page-hero.is-placeholder::before { background: none; }
[data-theme="light"] .page-hero.is-placeholder .sub, [data-theme="light"] .page-hero.is-placeholder .crumbs { color: var(--muted); }
[data-theme="light"] .page-hero.is-placeholder .ph-chip { color: var(--muted); border-color: #CFCBC2; background: rgba(255,255,255,.6); }

/* Photo banners: lighter overlay, text stays readable */
[data-theme="light"] .page-hero::before { background: linear-gradient(180deg, rgba(17,19,22,0.10) 0%, rgba(17,19,22,0.55) 100%); }

/* Cloudflare Turnstile widget */
.cf-turnstile { min-height: 65px; }
