/* ==========================================================================
   Sumadoor — stylesheet
   Palette: navy + white (brand). Archivo for headings/body/buttons.
   IBM Plex Mono for technical bits (labels, spec tables, phone numbers, sitemap).
   ========================================================================== */

:root {
  /* Navy scale */
  --navy-950: #0a1024;
  --navy-900: #0f1936;
  --navy-800: #16224a;
  --navy-700: #1e2f61;
  --navy-600: #293e7d;
  --navy-500: #3750a0;

  /* Accent — bright blue used sparingly for highlight lines/badges on dark modules */
  --accent-blue: #5B8DEF;
  --accent-blue-dim: #385fb8;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f6f7fb;
  --gray-100: #eef0f6;
  --gray-200: #dde1ec;
  --gray-300: #c3c9db;
  --gray-500: #6b7391;
  --gray-700: #3b4160;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--off-white);
  --text: var(--navy-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);
  --brand: var(--navy-800);
  --brand-strong: var(--navy-950);

  --font-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --container: 1240px;
  --radius: 4px;
  --header-h: 74px;
  --contact-bar-h: 38px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--contact-bar-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy-900); color: var(--white); padding: 10px 16px;
}
.skip-link:focus { left: 16px; top: 16px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; color: var(--navy-950); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.15; margin-bottom: 0.9rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--navy-600);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.section-inner--narrow { max-width: 820px; }
.section-lede { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin-bottom: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--navy-900); color: var(--white); }
.btn--primary:hover { background: var(--navy-950); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--lg { padding: 1rem 1.85rem; font-size: 1rem; }

/* ---------- Contact bar ---------- */
.contact-bar {
  background: var(--navy-950);
  color: var(--gray-300);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.contact-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--contact-bar-h);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  white-space: nowrap;
}
.contact-bar__item { color: var(--gray-300); }
a.contact-bar__item:hover { color: var(--white); }
.contact-bar__item--accent { color: var(--white); font-weight: 600; }
.contact-bar__sep { color: var(--navy-600); }
.contact-bar__sep--wide { display: inline; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand__mark { width: 36px; height: 36px; }
.brand__word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--navy-950); }
.brand__word--accent { color: var(--navy-500); }

