/* ============================================================
   A.G. Auto Industries — Site styles
   Modern corporate take on the Auto Nation brand language.
   Brand yellow + ink black + neutral paper.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand */
  --ink:        #12124E;
  --ink-2:      #1B1B68;
  --ink-3:      #252590;
  --steel:      #3B3BAA;
  --iron:       #6565A8;
  --zinc:       #9898C0;
  --silver:     #C0C0D8;
  --bone:       #EAEAEC;
  --paper:      #F5F5F7;
  --snow:       #FAFAFA;
  --white:      #FFFFFF;

  --yellow:     #FFC200;
  --yellow-2:   #FFD340;   /* hover */
  --yellow-3:   #E6A800;   /* press */
  --amber:      #CC9400;

  --border:     #E4E4E8;
  --border-2:   #D5D5DC;
  --border-dark:#252590;

  --ok:         #2E7D3A;
  --warn:       #C8321A;
  --info:       #1F4F7A;

  /* Fonts */
  --font:       'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease:       cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-mech:  cubic-bezier(0.7, 0, 0.3, 1);

  /* Layout */
  --container: 1240px;
  --nav-h: 78px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 1200px) { .container { padding: 0 32px; } }
@media (max-width: 720px)  { .container { padding: 0 16px; } }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-dark::before { background: var(--yellow); }

h1, h2, h3, h4 {
  font-family: var(--font);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.04;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 6vw, 80px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: 24px; letter-spacing: -0.015em; line-height: 1.15; }
h4 { font-size: 18px; letter-spacing: -0.005em; }
p  { margin: 0; line-height: 1.55; color: var(--ink-2); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--iron); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background var(--dur-base, 200ms) var(--ease-mech),
              color   var(--dur-base, 200ms) var(--ease-mech),
              border-color 200ms var(--ease-mech),
              transform 120ms var(--ease-mech);
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}
.btn-primary:hover { background: var(--yellow-2); }
.btn-primary:active { background: var(--yellow-3); transform: translateY(1px); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--ink-3); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid var(--yellow);
}
.btn-link.on-dark { color: var(--white); }

.btn .ico { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  height: 46px;
  background: var(--ink);
  display: grid; place-items: center;
  border-radius: 2px;
  padding: 4px 8px;
}
.brand-mark img { height: 38px; width: auto; display: block; }
.brand-mark svg { width: 32px; height: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b1 { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.brand-text .b2 { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--iron); margin-top: 4px; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 2px;
  transition: color 150ms var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; background: var(--yellow);
}
.nav-cta { margin-left: 12px; }

.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { cursor: pointer; }
.nav-dropdown .caret { width: 10px; height: 10px; transition: transform 200ms var(--ease); }
.nav-dropdown.open .caret { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 720px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--yellow);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.18);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.nav-dropdown.open .dropdown-panel,
.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dd-head {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dd-head .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--iron); }
.dd-head a { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid var(--yellow); padding-bottom: 2px;}
.dd-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 2px;
  transition: background 150ms var(--ease);
}
.dd-item:hover { background: var(--paper); }
.dd-icon {
  width: 40px; height: 40px;
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--yellow);
  border-radius: 2px;
}
.dd-icon svg { width: 20px; height: 20px; }
.dd-text .t { font-weight: 700; font-size: 14px; color: var(--ink); }
.dd-text .s { font-size: 12px; color: var(--iron); margin-top: 2px; }
.dd-item .arrow { color: var(--iron); transition: transform 150ms var(--ease), color 150ms var(--ease); }
.dd-item:hover .arrow { transform: translateX(3px); color: var(--ink); }

