:root {
  --red: #bf1725;
  --red-dark: #8f101b;
  --red-soft: #fff0f2;
  --ink: #1f1f24;
  --muted: #6b6c73;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #eadadd;
  --smoke: #f8f6f6;
  --success: #147a4b;
  --shadow: 0 18px 42px rgba(31, 31, 36, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.cart-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 10px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(31, 31, 36, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--red-dark);
  font-size: 1rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-copy span {
  max-width: 250px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.main-nav > a,
.nav-dropdown-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.main-nav > a:hover,
.nav-dropdown-button:hover,
.main-nav > a:focus-visible,
.nav-dropdown-button:focus-visible {
  background: var(--red-soft);
  color: var(--red-dark);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 5;
  display: grid;
  width: 250px;
  max-height: min(440px, 70vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 740;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.dropdown-menu button:hover,
.dropdown-menu button:focus-visible {
  background: var(--red-soft);
  color: var(--red-dark);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.call-link {
  color: var(--red-dark);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.header-whatsapp {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: #fff;
  color: var(--red-dark);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-whatsapp:hover {
  background: var(--red-soft);
  transform: translateY(-1px);
}

.cart-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  font-weight: 850;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.cart-button:hover {
  border-color: rgba(191, 23, 37, 0.44);
  background: var(--red-soft);
  transform: translateY(-1px);
}

.cart-icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
}

.cart-icon-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-button strong {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--red);
  color: #fff;
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--red-dark);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 680px;
  overflow: hidden;
  background: var(--red-dark);
}

.hero-slides,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  animation: heroFade 18s ease-in-out infinite;
}

.hero-slide.is-second {
  animation-delay: 6s;
}

.hero-slide.is-third {
  animation-delay: 12s;
}

.hero-slide img {
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite;
}

.hero-section::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(116, 8, 17, 0.9), rgba(191, 23, 37, 0.62), rgba(255, 255, 255, 0.1)),
    linear-gradient(0deg, rgba(31, 31, 36, 0.32), rgba(191, 23, 37, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: 28px;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 54px;
  color: #fff;
}

.hero-copy {
  max-width: 720px;
}

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

.hero-section .eyebrow,
.contact-card .eyebrow {
  color: #fff;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: 4.6rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 2.35rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-actions,
.dialog-actions,
.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 870;
  letter-spacing: 0;
  text-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

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

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

.button-light {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.94);
  color: var(--red-dark);
}

.button-light:hover {
  border-color: #fff;
  background: #fff;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
}

.button-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--red-dark);
}

.button-secondary:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-highlights span {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-card-stack {
  display: grid;
  gap: 12px;
}

.hero-info-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-info-card:nth-child(2) {
  animation-delay: 650ms;
}

.hero-info-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-info-card strong {
  display: block;
  margin: 4px 0 6px;
  color: var(--red-dark);
  font-size: 1.28rem;
  line-height: 1.1;
}

.hero-info-card p {
  margin: 0;
  color: var(--muted);
}

.hero-info-card-accent {
  margin-left: 34px;
  border-color: rgba(191, 23, 37, 0.26);
}

.subpage-hero {
  padding: 92px clamp(16px, 4vw, 42px) 58px;
  background:
    linear-gradient(135deg, rgba(255, 240, 242, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
}

.subpage-hero .section-heading {
  margin-bottom: 0;
}

.subpage-hero h1 {
  max-width: 800px;
  color: var(--red-dark);
  font-size: 3.4rem;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust-section,
.intro-band,
.applications-section,
.catalog-section,
.feature-section,
.split-section,
.faq-section,
.notice-section,
.calculator-section,
.contact-section {
  padding: 78px clamp(16px, 4vw, 42px);
}

.trust-section,
.intro-band,
.feature-section,
.faq-section,
.calculator-section {
  background: #fff;
}

.applications-section,
.catalog-section,
.split-section,
.notice-section {
  background: var(--red-soft);
}

.contact-section {
  background: var(--red-dark);
  color: #fff;
}

.section-heading {
  width: min(1050px, 100%);
  margin: 0 auto 24px;
}

.section-heading h2 {
  max-width: 720px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.intro-grid,
.feature-grid,
.trust-grid,
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1050px, 100%);
  margin: 0 auto;
}

.mini-card,
.feature-panel,
.trust-card,
.application-card,
.notice-card,
.contact-card,
.calculator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(31, 31, 36, 0.08);
}

.mini-card,
.feature-panel,
.trust-card,
.application-card {
  padding: 22px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.mini-card:hover,
.feature-panel:hover,
.trust-card:hover,
.application-card:hover {
  border-color: rgba(191, 23, 37, 0.46);
  box-shadow: 0 18px 34px rgba(31, 31, 36, 0.12);
  transform: translateY(-3px);
}

.mini-card span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.mini-card p,
.feature-panel p,
.trust-card p,
.application-card p,
.notice-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-card span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.application-card {
  border-color: rgba(191, 23, 37, 0.18);
}

.section-cta {
  width: min(1050px, 100%);
  margin: 18px auto 0;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.84);
}

.video-carousel {
  position: relative;
  display: grid;
  width: min(1050px, 100%);
  min-height: 560px;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(191, 23, 37, 0.28);
  border-radius: var(--radius);
  background: var(--red-dark);
  box-shadow: var(--shadow);
}

.video-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px) scale(0.985);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.video-frame.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.video-link {
  position: relative;
  display: grid;
  min-height: 460px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(143, 16, 27, 0.92), rgba(191, 23, 37, 0.72)),
    var(--red-dark);
}

.video-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.04);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.video-link span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red-dark);
  font-weight: 900;
}

