@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Libre+Baskerville:wght@700&display=swap");

:root {
  --ink: #171717;
  --muted: #62676b;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: #ded9cf;
  --red: #b51f2b;
  --red-dark: #7f111d;
  --steel: #24576d;
  --green: #25704f;
  --gold: #b8892e;
  --charcoal: #242828;
  --shadow: 0 18px 40px rgba(23, 23, 23, 0.12);
  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
}

button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 0;
  padding: 0;
  background: rgba(247, 246, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 64px);
}

.account-bar {
  display: flex;
  justify-content: flex-end;
  padding: 7px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(222, 217, 207, 0.72);
  background: rgba(255, 255, 255, 0.72);
}

.account-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.login-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.mini-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(36, 87, 109, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.mini-action svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.3;
}

.mini-action strong {
  min-width: 20px;
  min-height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
}

.mini-action:hover {
  border-color: rgba(181, 31, 43, 0.28);
  color: var(--red);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--red);
}

.nav-menu {
  position: relative;
  padding: 14px 0;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-menu:hover .submenu,
.nav-menu:focus-within .submenu {
  display: grid;
}

.submenu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
}

.submenu a:hover {
  background: var(--paper);
  color: var(--red);
}

.hero-slider {
  position: relative;
  min-height: min(760px, 78vh);
  overflow: hidden;
  background: #111;
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  min-height: inherit;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 64px) clamp(78px, 10vw, 110px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.72) 34%, rgba(9, 9, 9, 0.18) 72%),
    var(--slide-image) center / cover no-repeat;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(760px, 92vw);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 6vw, 5.2rem);
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy p,
.page-hero p {
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.slider-controls {
  position: absolute;
  left: clamp(18px, 5vw, 64px);
  right: clamp(18px, 5vw, 64px);
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.slider-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.slider-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.band,
.page-hero,
.catalog-shell,
.contact-layout,
.service-detail,
.cta-strip {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(36, 40, 40, 0.93), rgba(36, 40, 40, 0.72)),
    linear-gradient(135deg, #242828, #24576d);
  color: var(--white);
}

.product-video-hero {
  position: relative;
  display: grid;
  min-height: clamp(340px, 44vw, 500px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #111517;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-motion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.product-video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 14, 16, 0.94) 0%, rgba(10, 14, 16, 0.72) 42%, rgba(10, 14, 16, 0.24) 100%),
    radial-gradient(circle at 20% 78%, rgba(181, 31, 43, 0.34), transparent 32%);
}

.page-hero-copy {
  position: relative;
  max-width: 760px;
}

.product-video-hero .page-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.05rem, 4.8vw, 4.35rem);
  font-weight: 900;
  line-height: 1.02;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.intro-grid,
.split,
.cta-strip,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.trust-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 26%, rgba(181, 31, 43, 0.26), transparent 34%),
    linear-gradient(135deg, #141819 0%, #242828 54%, #183748 100%);
}

.trust-band::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--steel));
}

.trust-copy,
.trust-panel {
  position: relative;
  z-index: 1;
}

.trust-copy h2 {
  max-width: 760px;
}

.trust-panel {
  max-width: 680px;
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.trust-panel p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.trust-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
}

.trust-metrics strong {
  color: var(--gold);
  font-size: 1rem;
}

.text-link {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

.intro-grid p,
.copy-stack p,
.feature-columns p,
.service-detail li,
.contact-panel p,
.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.maintenance-section {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 64px);
  background: var(--paper);
}

.maintenance-header {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.maintenance-header h2 {
  max-width: 780px;
}

.maintenance-header p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.maintenance-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.maintenance-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(238, 236, 230, 0.95)),
    #eeece6;
}

.maintenance-card.featured img {
  object-fit: cover;
  padding: 0;
}

.maintenance-card div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.maintenance-card span {
  color: var(--red);
  font-weight: 900;
}

.maintenance-card p {
  color: var(--muted);
  line-height: 1.55;
}

.maintenance-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #481016);
}

.maintenance-card.featured span,
.maintenance-card.featured p {
  color: rgba(255, 255, 255, 0.84);
}

.feature-columns article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
}

.feature-columns span {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-weight: 900;
}