/* Mobile nav */
.nav-burger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger {
    display: inline-flex;
    margin-left: auto;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: var(--ink); color: var(--white);
    border: none; border-radius: 2px;
  }
  .nav-burger svg { width: 22px; height: 22px; }
  .mobile-menu {
    display: block;
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--ink); color: var(--white);
    transform: translateX(100%);
    transition: transform 280ms var(--ease-mech);
    z-index: 49;
    overflow: auto;
    padding: 28px 24px 80px;
  }
  body.menu-open .mobile-menu { transform: translateX(0); }
  .mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink-3);
  }
  .mobile-menu .sub { font-size: 14px; padding: 10px 0 10px 16px; font-weight: 500; color: var(--zinc); border-bottom: none; }
  /* Products accordion */
  .mob-acc-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 16px 0;
    background: none; border: none; border-bottom: 1px solid var(--ink-3);
    color: var(--white); font-size: 22px; font-weight: 700; text-align: left; cursor: pointer;
  }
  .mob-acc-caret svg { width: 22px; height: 22px; transition: transform .22s; stroke: var(--white); }
  .mob-acc.open .mob-acc-caret svg { transform: rotate(180deg); }
  .mob-acc-body { display: none; padding-left: 4px; }
  .mob-acc.open .mob-acc-body { display: block; }
  .mob-acc-body a { font-size: 15px; font-weight: 500; padding: 10px 0 10px 12px; color: var(--zinc); border-bottom: none; }
  .mob-acc-body a:first-child { color: var(--yellow); font-weight: 700; padding-top: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
/* Flush: nav merges seamlessly into hero, no visible gap */
body:has(.hero-flush) .nav {
  background: var(--ink);
  border-bottom: none;
  color: var(--white);
}
body:has(.hero-flush) .nav .brand-text .b1 { color: var(--white); }
body:has(.hero-flush) .nav .brand-text .b2 { color: var(--zinc); }
body:has(.hero-flush) .nav-link { color: rgba(255,255,255,0.82); }
body:has(.hero-flush) .nav-link:hover,
body:has(.hero-flush) .nav-link.active { color: var(--white); }
body:has(.hero-flush) .nav-burger { background: var(--yellow); color: var(--ink); }
.hero-flush { margin-top: 0; }
.hero-flush .hero-grid { padding-top: 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 120px;
}
.hero h1 { color: var(--white); }
.hero h1 .y { color: var(--yellow); }
.hero-lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 540px;
}
.hero-meta .k { font-size: 36px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.hero-meta .k .yy { color: var(--yellow); }
.hero-meta .l { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zinc); margin-top: 6px; font-weight: 600; }