.main-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.main-nav__item { position: relative; }
.main-nav__link {
  background: none; border: none; padding: 1.6rem 0.9rem;
  font-weight: 600; font-size: 0.95rem; color: var(--navy-900);
  display: flex; align-items: center; gap: 0.3rem;
}
.main-nav__link::after {
  content: ''; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -4px; opacity: 0.6;
}
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 25, 54, 0.12);
  min-width: 240px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
}
.main-nav__item.is-open .dropdown { display: flex; }
.dropdown a {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--navy-800);
}
.dropdown a:hover { background: var(--off-white); color: var(--navy-950); }
.dropdown__all { font-weight: 700; border-top: 1px solid var(--border); margin-top: 0.25rem; padding-top: 0.75rem !important; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.site-header__cta { padding: 0.65rem 1.25rem; }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1.5px solid var(--navy-900);
  padding: 0.5rem 0.85rem; border-radius: var(--radius);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em;
}
.menu-toggle__icon { width: 16px; height: 10px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { bottom: 0; }

.mobile-nav { display: none; }

@media (max-width: 1140px) {
  .main-nav { display: none; }
  .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .mobile-nav {
    display: block;
    border-top: 1px solid var(--border);
    background: var(--white);
    padding: 0.5rem 1.5rem 1.25rem;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav__group { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
  .mobile-nav__group summary { font-weight: 700; cursor: pointer; }
  .mobile-nav__group a { display: block; padding: 0.5rem 0 0.5rem 0.75rem; color: var(--navy-800); font-size: 0.92rem; }
  .mobile-nav__cta { display: flex; justify-content: center; margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--off-white); overflow: hidden; }
.hero__inner {
  max-width: var(--container); margin: 0 auto; padding: 4.5rem 1.5rem 3.5rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.hero__headline { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.4rem); line-height: 1.08; color: var(--navy-950); margin-bottom: 1.1rem; }
.hero__sub { font-size: 1.08rem; color: var(--gray-700); max-width: 540px; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.75rem; }
.hero__stat dt { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--navy-950); }
.hero__stat dd { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.hero__media { border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,25,54,0.18); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero__media { order: -1; }
  .hero__stats { grid-template-columns: repeat(2, auto); row-gap: 1.25rem; }
}

/* ---------- Segment strip ---------- */
.segment-strip { background: var(--navy-950); color: var(--white); }
.segment-strip__inner {
  max-width: var(--container); margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.segment-strip__label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gray-300); letter-spacing: 0.05em; }
.segment-strip__list { display: flex; gap: 1.75rem; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }

/* ---------- Product selector (dark card module, left-menu shell) ----------
   Each menu-item / panel carries its own --product-accent custom property
   (set inline per product in index.php) so every product gets a distinct
   accent color instead of one fixed blue — falls back to --accent-blue if
   the property isn't set. */
.product-shell {
  display: grid; grid-template-columns: 280px 1fr;
  background: var(--navy-900); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(10, 16, 36, 0.22);
}
.product-shell__menu {
  display: flex; flex-direction: column;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.product-shell__menu-item {
  display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start;
  background: none; border: none; border-left: 3px solid transparent;
  padding: 0.85rem 1.15rem; border-radius: 0 10px 10px 0;
  text-align: left; font-weight: 600; font-size: 0.95rem; color: var(--gray-300);
  transition: background .15s, color .15s, border-color .15s;
}
.product-shell__menu-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.product-shell__menu-item.is-active {
  color: var(--white); border-left-color: var(--product-accent, var(--accent-blue));
  background: color-mix(in srgb, var(--product-accent, var(--accent-blue)) 16%, transparent);
}
.product-shell__menu-name { line-height: 1.3; }
.product-shell__menu-badge {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--gray-500); text-transform: uppercase; transition: color .15s;
}
.product-shell__menu-item.is-active .product-shell__menu-badge { color: var(--product-accent, var(--accent-blue)); }

.product-panel { display: none; grid-template-columns: 1fr 1fr; }
.product-panel.is-active { display: grid; }
.product-panel__body { padding: 2.25rem 2.5rem; align-self: center; }
.product-panel__body h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.75rem; }
.product-panel__body p { color: var(--gray-300); margin-bottom: 1.35rem; }

.product-shell .spec-table { margin-bottom: 1.35rem; }
.product-shell .spec-table tr { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.product-shell .spec-table th {
  text-align: left; color: var(--gray-500); font-weight: 500; padding: 0.6rem 1rem 0.6rem 0;
  width: 42%; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.7rem;
}
.product-shell .spec-table td { padding: 0.6rem 0; color: var(--white); font-weight: 600; text-align: right; }

.product-shell .product-panel__tags { margin-bottom: 1.5rem; }
.product-shell .tag {
  color: var(--product-accent, var(--accent-blue));
  background: color-mix(in srgb, var(--product-accent, var(--accent-blue)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--product-accent, var(--accent-blue)) 45%, transparent);
}
.product-shell .btn--outline { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.product-shell .btn--outline:hover {
  background: var(--product-accent, var(--accent-blue));
  border-color: var(--product-accent, var(--accent-blue));
  color: var(--navy-950);
}

/* Media column is a flex column so a short body panel no longer leaves the
   navy area empty below the photo — the image fills whatever space it can
   (flex: 1) and the fact/article strip sits pinned at the bottom, always
   matching the body column's full height. */
.product-panel__media {
  position: relative; display: flex; flex-direction: column;
  background: var(--navy-900); overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.08); min-height: 320px;
}
.product-panel__image { position: relative; flex: 1 1 auto; min-height: 200px; overflow: hidden; }
.product-panel__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-panel__media::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 1;
  background: var(--product-accent, var(--accent-blue));
}