.cta-strip {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 15, 16, 0.88) 0%, rgba(17, 28, 35, 0.76) 42%, rgba(17, 28, 35, 0.5) 100%),
    url("assets/bg-extinrod-operacion.jpg") center center / cover no-repeat,
    var(--charcoal);
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 30%, rgba(181, 31, 43, 0.3), transparent 34%);
}

.cta-strip > * {
  position: relative;
  z-index: 1;
}

.solutions-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.96)),
    var(--paper);
}

.section-kicker {
  max-width: 560px;
}

.section-kicker p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
}

.showcase-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eeece6;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.74));
}

.showcase-card img {
  position: absolute;
  inset: 16px 16px 42px;
  width: calc(100% - 32px);
  height: calc(100% - 66px);
  object-fit: contain;
  transition: transform 180ms ease;
}

.showcase-card:hover img {
  transform: translateY(-4px) scale(1.03);
}

.showcase-card span {
  position: relative;
  z-index: 2;
  font-weight: 900;
}

.showcase-card.large {
  grid-row: span 2;
}

.showcase-card.wide {
  grid-column: span 2;
}

.proof-grid,
.lead-capture,
.quote-builder {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--white);
}

.proof-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proof-cards article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(36, 87, 109, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.proof-cards strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.proof-cards span {
  color: var(--steel);
  font-weight: 900;
}

.trust-list,
.crm-flow {
  display: grid;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(36, 87, 109, 0.88)),
    var(--charcoal);
  color: var(--white);
}

.trust-list h2,
.crm-flow h2 {
  color: var(--white);
}

.pill-list,
.crm-flow div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span,
.crm-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.quick-form,
.quote-form-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(36, 87, 109, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.quick-form label,
.quote-form-page label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.84rem;
  font-weight: 900;
}

.quick-form input,
.quick-form select,
.quote-form-page input,
.quote-form-page select,
.quote-form-page textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #ccd5e3;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.quote-form-page textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.quote-form-page label:nth-child(3),
.quote-form-page button,
.quick-form button {
  grid-column: 1 / -1;
}

.rich-service .button {
  width: fit-content;
  margin-top: 14px;
}

.service-rich-copy {
  display: grid;
  gap: 14px;
}

.service-rich-copy h3 {
  margin: 0;
  color: var(--red);
  font-size: 1rem;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(300px, 1.3fr);
  gap: clamp(24px, 5vw, 64px);
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details,
.blog-grid article {
  padding: 20px;
  border: 1px solid rgba(36, 87, 109, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: var(--white);
}

.blog-grid article {
  display: grid;
  gap: 12px;
}

.blog-grid span {
  color: var(--red);
  font-weight: 900;
}

.blog-grid h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.text-link.dark {
  color: var(--red);
}

.cta-strip .button {
  justify-self: end;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats article {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: var(--white);
}

.stats strong {
  color: var(--red);
  font-size: clamp(2rem, 5vw, 4rem);
}

.stats span {
  color: var(--muted);
  font-weight: 800;
}

.about-hero {
  min-height: clamp(360px, 48vw, 560px);
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(12, 15, 16, 0.92) 0%, rgba(12, 15, 16, 0.72) 48%, rgba(12, 15, 16, 0.25) 100%),
    url("assets/bg-extinrod-operacion.jpg") center / cover no-repeat,
    var(--charcoal);
}

.about-hero h1,
.about-hero p {
  max-width: 880px;
}

.about-manifesto {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(54px, 8vw, 110px) clamp(18px, 7vw, 110px);
  background:
    radial-gradient(circle at 50% 0%, rgba(181, 31, 43, 0.1), transparent 34%),
    var(--white);
  text-align: center;
}

.about-manifesto h2 {
  max-width: 1060px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.05rem, 5vw, 5rem);
  line-height: 1.06;
}

.about-manifesto p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.about-story {
  display: grid;
  background: var(--paper);
}

.story-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  min-height: clamp(440px, 52vw, 680px);
  border-top: 1px solid var(--line);
}

.story-row.reverse {
  grid-template-columns: minmax(320px, 1.12fr) minmax(280px, 0.88fr);
}

.story-row.reverse .story-copy {
  order: 2;
}