/* Hero visual */
.hero-vis {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #1f1f23, #0c0c0e);
  border: 1px solid #2a2a2f;
}
.hero-vis::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width: 38%; height: 30%;
  background: var(--yellow);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
  z-index: 1;
}
.hero-vis .stamp { z-index: 2; }
.hero-vis .scroll-cue { z-index: 2; }
.hero-vis .stamp {
  position: absolute; top: 24px; left: 24px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px;
}
.hero-vis .scroll-cue {
  position: absolute; bottom: 28px; left: 24px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--zinc);
  display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.hero-vis .scroll-cue::before { content: ""; width: 36px; height: 1px; background: var(--zinc); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 72px; gap: 40px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-meta .k { font-size: 26px; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 72px 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.paper { background: var(--paper); }
.section.snow { background: var(--snow); }
@media (max-width: 720px) { .section { padding: 52px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .lhs h2 { margin-top: 14px; }
.section-head .rhs p { color: var(--iron); font-size: 17px; }
.section.dark .section-head .rhs p { color: var(--silver); }
.section.dark h2 { color: var(--white); }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* ---------- Category Grid (home + products) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 920px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 24px 20px 20px; }
}

.cat-card {
  position: relative;
  background: var(--white);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 200ms var(--ease);
}
.cat-card:hover { background: var(--snow); }
.cat-card .cat-num {
  font-size: 11px; letter-spacing: 0.16em; color: var(--iron); font-weight: 600;
}
.cat-card .cat-ico {
  margin-top: 12px;
  width: 56px; height: 56px;
  background: var(--ink);
  color: var(--yellow);
  display: grid; place-items: center;
  border-radius: 2px;
  transition: background 200ms var(--ease);
}
.cat-card:hover .cat-ico { background: var(--yellow); color: var(--ink); }
.cat-card .cat-ico svg { width: 28px; height: 28px; }
.cat-card h3 {
  margin-top: 28px;
  font-size: 22px;
}
.cat-card .cat-desc { color: var(--iron); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.cat-card .cat-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--iron);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cat-card .arrow {
  color: var(--ink);
  transition: transform 200ms var(--ease-mech);
}
.cat-card:hover .arrow { transform: translateX(4px); }

/* ---------- Value props ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.prop { display: flex; flex-direction: column; gap: 14px; }
.prop .p-ico {
  width: 44px; height: 44px;
  background: var(--yellow);
  color: var(--ink);
  display: grid; place-items: center;
  border-radius: 2px;
}
.prop .p-ico svg { width: 22px; height: 22px; }
.prop h4 { font-size: 17px; }
.prop p { color: var(--iron); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 800px) { .props { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .props { grid-template-columns: 1fr; } }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--white);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--ink-3);
}
.stat:last-child { border-right: none; }
.stat .v { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.stat .v .y { color: var(--yellow); }
.stat .l { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); margin-top: 6px; font-weight: 600; }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--ink-3); }
  .stat .v { font-size: 40px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--yellow);
  color: var(--ink);
  padding: 64px 0;
}
.cta-band .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 720px; }
@media (max-width: 760px) {
  .cta-band .row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--silver);
  padding: 72px 0 28px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.footer h5 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); font-weight: 700; margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--silver); font-size: 14px; transition: color 150ms var(--ease); }
.footer a:hover { color: var(--yellow); }
.footer .f-brand .b1 { color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.footer .f-brand .b2 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--zinc); margin-top: 8px; font-weight: 600; }
.footer .f-brand p { font-size: 14px; color: var(--silver); margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer .f-contact .ci { display: flex; gap: 12px; align-items: flex-start; }
.footer .f-contact .ci + .ci { margin-top: 14px; }
.footer .f-contact .ci-ic {
  width: 28px; height: 28px;
  background: var(--yellow);
  color: var(--ink);
  display: grid; place-items: center;
  border-radius: 2px;
  flex: none;
}
.footer .f-contact .ci-ic svg { width: 14px; height: 14px; }
.footer .f-contact .ci-tx { font-size: 14px; color: var(--silver); line-height: 1.5; }
.footer .f-contact .ci-tx .strong { color: var(--white); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--ink-3);
  margin-top: 56px;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--zinc);
  letter-spacing: 0.04em;
}
.footer-bottom .mono { color: var(--zinc); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .form-card { padding: 24px 16px; }
  .value-card { padding: 28px 20px; }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 240px; height: 80px;
  background: var(--yellow);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero .crumbs {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--zinc); font-weight: 600;
}
.page-hero .crumbs a { color: var(--zinc); }
.page-hero .crumbs .sep { color: var(--ink-3); margin: 0 10px; color: var(--steel); }
.page-hero h1 { color: var(--white); margin-top: 16px; font-size: clamp(36px, 5vw, 64px); }
.page-hero .ph-lead { color: var(--silver); font-size: 18px; max-width: 640px; margin-top: 20px; }

/* ---------- Product list page ---------- */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.cat-toolbar .left { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 150ms var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
}
@media (max-width: 920px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .products-grid { grid-template-columns: 1fr; } }

.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease-mech);
}
.pcard:hover { border-color: var(--ink); }
.pcard .pimg {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.pcard .pimg svg { width: 64%; height: 64%; color: var(--steel); }
.pcard .pimg .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--white);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 5px 8px;
  border-radius: 2px;
}
.pcard .pimg .badge.y { background: var(--yellow); color: var(--ink); }
.pcard .pbody { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.pcard .ptag {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--iron); font-weight: 600;
}
.pcard h3 {
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.pcard .pmeta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-2);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.pcard .pmeta .pn { font-family: var(--font-mono); color: var(--ink); font-weight: 600; font-size: 12px; }
.pcard .pmeta .pn .label { color: var(--iron); margin-right: 6px; font-weight: 500; }
.pcard .pmeta .stk { color: var(--ok); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }

