:root {
  --ink: #171b20;
  --muted: #5f6975;
  --line: #d8dee6;
  --panel: #f7f8f5;
  --paper: #ffffff;
  --green: #1f7a5b;
  --red: #a2322c;
  --yellow: #c99716;
  --blue: #1f6f9e;
  --charcoal: #1d252d;
  --shadow: 0 18px 45px rgba(20, 28, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 230, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 6px;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.28) 78%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 84px);
  padding-top: 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 610px;
  margin: 18px 0 0;
  color: #2f3842;
  font-size: clamp(16px, 1.8vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
}

.button.primary {
  color: #fff;
  background: var(--charcoal);
}

.button.secondary {
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.72);
}

.button.whatsapp-action {
  color: #0f5138;
  border-color: rgba(31, 122, 91, 0.45);
  background: #eef8f2;
}

.button:hover {
  transform: translateY(-1px);
}

.disclaimer {
  max-width: 560px;
  margin: 20px 0 0;
  color: #535d68;
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip div {
  padding: 16px clamp(14px, 2.5vw, 28px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.1;
}

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.intro-section,
.packs-section {
  background: var(--panel);
}

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

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.intro-grid article,
.pack,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.intro-grid article {
  padding: 24px;
}

.intro-grid p,
.pack p,
.product-card p {
  color: var(--muted);
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.filter.active {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.filter.dewalt {
  border-color: rgba(201, 151, 22, 0.55);
}

.filter.milwaukee {
  border-color: rgba(162, 50, 44, 0.48);
}

.filter.makita {
  border-color: rgba(31, 111, 158, 0.48);
}

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

.product-card {
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(29, 37, 45, 0.06);
}

.product-image {
  position: relative;
  min-height: 170px;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(135deg, #222a31, #101418);
}

.product-image::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 28px;
  height: 76px;
  border-radius: 8px 8px 14px 14px;
  background: #111820;
  box-shadow: inset 0 -14px 0 rgba(255, 255, 255, 0.05), 0 20px 24px rgba(0, 0, 0, 0.24);
}

.product-image::after {
  content: "";
  position: absolute;
  left: 27%;
  right: 27%;
  bottom: 98px;
  height: 26px;
  border-radius: 7px 7px 3px 3px;
  background: var(--accent);
  box-shadow: 0 14px 0 #111820;
}

.product-image.dewalt {
  --accent: var(--yellow);
}

.product-image.milwaukee {
  --accent: var(--red);
}

.product-image.makita {
  --accent: var(--blue);
}

.product-media {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.product-media-main {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
}

.product-media-main img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-media-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
}

.product-media-thumbs div {
  position: relative;
  display: grid;
  place-items: center;
  height: 64px;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  background: #fff;
}

.product-media-thumbs img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 18px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.price-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 8px;
  margin: 12px 0 12px;
}

.sample-price,
.bulk-prices div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf8;
}

.sample-price {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 12px;
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.sample-price span,
.bulk-prices span {
  display: block;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.sample-price strong,
.bulk-prices strong {
  display: block;
  margin-top: 3px;
  font-size: 28px;
  line-height: 1;
}

.sample-price small,
.bulk-prices small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

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

.bulk-prices div {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 10px 8px;
  text-align: center;
}

.bulk-prices strong {
  font-size: 22px;
}

.bulk-prices small {
  color: var(--muted);
}

.tag {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.tag.dewalt {
  background: var(--yellow);
  color: #191a14;
}

.tag.milwaukee {
  background: var(--red);
}

.tag.makita {
  background: var(--blue);
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.specs span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #424b56;
  font-size: 12px;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  background: #fff;
}

.card-actions a:last-child {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.pack {
  padding: 24px;
}

.pack.featured {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.pack-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pack h3 {
  font-size: 38px;
}

.pack ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #39434f;
}

.pack li {
  margin-bottom: 7px;
}

.margin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.margin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.margin-table th,
.margin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.margin-table th {
  background: #eef3f0;
  font-size: 13px;
  text-transform: uppercase;
}

.margin-table tr:last-child td {
  border-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 60px);
  background: #eef3f0;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.quick-contact {
  display: grid;
  gap: 3px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--charcoal);
  background: #fff;
}

.quick-contact span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.quick-contact small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-contact.text {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.quick-contact.text small {
  color: rgba(255, 255, 255, 0.78);
}

.quick-contact.messenger {
  border-color: rgba(31, 111, 158, 0.45);
}

.quick-contact.email {
  border-color: rgba(31, 111, 158, 0.45);
}

.quick-contact.whatsapp {
  border-color: rgba(31, 122, 91, 0.45);
}

.quick-contact.call {
  border-color: rgba(162, 50, 44, 0.35);
}

.message-template {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #cbd8d1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.message-template strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.message-template p {
  margin: 0;
  color: #38424d;
  font-size: 14px;
}

.quote-card {
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-label {
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.quote-card > p:not(.quote-label):not(.quote-note) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.quote-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-list li {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #dde5df;
  border-radius: 8px;
  background: #f8faf8;
}

.quote-list strong {
  color: var(--charcoal);
  font-size: 14px;
}

.quote-list span {
  color: var(--muted);
  font-size: 13px;
}

.quote-message {
  padding: 14px;
  border: 1px solid #cbd8d1;
  border-radius: 8px;
  background: #eef5f1;
}

.quote-message strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.quote-message p {
  margin: 0;
  color: #38424d;
  font-size: 14px;
}

.quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quote-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.quote-note a {
  color: var(--charcoal);
  font-weight: 900;
}

.button.full {
  width: 100%;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.floating-contact {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 20;
}

.floating-contact details {
  position: relative;
}

.floating-contact summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(20, 28, 35, 0.24);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.floating-contact summary::-webkit-details-marker {
  display: none;
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 8px;
  width: min(280px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-card p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 13px;
}

.floating-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.floating-card a:first-of-type {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    margin-left: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
      linear-gradient(0deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  }

  .intro-grid,
  .product-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quick-contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-strip div {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:nth-child(2n) {
    border-right: 0;
  }

  .trust-strip div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 12px 14px;
  }

  .brand span:last-child {
    max-width: 150px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-image {
    min-height: 150px;
  }

  .product-media-main {
    height: 210px;
  }

  .product-media-thumbs div {
    height: 58px;
  }

  .packs-grid,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .price-panel {
    grid-template-columns: 1fr;
  }

  .quote-actions {
    grid-template-columns: 1fr;
  }

  .sample-price {
    min-height: 74px;
  }

  .bulk-prices div {
    min-height: 72px;
  }

  .quick-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-contact {
    min-height: 66px;
    padding: 12px;
  }

  .quick-contact span {
    font-size: 16px;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .floating-contact summary {
    min-width: 112px;
    min-height: 44px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div {
    min-height: 72px;
  }
}