.story-row.reverse .story-visual {
  order: 1;
}

.story-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(34px, 6vw, 82px) clamp(22px, 6vw, 74px);
  background: var(--white);
}

.story-copy h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 4rem);
  line-height: 1.07;
}

.story-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.story-visual {
  min-height: inherit;
  margin: 0;
  padding: clamp(18px, 3vw, 36px);
  background:
    radial-gradient(circle at 20% 20%, rgba(181, 31, 43, 0.16), transparent 28%),
    linear-gradient(135deg, #111719, #243b45 62%, #55131a);
}

.story-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 42vw, 580px);
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.about-intro,
.about-commitment {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--white);
}

.about-intro h2,
.about-commitment h2 {
  max-width: 760px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.about-metrics article {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 246, 242, 0.96)),
    var(--white);
}

.about-metrics strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
}

.about-metrics span {
  color: var(--steel);
  font-weight: 900;
}

.about-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.about-flow article {
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.about-flow article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 246, 242, 0.98)),
    var(--paper);
}

.about-flow span {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.about-flow h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.about-flow p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  max-width: 880px;
}

.about-divisions {
  display: grid;
  gap: 28px;
  background: var(--paper);
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.division-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.division-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.division-card > * {
  position: relative;
  z-index: 1;
}

.division-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.division-card h3 {
  max-width: 340px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.division-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.division-fire {
  background: linear-gradient(135deg, #a91422, #5d1018);
}

.division-civil {
  background: linear-gradient(135deg, #173d60, #0d253d);
}

.division-build {
  background: linear-gradient(135deg, #17613d, #0b3b25);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.commitment-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(36, 87, 109, 0.12);
  border-radius: 8px;
  background: rgba(247, 246, 242, 0.72);
}

.commitment-grid strong {
  color: var(--ink);
  font-weight: 900;
}

.commitment-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.about-sectors {
  display: grid;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(36, 40, 40, 0.96), rgba(24, 55, 72, 0.94)),
    var(--charcoal);
  color: var(--white);
}

.about-sectors .section-heading h2 {
  color: var(--white);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-list span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr);
  gap: clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  scroll-margin-top: 90px;
}

.service-detail:nth-of-type(odd) {
  background: var(--paper);
}

.service-detail ul {
  margin: 0;
  padding-left: 20px;
}

.service-detail li + li {
  margin-top: 12px;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.catalog-main {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.commerce-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.catalog-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(36, 87, 109, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 250, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(181, 31, 43, 0.12), transparent 34%);
  box-shadow: 0 20px 46px rgba(18, 43, 60, 0.08);
}

.catalog-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.commerce-toolbar h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.catalog-count {
  margin-top: 2px;
  color: #7d8c94;
  font-size: 0.88rem;
  font-weight: 800;
}

.cart-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
  cursor: pointer;
}

.cart-button.secondary-cart {
  border: 1px solid rgba(36, 87, 109, 0.18);
  color: var(--steel);
  background: #eef4f6;
}

.cart-button span {
  min-width: 26px;
  min-height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.secondary-cart span {
  background: rgba(36, 87, 109, 0.14);
}

.category-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.visual-category {
  display: grid;
  grid-template-rows: 118px auto auto;
  gap: 8px;
  min-height: 210px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.08);
  cursor: pointer;
}

.visual-category:hover {
  border-color: rgba(181, 31, 43, 0.45);
}

.visual-category img {
  width: 100%;
  height: 118px;
  object-fit: contain;
}

.visual-category span {
  color: var(--red);
  font-weight: 900;
}

.visual-category small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 280px);
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(36, 87, 109, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(18, 43, 60, 0.06);
}

.search-box {
  display: grid;
  gap: 8px;
  color: #75838a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-box input,
.search-box select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(36, 87, 109, 0.16);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.search-box input:focus,
.search-box select:focus {
  outline: 2px solid rgba(181, 31, 43, 0.16);
  border-color: rgba(181, 31, 43, 0.38);
}

.subcategory-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.subcategory-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--steel);
  font-weight: 900;
  cursor: pointer;
}

.subcategory-button span {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef4f6;
  color: var(--muted);
  font-size: 0.78rem;
}

.subcategory-button.active {
  border-color: var(--steel);
  background: var(--steel);
  color: var(--white);
}

.subcategory-button.active span {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px 16px;
}

.catalog-landing {
  grid-column: 1 / -1;
  display: grid;
  gap: 28px;
}

.catalog-landing-copy {
  display: grid;
  gap: 10px;
  padding: 4px 0 2px;
}

.catalog-landing-copy h3 {
  margin: 0;
  max-width: 900px;
  color: #1d2b34;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.catalog-landing-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 860px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.catalog-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 24px;
}

.catalog-family-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-height: 232px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(36, 87, 109, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.98)),
    radial-gradient(circle at 50% 25%, rgba(205, 16, 36, 0.12), transparent 48%);
  box-shadow: 0 18px 36px rgba(18, 43, 60, 0.08);
  color: var(--steel);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-family-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 16, 36, 0.22);
  background: var(--white);
  box-shadow: 0 24px 48px rgba(18, 43, 60, 0.14);
}