.video-link:hover img {
  opacity: 0.82;
  transform: scale(1.08);
}

.video-link.video-missing::before {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  color: #fff;
  content: "Installation and product inspiration video coming soon.";
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
}

.video-caption span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-caption strong {
  color: var(--red-dark);
  font-size: 1rem;
}

.video-controls {
  position: absolute;
  right: 16px;
  bottom: 78px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.video-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--red-dark);
  font-weight: 900;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.video-controls button:hover,
.video-controls button.is-active {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
  gap: 10px;
  width: min(1220px, 100%);
  margin: 0 auto 14px;
}

.search-box,
.sort-box,
.dialog-field,
.calculator-card label {
  display: grid;
  gap: 6px;
}

.search-box span,
.sort-box span,
.dialog-field span,
.calculator-card label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

input {
  padding: 0 12px;
}

select {
  padding: 0 36px 0 12px;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(191, 23, 37, 0.24);
  outline-offset: 2px;
}

.category-strip {
  display: flex;
  gap: 8px;
  width: min(1220px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.category-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 780;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.category-button[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, 100%);
  min-height: 42px;
  margin: 0 auto 8px;
  gap: 12px;
  color: var(--muted);
}

.catalog-meta p {
  margin: 0;
  font-weight: 780;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--red-dark);
  font-weight: 850;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(31, 31, 36, 0.08);
  animation: riseIn 460ms ease both;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(191, 23, 37, 0.5);
  box-shadow: 0 18px 34px rgba(31, 31, 36, 0.12);
  transform: translateY(-3px);
}

.product-card.featured {
  border-color: rgba(191, 23, 37, 0.65);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--smoke);
}

.product-image img,
.dialog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(191, 23, 37, 0.94);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.category-label {
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 2.55em;
  margin-bottom: 0;
}

.price {
  margin: 0;
  color: var(--red-dark);
  font-size: 1.04rem;
  font-weight: 920;
}

.description {
  display: -webkit-box;
  min-height: 3.9em;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.variant-pill {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 760;
}

.product-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 8px;
  margin-top: auto;
}

.product-controls select,
.product-controls input {
  min-height: 40px;
  font-size: 0.9rem;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2px;
}

.card-actions .button,
.card-actions .details-button {
  min-width: 0;
  padding-inline: 10px;
  font-size: 0.9rem;
}

.details-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--red-dark);
  font-weight: 850;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.details-button:hover {
  border-color: var(--red);
  background: var(--red-soft);
  transform: translateY(-1px);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed rgba(191, 23, 37, 0.42);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(1050px, 100%);
  margin: 0 auto;
}

.delivery-steps span {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(191, 23, 37, 0.28);
  border-radius: var(--radius);
  background: #fff;
  color: var(--red-dark);
  font-weight: 900;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 10px;
  width: min(900px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 31, 36, 0.06);
}

summary {
  min-height: 56px;
  padding: 16px 18px;
  color: var(--red-dark);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.notice-card,
.contact-card,
.calculator-card {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.notice-card {
  border-color: rgba(191, 23, 37, 0.28);
}

.contact-card {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(191, 23, 37, 0.92), rgba(143, 16, 27, 0.95)),
    var(--red-dark);
}

.calculator-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(130px, 170px));
  gap: 12px;
}

