:root {
  --navy: #081c34;
  --navy-2: #0d2948;
  --blue: #0077c8;
  --blue-dark: #0067ad;
  --cyan: #32c5e8;
  --ice: #f3f8fc;
  --white: #fff;
  --ink: #102237;
  --muted: #65778a;
  --line: rgba(8, 28, 52, .13);
  --shadow: 0 18px 50px rgba(8, 28, 52, .12);
  --radius: 1.25rem;
  --container: min(1320px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

body.has-dialog {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  color: var(--navy);
  background: #fff;
  border-radius: .5rem;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: clamp(570px, calc(100svh - 150px), 700px);
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy) url("../assets/images/generated/hero-instalacion-tecnicos-v3.png") right center / contain no-repeat;
}

.hero__media,
.hero__shade,
.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -3;
  object-fit: contain;
  object-position: right center;
  background: var(--navy);
}

.hero__shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 16, 31, .98) 0%, rgba(4, 21, 40, .94) 32%, rgba(5, 23, 43, .70) 47%, rgba(5, 23, 43, .08) 68%, rgba(5, 23, 43, .08) 100%);
}

.hero__grid {
  z-index: -1;
  opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, #000, transparent 64%);
}

.hero__content {
  padding-block: 4.25rem 5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.1rem;
  color: #c7eefa;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.5rem;
  height: 2px;
  background: var(--cyan);
}

.eyebrow--dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3.45rem, 5.45vw, 5.55rem);
  line-height: .93;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.hero h1 em {
  color: #bfeeff;
  font-style: normal;
}

.hero__lead {
  max-width: 565px;
  margin: 1.45rem 0 0;
  color: #d9e6f1;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.9rem;
}

.button {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(0, 119, 200, .25);
}

.button--primary:hover {
  background: var(--blue-dark);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .48);
  background: rgba(8, 28, 52, .28);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.button--dark {
  color: #fff;
  background: var(--navy);
}

.button--light {
  color: var(--navy);
  background: #fff;
}

.hero__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 1.75rem;
  margin-top: 2.4rem;
}

.hero__specs div {
  padding-left: 1rem;
  border-left: 2px solid var(--cyan);
}

.hero__specs strong,
.hero__specs span {
  display: block;
}

.hero__specs strong {
  font-size: 1.15rem;
}

.hero__specs span {
  color: #aebfce;
  font-size: .82rem;
}

