:root {
  --ink: #101216;
  --ink-2: #1a1f28;
  --paper: #f4f1ea;
  --muted: #777b83;
  --line: rgba(16, 18, 22, 0.12);
  --gold: #d9a441;
  --red: #df1f2d;
  --cyan: #6fd3ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 8, 12, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  min-height: 64px;
  padding: 10px 12px 10px 14px;
  color: var(--white);
  background: rgba(10, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f5df95);
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.nav-links a:hover,
.nav-phone:hover,
.footer a:hover {
  color: var(--gold);
}

.nav-phone {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 62% center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.94), rgba(7, 8, 12, 0.55) 43%, rgba(7, 8, 12, 0.05)),
    linear-gradient(0deg, rgba(7, 8, 12, 0.7), rgba(7, 8, 12, 0.08) 46%);
}

.hero-content {
  align-self: center;
  width: min(680px, calc(100% - 36px));
  margin: 88px auto 150px;
  transform: translateX(min(-20vw, -190px));
}

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

.eyebrow.dark {
  color: #98670f;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.05;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 7px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f3c45f, var(--gold));
}

.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.ghost.light {
  border-color: rgba(255, 255, 255, 0.48);
}

.hero-actions,
.contact-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  left: max(18px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-height: 92px;
  padding: 18px;
  background: rgba(11, 13, 17, 0.58);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
}

.intro p:last-child,
.fit-copy p,
.calculator-copy p,
.section-head p,
.contact-band p {
  color: #555b63;
  font-size: clamp(17px, 2vw, 21px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.product-card,
.steps article,
.option-grid article,
.fit-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 12px 38px rgba(16, 18, 22, 0.08);
}

.product-card {
  min-height: 360px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 116px;
  height: 28px;
  border: 3px solid rgba(16, 18, 22, 0.12);
  border-radius: 999px 999px 10px 10px;
  transform: skewX(-12deg);
}

.product-card.featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(223, 31, 45, 0.3), transparent 38%),
    linear-gradient(145deg, #181b22, #2b3039);
  box-shadow: var(--shadow);
}

.product-card p {
  color: #626872;
}

.product-card.featured p,
.product-card.featured dd,
.product-card.featured dt {
  color: rgba(255, 255, 255, 0.72);
}

.product-card.featured dt {
  color: rgba(255, 255, 255, 0.56);
}

.tag {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

dl {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.calculator-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(250px, 0.55fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(16, 18, 22, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.18), transparent 40%),
    #ffffff;
  box-shadow: var(--shadow);
}

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

.calc-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
}

.calc-grid label span,
.calc-grid output {
  color: #5d626b;
  font-size: 13px;
  font-weight: 850;
}

select,
input[type="range"] {
  width: 100%;
  min-height: 44px;
}

select {
  padding: 0 36px 0 12px;
  color: var(--ink);
  border: 1px solid rgba(16, 18, 22, 0.16);
  border-radius: 7px;
  background: var(--white);
  font: inherit;
  font-weight: 760;
}

input[type="range"] {
  accent-color: var(--red);
}

.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(223, 31, 45, 0.26), transparent 34%),
    linear-gradient(145deg, #101216, #282f3a);
}

.calc-result span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calc-result strong {
  display: block;
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
}

.calc-result p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.option-grid {
  grid-template-columns: repeat(4, 1fr);
}

.option-grid article {
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(111, 211, 255, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.62);
}

.option-grid p,
.steps p,
.faq p {
  color: #626872;
}

.fit {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
}

.fit-panel {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(111, 211, 255, 0.2), transparent 42%),
    #ffffff;
}

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

.selector-btn {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #f6f4ee;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.selector-btn.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.recommendation {
  min-height: 250px;
  padding: clamp(24px, 4vw, 46px);
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.3), transparent 38%),
    linear-gradient(145deg, #101216, #272d36);
}

.recommendation span {
  display: inline-flex;
  margin-bottom: 18px;
  padding-bottom: 8px;
  color: var(--cyan);
  border-bottom: 2px solid var(--red);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 950;
  line-height: 1;
}

.recommendation strong {
  display: block;
  margin-bottom: 12px;
  font-size: 25px;
}

.recommendation p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.install {
  padding-top: 26px;
}

.steps article {
  min-height: 210px;
  padding: 24px;
}

.steps span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--red);
  font-weight: 950;
}

.faq {
  padding-top: 28px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 22px 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  max-width: 820px;
  padding-bottom: 24px;
  margin-bottom: 0;
  font-size: 18px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 26px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 24px;
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(223, 31, 45, 0.24), transparent 34%),
    linear-gradient(135deg, #101216, #242a33 62%, #16181d);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin-bottom: 10px;
}

.contact-band p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: #5c626b;
  font-size: 14px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.floating-contact-menu {
  display: grid;
  gap: 8px;
  width: min(280px, calc(100vw - 44px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transform-origin: right bottom;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.floating-contact.open .floating-contact-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-contact-link,
.floating-contact-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(7, 8, 12, 0.28);
  backdrop-filter: blur(18px);
}

.floating-contact-link {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  background: rgba(16, 18, 22, 0.9);
}

.floating-contact-link.whatsapp {
  background:
    linear-gradient(135deg, rgba(33, 190, 101, 0.26), transparent 45%),
    rgba(16, 18, 22, 0.94);
}

.floating-contact-link.phone {
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.28), transparent 45%),
    rgba(16, 18, 22, 0.94);
}

.floating-contact-link span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.floating-contact-link strong {
  font-size: 16px;
}

.floating-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #f3c45f, var(--gold));
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.floating-contact-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
}

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

  .nav-links {
    display: none;
  }

  .hero-content {
    transform: none;
  }

  .intro,
  .fit,
  .calculator,
  .calculator-panel,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .steps,
  .option-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-phone {
    padding: 9px 10px;
    font-size: 14px;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-media {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 12, 0.96), rgba(7, 8, 12, 0.62) 65%, rgba(7, 8, 12, 0.2)),
      linear-gradient(0deg, rgba(7, 8, 12, 0.85), rgba(7, 8, 12, 0.15) 50%);
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-top: 84px;
    margin-bottom: 220px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(46px, 15vw, 64px);
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .hero-stats div {
    min-height: 68px;
    padding: 14px;
  }

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

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

  .product-card {
    min-height: 310px;
  }

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

  .floating-contact {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .floating-contact-menu {
    width: 100%;
  }

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