.calculator-output {
  grid-column: 1 / -1;
  display: block;
  min-height: 66px;
  padding: 14px;
  border: 1px solid rgba(191, 23, 37, 0.2);
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 900;
}

.calculator-whatsapp {
  grid-column: 1 / -1;
  justify-self: start;
}

.product-dialog {
  width: min(930px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(31, 31, 36, 0.58);
}

.dialog-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
}

.dialog-close,
.cart-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--red-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.dialog-media {
  min-height: 100%;
  background: var(--smoke);
}

.dialog-copy {
  overflow: auto;
  padding: 28px;
}

.dialog-copy h2 {
  margin-bottom: 8px;
}

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

.detail-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.4fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--red-soft);
}

.detail-row strong {
  font-size: 0.86rem;
}

.detail-row span {
  color: var(--muted);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(31, 31, 36, 0.52);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-backdrop.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: flex;
  width: min(440px, 100vw);
  height: 100vh;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -20px 0 38px rgba(31, 31, 36, 0.18);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 10px;
  flex: 1;
  overflow: auto;
  padding: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cart-item img {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--smoke);
}

.cart-item h3 {
  margin: 0 0 3px;
  font-size: 0.96rem;
}

.cart-item p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-row-actions {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}

.cart-row-actions input {
  min-height: 36px;
}

.remove-item {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 850;
}

.cart-footer {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-total {
  margin: 0;
  color: var(--red-dark);
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--success);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-contact {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 70;
  display: flex;
  gap: 8px;
}

.floating-contact a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
  animation: contactPulse 3.4s ease-in-out infinite;
}

.floating-phone {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--red-dark);
}

.floating-contact .floating-whatsapp {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
}

.site-footer {
  padding: 42px clamp(16px, 4vw, 42px) 28px;
  background: #1f1f24;
  color: #fff;
}

.footer-brand,
.footer-grid,
.copyright {
  width: min(1050px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.footer-brand p,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.site-footer h2 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.site-footer .button {
  width: max-content;
  color: #fff;
}

.copyright {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.js-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFade {
  0%,
  30% {
    opacity: 1;
  }

  36%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1.08);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1.08);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(191, 23, 37, 0.24), var(--shadow);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(191, 23, 37, 0), var(--shadow);
  }
}

@media (max-width: 1180px) {
  .site-header {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
    animation: riseIn 220ms ease both;
  }

  .main-nav > a,
  .nav-dropdown-button {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-dropdown-button::after {
    margin-left: auto;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    max-height: 280px;
    margin-top: 4px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  h1 {
    max-width: 13ch;
    font-size: 3.35rem;
  }

  .subpage-hero h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 72px;
  }

  .hero-card-stack {
    max-width: 520px;
  }

  .hero-info-card-accent {
    margin-left: 0;
  }

  .intro-grid,
  .feature-grid,
  .trust-grid,
  .applications-grid,
  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .calculator-card {
    grid-template-columns: 1fr;
  }

  .video-carousel {
    min-height: 500px;
  }

  .video-link {
    min-height: 400px;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .dialog-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    gap: 8px;
    padding-inline: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy span,
  .call-link,
  .header-whatsapp {
    display: none;
  }

  .hero-section {
    min-height: 690px;
  }

  .subpage-hero {
    padding: 58px 12px 42px;
  }

  .subpage-hero h1 {
    max-width: 12ch;
    font-size: 2.35rem;
  }

  .hero-content {
    width: min(100% - 24px, 1220px);
    padding: 54px 0 32px;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .hero-actions,
  .dialog-actions,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .details-button {
    width: 100%;
  }

  .trust-section,
  .intro-band,
  .applications-section,
  .catalog-section,
  .feature-section,
  .split-section,
  .faq-section,
  .notice-section,
  .calculator-section,
  .contact-section {
    padding: 54px 12px;
  }

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

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

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

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

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

  .notice-card,
  .contact-card,
  .calculator-card,
  .dialog-copy {
    padding: 20px;
  }

  .video-carousel {
    min-height: 360px;
  }

  .video-link {
    min-height: 268px;
  }

  .video-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .video-controls {
    right: 10px;
    bottom: 92px;
  }

  .floating-contact {
    bottom: 12px;
    left: 10px;
  }

  .floating-contact a {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

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

  .footer-brand {
    align-items: flex-start;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .cart-item img {
    width: 56px;
    height: 56px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
