/* ==========================================================================
   TTR ENGINEERING — Website design system
   Implements the approved website mockup (Logo System v1.2 identity).
   Palette: Green #174C3D · Charcoal #282F2D (approved brand tokens)
   Type:    Inter (brand typeface)
   ========================================================================== */

/* ---------- Fonts (self-hosted, brand typeface) ---------- */
@font-face { font-family:'Inter'; src:url('../fonts/Inter-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-ExtraBold.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }

/* ---------- Tokens ---------- */
:root{
  --green:#174C3D;
  --green-deep:#0F382C;
  --green-soft:#1D5A49;
  --ink:#282F2D;
  --ink-strong:#202624;
  --muted:#5C6660;
  --muted-2:#7A837D;
  --sage:#E9EDE9;
  --sage-2:#F2F4F1;
  --paper:#FFFFFF;
  --line:#E2E6E2;
  --line-dark:rgba(255,255,255,.16);
  --error:#A93226;
  --ok:#174C3D;
  --shadow:0 1px 2px rgba(32,38,36,.05),0 8px 28px rgba(32,38,36,.07);
  --container:1200px;
  --pad:24px;
  --sec:88px;
  --radius:2px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font:400 16px/1.65 'Inter',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:var(--green); text-decoration:none; }
a:hover{ text-decoration:underline; }
h1,h2,h3,h4{ margin:0; color:var(--ink-strong); font-weight:800; line-height:1.14; letter-spacing:-.02em; }
p{ margin:0 0 1em; }
ul,ol{ margin:0 0 1em; padding-left:1.2em; }
sup{ font-size:.62em; }
::selection{ background:var(--green); color:#fff; }

.container{ max-width:var(--container); margin:0 auto; padding:0 var(--pad); }

/* ---------- Type utilities ---------- */
.eyebrow{
  display:block; font-size:12px; font-weight:600; letter-spacing:.16em;
  text-transform:uppercase; color:var(--green); margin-bottom:18px;
}
.eyebrow--light{ color:rgba(255,255,255,.72); }
.h1{ font-size:clamp(38px,4.6vw,58px); }
.h2{ font-size:clamp(28px,3vw,38px); }
.h3{ font-size:clamp(21px,2.2vw,26px); }
.lead{ font-size:18px; color:var(--muted); }
.small{ font-size:13.5px; color:var(--muted); }
.mono-note{ font-size:12.5px; color:var(--muted-2); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; justify-content:center;
  background:var(--green); color:#fff !important; border:1px solid var(--green);
  font:600 15px/1 'Inter',sans-serif; padding:16px 24px; border-radius:var(--radius);
  cursor:pointer; text-decoration:none !important; transition:background .15s ease,border-color .15s ease;
}
.btn:hover{ background:var(--green-deep); border-color:var(--green-deep); }
.btn:disabled{ opacity:.55; cursor:not-allowed; }
.btn svg{ width:13px; height:13px; flex:none; }
.btn--outline-w{ background:transparent; border-color:rgba(255,255,255,.55); }
.btn--outline-w:hover{ background:rgba(255,255,255,.1); border-color:#fff; }
.btn--ghost{ background:transparent; border-color:var(--line); color:var(--ink) !important; }
.btn--ghost:hover{ border-color:var(--green); color:var(--green) !important; }
.btn--sm{ padding:12px 18px; font-size:14px; }
.arrow{ width:13px; height:13px; stroke:currentColor; stroke-width:2.2; fill:none; }
.link-action{
  display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:15px;
  color:var(--green); text-decoration:none;
}
.link-action:hover{ text-decoration:underline; }
.link-action svg{ width:12px; height:12px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:60; background:rgba(255,255,255,.97);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line);
}
.site-header__bar{
  display:flex; align-items:center; justify-content:space-between; gap:28px;
  height:78px;
}
.brand{ display:inline-flex; align-items:center; gap:14px; text-decoration:none !important; }
.brand img{ height:44px; width:auto; }
.brand--footer img{ height:52px; }
.site-nav{ display:flex; align-items:center; gap:30px; }
.site-nav a{
  font-size:14.5px; font-weight:500; color:var(--ink); text-decoration:none;
  padding:6px 0; border-bottom:2px solid transparent;
}
.site-nav a:hover{ color:var(--green); }
.site-nav a.is-active{ color:var(--green); border-bottom-color:var(--green); }
.site-header .btn{ white-space:nowrap; }
.nav-toggle{
  display:none; background:none; border:1px solid var(--line); border-radius:var(--radius);
  width:46px; height:46px; cursor:pointer; position:relative;
}
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{
  content:''; position:absolute; left:12px; right:12px; height:2px; background:var(--ink); transition:.2s;
}
.nav-toggle span{ top:22px; }
.nav-toggle span::before{ top:-7px; }
.nav-toggle span::after{ top:7px; }
body.nav-open .nav-toggle span{ background:transparent; }
body.nav-open .nav-toggle span::before{ transform:rotate(45deg); top:0; }
body.nav-open .nav-toggle span::after{ transform:rotate(-45deg); top:0; }

/* Mobile drawer */
.mobile-drawer{
  display:none; position:fixed; inset:78px 0 0 0; background:#fff; z-index:55;
  padding:28px var(--pad) 48px; overflow:auto;
}
body.nav-open .mobile-drawer{ display:block; }
body.nav-open{ overflow:hidden; }
.mobile-drawer nav{ display:flex; flex-direction:column; }
.mobile-drawer nav a{
  padding:17px 2px; font-size:19px; font-weight:600; color:var(--ink);
  text-decoration:none; border-bottom:1px solid var(--line);
}
.mobile-drawer nav a.is-active{ color:var(--green); }
.mobile-drawer .btn{ margin-top:26px; width:100%; }
.mobile-drawer .drawer-contact{ margin-top:26px; font-size:14px; color:var(--muted); }

/* ---------- Page header band (sage) ---------- */
.page-band{ background:var(--sage); padding:72px 0 64px; }
.page-band .crumbs{ font-size:13px; color:var(--muted); margin-bottom:14px; }
.page-band .crumbs a{ color:var(--muted); text-decoration:underline; }
.page-band .code{ font-size:13px; letter-spacing:.06em; color:var(--muted); margin:0 0 10px; font-weight:500; }
.page-band h1{ max-width:900px; }

/* ---------- Hero (home) ---------- */
.hero{ background:var(--green); color:#fff; }
.hero__grid{
  display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:56px;
  padding:88px 0 72px; align-items:end;
}
.hero h1{ color:#fff; }
.hero__side p{ color:rgba(255,255,255,.86); font-size:16.5px; margin-bottom:26px; }
.hero__actions{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.hero__media{ padding:0; display:block; }
.hero__media img{ width:100%; height:min(62vh,560px); object-fit:cover; }
.hero__media .container{ }
.media-caption{
  font-size:12px; color:var(--muted-2); padding:10px 0 0;
}

/* ---------- Sections ---------- */
.section{ padding:var(--sec) 0; }
.section--tight{ padding:64px 0; }
.section--sage{ background:var(--sage); }
.section--mist{ background:var(--sage-2); }
.section--green{ background:var(--green); color:#fff; }
.section--green h2,.section--green h3{ color:#fff; }
.split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; align-items:stretch; }
.split__media{ position:relative; min-height:420px; }
.split__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.split__panel{ background:var(--sage); padding:72px 64px; display:flex; flex-direction:column; justify-content:center; }
.split__panel p{ color:var(--muted); }
.two-col{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,5fr); gap:64px; }
.two-col .lead{ color:var(--muted); }

/* Enquiry row list (home) */
.rowlist{ border-top:1px solid var(--line); margin-top:48px; }
.rowlist__item{
  display:grid; grid-template-columns:minmax(0,4fr) minmax(0,6fr) 40px; gap:32px;
  padding:26px 0; border-bottom:1px solid var(--line); align-items:start;
  color:inherit; text-decoration:none;
}
.rowlist__item h3{ font-size:19px; color:var(--green); letter-spacing:-.01em; }
.rowlist__item p{ margin:0; color:var(--muted); font-size:15.5px; }
.rowlist__item .arrow{ margin-top:4px; justify-self:end; color:var(--green); }
.rowlist__item:hover h3{ text-decoration:underline; }

/* ---------- Product cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-top:44px; }
.pcard{
  border:1px solid var(--line); border-radius:var(--radius); background:#fff;
  display:flex; flex-direction:column; text-decoration:none; color:inherit;
  transition:box-shadow .18s ease, transform .18s ease;
}
.pcard:hover{ box-shadow:var(--shadow); transform:translateY(-2px); text-decoration:none; }
.pcard__media{ aspect-ratio:4/3; overflow:hidden; background:var(--sage-2); }
.pcard__media img{ width:100%; height:100%; object-fit:cover; }
.pcard__body{ padding:22px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1; }
.pcard__meta{ font-size:12.5px; color:var(--muted); font-weight:500; }
.pcard__meta b{ color:var(--ink); font-weight:600; }
.pcard h3{ font-size:18.5px; letter-spacing:-.01em; }
.pcard__code{ font-size:12.5px; color:var(--muted-2); letter-spacing:.05em; }
.pcard__desc{ font-size:14.5px; color:var(--muted); margin:2px 0 4px; }
.pcard__unit{ font-size:13.5px; color:var(--ink); }
.pcard__note{ font-size:12.5px; color:var(--muted-2); line-height:1.5; }
.pcard .link-action{ margin-top:auto; padding-top:14px; font-size:14.5px; }

/* ---------- Statement bands ---------- */
.statement{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,5fr); gap:56px; align-items:center; }
.cta-band{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:56px; align-items:center; }
.cta-band p{ color:rgba(255,255,255,.85); }
.cta-band a{ color:#fff; text-decoration:underline; }

/* ---------- Definition list (product detail / common info) ---------- */
.spec{ margin:0; }
.spec dt{
  font-size:16px; font-weight:700; color:var(--green); margin:26px 0 6px;
}
.spec dt:first-child{ margin-top:0; }
.spec dd{ margin:0; font-size:15px; color:var(--ink); }
.spec dd + dt{ margin-top:26px; }
.spec--plain dt{ color:var(--ink); font-size:15px; }
.spec--plain dd{ color:var(--muted); }

/* Product detail layout */
.pd{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,5fr); gap:72px; padding:72px 0 88px; }
.pd__media img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.pd__media .media-caption{ border-bottom:1px solid var(--line); padding-bottom:14px; }
.pd__desc{ margin-top:26px; color:var(--muted); font-size:15.5px; }
.pd .btn{ margin-top:34px; }
.pd__info .spec dd{ margin-bottom:2px; }

/* Related concepts */
.related{ background:var(--sage); padding:72px 0; }
.related .card-grid{ margin-top:36px; }
.related__item a{ font-weight:700; font-size:17px; color:var(--green); display:inline-flex; align-items:center; gap:8px; }
.related__item .pcard__code{ margin-top:6px; }

/* ---------- Catalogue ---------- */
.catalogue-tools{ background:var(--sage-2); padding:44px 0 40px; border-top:1px solid var(--line); }
.tools-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; }
.field label{ display:block; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:9px; }
.input,select.input,textarea.input{
  width:100%; background:#fff; border:1px solid #C9CFC9; border-radius:var(--radius);
  padding:14px 15px; font:400 15px/1.4 'Inter',sans-serif; color:var(--ink);
}
.input::placeholder{ color:#9AA29B; }
.input:focus{ outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(23,76,61,.14); }
select.input{ appearance:none; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23282F2D' stroke-width='1.8'/></svg>"); background-repeat:no-repeat; background-position:right 15px center; padding-right:40px; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.chip{
  border:1px solid var(--line); background:#fff; color:var(--ink); font:500 13.5px/1 'Inter',sans-serif;
  padding:11px 16px; border-radius:var(--radius); cursor:pointer;
}
.chip:hover{ border-color:var(--green); color:var(--green); }
.chip.is-active{ background:var(--green); border-color:var(--green); color:#fff; }
.catalogue-meta{ display:flex; justify-content:space-between; align-items:center; margin:40px 0 6px; font-size:13.5px; color:var(--muted); }
.catalogue-meta .count b{ color:var(--ink); }
.catalogue-empty{
  border:1px dashed #C9CFC9; border-radius:var(--radius);
  padding:64px 32px; text-align:center; margin-top:24px;
}
.catalogue-empty h3{ margin-bottom:10px; }
.is-hidden{ display:none !important; }

/* ---------- FAQ accordions ---------- */
.faq-list{ border-top:1px solid var(--line); margin-top:44px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  gap:24px; padding:24px 0; font-size:18px; font-weight:700; color:var(--ink-strong); letter-spacing:-.01em;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .faq-x{
  flex:none; width:30px; height:30px; border:1px solid var(--line); border-radius:50%;
  display:grid; place-items:center; color:var(--green); font-weight:600; font-size:17px;
  transition:transform .18s ease;
}
.faq-item[open] summary .faq-x{ transform:rotate(45deg); background:var(--green); color:#fff; border-color:var(--green); }
.faq-item .faq-a{ padding:0 60px 26px 0; color:var(--muted); font-size:15.5px; }
.faq-item[open] summary{ color:var(--green); }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; }
.form-grid .full{ grid-column:1 / -1; }
.f-label{ display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:8px; }
.f-help{ font-size:12.5px; color:var(--muted-2); margin:8px 0 0; }
.f-state{ font-size:13px; margin-top:7px; display:none; }
.field.has-error .input{ border-color:var(--error); }
.field.has-error .f-state{ display:block; color:var(--error); }
.form-note{ font-size:13.5px; color:var(--muted); }
.form-note a{ text-decoration:underline; }
.check{ display:flex; gap:12px; align-items:flex-start; font-size:13.5px; color:var(--muted); }
.check input{ margin-top:3px; width:17px; height:17px; accent-color:var(--green); }
.file-choose{
  display:flex; align-items:center; gap:14px; background:var(--sage-2);
  border:1px solid var(--line); border-radius:var(--radius); padding:10px 14px;
}
.file-choose .btn{ pointer-events:none; }
.file-choose input[type=file]{ position:absolute; width:1px; height:1px; opacity:0; }
.file-choose label{ flex:1; cursor:pointer; font-size:13.5px; color:var(--muted); }
.form-banner{ display:none; padding:20px 22px; border-radius:var(--radius); font-size:15px; margin-bottom:26px; }
.form-banner.is-ok{ display:block; background:var(--sage); border:1px solid #CBDCD3; color:var(--ink); }
.form-banner.is-err{ display:block; background:#F9ECEA; border:1px solid #E4C7C3; color:var(--error); }
.btn.is-busy{ opacity:.7; }

/* Info blocks (contact page left rail) */
.info-rail h3{ font-size:20px; margin:34px 0 12px; }
.info-rail h3:first-of-type{ margin-top:0; }
.info-rail .tel-big{ font-size:clamp(24px,2.6vw,32px); font-weight:800; color:var(--green); letter-spacing:-.02em; display:inline-block; margin-bottom:6px; }
.info-rail p{ color:var(--muted); font-size:15px; }
.info-rail .disclaimer{ font-size:13px; color:var(--muted-2); border-top:1px solid var(--line); padding-top:18px; }

/* ---------- Tables (about / legal) ---------- */
.info-table{ width:100%; border-collapse:collapse; margin-top:8px; }
.info-table th,.info-table td{ text-align:left; padding:15px 0; border-bottom:1px solid var(--line); vertical-align:top; }
.info-table th{ font-weight:600; color:var(--muted); font-size:14px; width:38%; }
.info-table td{ font-size:15px; color:var(--ink); }

/* ---------- Principles grid ---------- */
.grid-2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
.p-card{ border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px; background:#fff; }
.p-card .num{ font-size:13px; font-weight:700; color:var(--green); letter-spacing:.1em; margin-bottom:14px; display:block; }
.p-card h3{ font-size:19px; margin-bottom:10px; }
.p-card p{ margin:0; color:var(--muted); font-size:14.5px; }

/* Notice / callout */
.notice{
  border:1px solid #CBDCD3; background:var(--sage); border-left:3px solid var(--green);
  border-radius:var(--radius); padding:26px 30px;
}
.notice h3{ font-size:19px; margin-bottom:8px; }
.notice p{ margin:0; color:var(--muted); font-size:15px; }

/* ---------- Prose (legal pages) ---------- */
.prose{ max-width:820px; }
.prose h2{ font-size:24px; margin:44px 0 14px; }
.prose h2:first-child{ margin-top:0; }
.prose p,.prose li{ color:var(--muted); font-size:15.5px; }
.prose .tag{
  display:inline-block; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); border:1px solid var(--line); border-radius:var(--radius); padding:6px 10px; margin-bottom:22px;
}

/* ---------- Footer ---------- */
.site-footer{ background:#242927; color:rgba(255,255,255,.82); padding:72px 0 40px; }
.site-footer a{ color:rgba(255,255,255,.82); }
.site-footer a:hover{ color:#fff; }
.site-footer .brand{ margin-bottom:30px; }
.footer-contact{ font-size:15px; line-height:1.9; margin-bottom:34px; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:6px 0; font-size:14.5px; margin-bottom:12px; }
.footer-nav a{ padding-right:10px; margin-right:10px; border-right:1px solid var(--line-dark); }
.footer-nav a:last-child{ border-right:0; }
.footer-nav--secondary{ font-size:13.5px; color:rgba(255,255,255,.62); }
.footer-legal{
  margin-top:44px; padding-top:24px; border-top:1px solid var(--line-dark);
  font-size:13px; color:rgba(255,255,255,.55); display:flex; flex-wrap:wrap; gap:8px 28px; justify-content:space-between;
}

/* ---------- Client login (approved Login Screen design) ---------- */
.auth{ min-height:100vh; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); background:#fff; }
.auth__form{ display:flex; flex-direction:column; padding:56px clamp(28px,7vw,120px); }
.auth__brand img{ height:46px; }
.auth__card{ max-width:400px; width:100%; margin:auto; padding:48px 0 32px; }
.auth__card h1{ font-size:clamp(26px,3vw,32px); text-align:center; margin-bottom:10px; }
.auth__card .auth__sub{ text-align:center; color:var(--muted); font-size:14.5px; margin-bottom:34px; }
.auth__field{ margin-bottom:20px; }
.auth__field label{ display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:8px; }
.auth__wrap{ position:relative; }
.auth__wrap .input{ padding-right:46px; }
.auth__eye{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  background:none; border:0; width:38px; height:38px; cursor:pointer; color:var(--muted-2);
  display:grid; place-items:center; border-radius:var(--radius);
}
.auth__eye:hover{ color:var(--green); }
.auth__eye svg{ width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.8; }
.auth__submit{ width:100%; margin-top:8px; }
/* Workspace selector: MBC CRM Suite / MBC SCM Suite / Website Builder —
 * sits directly above the Username field, radio-style segmented control. */
.auth__systems{ margin:0 0 22px; }
.auth__systems-label{ font-size:13.5px; font-weight:600; color:var(--ink); margin:0 0 8px; }
.auth__systems-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.auth__sys{
  display:flex; flex-direction:column; gap:3px; align-items:flex-start; text-align:left;
  padding:11px 12px 10px; background:#fff; border:1px solid var(--line); border-radius:12px;
  cursor:pointer; font:inherit; transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.auth__sys:hover{ border-color:#B9C4BD; }
.auth__sys:focus-visible{ outline:2px solid var(--green); outline-offset:2px; }
.auth__sys.is-active{
  border-color:var(--green); background:rgba(23,76,61,.05);
  box-shadow:inset 0 0 0 1px var(--green);
}
.auth__sys-title{ font-size:13px; font-weight:700; color:var(--ink); line-height:1.25; }
.auth__sys.is-active .auth__sys-title{ color:var(--green); }
.auth__sys-sub{ font-size:11px; color:var(--muted-2); line-height:1.3; }
.auth__hints{ margin-top:10px; }
.auth__hint{ display:none; font-size:12.5px; color:var(--muted); margin:0; }
.auth__systems[data-target="crm"] .auth__hint[data-hint-for="crm"]{ display:block; }
.auth__systems[data-target="scm"] .auth__hint[data-hint-for="scm"]{ display:block; }
.auth__systems[data-target="web"] .auth__hint[data-hint-for="web"]{ display:block; }
@media (max-width:560px){
  .auth__systems-row{ grid-template-columns:1fr; }
  .auth__sys{ flex-direction:row; align-items:baseline; gap:8px; }
}
/* Logged-in "doors" list on the same auth layout. */
.auth__doors{ display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.auth__or{ display:flex; align-items:center; gap:16px; color:var(--muted-2); font-size:13px; margin:26px 0; }
.auth__or::before,.auth__or::after{ content:''; height:1px; background:var(--line); flex:1; }
.btn--google{
  width:100%; background:#fff; border:1px solid var(--line); color:var(--ink) !important;
}
.btn--google:hover{ background:#F7F8F6; border-color:#C9CFC9; }
.btn--google img{ width:19px; height:19px; }
.auth__links{ text-align:center; margin-top:26px; font-size:14px; color:var(--muted); }
.auth__links a{ color:var(--ink); font-weight:600; text-decoration:underline; }
.auth__links a:hover{ color:var(--green); }
.auth__back{ text-align:center; margin-top:8px; font-size:13px; }
.auth__back a{ color:var(--muted-2); }
.auth__legal{ text-align:center; font-size:12px; color:var(--muted-2); margin-top:28px; }
.auth__media{ position:relative; background:var(--ink); overflow:hidden; }
.auth__media .auth__photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); }
.auth__media::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(23,76,61,.38) 0%, rgba(23,76,61,.12) 45%, rgba(32,38,36,.55) 100%);
}
.auth__media .auth__quote{
  position:absolute; z-index:2; left:52px; right:52px; bottom:52px; color:#fff;
}
.auth__media .auth__quote .eyebrow{ color:rgba(255,255,255,.75); }
.auth__media .auth__quote p{ font-size:clamp(20px,2.1vw,26px); font-weight:700; letter-spacing:-.015em; line-height:1.3; margin:0; }
.auth__media .auth__logo{ position:absolute; z-index:2; top:44px; left:52px; height:40px; }
.auth__demo{
  font-size:11.5px; color:var(--muted-2); text-align:center; margin-top:18px;
}

/* ---------- Responsive ---------- */
@media (max-width:1060px){
  .hero__grid{ grid-template-columns:1fr; gap:34px; padding:68px 0 56px; align-items:start; }
  .two-col,.statement,.cta-band{ grid-template-columns:1fr; gap:30px; }
  .card-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pd{ grid-template-columns:1fr; gap:40px; padding:56px 0 64px; }
  .grid-4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px){
  .site-nav,.site-header .btn{ display:none; }
  .nav-toggle{ display:block; }
  .split{ grid-template-columns:1fr; }
  .split__media{ min-height:320px; }
  .split__panel{ padding:52px 28px; }
  .auth{ grid-template-columns:1fr; }
  .auth__media{ display:none; }
  :root{ --sec:64px; }
}
@media (max-width:640px){
  .card-grid{ grid-template-columns:1fr; }
  .grid-2,.grid-4{ grid-template-columns:1fr; }
  .tools-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .rowlist__item{ grid-template-columns:1fr; gap:8px; }
  .rowlist__item .arrow{ display:none; }
  .hero__media img{ height:300px; }
  .brand img{ height:38px; }
  .page-band{ padding:52px 0 44px; }
  .footer-legal{ flex-direction:column; }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}

/* ============================================================
   v2.0 — WordPress theme additions
   Hero slider · header Admin Login · wp_nav_menu compat
   ============================================================ */

/* Header CTA cluster (Admin Login + quotation button) */
.site-header__cta{ display:flex; align-items:center; gap:20px; flex-shrink:0; }
.header-login{
  font-size:14px; font-weight:600; letter-spacing:.01em; color:var(--ink);
  text-decoration:none !important; padding:8px 2px; border-bottom:2px solid transparent;
  transition:color .2s ease, border-color .2s ease; white-space:nowrap;
}
.header-login:hover{ color:var(--green); border-bottom-color:var(--green); }
.drawer-login{
  display:none; margin:6px 0 2px; font-weight:600; color:var(--ink);
  text-decoration:none !important; padding:10px 0; border-bottom:1px solid var(--line);
}

/* wp_nav_menu output inside the existing nav skin */
.site-nav ul, .mobile-drawer nav ul{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.mobile-drawer nav ul{ flex-direction:column; align-items:flex-start; gap:4px; }
.site-nav li, .mobile-drawer nav li{ list-style:none; }
.site-nav li a{ display:inline-block; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a{ color:var(--green); border-bottom-color:var(--green); }
.mobile-drawer .current-menu-item > a,
.mobile-drawer .current_page_item > a{ color:var(--green); }

@media (max-width:980px){
  .site-header__cta .btn{ display:none; }
  .drawer-login{ display:block; }
}

/* --- Hero slider: image, heading, two CTAs — nothing else --- */
.hero-slider{ position:relative; background:var(--green-deep); overflow:hidden; }
.hero-slide{ position:relative; display:none; min-height:min(74vh,660px); }
.hero-slide.is-active{ display:block; }
@keyframes ttrFadeIn{ from{ opacity:0; } to{ opacity:1; } }
.hero-slide.is-active .hero-slide__img{ animation:ttrFadeIn .65s ease both; }
.hero-slide__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-slide__scrim{
  position:absolute; inset:0;
  background:linear-gradient(78deg, rgba(15,56,44,.90) 0%, rgba(15,56,44,.62) 44%, rgba(15,56,44,.16) 100%);
}
.hero-slide__inner{
  position:relative; z-index:2; display:flex; flex-direction:column;
  justify-content:flex-end; align-items:flex-start;
  min-height:min(74vh,660px); padding:130px var(--pad) 110px;
}
.hero-slide__inner h1{ color:#fff; max-width:760px; margin-bottom:30px; }
.hero-slide__actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-slider__arrow{
  position:absolute; z-index:3; top:50%; transform:translateY(-50%);
  width:46px; height:46px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.35); border-radius:999px;
  background:rgba(15,56,44,.38); color:#fff; cursor:pointer;
  transition:background .2s ease, border-color .2s ease;
}
.hero-slider__arrow:hover{ background:rgba(15,56,44,.75); border-color:rgba(255,255,255,.75); }
.hero-slider__arrow--prev{ left:18px; }
.hero-slider__arrow--next{ right:18px; }
.hero-slider__dots{
  position:absolute; z-index:3; left:0; right:0; bottom:24px;
  display:flex; justify-content:center; gap:10px;
}
.hero-slider__dot{
  width:9px; height:9px; border-radius:999px; border:0; padding:0;
  background:rgba(255,255,255,.38); cursor:pointer;
  transition:background .2s ease, width .2s ease;
}
.hero-slider__dot.is-active{ background:#fff; width:28px; }

@media (max-width:720px){
  .hero-slide, .hero-slide__inner{ min-height:540px; }
  .hero-slide__inner{ padding:104px var(--pad) 92px; }
  .hero-slider__arrow{ display:none; }
  .hero-slide__inner h1{ margin-bottom:24px; }
}
@media (prefers-reduced-motion:reduce){
  .hero-slide.is-active .hero-slide__img{ animation:none; }
}

/* Client-login page inside site chrome */
.auth--page{ min-height:min(74vh,780px); }