.catalog-family-card img {
  width: min(100%, 168px);
  height: 142px;
  padding: 12px;
  object-fit: contain;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(236, 242, 246, 0.82) 58%, rgba(214, 225, 232, 0.72)),
    linear-gradient(135deg, rgba(205, 16, 36, 0.08), rgba(17, 61, 88, 0.08));
}

.catalog-family-card span {
  color: var(--steel);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-family-card strong {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.featured-brands {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.featured-brands h3 {
  color: var(--steel);
  font-size: 1rem;
}

.featured-brands div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 14px 18px;
}

.featured-brands span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-brands.with-logos div {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.brand-logo-card {
  min-height: 82px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(222, 217, 207, 0.82);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.brand-logo-card:hover {
  border-color: rgba(36, 87, 109, 0.28);
  box-shadow: 0 12px 26px rgba(23, 23, 23, 0.08);
  transform: translateY(-2px);
}

.brand-logo-card img {
  max-width: 112px;
  max-height: 34px;
  object-fit: contain;
}

.brand-logo-card span {
  color: var(--steel);
  font-size: 0.68rem;
  line-height: 1.2;
}

.load-more-products {
  grid-column: 1 / -1;
  min-height: 46px;
  border: 1px solid rgba(36, 87, 109, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--steel);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.08);
}

.load-more-products span {
  margin-left: 6px;
  color: var(--red);
}

.product-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  border: 1px solid rgba(222, 217, 207, 0.7);
  border-radius: 6px;
  background: var(--white);
  box-shadow: none;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 87, 109, 0.22);
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.08);
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 150px;
  background: #fff;
  text-decoration: none;
}

.product-media img {
  width: 86%;
  height: 118px;
  object-fit: contain;
}

.product-body {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.product-meta,
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-body h3 {
  min-height: 44px;
  font-size: 0.92rem;
  line-height: 1.25;
}

.product-list-card p {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  font-size: 0.82rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ghost-link {
  border-color: var(--line);
  background: var(--white);
}

.category-tag,
.stock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
}

.stock {
  background: var(--green);
}

.stock.out {
  background: var(--muted);
}

.price-row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.price {
  color: var(--red);
  font-size: 1.16rem;
  font-weight: 900;
}

.detail-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(181, 31, 43, 0.2);
  border-radius: 6px;
  background: rgba(181, 31, 43, 0.08);
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.detail-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.product-detail-page {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 64px);
  background: var(--white);
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-breadcrumb a {
  color: var(--steel);
  text-decoration: none;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.1fr) minmax(260px, 0.62fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery > img {
  width: 100%;
  min-height: 360px;
  max-height: 500px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-gallery > div {
  display: flex;
  gap: 10px;
}

.gallery-thumb {
  width: 72px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--steel);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.6vw, 3.6rem);
  line-height: 1;
}

.product-detail-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.detail-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef4f6;
  color: var(--steel);
  font-weight: 900;
}