/* ---------- About blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split.reverse > :first-child { order: 0; } }

.split-visual {
  aspect-ratio: 5 / 4;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.split-visual::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width: 36%; height: 30%;
  background: var(--yellow);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0% 100%);
}
.split-visual .pattern {
  position: absolute; inset: 0;
  background-image: url('assets/hazard-stripe.svg');
  background-size: 60px;
  opacity: 0.05;
}
.split-visual .visual-label {
  position: absolute;
  top: 24px; left: 24px;
  color: var(--yellow);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
}
.split-visual .visual-big {
  position: absolute; bottom: 24px; left: 24px;
  color: var(--white);
  font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 0.9;
}
.split-visual .visual-big .y { color: var(--yellow); }

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 800px) { .value-cards { grid-template-columns: 1fr; } }
.value-card {
  background: var(--white);
  padding: 36px 32px;
}
.value-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--yellow);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.value-card h3 { margin-top: 16px; font-size: 22px; }
.value-card p { margin-top: 12px; color: var(--iron); font-size: 14.5px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--border); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -41px; top: 4px;
  width: 18px; height: 18px;
  background: var(--yellow);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--ink);
  border-radius: 999px;
}
.tl-item .year { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.tl-item h4 { margin-top: 4px; }
.tl-item p { color: var(--iron); margin-top: 6px; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.contact-info .ci-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-info .ci-row:last-child { border-bottom: none; }
.contact-info .ci-ic {
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--yellow);
  display: grid; place-items: center;
  border-radius: 2px;
}
.contact-info .ci-ic svg { width: 20px; height: 20px; }
.contact-info .ci-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--iron); font-weight: 700; }
.contact-info .ci-value { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.contact-info .ci-value a { display: block; }
.contact-info .ci-value a:hover { color: var(--amber); }
.contact-info .ci-value.mono { font-family: var(--font-mono); font-size: 15px; }

.form-card {
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--border);
}
.form-card h3 { font-size: 26px; }
.form-card .form-sub { color: var(--iron); margin-top: 8px; font-size: 14.5px; }
.field { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 14px;
  background: var(--white);
  border: 1.5px solid var(--border-2);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
  outline: none;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(245,183,31,0.35);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.map-card {
  margin-top: 56px;
  border: 1px solid var(--border);
  height: 360px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }
.map-card .map-overlay {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--white);
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.18);
}
.map-card .map-overlay .t { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--iron); font-weight: 700; }
.map-card .map-overlay .v { font-size: 16px; font-weight: 700; margin-top: 4px; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  width: 60px;
  padding: 0;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px -6px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: width 240ms var(--ease-mech), background 200ms var(--ease);
}
.wa-fab:hover { width: 192px; background: #1ebe5b; }
.wa-fab svg { width: 30px; height: 30px; margin: 0 15px; flex: none; }
.wa-fab .wa-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms var(--ease) 80ms, transform 180ms var(--ease) 80ms;
  padding-right: 18px;
}
.wa-fab:hover .wa-label { opacity: 1; transform: translateX(0); }
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.2s var(--ease) infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 540px) {
  .wa-fab { right: 14px; bottom: 14px; height: 54px; width: 54px; }
  .wa-fab svg { width: 26px; height: 26px; margin: 0 14px; }
  .wa-fab:hover { width: 54px; }
  .wa-fab .wa-label { display: none; }
}

/* ---------- Misc utilities ---------- */
.divider { height: 1px; background: var(--border); }
.tag-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
}
.tag-stamp.dark { color: var(--ink); border-color: var(--ink); }