.product-panel__factbox {
  flex-shrink: 0; padding: 1.1rem 1.4rem;
  background: color-mix(in srgb, var(--product-accent, var(--accent-blue)) 9%, var(--navy-950));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.product-panel__fact { color: var(--gray-300); font-size: 0.82rem; line-height: 1.5; margin: 0; }
.product-panel__fact-label {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--product-accent, var(--accent-blue)); margin-bottom: 0.3rem;
}
.product-panel__article {
  display: block; margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.14); text-decoration: none;
}
.product-panel__article-eyebrow {
  display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.25rem;
}
.product-panel__article-title { display: block; color: var(--white); font-size: 0.82rem; font-weight: 600; line-height: 1.4; transition: color .15s; }
.product-panel__article:hover .product-panel__article-title { color: var(--product-accent, var(--accent-blue)); }

.spec-table { font-family: var(--font-mono); font-size: 0.85rem; margin-bottom: 1.25rem; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table th { text-align: left; color: var(--text-muted); font-weight: 500; padding: 0.6rem 1rem 0.6rem 0; width: 42%; }
.spec-table td { padding: 0.6rem 0; color: var(--navy-900); font-weight: 500; }

.product-panel__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em;
  color: var(--navy-700); background: var(--off-white); border: 1px solid var(--border);
  padding: 0.3rem 0.65rem; border-radius: 999px;
}

@media (max-width: 900px) {
  .product-shell { grid-template-columns: 1fr; border-radius: 14px; }
  .product-shell__menu {
    flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 0.3rem;
    border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .product-shell__menu-item {
    border-left: none; border-bottom: 3px solid transparent; border-radius: 8px;
    flex-shrink: 0; padding: 0.7rem 1.1rem; white-space: nowrap;
  }
  .product-shell__menu-item.is-active { border-bottom-color: var(--product-accent, var(--accent-blue)); border-radius: 8px; }
  .product-panel__media { order: -1; min-height: 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .product-panel__image { min-height: 200px; }
  .product-panel__media::before { left: 0; top: 0; right: 0; bottom: auto; width: auto; height: 3px; }
  .product-panel__body { padding: 1.85rem 1.5rem; }
}

@media (max-width: 800px) {
  .product-panel { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; counter-reset: step; }
.process__num { font-family: var(--font-mono); font-weight: 700; color: var(--navy-500); font-size: 0.85rem; display: block; margin-bottom: 0.75rem; }
.process__step p { color: var(--text-muted); font-size: 0.9rem; }
.process__step { border-top: 2.5px solid var(--navy-900); padding-top: 1.25rem; }

@media (max-width: 1000px) {
  .process__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process__list { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about { background: var(--off-white); }

/* ---------- Clients (2 rows x 10 columns) ---------- */
.clients__grid {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 1rem;
}
.clients__box {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; padding: 0.85rem;
  background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius);
  transition: background .15s, border-color .15s;
}
.clients__box:hover { background: var(--white); border-color: var(--navy-500); }
.clients__box img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  opacity: 0.75; filter: grayscale(1); transition: opacity .15s, filter .15s;
}
.clients__box:hover img { opacity: 1; filter: grayscale(0); }

@media (max-width: 1000px) {
  .clients__grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 560px) {
  .clients__grid { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
}

/* ---------- Projects ---------- */
.projects { background: var(--off-white); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.project-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.project-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-card figcaption { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.project-card strong { font-size: 0.98rem; color: var(--navy-950); }
.project-card span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .projects__grid { grid-template-columns: 1fr; }
}

/* ---------- Service area ---------- */
.service-area__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.service-area__item { border-left: 2.5px solid var(--navy-900); padding-left: 1rem; }
.service-area__item p { color: var(--text-muted); font-size: 0.88rem; }

@media (max-width: 760px) {
  .service-area__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .service-area__grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq__item summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; color: var(--navy-950);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-family: var(--font-mono); font-size: 1.3rem; color: var(--navy-600); flex-shrink: 0;
}
.faq__item[open] summary::after { content: '\2212'; }
.faq__item p { margin-top: 0.85rem; color: var(--gray-700); }

/* ---------- Contact band ---------- */
.contact-band { background: var(--navy-950); color: var(--white); }
.contact-band__inner {
  max-width: var(--container); margin: 0 auto; padding: 4.5rem 1.5rem;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center;
}
.contact-band .eyebrow { color: var(--gray-300); }
.contact-band h2 { color: var(--white); }
.contact-band p { color: var(--gray-300); }
.contact-band__actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.contact-band .btn--ghost { color: var(--white); border-color: var(--navy-600); }
.contact-band .btn--ghost:hover { border-color: var(--white); }

@media (max-width: 800px) {
  .contact-band__inner { grid-template-columns: 1fr; }
  .contact-band__actions { align-items: stretch; }
  .contact-band__actions .btn { justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--gray-300); }
.site-footer__inner {
  max-width: var(--container); margin: 0 auto; padding: 4rem 1.5rem 3rem;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem;
}
.brand--footer .brand__word { color: var(--white); }
.brand--footer .brand__word--accent { color: var(--navy-500); }
.site-footer__brand p { font-size: 0.88rem; margin-top: 1rem; color: var(--gray-300); }
.site-footer__contact { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.9; }
.site-footer__contact a:hover { color: var(--white); }

.sitemap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.sitemap__head { font-family: var(--font-mono); font-size: 0.75rem; color: var(--navy-500); margin-bottom: 0.9rem; }
.sitemap__col a { display: block; font-family: var(--font-mono); font-size: 0.82rem; color: var(--gray-300); padding: 0.3rem 0; }
.sitemap__col a:hover { color: var(--white); }

.site-footer__legal {
  border-top: 1px solid var(--navy-700);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
}

@media (max-width: 800px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .sitemap { grid-template-columns: repeat(2, 1fr); }
}

.site-footer__contact-btn { margin-top: 1.25rem; }

.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-900); border: 1px solid var(--navy-700);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--gray-300);
  transition: background .15s, color .15s, border-color .15s;
}
.social-icon:hover { background: var(--navy-500); color: var(--white); border-color: var(--navy-500); }
.site-footer__social-pending {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--gray-500);
}

/* ---------- Sticky contact button ---------- */
.sticky-contact {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  display: flex; align-items: center; gap: 0.6rem;
  background: #25d366; color: #0a1024;
  padding: 0.8rem 1.1rem; border-radius: 999px;
  box-shadow: 0 12px 28px rgba(10, 16, 36, 0.28);
  font-weight: 700; font-size: 0.88rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sticky-contact:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 16, 36, 0.34); }
