:root {
    --navy: #221e1b; --navy-deep: #17140f; --steel: #4a453d;
    --accent: #db2327; --accent-dark: #b81c20; --ink: #2a2723;
    --muted: #625e57; --line: #e8e1d6; --bg: #f6f3ee; --white: #ffffff; --accent-tint: #fbf1f1;
    --radius: 14px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; font-family: 'Source Sans 3', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--ink); background: var(--white); line-height: 1.55;
  }
  a { text-decoration: none; color: inherit; }
  h1, h2, h3 { margin: 0; font-family: 'Libre Franklin', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; }


  /* header (shared) */
  header { background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-wrap { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
  .logo-img { height: 48px; width: auto; display: block; }
  nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; font-size: 14px; font-weight: 600; }
  nav a { color: var(--navy); opacity: 0.75; transition: opacity 0.2s; }
  nav a:hover { opacity: 1; }
  nav .active { color: var(--accent-dark); opacity: 1; }
  .has-dropdown { position: relative; }
  .has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
  .dropdown-caret { flex-shrink: 0; transition: transform 0.2s ease; }
  .has-dropdown:hover .dropdown-caret, .has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }
  .nav-dropdown {
    position: absolute; top: 100%; left: 50%; margin-top: 14px; transform: translateX(-50%) translateY(-8px);
    background: var(--white); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 20px 44px rgba(23,20,15,0.16); padding: 16px; width: 460px;
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 200;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
  .has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .nav-dropdown-grid a { display: block; padding: 12px 14px; border-radius: 9px; font-size: 16px; font-weight: 600; color: var(--navy); opacity: 0.82; transition: background 0.15s ease, opacity 0.15s ease; }
  .nav-dropdown-grid a:hover { background: var(--bg); opacity: 1; }
  .nav-cta { background: var(--accent-dark); color: var(--white) !important; padding: 9px 18px; border-radius: 8px; font-size: 13.5px; opacity: 1 !important; }

  /* hero */
  .about-hero {
    background: linear-gradient(135deg, var(--navy-deep), var(--steel));
    color: var(--white); padding: 68px 24px 60px; text-align: center;
  }
  .about-hero .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; color: rgba(255,255,255,0.75); font-weight: 700; margin-bottom: 12px; }
  .about-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
  .about-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,0.88); font-size: 15.5px; }

  /* shared section styles */
  .section { max-width: 1180px; margin: 0 auto; padding: 68px 24px; }
  .section.tinted { background: var(--white); max-width: none; }
  .section-divider { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; }
  .section-divider::before, .section-divider::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
  .section-divider .tab { flex: none; margin: 0 18px; background: none; border: 1.5px solid var(--accent-dark); color: var(--accent-dark); font-family: 'Libre Franklin', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-weight: 800; font-size: 14.5px; text-transform: uppercase; letter-spacing: 1.6px; padding: 9px 22px; border-radius: 999px; white-space: nowrap; }
  .section-divider + .section:not(.tinted) { padding-top: 32px; }
  .section-divider + .section.tinted { padding-top: 0; }
  .section-divider + .section.tinted > .inner { padding-top: 32px; }
  .section-divider + .mini-clients { padding-top: 32px; }
  .section.tinted > .inner { max-width: 1180px; margin: 0 auto; padding: 68px 24px; }
  .eyebrow-label { text-align: center; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
  .section-title { text-align: center; font-size: 29px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
  .section-sub { text-align: center; color: var(--muted); font-size: 15px; max-width: 640px; margin: 0 auto 40px; }

  /* company overview */
  .overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 860px) { .overview { grid-template-columns: 1fr; } }
  .overview .copy .eyebrow-label, .overview .copy h2 { text-align: left; }
  .overview .copy h2 { font-size: 27px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
  .overview .copy p { font-size: 15px; color: var(--ink); margin: 0 0 16px; }
  .overview-visual { position: relative; border-radius: var(--radius); height: 340px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
  .overview-visual .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
  .overview-visual .slide.active { opacity: 1; }
  .overview-visual .slide-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
  .overview-visual .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.85); cursor: pointer; transition: background 0.2s; padding: 0; }
  .overview-visual .dot.active { background: #fff; }

  /* mission & vision */
  .mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  @media (max-width: 860px) { .mv-grid { grid-template-columns: 1fr; } }
  .mv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; }
  .mv-label { font-family: 'Libre Franklin', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: 16px; font-weight: 800; color: var(--accent-dark); margin: 0 0 16px; }
  .mv-rule { width: 34px; height: 3px; border-radius: 2px; background: var(--accent-dark); margin-bottom: 22px; }
  .mv-card p { font-size: 16px; color: var(--ink); line-height: 1.75; margin: 0; }
  .mv-values-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
  .mv-values-list li { font-size: 16px; color: var(--ink); line-height: 1.6; }
  .mv-values-list b { display: block; color: var(--navy); font-weight: 800; margin-bottom: 2px; }
  .mv-section.section.tinted > .inner { padding-top: 30px; }
  .mv-section .section-title { font-size: 36px; }

  /* certifications */
  .cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 860px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }
  .cert-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
  .cert-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(34,30,27,0.07); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
  .cert-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 8px; }
  .cert-card p { font-size: 12.5px; color: var(--muted); margin: 0; }

  /* mini clients (same as approved design) */
  .mini-clients { padding: 76px 0 82px; background: var(--white); }
  .mini-clients-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  .mini-eyebrow { text-align: center; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
  .mini-heading { text-align: center; font-size: 32px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
  .mini-sub { text-align: center; font-size: 15.5px; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }
  .mini-stats { display: flex; justify-content: center; gap: 0; margin-bottom: 14px; flex-wrap: wrap; }
  .mini-stat { text-align: center; padding: 0 38px; border-right: 1px solid var(--line); }
  .mini-stat:last-child { border-right: none; }
  .mini-stat-num { font-size: 30px; font-weight: 800; color: var(--navy); }
  .mini-stat-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-top: 4px; }
  .mini-stats-caption { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 40px; }
  .mini-marquee { position: relative; margin-top: 6px; }
  .mini-marquee::before, .mini-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none; }
  .mini-marquee::before { left: 0; background: linear-gradient(to right, var(--white), rgba(255,255,255,0)); }
  .mini-marquee::after { right: 0; background: linear-gradient(to left, var(--white), rgba(255,255,255,0)); }
  .mini-marquee-row { overflow: hidden; margin-bottom: 14px; }
  .mini-marquee-row:last-child { margin-bottom: 0; }
  .mini-marquee-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
  .mini-marquee-track.track-ltr { animation: mini-marquee-ltr 30s linear infinite; }
  .mini-marquee-track.track-rtl { animation: mini-marquee-rtl 34s linear infinite; }
  .mini-marquee-row:hover .mini-marquee-track { animation-play-state: paused; }
  @keyframes mini-marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0%); } }
  @keyframes mini-marquee-rtl { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .mini-marquee-track { animation: none !important; } }
  .mini-logo-tile { flex: 0 0 auto; width: 172px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; height: 76px; display: flex; align-items: center; justify-content: center; padding: 10px; transition: all 0.25s ease; }
  .mini-logo-tile:hover { box-shadow: 0 6px 16px rgba(23,20,15,0.10); transform: translateY(-2px); }
  .mini-logo-tile span { font-weight: 800; font-size: 11.5px; color: var(--navy); text-align: center; }
  .mini-logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

  /* CTA banner */
  .cta-banner { background: var(--navy); color: var(--white); text-align: center; padding: 60px 24px; }
  .cta-banner h2 { font-size: 25px; font-weight: 800; margin-bottom: 12px; }
  .cta-banner p { color: rgba(255,255,255,0.88); font-size: 14.5px; max-width: 500px; margin: 0 auto 26px; }
  .btn-primary { background: var(--accent-dark); color: var(--white); padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 14.5px; transition: background 0.2s; display: inline-block; }
  .btn-primary:hover { background: var(--accent); }

  /* footer (shared) */
  footer { background: var(--navy-deep); color: rgba(255,255,255,0.62); padding: 48px 24px 24px; }
  .footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  @media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
  .footer-brand img { height: 42px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.95; }
  .footer-brand p { font-size: 13px; color: rgba(255,255,255,0.62); max-width: 320px; }
  .footer-socials { display: flex; gap: 10px; margin-top: 16px; }
  .footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
  .footer-socials a:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
  footer h3 { color: var(--white); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
  footer ul { list-style: none; margin: 0; padding: 0; }
  footer li { margin-bottom: 10px; font-size: 13.5px; }
  footer a:hover { color: var(--white); }
  .footer-bottom { max-width: 1180px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.50); }

  /* ---- Mobile nav (hamburger dropdown panel) ---- */
  .nav-toggle { display: none; background: none; border: none; padding: 6px; margin: 0; cursor: pointer; color: var(--navy); }
  @media (max-width: 880px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    nav ul {
      display: none; position: fixed; top: 77px; left: 0; right: 0;
      flex-direction: column; gap: 0; margin: 0; background: var(--white);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
      box-shadow: 0 16px 32px rgba(23,20,15,0.14); padding: 4px 24px; z-index: 300;
      max-height: calc(100vh - 77px); overflow-y: auto;
    }
    nav.nav-open ul { display: flex; }
    nav ul li { width: 100%; }
    nav ul li a { display: block; width: 100%; padding: 15px 2px; opacity: 1; border-bottom: 1px solid var(--line); box-sizing: border-box; }
    nav ul li:last-child a { border-bottom: none; }
    nav ul li a.nav-cta { display: block; text-align: center; margin: 14px 0 16px; border-bottom: none; }
    .has-dropdown .nav-dropdown { display: none !important; }
    .has-dropdown .dropdown-caret { display: none; }
  }

  /* ---- Footer legal links (Privacy Notice / Cookie settings) ---- */
  .footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .footer-legal a:hover { color: var(--white); }

/* CookieYes banner: make "Accept All" the primary action. Reject/Customise stay the same size and fully visible. */
.cky-btn.cky-btn-accept {
  background: #b81c20 !important;   /* site red: same as the Send Message button (--accent-dark) */
  border-color: #b81c20 !important;
  color: #ffffff !important;
}
.cky-btn.cky-btn-reject,
.cky-btn.cky-btn-customize,
.cky-btn.cky-btn-preferences {
  background: transparent !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
}
/* Preference centre (Customise panel): put "Accept All" first */
.cky-prefrence-btn-wrapper { display: flex !important; flex-wrap: wrap; gap: 8px; }
.cky-prefrence-btn-wrapper .cky-btn-accept { order: -1; }

/* CookieYes banner: smaller text on phones */
@media (max-width: 600px) {
  .cky-consent-container .cky-title { font-size: 14px !important; }
  .cky-consent-container .cky-notice-des,
  .cky-consent-container .cky-notice-des p { font-size: 12px !important; line-height: 1.4 !important; }
}