.product-quote-panel {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.product-quote-panel h2 {
  margin: 0;
  color: var(--red);
  font-size: 1.5rem;
}

.product-quote-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.product-detail-section {
  max-width: 980px;
  margin: 42px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.product-detail-section h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.product-detail-section p {
  color: var(--muted);
  line-height: 1.65;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.spec-grid div {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--white);
}

.spec-grid dt {
  color: var(--muted);
  font-weight: 900;
}

.spec-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.related-product {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.related-product img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.related-product span,
.related-product small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.related-product strong {
  color: var(--steel);
}

.product-detail-empty {
  max-width: 620px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.save-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(36, 87, 109, 0.22);
  border-radius: 6px;
  background: #f3f7f8;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.save-link:hover,
.save-link.saved {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

.quote-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(10, 15, 18, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.quote-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.quote-card {
  width: min(440px, 100%);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  box-shadow: -20px 0 46px rgba(0, 0, 0, 0.18);
}

.quote-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.quote-head h2 {
  margin: 0;
}

.icon-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.wishlist-line {
  grid-template-columns: 72px 1fr auto;
}

.wishlist-line img {
  width: 72px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  background: #f0eee8;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.cart-line small {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.cart-actions {
  display: grid;
  grid-template-columns: 30px 28px 30px;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-weight: 900;
}

.cart-actions button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.cart-actions.single-action {
  grid-template-columns: 34px;
}

.account-page {
  min-height: calc(100vh - 98px);
  background: var(--white);
}

.account-access {
  min-height: calc(100vh - 98px);
  display: grid;
  grid-template-columns: minmax(360px, 0.74fr) minmax(460px, 1.1fr);
}

.access-panel {
  width: min(430px, calc(100vw - 38px));
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 20px;
  padding: clamp(34px, 5vw, 58px) 0;
}

.access-logo {
  justify-self: center;
}

.access-logo img {
  width: 148px;
  height: auto;
}

.access-copy {
  max-width: 310px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.access-form,
.register-form {
  display: grid;
  gap: 15px;
}

.access-form label,
.register-form label,
.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 900;
}

.input-icon {
  min-height: 46px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #ccd5e3;
  border-radius: 7px;
  background: var(--white);
}

.input-icon svg {
  width: 18px;
  height: 18px;
  color: #7a8aa0;
  stroke-width: 2.2;
}

.input-icon input,
.register-form input,
.quote-form input,
.quote-form textarea {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.register-form input,
.quote-form input,
.quote-form textarea {
  padding: 0 12px;
  border: 1px solid #ccd5e3;
  border-radius: 7px;
  background: var(--white);
}

.access-submit {
  width: 100%;
  margin-top: 2px;
}

.access-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #98a4b4;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.access-divider::before,
.access-divider::after {
  content: "";
  height: 1px;
  background: #d8dee8;
}

.social-access {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.social-access button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ccd5e3;
  border-radius: 7px;
  background: var(--white);
  color: var(--steel);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.social-access button:not(:disabled):hover {
  border-color: #93a3bb;
  box-shadow: 0 10px 24px rgba(24, 39, 58, 0.09);
  transform: translateY(-1px);
}

.social-access button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.google-mark,
.facebook-mark,
.apple-mark {
  font-weight: 900;
}

.google-mark {
  color: #1a73e8;
}

.facebook-mark {
  color: #1877f2;
  font-size: 1.05rem;
}

.apple-mark {
  color: #111827;
}

.microsoft-mark {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#f25022, #f25022) 0 0 / 6px 6px no-repeat,
    linear-gradient(#7fba00, #7fba00) 8px 0 / 6px 6px no-repeat,
    linear-gradient(#00a4ef, #00a4ef) 0 8px / 6px 6px no-repeat,
    linear-gradient(#ffb900, #ffb900) 8px 8px / 6px 6px no-repeat;
}

.access-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.register-panel {
  padding: 18px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #f8fafc;
}

.register-panel summary {
  color: var(--red);
  font-weight: 900;
  cursor: pointer;
}

.register-form {
  margin-top: 16px;
}

.access-visual {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(8, 16, 24, 0.1), rgba(8, 16, 24, 0.7)),
    url("assets/crm-login-engineering.png") center / cover;
  color: var(--white);
}

.visual-caption {
  max-width: 560px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 16, 24, 0.42);
  backdrop-filter: blur(10px);
}

.visual-caption h1 {
  max-width: 520px;
  margin: 8px 0 12px;
  color: var(--white);
  font-size: clamp(2.3rem, 4.2vw, 4.7rem);
}

.visual-caption p {
  color: rgba(255, 255, 255, 0.84);
}

.account-status,
.quote-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.account-status h2,
.quote-form h2 {
  margin-bottom: 0;
}

.account-status {
  align-content: start;
  background: #f4f7fb;
  box-shadow: none;
}

.account-status h2 {
  color: var(--ink);
}

.account-status p {
  color: var(--muted);
}

.account-status .button {
  justify-self: start;
}

.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.quote-form {
  margin-top: 16px;
}

.quote-form textarea {
  min-height: 96px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.ok {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel a {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(140px, 1fr));
  gap: 28px;
  padding: clamp(34px, 6vw, 62px) clamp(18px, 5vw, 64px) 22px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 88% 0%, rgba(181, 31, 43, 0.22), transparent 34%),
    linear-gradient(135deg, #151818, #242828);
  font-size: 0.9rem;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-brand img {
  width: 138px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-contact a {
  color: var(--white);
  font-weight: 800;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.empty-state {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 920px) {
  .topbar-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-bar {
    justify-content: flex-start;
  }

  .account-actions {
    justify-content: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .commerce-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-button {
    width: 100%;
    justify-content: center;
  }

  .catalog-filters {
    grid-template-columns: 1fr;
  }

  .catalog-landing {
    grid-template-columns: 1fr;
  }

  .catalog-family-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .product-quote-panel {
    position: static;
  }

  .product-gallery > img {
    min-height: 280px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .submenu {
    position: static;
    margin-top: 8px;
  }

  .intro-grid,
  .split,
  .about-intro,
  .about-commitment,
  .proof-grid,
  .lead-capture,
  .quote-builder,
  .faq-section,
  .cta-strip,
  .contact-layout,
  .service-detail,
  .catalog-shell,
  .solutions-showcase,
  .account-access {
    grid-template-columns: 1fr;
  }

  .about-metrics,
  .about-flow,
  .division-grid,
  .commitment-grid,
  .proof-cards,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .quick-form,
  .quote-form-page {
    grid-template-columns: 1fr;
  }

  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story-row.reverse .story-copy,
  .story-row.reverse .story-visual {
    order: initial;
  }

  .story-visual {
    min-height: auto;
  }

  .story-visual img {
    min-height: 300px;
  }

  .division-card {
    min-height: 280px;
  }

  .account-access {
    min-height: auto;
  }

  .access-panel {
    width: min(520px, calc(100vw - 34px));
    padding: 34px 0;
  }

  .access-visual {
    min-height: 380px;
    order: -1;
    padding: 28px;
  }

  .visual-caption h1 {
    font-size: clamp(2rem, 8vw, 3.3rem);
  }

  .feature-columns,
  .stats,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-header {
    grid-template-columns: 1fr;
  }

  .maintenance-card {
    min-height: auto;
  }

  .category-visuals {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card.large,
  .showcase-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-strip .button {
    justify-self: start;
  }

  .hero-slider {
    min-height: 680px;
  }

  .hero-slide {
    align-items: end;
    padding-top: 220px;
  }

  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(9, 9, 9, 0.22) 0%, rgba(9, 9, 9, 0.58) 42%, rgba(9, 9, 9, 0.95) 78%),
      var(--slide-image) center top / auto 52% no-repeat,
      #111;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 12vw, 4rem);
    line-height: 1;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .slider-controls {
    bottom: 16px;
  }

  .slider-dot {
    width: 24px;
  }

  .quote-card {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .account-bar {
    justify-content: center;
  }

  .account-actions {
    justify-content: center;
    gap: 8px;
  }

  .mini-action span {
    display: none;
  }

  .access-panel {
    width: min(100% - 28px, 430px);
  }

  .social-access {
    grid-template-columns: 1fr;
  }

  .access-visual {
    min-height: 300px;
    align-items: end;
    padding: 18px;
  }

  .visual-caption {
    padding: 18px;
  }

  .subcategory-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .subcategory-button {
    justify-content: space-between;
    border-radius: 8px;
  }

  .catalog-family-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-page {
    padding: 28px 16px;
  }

  .product-gallery > img {
    min-height: 220px;
  }

  .spec-grid div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