.hero__media-note {
  position: absolute;
  right: max(1.25rem, calc((100% - 1320px)/2));
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #d6e7f2;
  background: rgba(3, 16, 31, .58);
  backdrop-filter: blur(8px);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero__media-note span {
  width: .5rem;
  height: .5rem;
  border: 1px solid var(--cyan);
  border-radius: 50%;
}

.category-section,
.catalog-section,
.confidence-section {
  padding: clamp(4.8rem, 8vw, 8rem) 0;
}

.category-section {
  background: var(--ice);
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.project-copy h2,
.quote-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 4.1vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.25fr .875fr .875fr;
  gap: 1rem;
}

.category-card {
  position: relative;
  min-height: 370px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #fff;
  background: var(--navy);
  cursor: pointer;
  text-align: left;
}

.category-card img,
.category-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card img {
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.category-card__overlay {
  background: linear-gradient(to top, rgba(6, 23, 43, .92), rgba(6, 23, 43, .04) 72%);
}

.category-card__content {
  position: absolute;
  inset: auto 1.5rem 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: .22rem .7rem;
}

.category-card__content small {
  grid-row: 1 / 3;
  align-self: start;
  color: var(--cyan);
  font-weight: 800;
}

.category-card__content strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.category-card__content em {
  font-size: .82rem;
  font-style: normal;
  opacity: .82;
}

.category-card__content b {
  margin-left: .25rem;
}

.category-card:hover img {
  transform: scale(1.04);
}

.asset-disclaimer {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.catalog-section {
  background: #fff;
}

.section-heading--catalog {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 390px);
  align-items: end;
  gap: 3rem;
}

.section-heading--catalog>p {
  margin: 0 0 .4rem;
  color: var(--muted);
}

.catalog-toolbar {
  margin-top: 2.6rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.filter-chip {
  min-height: 2.6rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 750;
  font-size: .88rem;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.sort-control {
  display: flex;
  align-items: center;
  gap: .7rem;
  white-space: nowrap;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.sort-control select {
  min-height: 2.65rem;
  padding: .4rem 2.2rem .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  color: var(--navy);
  background: #fff;
}

.catalog-status {
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .88rem;
}

.catalog-status button {
  padding: .25rem 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / .9;
  overflow: hidden;
  background: #f7f9fb;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__photo-label {
  position: absolute;
  left: .8rem;
  top: .8rem;
  padding: .32rem .55rem;
  border-radius: .35rem;
  color: var(--navy);
  background: rgba(255, 255, 255, .92);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(6px);
}

.product-card__quick {
  position: absolute;
  right: .7rem;
  top: .7rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 28, 52, .12);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(8, 28, 52, .12);
}

.product-card__quick svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.product-card__quick:hover {
  color: #fff;
  background: var(--blue);
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.product-card__category {
  margin: 0 0 .45rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.28;
}

.product-card__spec {
  margin: .65rem 0 1rem;
  color: var(--muted);
  font-size: .85rem;
}

.product-card__footer {
  margin-top: auto;
  padding-top: .2rem;
}

.product-card__price {
  display: block;
  margin-bottom: .8rem;
  color: var(--navy);
  font-size: 1.16rem;
}

.product-card__action {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid var(--blue);
  border-radius: .55rem;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.product-card__action:hover {
  color: #fff;
  background: var(--blue);
}

.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  background: var(--ice);
}

.empty-state h3 {
  margin: 0;
  font-size: 1.5rem;
}

.empty-state p {
  margin: .5rem 0 1.4rem;
  color: var(--muted);
}

.project-section {
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

.project-visual {
  position: relative;
  min-height: 620px;
  margin-left: calc((100vw - min(1320px, calc(100vw - 2.5rem))) / -2);
  overflow: hidden;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 52, .02), rgba(8, 28, 52, .48));
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.65) contrast(1.04);
}

.project-visual__tag {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: .85rem 1rem;
  border-left: 2px solid var(--cyan);
  background: rgba(8, 28, 52, .82);
  backdrop-filter: blur(12px);
}

.project-visual__tag span,
.project-visual__tag strong {
  display: block;
}

.project-visual__tag span {
  color: var(--cyan);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem) clamp(2.5rem, 6vw, 6rem);
}

.project-copy h2,
.quote-intro h2 {
  color: #fff;
}

.project-copy>p:not(.eyebrow) {
  margin: 1.5rem 0 0;
  color: #c7d7e4;
  font-size: 1.05rem;
}

.project-steps {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.project-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: .8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.project-steps li>span {
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
}

.project-steps strong {
  font-size: 1rem;
}

.project-steps p {
  margin: .25rem 0 0;
  color: #9fb3c4;
  font-size: .85rem;
}

.project-copy .button {
  align-self: flex-start;
}

.confidence-section {
  background: var(--ice);
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.confidence-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.confidence-card>span {
  align-self: flex-end;
  color: var(--muted);
  font-size: .72rem;
}

.confidence-card svg {
  width: 2.3rem;
  margin: auto 0 2rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
}

.confidence-card strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.confidence-card p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.confidence-card:hover {
  color: #fff;
  background: var(--navy);
}

.confidence-card:hover strong,
.confidence-card:hover p,
.confidence-card:hover>span {
  color: #fff;
}

.confidence-card:hover svg {
  stroke: var(--cyan);
}

.quote-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: #fff;
  background: #06172b;
}

.quote-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.quote-intro>p:not(.eyebrow) {
  color: #afc1cf;
  font-size: 1.05rem;
}

.quote-contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.quote-contact span,
.quote-contact a {
  display: block;
}

.quote-contact span {
  color: #8fa7ba;
  font-size: .8rem;
}

.quote-contact a {
  margin-top: .3rem;
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 800;
}

.quote-form {
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border-radius: 1.2rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .22);
}

.demo-notice {
  margin-bottom: 1.4rem;
  padding: .75rem .9rem;
  border-radius: .55rem;
  color: #52697d;
  background: var(--ice);
  font-size: .82rem;
}

.demo-notice span {
  margin-right: .45rem;
  color: var(--blue);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

.form-grid label {
  display: grid;
  gap: .38rem;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 800;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 3rem;
  padding: .68rem .78rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  outline: 0;
  color: var(--navy);
  background: #fff;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 200, .1);
}

.quote-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.quote-form__footer p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
}

.form-result {
  margin: 1rem 0 0;
  padding: .85rem;
  border-left: 3px solid var(--blue);
  color: var(--navy);
  background: var(--ice);
}

dialog {
  padding: 0;
  border: 0;
}

dialog::backdrop {
  background: rgba(2, 12, 24, .72);
  backdrop-filter: blur(5px);
}

.quick-view {
  width: min(1050px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  border-radius: 1.1rem;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}

.dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dialog-close {
  position: absolute;
  z-index: 3;
  right: .8rem;
  top: .8rem;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 6px 25px rgba(8, 28, 52, .15);
  cursor: pointer;
  font-size: 1.6rem;
}

.quick-view__gallery {
  padding: 1.2rem;
  background: var(--ice);
}

.quick-view__image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: .8rem;
  background: #fff;
}

.quick-view__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view__image-wrap>span {
  position: absolute;
  left: .8rem;
  top: .8rem;
  padding: .3rem .55rem;
  border-radius: .35rem;
  color: var(--navy);
  background: rgba(255, 255, 255, .92);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.gallery-thumb {
  width: 74px;
  height: 74px;
  margin-top: .7rem;
  padding: .2rem;
  border: 2px solid var(--blue);
  border-radius: .5rem;
  background: #fff;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view__details {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 4rem);
}

.quick-view__details h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.quick-view__sku {
  margin: .6rem 0 1.2rem;
  color: var(--muted);
  font-size: .8rem;
}

.quick-view__description {
  color: #42576b;
}

.quick-view__features {
  margin: .6rem 0 1.5rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.quick-view__features li {
  padding: .65rem 0 .65rem 1.1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.quick-view__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--cyan);
}

.quick-view__buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quick-view__buy strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.quick-view__note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .74rem;
}

.cart-drawer {
  width: min(470px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  color: var(--ink);
  background: #fff;
}

.cart-drawer[open] {
  animation: drawer-in .28s ease both;
}

.cart-panel {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-panel>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.cart-panel header p {
  margin: 0;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cart-panel header h2 {
  margin: .1rem 0 0;
  color: var(--navy);
  font-size: 1.75rem;
}

.cart-panel header button {
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 50%;
  background: var(--ice);
  cursor: pointer;
  font-size: 1.6rem;
}

.cart-content {
  overflow: auto;
  padding: 1rem 1.4rem;
}

.cart-empty {
  min-height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
}

.cart-empty svg {
  width: 3rem;
  margin: 0 auto 1rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4;
}

.cart-empty h3 {
  margin: 0;
  color: var(--navy);
}

.cart-empty p {
  max-width: 280px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: .8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 78px;
  height: 78px;
  border-radius: .55rem;
  object-fit: cover;
  background: var(--ice);
}

.cart-item h3 {
  margin: 0 0 .25rem;
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.25;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-top: .55rem;
}

.cart-item__controls button,
.cart-item__controls span {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
}

.cart-item__controls button {
  cursor: pointer;
}

.cart-item__remove {
  align-self: start;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
}

.cart-footer {
  padding: 1.3rem 1.4rem;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 35px rgba(8, 28, 52, .06);
}

.cart-footer>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-footer strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.cart-footer .button {
  width: 100%;
}

.cart-footer p {
  margin: .7rem 0 0;
  color: var(--muted);
  text-align: center;
  font-size: .73rem;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: min(390px, calc(100% - 2.5rem));
  padding: .85rem 1rem;
  border-left: 3px solid var(--cyan);
  border-radius: .55rem;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.toast.is-visible {
  animation: toast-in .25s ease both;
}

/* Solo se oculta cuando app.js ya está observando (añade .js-reveal a <html>):
   si el JS falla o el navegador no lo soporta, el contenido se ve igual, sin animación. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: none;
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .confidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: 1.2fr .8fr;
  }

  .category-card:last-child {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .section-heading--catalog {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 500px;
    margin: 0;
  }

  .project-copy {
    padding-left: 0;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 2rem, 1320px);
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero {
    background-position: 67% center;
    background-size: cover;
  }

  .hero__media {
    object-fit: cover;
    object-position: 67% center;
    background: transparent;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(3, 16, 31, .99) 0%, rgba(4, 21, 40, .94) 40%, rgba(5, 23, 43, .35) 69%, rgba(5, 23, 43, .08) 100%);
  }

  .hero__grid {
    background-size: 52px 52px;
    mask-image: linear-gradient(to top, #000, transparent 85%);
  }

  .hero__content {
    padding-block: 15rem 5.25rem;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(3rem, 12.5vw, 4.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__specs {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }

  .hero__media-note {
    right: 1rem;
    bottom: .9rem;
  }

  .section-heading--row {
    align-items: start;
  }

  .section-heading--row .text-link {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card:last-child {
    grid-column: auto;
    min-height: 330px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid__full {
    grid-column: auto;
  }

  .quote-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-shell {
    grid-template-columns: 1fr;
  }

  .quick-view__gallery {
    padding-bottom: .7rem;
  }

  .quick-view__image-wrap {
    aspect-ratio: 1 / .72;
  }

  .quick-view__details {
    padding: 1.4rem;
  }

  .quick-view__buy {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(2.75rem, 11vw, 3.55rem);
  }

  .hero__lead {
    max-width: 31rem;
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }
}

@media (max-width: 470px) {
  :root {
    --container: calc(100% - 1.5rem);
  }

  .hero {
    min-height: 750px;
  }

  .hero__content {
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.5rem);
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__specs span {
    line-height: 1.3;
  }

  .category-section,
  .catalog-section,
  .confidence-section {
    padding-block: 4.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__media {
    aspect-ratio: 1 / .82;
  }

  .confidence-grid {
    grid-template-columns: 1fr;
  }

  .confidence-card {
    min-height: 220px;
  }

  .project-visual {
    min-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero__media {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Contacto de ventas: menú de líneas, sección de vendedores y WhatsApp flotante ===== */

.quote-contact a+a {
  font-size: .95rem;
}

.sales-section {
  padding: clamp(4.8rem, 8vw, 8rem) 0;
  background: #fff;
}

.sales-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.sales-intro h2 {
  margin: 0 0 1.2rem;
  color: var(--navy);
}

.sales-intro>p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
}

.sales-central {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.sales-central a {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.sales-central small {
  color: var(--muted);
  font-size: .78rem;
}

.sales-central strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.sales-central a:hover strong {
  color: var(--blue);
}

.sales-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}

.sales-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.sales-row__id {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.sales-row__id span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sales-row__id strong {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.sales-row__actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.sales-btn {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.1rem;
  border: 1px solid var(--navy);
  border-radius: .6rem;
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.sales-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--navy);
}

.sales-btn--wa {
  color: #fff;
  border-color: #128c4a;
  background: #128c4a;
}

.sales-btn--wa:hover {
  border-color: #0e6f3a;
  background: #0e6f3a;
}

@media (max-width: 900px) {
  .sales-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 470px) {
  .sales-section {
    padding-block: 4.5rem;
  }

  .sales-row {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
  }

  .sales-row__actions .sales-btn {
    flex: 1;
  }
}

/* ===== Catálogo conectado a MySQL (index.php) ===== */

:root {
  --ember: #ff7a3d;
  --ember-deep: #d9461c;
  --ember-soft: #ffb48a;
  --ember-ink: #b23a12;
}

.catalog-more [hidden],
.empty-state [hidden],
.quick-view__note [hidden] {
  display: none !important;
}

.product-card__media,
.quick-view__image-wrap {
  background: #fff;
}

.product-card__media img,
.quick-view__image-wrap img,
.cart-item img {
  object-fit: contain;
}

.product-card__media img {
  padding: .7rem;
}

img.is-fallback {
  padding: 22%;
  opacity: .45;
  object-fit: contain;
}

.product-card h3 a {
  color: inherit;
}

.product-card h3 a:hover {
  color: var(--blue);
}

.product-card__prices {
  margin-bottom: .8rem;
}

.product-card__prices s {
  display: block;
  color: var(--muted);
  font-size: .8rem;
}

.product-card__prices .product-card__price {
  margin-bottom: 0;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

/* Maquinaria gastronómica: el lado caliente del termómetro */

.kitchen-section {
  padding: clamp(4.8rem, 8vw, 8rem) 0;
  color: #fff;
  background:
    radial-gradient(55% 70% at 100% 0%, rgba(255, 122, 61, .2), transparent 62%),
    radial-gradient(35% 55% at 0% 0%, rgba(50, 197, 232, .1), transparent 60%),
    var(--navy);
}

.kitchen-section .section-heading h2 {
  max-width: 13ch;
  color: #fff;
}

.kitchen-section .section-heading h2 em {
  color: var(--ember-soft);
  font-style: normal;
}

.eyebrow--warm {
  color: var(--ember-soft);
}

.eyebrow--warm span {
  background: var(--ember);
}

.kitchen-lead {
  max-width: 25rem;
  margin: 0 0 .4rem;
  color: #c3d3e0;
}

.thermo {
  margin: 2.6rem 0 3rem;
}

.thermo__bar {
  height: .6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan) 0%, #d6f4ff 7.7%, #ffd98a 33.8%, var(--ember) 66.2%, #c9301a 100%);
  box-shadow: 0 0 30px rgba(255, 122, 61, .25);
}

.thermo__marks {
  position: relative;
  height: 3.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thermo__marks li {
  position: absolute;
  top: 0;
  left: var(--at);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: .85rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.thermo__marks li::before {
  content: "";
  position: absolute;
  top: .15rem;
  width: 1px;
  height: .5rem;
  background: rgba(255, 255, 255, .45);
}

.thermo__marks li:first-child {
  align-items: flex-start;
  transform: none;
}

.thermo__marks li:last-child {
  align-items: flex-end;
  transform: translateX(-100%);
}

.thermo__marks strong {
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

.thermo__marks span {
  color: #9fb8cc;
  font-size: .74rem;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dept-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.dept-card__media {
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.dept-card__media img {
  width: 100%;
  height: 100%;
  padding: 1rem;
  object-fit: contain;
  transition: transform .45s ease;
}

.dept-card:hover .dept-card__media img {
  transform: scale(1.04);
}

.dept-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.3rem;
}

.dept-card__count {
  margin: 0 0 .35rem;
  color: var(--ember-ink);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dept-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.15;
}

.dept-card__body > p:not(.dept-card__count) {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.dept-card__subs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
}

.dept-card__subs a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease;
}

.dept-card__subs a span {
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dept-card__subs a:hover {
  border-color: var(--ember);
  background: #fff4ed;
}

.dept-card__cta {
  min-height: 2.9rem;
  margin-top: auto;
  border: 1px solid var(--navy);
  border-radius: .55rem;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease;
}

.dept-card__cta:hover {
  border-color: var(--ember-deep);
  background: var(--ember-deep);
}

@media (max-width: 1100px) {
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .kitchen-section .section-heading--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .thermo__marks {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: auto;
  }

  .thermo__marks li,
  .thermo__marks li:first-child,
  .thermo__marks li:last-child {
    position: relative;
    left: auto;
    align-items: center;
    transform: none;
    white-space: normal;
    text-align: center;
  }

  .thermo__marks strong {
    font-size: .8rem;
  }

  .thermo__marks span {
    font-size: .66rem;
  }
}

@media (max-width: 470px) {
  .kitchen-section {
    padding-block: 4.5rem;
  }

  .dept-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Proyectos y redes: links a galería, videos, Instagram y YouTube ===== */

.media-section {
  background: #fff;
}

.media-section .text-link {
  white-space: nowrap;
}

.catalog-noscript {
  columns: 2 320px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}

.catalog-noscript a {
  color: var(--navy);
  font-weight: 700;
}

/* ===== Preguntas frecuentes ===== */

.faq-section {
  padding: clamp(4.8rem, 8vw, 8rem) 0;
  background: var(--ice);
}

.faq-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--blue);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.faq-item p {
  max-width: 62ch;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 470px) {
  .faq-section {
    padding-block: 4.5rem;
  }
}