.sticky-contact__icon { display: flex; align-items: center; justify-content: center; }

@media (max-width: 560px) {
  .sticky-contact { right: 1rem; bottom: 1rem; padding: 0.75rem; }
  .sticky-contact__label { display: none; }
}

/* ---------- Nav additions ---------- */
.main-nav__link--plain { text-decoration: none; }
.main-nav__link--plain::after { content: none; }
.mobile-nav__blog {
  display: block; padding: 0.9rem 0; font-weight: 700; color: var(--navy-950);
  border-bottom: 1px solid var(--border);
}

/* ---------- Find Us ---------- */
.find-us { background: var(--off-white); }
.find-us__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: stretch;
}

.find-us__card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 2.25rem; box-shadow: 0 18px 40px rgba(15, 25, 54, 0.06);
  display: flex; flex-direction: column;
}
.find-us__row { display: flex; gap: 1rem; align-items: flex-start; }
.find-us__icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91, 141, 239, 0.1); color: var(--accent-blue-dim);
}
.find-us__row-body h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.find-us__divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.find-us__hours th { text-align: left; color: var(--text-muted); font-weight: 500; padding: 0.35rem 1.5rem 0.35rem 0; }
.find-us__hours td { font-family: var(--font-mono); font-weight: 600; color: var(--navy-950); padding: 0.35rem 0; }
.find-us__address { color: var(--gray-700); max-width: 360px; }
.find-us__todo { font-family: var(--font-mono); font-size: 0.78rem; color: var(--navy-500); margin-top: 0.5rem; }
.find-us__rating { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.65rem; font-size: 0.88rem; color: var(--gray-700); }
.find-us__stars { color: #f5a623; letter-spacing: 0.05em; }

.find-us__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.find-us__map-wrap {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  min-height: 380px; background: var(--white); box-shadow: 0 18px 40px rgba(15, 25, 54, 0.06);
}
.find-us__map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.find-us__map-placeholder {
  height: 100%; min-height: 380px; display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center; color: var(--text-muted); font-size: 0.9rem;
}

.find-us__map-card {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; max-width: 320px;
  background: var(--white); border-radius: 10px; box-shadow: 0 16px 36px rgba(10, 16, 36, 0.22);
  padding: 1.1rem 1.25rem; display: flex; gap: 0.85rem;
}
.find-us__map-card-accent { flex-shrink: 0; width: 4px; border-radius: 2px; background: var(--accent-blue); }
.find-us__map-card-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-blue-dim); margin-bottom: 0.3rem; }
.find-us__map-card-address { font-size: 0.85rem; color: var(--navy-900); margin-bottom: 0.5rem; line-height: 1.4; }
.find-us__map-card-link { font-size: 0.82rem; font-weight: 700; color: var(--navy-800); }
.find-us__map-card-link:hover { color: var(--navy-950); text-decoration: underline; }

@media (max-width: 800px) {
  .find-us__grid { grid-template-columns: 1fr; }
  .find-us__map-wrap { min-height: 320px; }
  .find-us__map-card { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; padding: 0.9rem 1rem; }
}

@media (max-width: 440px) {
  .find-us__map-card { flex-direction: column; }
  .find-us__map-card-accent { width: 100%; height: 3px; }
}

/* ---------- Product detail pages ---------- */
.section-inner--tight { padding-top: 1.25rem; padding-bottom: 1.25rem; }

.breadcrumb { border-bottom: 1px solid var(--border); background: var(--off-white); }
.breadcrumb .section-inner {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy-900); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--navy-950); font-weight: 600; }

.product-hero { background: var(--off-white); }
.product-hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.product-hero h1 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem); margin-bottom: 1rem; }
.product-hero__lede { color: var(--gray-700); font-size: 1.05rem; max-width: 560px; margin-bottom: 1.25rem; }
.product-hero__media { border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,25,54,0.16); }
.product-hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
/* Composite two-photo heroes (e.g. motor brand pairs) are taller than a 4:3
   crop can show without cutting off the mounting foot at top or bottom —
   show the whole image instead of cropping it. */
.product-hero__media--contain { background: var(--off-white); }
.product-hero__media--contain img { object-fit: contain; aspect-ratio: 3/4; max-height: 560px; }

@media (max-width: 900px) {
  .product-hero__inner { grid-template-columns: 1fr; }
  .product-hero__media { order: -1; }
}

.product-detail__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.product-detail__specs h2 { margin-bottom: 1.25rem; }
.product-detail__disclaimer { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; }
.product-detail__cta-card {
  background: var(--navy-950); color: var(--white); border-radius: 8px; padding: 1.75rem;
}
.product-detail__cta-card h3 { color: var(--white); }
.product-detail__cta-card p { color: var(--gray-300); font-size: 0.9rem; margin-bottom: 1.25rem; }
.product-detail__cta-card .btn--ghost { color: var(--white); border-color: var(--navy-600); }
.product-detail__cta-card .btn--ghost:hover { border-color: var(--white); }

@media (max-width: 900px) {
  .product-detail__grid { grid-template-columns: 1fr; }
}

/* ---------- Product brands/models (e.g. motor page) ---------- */
.product-brands__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem;
}
.brand-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.brand-card:hover { border-color: var(--navy-500); transform: translateY(-2px); }
.brand-card__media {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background: var(--off-white); padding: 1rem;
}
.brand-card__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.brand-card__body { padding: 1rem 1.15rem 1.25rem; }
.brand-card__origin {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--navy-500);
}
.brand-card__body h3 { font-size: 1rem; margin: 0.35rem 0 0.15rem; }
.brand-card__body p { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .product-brands__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-brands__grid { grid-template-columns: 1fr; }
}

.product-projects { background: var(--off-white); }

.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.related-post-card {
  display: block; background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 1.5rem; transition: border-color .15s, transform .15s;
}
.related-post-card:hover { border-color: var(--navy-500); transform: translateY(-2px); }
.related-post-card__cat {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy-500);
}
.related-post-card h3 { font-size: 1.02rem; margin: 0.6rem 0; }
.related-post-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.9rem; }
.related-post-card__link { font-weight: 700; font-size: 0.85rem; color: var(--navy-800); }

@media (max-width: 900px) {
  .related-posts__grid { grid-template-columns: 1fr; }
}

.product-other { background: var(--off-white); }
.product-other__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.product-other__item {
  display: flex; flex-direction: column; gap: 0.3rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.1rem; transition: border-color .15s;
}
.product-other__item:hover { border-color: var(--navy-500); }
.product-other__name { font-weight: 700; font-size: 0.9rem; color: var(--navy-950); }
.product-other__badge { font-family: var(--font-mono); font-size: 0.68rem; color: var(--navy-500); text-transform: uppercase; }

@media (max-width: 1000px) {
  .product-other__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Blog article ---------- */
.blog-article__header { padding-top: 2.5rem; }
.blog-article__cat-link {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy-600);
}
.blog-article__cat-link:hover { color: var(--navy-900); text-decoration: underline; }
.blog-article__header h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); margin-bottom: 0.75rem; }
.blog-article__meta { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; }
.blog-article__meta a { color: var(--navy-700); font-weight: 600; }
.blog-article__meta a:hover { text-decoration: underline; }

.blog-article__body { color: var(--gray-700); font-size: 1.02rem; }
.blog-article__body h2 { font-size: 1.4rem; margin: 2.25rem 0 0.9rem; color: var(--navy-950); }
.blog-article__body h3 { font-size: 1.12rem; margin: 1.75rem 0 0.6rem; color: var(--navy-950); }
.blog-article__body p { margin-bottom: 1.1rem; }
.blog-article__body ul, .blog-article__body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.blog-article__body ul { list-style: disc; }
.blog-article__body ol { list-style: decimal; }
.blog-article__body li { margin-bottom: 0.45rem; }
.blog-article__body strong { color: var(--navy-950); }
.blog-article__body table { font-size: 0.9rem; margin: 0.5rem 0 1.5rem; }
.blog-article__body table th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 0.55rem 1rem 0.55rem 0; border-bottom: 2px solid var(--border); }
.blog-article__body table td { padding: 0.55rem 1rem 0.55rem 0; border-bottom: 1px solid var(--border); }
.blog-article__callout {
  background: var(--off-white); border-left: 3px solid var(--navy-900); border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.4rem; margin: 0 0 1.5rem; font-size: 0.95rem;
}
.blog-article__callout p:last-child { margin-bottom: 0; }
.blog-article__body a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.blog-article__cta {
  background: var(--navy-950); color: var(--white); border-radius: 8px; padding: 2rem; margin: 1rem 0 3rem;
  text-align: center;
}
.blog-article__cta h3 { color: var(--white); }
.blog-article__cta p { color: var(--gray-300); max-width: 520px; margin: 0 auto 1.25rem; }

/* ---------- Blog listing ---------- */
.blog-listing__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.blog-listing__filter {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em;
  padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted);
}
.blog-listing__filter:hover { border-color: var(--navy-500); color: var(--navy-900); }
.blog-listing__filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.blog-listing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 1.6rem; transition: border-color .15s, transform .15s;
}
.blog-card:hover { border-color: var(--navy-500); transform: translateY(-2px); }
.blog-card__cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-500); margin-bottom: 0.6rem; }
.blog-card h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; flex-grow: 1; }
.blog-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.blog-card__date { font-family: var(--font-mono); color: var(--text-muted); }
.blog-card__link { font-weight: 700; color: var(--navy-800); }

.blog-listing__empty { color: var(--text-muted); padding: 2rem 0; }

@media (max-width: 900px) {
  .blog-listing__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-listing__grid { grid-template-columns: 1fr; }
}
